Recent Changes - Search:

Cookbook

PmWiki

pmwiki.org

OnlineStatus

Summary: Display online status for AOL, Yahoo! instant messaging, Skype, or Meebo Me!
Version: 2007-02-04
Prerequisites: PmWiki 2.1.0
Status: Stable
Maintainer:
Categories: Includes

Questions answered by this recipe

  • Is there any markup that display my online status for messaging networks such as Yahoo! Messenger or AIM?

Description

You can use onlinestatus.phpΔ to show your status in Yahoo!, AIM, and Skype. Basic markup is also provided to include a Meebo Me! widget. Download and place onlinestatus.phpΔ in your cookbook folder, and add the following line to config.php or another local configuration file:

  include_once("$FarmD/cookbook/onlinestatus.php");

This recipe adds the (:onlinestatus:) markup, which has at present two arguments: service name(svc) and ID. So for each image that you want to display, add a line like this:

  (:onlinestatus svc=SVC_NAME id=YOUR_ID:)

where SVC_NAME is the name of the service (yim, aol, or skype) and YOUR_ID is your ID for that particular service.

For Meebo, you chose a size when you created your widget, so you want to do this:

  (:onlinestatus svc=meebo id=YOUR_ID size=YOUR_SIZE:)

where YOUR_SIZE is either s (small), m (medium), or l (large).


If you don't want to mess with a markup recipe, the following standard markups can be used to display a person's online status.

Yahoo! Messenger

Use the following markup/url (replacing username with your Yahoo! ID):

http://opi.yahoo.com/online?u=username&m=g&t=2&l=us&zzz=.gif

AIM

Use the following markup (replacing SCREENNAME with your AIM screen name):

http://big.oscar.aol.com/SCREENNAME?on_url=http://www.aol.com:80/aim/gr/online.gif&off_url=http://www.aol.com:80/aim/gr/offline.gif

Notes

Examples:
http://opi.yahoo.com/online?u=prmichaud&m=g&t=2&l=us&zzz=.gif

http://big.oscar.aol.com/PMICHAUD?on_url=http://www.aol.com:80/aim/gr/online.gif&off_url=http://www.aol.com:80/aim/gr/offline.gif

Release Notes

If the recipe has multiple releases, then release notes can be placed here. Note that it's often easier for people to work with "release dates" instead of "version numbers".

2007-02-07: made the Meebo Me! code XHTML compliant and allowed any width/height to be set.
2007-02-04: added Meebo Me! code.
2006-09-06: small fix for AOL code.

Comments

Please add other messengers to your recipe (mostly popular in Poland):

  • Gadu-Gadu

<img src="http://status.gadu-gadu.pl/users/status.asp?id=USERID&amp;styl=1" alt="Gadu-Gadu" />
where USERID = Gadu-Gadu user id

  • Tlen

<img src="http://status.tlen.pl/?u=USERNAME&amp;t=STYLE" alt="Tlen" />
where USERNAME = Tlen user name, STYLE = 1,2 or 3

  • ICQ

<img src="http://web.icq.com/whitepages/online?icq=NUMBER&amp;img=IMAGE" alt="ICQ" />
where NUMBER = icq user number, IMAGE = 1-25

-- errorsys - 2007-10-15


Questions

I have found that the skype extension doens't work. After exhaustive online checking and comparing the code I've found that many users have been also not getting the skype extension to work. Has anyone come up with a solution?

Thanks, Chris January 08, 2009, at 05:38 AM

See Also

Contributors

Edit - History - Print - Recent Changes - Search
Page last modified on September 16, 2008, at 03:34 PM