Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Add Skype/Xfire/Google Talk to IM List Details »»
Add Skype/Xfire/Google Talk to IM List
Version: 1.0, by Hawkbizkit Hawkbizkit is offline
Developer Last Online: Apr 2009 Show Printable Version Email this Page

Version: 3.5.0 Rating:
Released: 10-17-2005 Last Update: 10-20-2005 Installs: 99
DB Changes Uses Plugins Template Edits
Additional Files  
No support by the author.

Well first off I would like to thank burnist for allowing me to re-release this hack as a product and change a few things so it will work with xfire and google talk also. Here is the original hack by burnist Add Skype To IM List.

The code is almost the same with very few changes all i really did was automate the query and adding the templates and added prases to it but you will still need to edit a few templates and have 1 file edit ONLY IF you want this feature.

Title: Add Skype/Xfire/Google Talk to IM List

Function: Adds a listings for Skype/Xfire/Google Talk along side the instant messengers in the profile, memberlist, postbit and Who's Online (WOL requires file edit)

Installation: - Load The XML file in the Product manager
- Upload im_skype.gif/im_xfire.gif/im_gt.gif to images/misc
- Do Template Edits
- WOL addition is listed in the Thread
- If it becomes available the WOL will be added by a hook (future version)
- Tested on vB 3.5 GOLD

Author: Greg Orsi (Hawkbizkit)
Original Author: Stewart Ritchie (acid burn/burnist)
Date: Tuesday October 18th
Version: 1.0
License: Provided "as is" with no warrnty. I take no responsibility for your board, always make a back up before modifying anything, even more important now as modifications them selves are stored in the database now.
Can only be distributed on Vbulletin.org or other official Sites without my permission.

OPTIONAL FILE MOD IF YOU WANT THIS FEATURE!!!

The following will add Skype/Xfire/Google Talk to the Who's Online IM list, it was not included in the hack file as it requires file edits and the rest of the add-on uses hooks so you can add this at your own discretion.

Depending on which version you install you will need to change a few things in the file edit.

#########
## WOL ###
#########

Open online.php and find
PHP Code:
                          $allusers $db->query_read(
SELECT user.username, session.useragent, session.location, session.lastactivity, user.userid, user.options, session.host, session.badlocation, session.incalendar, user.aim, user.icq, user.msn, user.yahoo, 
IF(displaygroupid=0, user.usergroupid, displaygroupid) AS displaygroupid 
FROM " 
TABLE_PREFIX "session AS session 
"
iif($vbulletin->options['WOLguests'], " LEFT JOIN " TABLE_PREFIX "user AS user USING (userid) "", " TABLE_PREFIX "user AS user") .
WHERE session.lastactivity > 
$datecut 
"
iif(!$vbulletin->options['WOLguests'], " AND session.userid = user.userid""") .
ORDER BY 
$sqlsort $sortorder 
"
); 
Replace It with

For Skype:
PHP Code:
                         $allusers $db->query_read(
SELECT user.username, session.useragent, session.location, session.lastactivity, user.userid, user.options, session.host, session.badlocation, session.incalendar, user.aim, user.icq, user.msn, user.yahoo, user.skype, 
IF(displaygroupid=0, user.usergroupid, displaygroupid) AS displaygroupid 
FROM " 
TABLE_PREFIX "session AS session 
"
iif($vbulletin->options['WOLguests'], " LEFT JOIN " TABLE_PREFIX "user AS user USING (userid) "", " TABLE_PREFIX "user AS user") .
WHERE session.lastactivity > 
$datecut 
"
iif(!$vbulletin->options['WOLguests'], " AND session.userid = user.userid""") .
ORDER BY 
$sqlsort $sortorder 
"
); 
For Xfire:
PHP Code:
                          $allusers $db->query_read(
SELECT user.username, session.useragent, session.location, session.lastactivity, user.userid, user.options, session.host, session.badlocation, session.incalendar, user.aim, user.icq, user.msn, user.yahoo, user.xfire, 
IF(displaygroupid=0, user.usergroupid, displaygroupid) AS displaygroupid 
FROM " 
TABLE_PREFIX "session AS session 
"
iif($vbulletin->options['WOLguests'], " LEFT JOIN " TABLE_PREFIX "user AS user USING (userid) "", " TABLE_PREFIX "user AS user") .
WHERE session.lastactivity > 
$datecut 
"
iif(!$vbulletin->options['WOLguests'], " AND session.userid = user.userid""") .
ORDER BY 
$sqlsort $sortorder 
"
); 
For Googletalk:
PHP Code:
                         $allusers $db->query_read(
SELECT user.username, session.useragent, session.location, session.lastactivity, user.userid, user.options, session.host, session.badlocation, session.incalendar, user.aim, user.icq, user.msn, user.yahoo, user.googletalk, 
IF(displaygroupid=0, user.usergroupid, displaygroupid) AS displaygroupid 
FROM " 
TABLE_PREFIX "session AS session 
"
iif($vbulletin->options['WOLguests'], " LEFT JOIN " TABLE_PREFIX "user AS user USING (userid) "", " TABLE_PREFIX "user AS user") .
WHERE session.lastactivity > 
$datecut 
"
iif(!$vbulletin->options['WOLguests'], " AND session.userid = user.userid""") .
ORDER BY 
$sqlsort $sortorder 
"
); 
For Google Talk/Xfire/Skype Triple Pack:
PHP Code:
                         $allusers $db->query_read(
SELECT user.username, session.useragent, session.location, session.lastactivity, user.userid, user.options, session.host, session.badlocation, session.incalendar, user.aim, user.icq, user.msn, user.yahoo, user.googletalk, user.xfire, user.skype, 
IF(displaygroupid=0, user.usergroupid, displaygroupid) AS displaygroupid 
FROM " 
TABLE_PREFIX "session AS session 
"
iif($vbulletin->options['WOLguests'], " LEFT JOIN " TABLE_PREFIX "user AS user USING (userid) "", " TABLE_PREFIX "user AS user") .
WHERE session.lastactivity > 
$datecut 
"
iif(!$vbulletin->options['WOLguests'], " AND session.userid = user.userid""") .
ORDER BY 
$sqlsort $sortorder 
"
); 
Save and close online.php

Open The template 'whosonlinebit'

Find

HTML Code:
            $userinfo[yahooicon]
Add under this

HTML Code:
      $userinfo[gticon]
            $userinfo[xfireicon]
            $userinfo[skypeicon]
#############
### /WOL #####
#############

Show Your Support

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

Comments
  #92  
Old 12-23-2005, 08:27 AM
GrendelKhan{TSU's Avatar
GrendelKhan{TSU GrendelKhan{TSU is offline
 
Join Date: Jun 2005
Location: Boston | Seoul, S. Korea
Posts: 1,311
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by abel
very cool...

lemme know how tough it is to try to get something like this setup as well..
I asked a similiar question a few posts back (no answer )

I have a few IM chat programs that I really want to add.

(ps. hello is cool. but they really need to get conference chat. :ermm: )
Reply With Quote
  #93  
Old 12-23-2005, 08:05 PM
NuclioN's Avatar
NuclioN NuclioN is offline
 
Join Date: Aug 2002
Posts: 955
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm confused! I'm getting this window when clicking on the skypebutton in postbit:

Send Message Via Skype to username (xxx)
To add user click Add Contact in the upper left corner of the Skype window and enter the users name listed above.
These functions require that you have Skype installed on your computer for them to function. You can get Skype Here.

It should give the other popup with all the skype message functions right? How to get this popup window?
Reply With Quote
  #94  
Old 12-26-2005, 04:34 PM
Chadi's Avatar
Chadi Chadi is offline
 
Join Date: May 2004
Location: USA
Posts: 2,043
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Not sure why but after uploading (importing) xml and template edits, the 3 are missing from profile edit. I am positive I added the template modifications correctly. Any hints?
Reply With Quote
  #95  
Old 12-30-2005, 09:14 PM
cdoyle cdoyle is offline
 
Join Date: Oct 2004
Posts: 462
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

great hack, thanks INSTALLED
Reply With Quote
  #96  
Old 12-30-2005, 09:57 PM
cdoyle cdoyle is offline
 
Join Date: Oct 2004
Posts: 462
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I just noticed something, if you view the 'who's online' page. The new icons don't apear there. What template would I update, so they are included there too?
Reply With Quote
  #97  
Old 01-15-2006, 03:21 AM
GetGamer.com GetGamer.com is offline
 
Join Date: Jul 2004
Posts: 120
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm having one small problem with this mod. I've installed only the Google Talk addition (I'm running vBulletin 3.5.3) and everything works great but one thing. When you click the Google Talk icon in the postbit, WOL, or member profile, the sendmessage.php only includes the im_send_gt template. Any ideas why?
Reply With Quote
  #98  
Old 01-15-2006, 07:03 AM
BENSTER BENSTER is offline
 
Join Date: Jul 2005
Posts: 39
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This worked out very well for Xfire, but the icons do not show for skype, Google talk, or Xfire before this change. Both user cp and Post bit legacy only display the original icons. IE shows a place holder for the images, Firefox displays text. Did I miss something with the included install text?

Quote:
Originally Posted by Hawkbizkit
also i have this mod for xfire this one wont be standard for the login but just a mod you can do to it.

Template im_xfire
HTML Code:
<a href="#" onclick="xfirewindow($userinfo[userid], 500, 260); return false;"><img src="http://miniprofile.xfire.com/bg/bg/type/3/$userinfo[xfire].png" alt="<phrase 1="$userinfo[username]">$vbphrase[send_message_via_xfire_to_x]</phrase>" width=149 height=29 border=0></a>
then just move the $post[xfireicon] to just below the closing </div> tag holding the IM icons.
Reply With Quote
  #99  
Old 03-16-2006, 01:36 PM
Felan Felan is offline
 
Join Date: Aug 2005
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

for vb 3.5.4 googletalk hack?
Reply With Quote
  #100  
Old 03-20-2006, 04:38 AM
hydn hydn is offline
 
Join Date: Oct 2005
Posts: 180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

great hack! installed.

quick question

since there's so many IM softwares our there is there a generic general add IM hack that can be alltered with the IM_custom.gif and also by reprasiing the popup box etc?
Reply With Quote
  #101  
Old 03-21-2006, 12:23 AM
WNxWakko's Avatar
WNxWakko WNxWakko is offline
 
Join Date: Apr 2003
Location: Paradise, Texas
Posts: 309
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How do I add the xfire portion to the membersearch screen. I tried a few things but I could not get it to search the field.
Reply With Quote
Reply


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 05:58 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.08111 seconds
  • Memory Usage 2,351KB
  • Queries Executed 25 (?)
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
  • (3)bbcode_html
  • (5)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
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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