Invision Power Services: Automatc MSN contact adding - Invision Power Services

Jump to content

IP.Board Feedback

Do you need technical support?

You can obtain support via the client area, or you can try to obtain peer-to-peer support at IPS Resources.

Did you find a bug in IP.Board?

If you believe you've found a bug please post it to the bug tracker.

Have a suggestion or feedback?

Post it here. Thanks!
Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Automatc MSN contact adding

#1 User is offline   Μark Icon

  • I dropped the "iggy"
  • Icon
  • View blog
  • View gallery
Group:
IPS Staff
Posts:
3,504
Joined:
08-April 07
Location:
Essex, UK

Posted 29 March 2007 - 12:18 PM

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 original.gif

In skin bit personal_portal_main find this:
CODE
<{PRO_MSN}> <span id='pp-entry-contact-entry-msn'>{$member['_msn_name']}</span>


Change it to this:
CODE
<{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.
Mark Wade
mwade[at]invisionpower.com

Integrate IP.Board with your website: check out existing Converge-ready applications or make your app Converge-ready.
0

#2 User is offline   .Ryan Icon

  • iAnon
  • Icon
  • View blog
  • View gallery
Group:
+Active Customers
Posts:
1,597
Joined:
19-July 06
Location:
Greater Boston Area

Posted 29 March 2007 - 05:14 PM

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.
0

#3 User is offline   Μark Icon

  • I dropped the "iggy"
  • Icon
  • View blog
  • View gallery
Group:
IPS Staff
Posts:
3,504
Joined:
08-April 07
Location:
Essex, UK

Posted 29 March 2007 - 08:09 PM

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:

CODE
<!--[if IE]>
<{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]-->


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 original.gif
Mark Wade
mwade[at]invisionpower.com

Integrate IP.Board with your website: check out existing Converge-ready applications or make your app Converge-ready.
0

#4 User is offline   Digi Icon

  • Moderhatin' Lolerator
  • Icon
  • View blog
Group:
+Active Customers
Posts:
7,474
Joined:
07-October 03
Location:
Kenmore, WA

Posted 29 March 2007 - 08:25 PM

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 original.gif
"Rarity by itself shouldn't necessarily be evidence of anything. When one is dealt a bridge hand of thirteen cards, the probability of being dealt that particular hand is less than one in 600 billion [1 in 6 x 1011]. Still, it would be absurd for someone to be dealt a hand, examine it carefully, calculate that the probability of getting it is less than one in 600 billion, and then conclude that he must not have been [randomly] dealt that very hand because it is so very improbable." -John Allen Paulos, Innumeracy: Mathematical Illiteracy and Its Consequences

Chris T I've just realised what [someone] reminds me of: http://youtube.com/watch?v=4n-UGQcG3Jw [*]
0

#5 User is offline   Working4computers Icon

  • Advanced Member
  • PipPipPipPip
  • View blog
  • View gallery
Group:
Members
Posts:
394
Joined:
24-April 05
Location:
East Sussex. South East England. UK
Interests:
Computing,<br />Networking,<br />Reading,<br />Films,<br />Music,<br />Tictacs!

Posted 30 March 2007 - 04:35 PM

This might make me change to IE if it was implemented. Any chance it could work with other browsers? *looks hopefully*
Posted Image
0

#6 User is offline   Μark Icon

  • I dropped the "iggy"
  • Icon
  • View blog
  • View gallery
Group:
IPS Staff
Posts:
3,504
Joined:
08-April 07
Location:
Essex, UK

Posted 31 March 2007 - 02:17 PM

Well if you could convince the Firefox developers wink.gif
Mark Wade
mwade[at]invisionpower.com

Integrate IP.Board with your website: check out existing Converge-ready applications or make your app Converge-ready.
0

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

2 User(s) are reading this topic
0 members, 2 guests, 0 anonymous users