The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Add Skype/Xfire/Google Talk to IM List Details »» | |||||||||||||||||||||||||
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:
For Skype: PHP Code:
PHP Code:
PHP Code:
PHP Code:
Open The template 'whosonlinebit' Find HTML Code:
$userinfo[yahooicon] HTML Code:
$userinfo[gticon] $userinfo[xfireicon] $userinfo[skypeicon] ### /WOL ##### ############# Show Your Support
|
Comments |
#122
|
|||
|
|||
Oh great i will test it tomorrow.... many thx
|
#123
|
|||
|
|||
Ok i have tested...
Many thanks for the update. I have a little different changes and a few questions My different changes: /includes/class_userprofile.php -- Find -- Code:
$this->prepared['hasimdetails'] = ($this->prepared['icq'] OR $this->prepared['aim'] OR $this->prepared['msn'] OR $this->prepared['yahoo'] OR $this->prepared['skype']) ? true : false; Code:
$this->prepared['hasimdetails'] = ($this->prepared['icq'] OR $this->prepared['aim'] OR $this->prepared['msn'] OR $this->prepared['yahoo'] OR $this->prepared['skype'] OR $this->prepared['xfire']) ? true : false; I have added: OR $this->prepared['xfire'] TEMPLATE EDIT: modifyprofile -- Find -- Code:
<td>$vbphrase[skype_name]<br /> <img src="$stylevar[imgdir_misc]/im_skype.gif" alt="" /> <input type="text" class="bginput" name="skype" value="$bbuserinfo[skype]" size="25" maxlength="50" dir="ltr" /></td> Code:
<td>Xfire-Name<br /> <img src="$stylevar[imgdir_misc]/im_xfire.gif" alt="" /> <input type="text" class="bginput" name="xfire" value="$bbuserinfo[xfire]" size="25" maxlength="50" dir="ltr" /></td> Thats better for me... TEMPLATE EDIT: postbit legacy - postbit -- Find -- (should be in both postbit and postbit_legacy, whichever you use) Code:
<div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon] $post[skypeicon] </div> Code:
<div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon] $post[skypeicon] $post[xfireicon] </div> TEMPLATE EDIT: headinclude -- Find -- Code:
<script type="text/javascript"> <!-- var SESSIONURL = "$session[sessionurl_js]"; var IMGDIR_MISC = "$stylevar[imgdir_misc]"; // --> Code:
function xfirewindow(userid, width, height) { return openWindow( 'sendmessage.php?' + SESSIONURL + 'do=xfire&u=' + userid, width, height ); } My Questions: 1. Profil overview or whos online >> displayed: Current Activity: Unknown Location /sendmessage.php?do=im&type=xfire&u=1 ? we can i change it? 2. How i can integrate send message in profile popup menu like icq? (is under profil overview) 3. Menu showing friends on member profile - xfire info is missing under friends. we can i change it? icq and skype is displayed.. 4. Admincp - Edit User xfire field is missing finaly: it is possible write message like icq - direct message? Annother works great. Good Job. Many thanks. Greetz and sorry my englisch is little crazzy (we can talk german better ^^) New Xfire Icon Attachment 84417 Download here |
#124
|
|||
|
|||
Here some answers
Quote:
|
#125
|
|||
|
|||
Thanks for the update, installed. One slight oversight in your howto though:
Quote:
|
#126
|
||||
|
||||
I would be great if we could get a basic xml file and edits that we can put what ever networks we want into vBulletin.
Just an idea |
#127
|
|||
|
|||
Quote:
TEMPLATE EDIT: MEMBERINFO -- Find -- Code:
condition="$prepared['icq']"> <li class="vbmenu_option"><img class="alt2 inlineimg" alt="" src="$stylevar[imgdir_misc]/im_icq.gif" /> <a href="#" dir="ltr" onclick="imwindow('icq', '$prepared[userid]', 500, 450); return false;"><phrase 1="$prepared[username]">$vbphrase[send_icq_message_to_x]</phrase></a></li> </if> Code:
<if condition="$prepared['xfire']"> <li class="vbmenu_option"><img class="alt2 inlineimg" alt="" src="$stylevar[imgdir_misc]/im_xfire.gif" /> <a href="#" dir="ltr" onclick="imwindow('xfire', '$prepared[userid]', 400, 200); return false;"><phrase 1="$prepared[username]">$vbphrase[send_xfire_message_to_x]</phrase></a></li> </if> Add new phrase: Variable: send_xfire_message_to_x Send an Xfire message to {1} Create new hook: AdminCP -> Add-ons & Plug-ins -> Add Plug-in 1. Xfire: WOL Init Hook: online_location_preprocess Code:
if($filename=='sendmessage.php' and $values['type']=='xfire') { $userinfo['activity'] = 'xfire'; } 2. Xfire: WOL Show Hook: online_location_unknown Code:
if($userinfo['activity']=='xfire') { $userinfo['action']=$vbphrase['sending_xfire_message']; $userinfo['where']=''; $handled=true; } Variable: sending_xfire_message Sending Xfire Message add xfire icon >>> profil overview >> friends TEMPLATE EDIT: memberinfo_small -- Find -- Code:
<if condition="$user['showicq']"><li>$user[icqicon]</li></if> Code:
<if condition="$user['showxfire']"><li>$user[xfireicon]</li></if> Works fine for Vbulletin 3.7.3 PL1 xD Greetz Espesso |
#128
|
|||
|
|||
Still working for 3.8.0
(with the modifications mentioned in the previous posts) |
#129
|
|||
|
|||
Eh, I need some help here, please.
Do the files from TingelT completely replace the ones from the original author? Should I use only these (and only do the template edits in HIS .txt-file)? Maybe, can someone post a complete and comprehensive (for dummys) instruction on how to install this (only XFire, though) for 3.8.0? Thank you, thank you, thank you. |
#130
|
|||
|
|||
Can someone post a clean version of the triple pack for 3.8.3 ?
|
#131
|
|||
|
|||
i want this for VB 4.0 anyone can help ?
|
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|