Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Template Modifications

Reply
 
Thread Tools
Instant Messaging Status Icon Details »»
Instant Messaging Status Icon
Version: 1.00, by LeaderGL LeaderGL is offline
Developer Last Online: May 2008 Show Printable Version Email this Page

Version: 3.5.4 Rating:
Released: 03-20-2006 Last Update: Never Installs: 4
Template Edits
 
No support by the author.

Hi,
i'm an Italian boy and this is my first hack on vBulletin Forum.

What this does:
It's a little mod to add in User Description Bar the real status of IM.

How:
1) Go in your "Admin Control Panel" -> Styles & Templates -> Style Manager -> Edit Template
2) Now search "Instant Messaging Template" and expand it.

We should modify: im_aim, im_icq, im_msn, im_yahoo

Go in im_aim:
Replace all text with:
Code:
<a href="#" onclick="imwindow('aim', '$userinfo[userid]', 400, 200); return false;"><img src="http://www.the-server.net:8001/aim/$userinfo[aim]" alt="<phrase 1="$userinfo[username]">$vbphrase[send_message_via_aim_to_x]</phrase>" border="0" /></a>
Go in im_icq:
Replace all text with:
Code:
<a href="#" onclick="imwindow('icq', '$userinfo[userid]', 500, 450); return false;"><img src="http://www.the-server.net:8001/icq/$userinfo[icq]" alt="<phrase 1="$userinfo[username]">$vbphrase[send_message_via_icq_to_x]</phrase>" border="0" /></a>
Go in im_msn:
Replace all text with:
Code:
<a href="#" onclick="imwindow('msn', '$userinfo[userid]', 400, 200); return false;"><img src="http://www.the-server.net:8001/msn/$userinfo[msn]" alt="<phrase 1="$userinfo[username]">$vbphrase[send_message_via_msn_to_x]</phrase>" border="0" /></a>
Go in im_yahoo:
Replace all text with:
Code:
<a href="#" onclick="imwindow('yahoo', '$userinfo[userid]', 400, 200); return false;"><img src="http://www.the-server.net:8001/yahoo/$userinfo[yahoo]" alt="<phrase 1="$userinfo[username]">$vbphrase[send_message_via_yahoo_to_x]</phrase>" border="0" /></a>

Show Your Support

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

Comments
  #2  
Old 03-20-2006, 11:23 PM
Dougie Nunny Dougie Nunny is offline
 
Join Date: Mar 2004
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Doesn't work.

A bunch of members who ARE on-line show up as not.
Reply With Quote
  #3  
Old 03-20-2006, 11:29 PM
Tralala's Avatar
Tralala Tralala is offline
 
Join Date: Jan 2006
Posts: 1,207
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This all relies on some external server (the-server.net), yes? What happens when that server is unresponsive, down or whatever?
Reply With Quote
  #4  
Old 03-21-2006, 12:22 AM
COBRAws's Avatar
COBRAws COBRAws is offline
 
Join Date: Oct 2002
Location: Buenos Aires
Posts: 864
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

this is a port, why dont u say? I helped with the original 3.0
Reply With Quote
  #5  
Old 03-21-2006, 05:24 AM
Tralala's Avatar
Tralala Tralala is offline
 
Join Date: Jan 2006
Posts: 1,207
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just for comparison's sake, how is this different from this hack:
https://vborg.vbsupport.ru/showthread.php?t=101437
Reply With Quote
  #6  
Old 03-21-2006, 09:57 AM
LeaderGL LeaderGL is offline
 
Join Date: Mar 2006
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Tralala
Just for comparison's sake, how is this different from this hack:
https://vborg.vbsupport.ru/showthread.php?t=101437
Sorry, i know this site: http://www.the-server.net:8001/ and from this i get the code to show right image and then i've changed the original vBulletin code in this way:

Original Code:
Code:
<a href="#" onclick="imwindow('msn', '$userinfo[userid]', 400, 200); return false;"><img src="$stylevar[imgdir_misc]/im_msn.gif" alt="<phrase 1="$userinfo[username]">$vbphrase[send_message_via_msn_to_x]</phrase>" border="0" /></a>
With new code:
Code:
<a href="#" onclick="imwindow('msn', '$userinfo[userid]', 400, 200); return false;"><img src="http://www.the-server.net:8001/msn/$userinfo[msn]" alt="<phrase 1="$userinfo[username]">$vbphrase[send_message_via_msn_to_x]</phrase>" border="0" /></a>
The only difference is in the "IMG SRC" code that now load right status icon from the site...:

Original:
Code:
<img src="$stylevar[imgdir_misc]/im_msn.gif" ...
New:
Code:
<img src="http://www.the-server.net:8001/msn/$userinfo[msn]" ...
This https://vborg.vbsupport.ru/showthread.php?t=101437 is a PlugIn so more invasive....my hack is equal to original expect for the Image Source...i've only MSN Messenger Account and i tested it and work....
Reply With Quote
  #7  
Old 03-21-2006, 10:23 AM
Snake's Avatar
Snake Snake is offline
 
Join Date: Mar 2005
Location: Cleveland, OH
Posts: 3,832
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks man it seems to work fine now.
Reply With Quote
  #8  
Old 03-21-2006, 11:21 AM
LeaderGL LeaderGL is offline
 
Join Date: Mar 2006
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've changed some code, with this new code you use the appropiate status indication (icq from icq server, yahoo from yahoo server, only msn is on the-server.net):

ICQ:
Code:
<a href="#" onclick="imwindow('icq', '$userinfo[userid]', 450, 420); return false;"><img src="http://web.icq.com/whitepages/online?icq=$userinfo[icq]&amp;img=5" alt="<phrase 1="$userinfo[username]">$vbphrase[send_message_via_icq_to_x]</phrase>" onerror="this.onerror=null;this.src='http://www.the-server.net:8001/image/icqunknown.gif';" border="0" /></a>

MSN:
Code:
<a href="#" onclick="imwindow('msn', '$userinfo[userid]', 400, 205); return false;"><img src="http://www.the-server.net:8002/msn/$userinfo[msn]" alt="<phrase 1="$userinfo[username]">$vbphrase[send_message_via_msn_to_x]</phrase>" onerror="this.onerror=null;this.src='http://www.the-server.net:8002/image/msnunknown.gif';" border="0" /></a>

YAHOO:
Code:
<a href="#" onclick="imwindow('yahoo', '$userinfo[userid]', 400, 150); return false;"><img src="http://opi.yahoo.com/online?u=$userinfo[yahoo]%40yahoo.it&m=g&t=1" alt="<phrase 1="$userinfo[username]">$vbphrase[send_message_via_yahoo_to_x]</phrase>" border="0" /></a>
Reply With Quote
  #9  
Old 03-21-2006, 05:34 PM
Trana Trana is offline
 
Join Date: Apr 2005
Posts: 604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is just a reposted hack.
Reply With Quote
  #10  
Old 04-11-2006, 10:08 PM
gunitman247 gunitman247 is offline
 
Join Date: Aug 2005
Location: Omaha
Posts: 78
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

yeah im getting a question mark for msn and im online
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 06:50 AM.


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.06492 seconds
  • Memory Usage 2,295KB
  • 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
  • (11)bbcode_code
  • (1)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
  • (1)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