Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases

Reply
 
Thread Tools
AIM Online Status Indicator Details »»
AIM Online Status Indicator
Version: 1.00, by Bad Bunny Bad Bunny is offline
Developer Last Online: May 2016 Show Printable Version Email this Page

Version: 3.0.0 Rating:
Released: 04-02-2004 Last Update: Never Installs: 30
 
No support by the author.

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
Looks interesting. And simple! Thanks!

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 04-03-2004, 06:24 AM
GamerJunk.net's Avatar
GamerJunk.net GamerJunk.net is offline
 
Join Date: Jan 2004
Posts: 457
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #3  
Old 04-03-2004, 04:35 PM
???`S?LV?R???`'s Avatar
???`S?LV?R???` ???`S?LV?R???` is offline
 
Join Date: Aug 2003
Posts: 368
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nice one, useful since i got plenty of AIM users.. (clicks install)
Reply With Quote
  #4  
Old 04-03-2004, 11:49 PM
AdmiralB's Avatar
AdmiralB AdmiralB is offline
 
Join Date: Mar 2004
Location: New Jersey
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #5  
Old 04-04-2004, 06:35 PM
*arie's Avatar
*arie *arie is offline
 
Join Date: Jan 2004
Location: New Orleans {504}
Posts: 43
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

^ Great!!
Reply With Quote
  #6  
Old 04-04-2004, 08:08 PM
AN-net's Avatar
AN-net AN-net is offline
 
Join Date: Dec 2003
Location: AnimationTalk.com
Posts: 2,367
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nice
Reply With Quote
  #7  
Old 04-05-2004, 02:02 AM
mitomcua mitomcua is offline
 
Join Date: Jul 2003
Posts: 37
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice, how do i make it like this for Yahoo messenger?
Reply With Quote
  #8  
Old 04-05-2004, 11:51 PM
AdmiralB's Avatar
AdmiralB AdmiralB is offline
 
Join Date: Mar 2004
Location: New Jersey
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #9  
Old 04-06-2004, 02:30 AM
Bad Bunny's Avatar
Bad Bunny Bad Bunny is offline
 
Join Date: Apr 2002
Posts: 555
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #10  
Old 04-07-2004, 06:37 AM
calvinnguyen calvinnguyen is offline
 
Join Date: Nov 2003
Posts: 114
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 07:12 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.09244 seconds
  • Memory Usage 2,299KB
  • Queries Executed 23 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (4)bbcode_php
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete