vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   AIM Online Status Indicator (https://vborg.vbsupport.ru/showthread.php?t=63423)

Bad Bunny 04-02-2004 09:00 PM

AIM Online Status Indicator
 
Quote:

Originally Posted by AdmiralB
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:

        eval('$userinfo[\'aimicon\'] = "' fetch_template('im_aim') . '";'); 

With this:
PHP Code:

        $userinfo['aimicon'] = "<a href='aim:goim?screenname=" $userinfo['aim'] . "'><img src='http://big.oscar.aol.com/" $userinfo['aim'] . "?on_url=http://yoursite.com/path/to/aim_online.gif&off_url=http://yoursite.com/path/to/aim_offline.gif' width='16' height='16' style='border: 0;' /></a>"

Make sure you change the url's in there to match the path to your images. The icons are attached.

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 :D

Looks interesting. And simple! Thanks!

GamerJunk.net 04-03-2004 05:24 AM

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.

???`S?LV?R???` 04-03-2004 03:35 PM

nice one, useful since i got plenty of AIM users.. (clicks install)

AdmiralB 04-03-2004 10:49 PM

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:

eval('$userinfo[\'aimicon\'] = "' fetch_template('im_aim') . '";'); 

With this:
PHP Code:

$userinfo['aimicon'] = "<a href='aim:goim?screenname=" $userinfo['aim'] . "'><img src='http://big.oscar.aol.com/" $userinfo['aim'] . "?on_url=http://yoursite.com/path/to/aim_online.gif&off_url=http://yoursite.com/path/to/aim_offline.gif' width='16' height='16' style='border: 0;' /></a>"

Make sure you change the url's in there to match the path to your images. The icons are attached.

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.

*arie 04-04-2004 05:35 PM

^ Great!!

AN-net 04-04-2004 07:08 PM

nice:D

mitomcua 04-05-2004 01:02 AM

Nice, how do i make it like this for Yahoo messenger?

AdmiralB 04-05-2004 10:51 PM

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.

Bad Bunny 04-06-2004 01:30 AM

Quote:

Originally Posted by AdmiralB
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.

I believe there is an ability to do this with ICQ that would be cool to integrate with vb3.

calvinnguyen 04-07-2004 05:37 AM

Thanks for your hack, AdmiralB. And thanks for your post, Bad Bunny.


All times are GMT. The time now is 07:39 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01871 seconds
  • Memory Usage 1,746KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete