Print Page | Close Window

MOD: MSN Profile Link (like Yahoo, Skype, AIM)

Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Forums Modifications
Forum Description: Mod's and Add-on's for Web Wiz Forums.
URL: https://forums.webwiz.net/forum_posts.asp?TID=22372
Printed Date: 30 March 2026 at 12:17pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: MOD: MSN Profile Link (like Yahoo, Skype, AIM)
Posted By: MortiOli
Subject: MOD: MSN Profile Link (like Yahoo, Skype, AIM)
Date Posted: 09 January 2007 at 10:02pm
One thing which has been bugging me for a while, is that in people's profiles it shows the MSN Messenger email address, instead of a link / button to add the contact to your MSN - whereas Skype, Yahoo and AIM are buttons to add the person / start a chat.
 
I've come across a solution to this, and to implement is just one simple line change in member_profile.asp;
 
Find the following line;
 

<td><% If strMSNAddress <> "" Then Response.Write(formatInput(strMSNAddress)) Else Response.Write(strTxtNotGiven) %></td>
 
Replace with;
 

<td><% If strMSNAddress <> "" Then Response.Write("<a href=""msnim:add?contact=" & formatInput(strMSNAddress) & """><img src=""" & strImagePath & "msn.gif"" border=""0"" align=""absmiddle"" alt=""" & strTxtMSNMessenger & """ /></a>") Else Response.Write(strTxtNotGiven) %></td>
 
You may need an msn.gif if you don't have one already.
 
Hope this makes it into the next release!
 
EDIT - What's happened to this post!?  The code tags seem to have messed it up...



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net