PDA

View Full Version : Showing Messenger Status??


SpeedFreak
07-28-2003, 10:08 AM
hey,

you know on some sites how they show their AOL/ICQ messenger status (online or not), well - how do they do that?

also - is there a similar thing available for MSN messenger.

PS: i put this in General building, coz i dont know whether its html/php/JS or whatevever

Thanks :)

oracleguy
07-28-2003, 04:46 PM
I've never seen something like that for AIM, but I have for ICQ and Yahoo messenger.

Here is the one for ICQ: http://www.icq.com/features/web/indicator.html

It is a feature of the UCQ/Yahoo/whatever I believe.

scroots
07-29-2003, 12:20 AM
i know how to do it for msn but they need to have you on your contact list, or there must be a server side way, possibley not though.

As a bot could be built to act like a copy of messsenger and report back your status to your site.

scroots

SpeedFreak
07-29-2003, 08:26 AM
how would i go about doing that??

jalarie
07-29-2003, 04:32 PM
<img src="http://big.oscar.aol.com/jalarie?on_url=http://spruce.flint.umich.edu/~jalarie/lime.gif&off_url=http://spruce.flint.umich.edu/~jalarie/red.gif">

scroots
08-02-2003, 10:34 PM
i will dig out the code that shows if they are online if there are on your list.

scroots

Nightfire
08-03-2003, 01:05 AM
For MSN I have no idea how to do it, ICQ and AOL have a webmasters section which tells you how to do it. Or use their search engines.

thedevilspride
08-04-2003, 04:34 AM
Take a look here (http://www.google.com/search?hl=en&ie=UTF-8&oe=UTF-8&q=msn+status+checker)
They seem to work

jkd
08-04-2003, 05:32 AM
function onlineStatus(user) {
var msn = new ActiveXObject("Messenger.UIAutomation.1");
msn.AutoSignin();
switch (msn.GetContact(user, msn.MyServiceId).Status) {
case 0x0000: return "unknown";
case 0x0001: return "offline";
case 0x0002: return "online";
case 0x0006: return "invisible";
case 0x000A: return "busy";
case 0x000E: return "brb";
case 0x0012: return "idle";
case 0x0022: return "away";
case 0x0032: return "phone";
case 0x0042: return "lunch";
default: return "failure";
}
}


The Messenger ActiveX object exposes a lot of ways to control your local client too... very scary if the wrong people would take 15 minutes to research it.

Spudhead
08-05-2003, 01:19 PM
Interesting - I'd like to find out more about this MSM ActiveX object, but my Googling is only turning up various security alerts :thumbsup: Could you point me at a useful reference?

Ta :)


Aha - just found the Devshed article :)

jkd
08-05-2003, 03:19 PM
Originally posted by Spudhead
Aha - just found the Devshed article :)

Didn't know there was one. Think you could post a link? I've always looked at the C++ interfaces on MSDN and ignored what they said was scriptable (because when they say something isn't scriptable, it generally is...)

Drakain Zeil
08-06-2003, 08:43 PM
MSDN has all the info. on MSN and how to even make changes to it.

However they also manged to render MSDN useless with it's new search function. :(

Spudhead
08-07-2003, 12:55 PM
Ah, sorry. My bad. It was devhood, not devshed:

http://www.devhood.com/tutorials/tutorial_details.aspx?tutorial_id=478

SpeedFreak
08-09-2003, 03:24 PM
thanks for the response guys, i think i should be able to get this working :)