![]() |
AIM Online Status Indicator
Quote:
|
How long does it take to update your status because I am signed on AIM and it hasn't registered on my forums that I am on.
|
nice one, useful since i got plenty of AIM users.. (clicks install)
|
I've downloaded quite a few hacks from these forums and thought that I should contribute one of my own :) (First hack and first post ever!)
I dislike the way that vBulletin sets up way you send AIM messages. You have to go from that pop-up window to the profile in order to IM someone by clicking on the icon. With this hack, the image will display whether or not the user is logged into AIM as well as opening the AIM IM window upon clicking the icon. To check whether the user is online, it checks with the AIM server. This only requires two file uploads (images) and a one-line file edit. STEP ONE: Upload the files aim_online.gif and aim_offline.gif to any directory. STEP TWO: Open up includes/functions_showthread.php and replace this line: PHP Code:
PHP Code:
Well, it's not much, but it is my first hack. Just a fun 'lil thing that makes your forum more convenient. I don't know if this can be done with MSNM, but if it's possible, I'll post a follow-up to this thread. Feel free to edit the images as you like EDIT: Even with a fix I made, screen name with spaces just don't seem to work. |
^ Great!!
|
nice:D
|
Nice, how do i make it like this for Yahoo messenger?
|
I am not sure if there is such a link for Yahoo! messenger. For AIM, it checks with big.oscar.aol.com. If there is a way to check whether someone's signed onto YIM, I'll add it to the hack.
|
Quote:
|
Thanks for your hack, AdmiralB. And thanks for your post, Bad Bunny.
|
How bout doin this for MSN as well? or is that not possible?
|
I'm going to look into checking the online status of all the messengers (Yahoo!, MSN, ans ICQ). Once I get that all together, I'll release it in a final hack. I've seen one for ICQ and a promising one for MSN, but I haven't tested it.
|
Sometimes this makes it take longer to load the page.
That's the only part about it I don't like. |
This hack doesn't have to be a code hack, look at the Instant Messaging Templates -> im_aim template. I used the example images AdmiralB provided.
Code:
<a href="#" onclick="return imwindow('aim', '$userinfo[userid]', 400, 200)"><img src="http://big.oscar.aol.com/$userinfo[aim]?on_url=http://www.yourserver.com/images/im_aim_on.gif&off_url=http://www.yourserver.com/images/im_aim_off.gif" width="16" height="16" alt="<phrase 1="$userinfo[username]">$vbphrase[send_message_via_aim_to_x]</phrase>" border="0" /></a> Code:
<a href="#" onclick="return imwindow('yahoo', '$userinfo[userid]', 400, 200)"><img src="http://opi.yahoo.com/online?u=$userinfo[yahoo]&m=g&t=3" alt="<phrase 1="$userinfo[username]">$vbphrase[send_message_via_yahoo_to_x]</phrase>" border="0" /></a> Still looking into MSN. |
might want to check this out. might be able to some how incorporate this.
http://www.onlinestatus.org/hosting.html |
Does this slow down the loading of showthread?
|
This is neat, but our group primarily uses YIM (Yahoo Instant Messenger) if you could create one of those now, that would be awesome!
|
Quote:
I would like to add the online / offline status for all message icons to all these profile pages. I did try using the code your presented for aim but i got an error message - http://www.hostcompanies.com/forums/...inistrator.htm Any help appreciated. |
Anyone got small images for Yahoo messenger?
|
You can find images to use here - http://www.onlinestatus.org/forum/usage.php just click on the different osi hosts. Although i have been advised not to use their service since it is hosted by third party individuals and the servers can often go offline or people just suddenly close the servers.
|
i get cha... yea
|
Quote:
|
Quote:
|
not sure, i haven't run it on my server. but they had some forums on the site you might check there.
|
great hack, clever and useful
|
nice lookin' hack!
|
could someone implement this for MSN please, i need this for our company!!!
Please help!!! |
It's sadly not possible to do this with MSN (to my knowledge).
Dave2 from UBBDEV and myself worked on a similar hack to this for UBB.classic back in the 6.3.x.x days and we had it working for AIM, ICQ and Yahoo. If people are interested, I may try and port it sometime. |
Quote:
|
super easy install and works flawlessly!!
thanks! [high]* turbidblue clicks install ;)[/high] |
Also, a nice template hack to go along with this. If you notice in the MEMBERINFO template, the image links directly to an IM window, but the text next to it does not. If you edit the memberinfo template.. Also fixed that pesky space in the AIM username problem.
Edit /includes/functions_showthread.php Code:
$aimtemp = str_replace(" ", "", $userinfo["aim"]); In MEMBERINFO template, find: Code:
<td> ... </td> Replace with: Code:
<td>$userinfo[aimicon]</td> |
Quote:
Code:
<a href="#" onclick="return imwindow('aim', '$userinfo[userid]', 400, 200)"><img src="http://big.oscar.aol.com/$userinfo[aim]?on_url=http://djjeffa.com/vb/images/misc/aim_online.gif&off_url=http://djjeffa.com/vb/images/misc/aim_offline.gif" width="16" height="16" alt="<phrase 1="$userinfo[username]">$vbphrase[send_message_via_aim_to_x]</phrase>" border="0" /></a> |
All times are GMT. The time now is 12:03 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|