Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt November 11, 2024
Mark Posted March 29, 2007 Posted March 29, 2007 This only works in IE (obviously) but it's a neat little piece of javascript I came accross today and added to my own forum, and it works well, thought you might want to add it in :)In skin bit personal_portal_main find this:<{PRO_MSN}> <span id='pp-entry-contact-entry-msn'>{$member['_msn_name']}</span>Change it to this:<{PRO_MSN}> <span id='pp-entry-contact-entry-msn'><a href = "msnim:add?contact={$member['_msn_name']}">{$member['_msn_name']}</a></span>Now when you click on an MSN address in someone elses profile, if you're using a recent version of IE and MSN Messenger, it will automatically add them to your contacts list.
.Ryan Posted March 29, 2007 Posted March 29, 2007 Oh very nice thanks Professor P. I don't know if it will make it in to the standard board, because not everyone like me uses IE, but still I'll give it an add. Very nice.
Mark Posted March 29, 2007 Posted March 29, 2007 Even if you don't use IE, it doesn't hurt, the link just won't do anything.If you wanted you could use something like this instead:<{PRO_MSN}> <span id='pp-entry-contact-entry-msn'><a href = "msnim:add?contact={$member['_msn_name']}">{$member['_msn_name']}</a></span><![endif]--><!--[if !IE]><{PRO_MSN}> <span id='pp-entry-contact-entry-msn'>{$member['_msn_name']}</span><![endif]--><!--[if IE]>That would make it only clickable to IE users, and display it how it currently is for firefox/opera/etc users.I thought it was a nifty feature - I saw it on an ad for a MSN robot and thought "that would work quite well if put on IPB" - I thought it would be a massive code, but when I saw how simple it was, I thought I'd post :)
Digi Posted March 29, 2007 Posted March 29, 2007 They did have something similar to this back in like 1.3 (or 1.2). Basically for all the im clients it opened a new pop-up that allowed you to start a conversation with the person, check if they were only, and add them to your list. No idea why this was ever removed, but I'd like to see it again :)
Working4computers Posted March 30, 2007 Posted March 30, 2007 This might make me change to IE if it was implemented. Any chance it could work with other browsers? *looks hopefully*
Mark Posted March 31, 2007 Posted March 31, 2007 Well if you could convince the Firefox developers ;)
Recommended Posts
Archived
This topic is now archived and is closed to further replies.