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...
Edited by MortiOli - 09 January 2007 at 10:03pm