Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - MOD: MSN Profile Link (like Yahoo, Skype, AIM)
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

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

 Post Reply Post Reply
Author
MortiOli View Drop Down
Senior Member
Senior Member
Avatar

Joined: 26 May 2002
Location: United Kingdom
Status: Offline
Points: 514
Post Options Post Options   Thanks (0) Thanks(0)   Quote MortiOli Quote  Post ReplyReply Direct Link To This Post Topic: MOD: MSN Profile Link (like Yahoo, Skype, AIM)
    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...


Edited by MortiOli - 09 January 2007 at 10:03pm
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.