PDA

View Full Version : Add Skype/Xfire/Google Talk to IM List


Hawkbizkit
10-17-2005, 10:00 PM
Well first off I would like to thank burnist (https://vborg.vbsupport.ru/member.php?u=38257) 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 (https://vborg.vbsupport.ru/showthread.php?t=92491).

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

$userinfo[yahooicon] Add under this

$userinfo[gticon]
$userinfo[xfireicon]
$userinfo[skypeicon]#############
### /WOL #####
#############

Hawkbizkit
10-18-2005, 06:00 PM
Version Log:

Version 1.0
-Finallized the packs
-Added template caching

Added Screenshots

Version 0.3 Beta
-Fixed a few minor code issues.
-Cleaned up icons and added PSD's for people to customize with.
-Added the Google Talk/Xfire/Skype triple pack install as beta 0.3.

Version 0.2 Beta
-Fix template edits in install files.
-Changed a few phrases around.

Version 0.1 Beta
-First release.

Upgrading:

0.1-0.2 Beta --> 0.3 Beta:

Just import over old version and reapply Template edits for Skype only.

0.1-0.2 Beta --> 0.3 Beta Triple Pack:

If you wish to keep the data from the other versions just remove the uninstall code from the other products and then uninstall and remove template edits.

Import new triple pack product and apply template edits again.

0.3 Beta's --> 1.0:

Just upload the new product with allow overwrite option checked.

jesus likes pie
10-18-2005, 06:15 PM
Wrong forum, but I will install it later. This is code modification.

Snake
10-18-2005, 06:34 PM
Screenshots please?

Hawkbizkit
10-18-2005, 06:38 PM
i always love how people do this the code mod is optional and not required unless you want those features....

i will do my best tonight to get a screenshot up but i'm not sure it's really needed as it just add's the buttons for those different IM clients just like AIM/Yahoo/MSN/ICQ it just adds them to the right.

Azhrialilu
10-18-2005, 06:56 PM
I like it :)

jugo
10-18-2005, 07:00 PM
Is it still in beta?

TyleR
10-18-2005, 07:52 PM
Is it still in beta?

Release: Today

Very doubtful that it isnt..please read the release date before asking such questions

Also, installed the google talk one, and works fine

* TyleR clicks install

kall
10-18-2005, 07:54 PM
Very doubtful that it isnt..please read the release date before asking such questions

Also, installed the google talk one, and works fine

* TyleR clicks install

Given that the author has marked it as IN BETA STAGE.. it's not a bad question to ask.

TyleR
10-18-2005, 07:56 PM
Given that the author has marked it as IN BETA STAGE.. it's not a bad question to ask.

Did you read the whole post? it was just released today, so why would it be out of beta within the same day? its never happened from what i've seen before.

eljeffe
10-18-2005, 08:03 PM
Taking first post for updates.... :banana: Enjoy and i hope it works lol

Hey Hawkbizkit,

Any chance we can talk you into creating this same hack for 3.0.x? I know I'd be willing to toss you a few bucks for beer if you did. :)

BLazeD1
10-18-2005, 10:56 PM
I get this - Uncached templates: im_gt (1)

jugo
10-19-2005, 01:13 AM
Very doubtful that it isnt..please read the release date before asking such questions

Also, installed the google talk one, and works fine

* TyleR clicks install


Please read the filenames before giving such answers:


googletalk 0.1Beta.zip
skype 0.1beta.zip
xfire 0.1beta.zip

TyleR
10-19-2005, 02:44 AM
Please read the filenames before giving such answers:

by posting that you made yourself look dumb..you're the one who asked if it was still in beta..so really, you answered you're own question :ermm:

WNxWakko
10-19-2005, 03:43 AM
When you click the Xfire icon from a post, the popup window refers to MSN.

Also with the code inserted to the templates, the Google info doesnt show up in a members profile or memberinfo page.

Hawkbizkit
10-19-2005, 04:09 AM
When you click the Xfire icon from a post, the popup window refers to MSN.

Also with the code inserted to the templates, the Google info doesnt show up in a members profile or memberinfo page.
does it display the Xfire info at all or is it really just the MSN info i can't check this on my own server since my host is currently down.... ggggrrrrr but i checked the code and it doesn't say seem to be messed up. a screenshot would also help but i guess i will test this on a local machine.

WNxWakko
10-19-2005, 04:12 AM
When i click the xfire image icon in a post which does show up as xfire, I get this,

Send Message Via MSN to WNxWakko (wnxwakko@hotmail.com)
Add wnxwakko@hotmail.com to your contact list
Send wnxwakko@hotmail.com a message
Please note that these functions require that you to be logged into either MSN Messenger or Windows Messenger. You will not be able to send messages to the email address that you are logged into MSN/Windows Messenger with.

---------------

The other issue is google image icon not showing up,

https://vborg.vbsupport.ru/

Hawkbizkit
10-19-2005, 04:14 AM
hmmmm...... into the code i must go brb with a fix

edit: well i plan as soon as these bugs are fixed to release a version with all 3 in one plugin/zip file

BLazeD1
10-19-2005, 04:24 AM
How do I cache the im_gt template?

I currently get this error at the bottom of my forums:

Uncached templates: im_gt (1)

Hawkbizkit
10-19-2005, 04:32 AM
How do I cache the im_gt template?

I currently get this error at the bottom of my forums:
well thats not an error it's just that a i did not cache the templates in this version because it's still a beta and that was the last thing i wanted to worry about but if you wait till these bug fix's i will cache the templetes and update all the hacks and add the 4th one

btw since my host is down and my linux box is down i am installing apache and mysql and setting up a local test bed for debuging again... so this will take like 30 minutes but i will get this updated tonight.

Update: well my HDD just died on me so i'm SOL all got left is my laptop. so i will try and setup my linux box again....

majorxp
10-19-2005, 02:22 PM
Cool...I look forward to this fully working! This is exactly what I needed.

jugo
10-19-2005, 02:49 PM
by posting that you made yourself look dumb..you're the one who asked if it was still in beta..so really, you answered you're own question :ermm:


Dude...if thi is not your hack ..SHUT UP!!

If the question didn't start with "Tyler ".....SHUT UP!!

If you're breathing....STOP!!!

PS: I have seen hacks released as FULL VERSIONS and not in beta...so.....SHUT UP!!!

Cheertobi
10-19-2005, 03:15 PM
Hi,

I just checked the install.txt within the skype zipfile and all template edits seem to be for xfire?! Is this right?

Tobi

Hawkbizkit
10-19-2005, 03:29 PM
Hi,

I just checked the install.txt within the skype zipfile and all template edits seem to be for xfire?! Is this right?

Tobi
aaaahhhh crap i'm reuploading them right now with the correct install file sorry about this i was changing them so fast i screwed up sorry

it's an easy fix for skype where it says xfire just replace it with skype

for example:
function xfirewindow(userid, width, height)
{
return openWindow(
'sendmessage.php?' + SESSIONURL + 'do=skype&u=' + userid,
width, height
);
}

function skypewindow(userid, width, height)
{
return openWindow(
'sendmessage.php?' + SESSIONURL + 'do=skype&u=' + userid,
width, height
);
}

Hawkbizkit
10-19-2005, 03:38 PM
When i click the xfire image icon in a post which does show up as xfire, I get this,

Send Message Via MSN to WNxWakko (wnxwakko@hotmail.com)
Add wnxwakko@hotmail.com to your contact list
Send wnxwakko@hotmail.com a message
Please note that these functions require that you to be logged into either MSN Messenger or Windows Messenger. You will not be able to send messages to the email address that you are logged into MSN/Windows Messenger with.

---------------

The other issue is google image icon not showing up,

http://www.warriornation.net/temp/missgoogle.gif
as for your xfire install error i can't seem to find the bug finally setup a localhost on my laptop and did 3 test installs and it seems to be working just like it should...

also for googletalk not showing up do this...
******************************************
*////////////////////////////////////////*
*//////TEMPLATE EDIT: MEMBERINFO/////////*
*////////////////////////////////////////*
******************************************

-- Find --

<if condition="$userinfo['showgoogletalk']">
<tr>
<td>$userinfo[gticon]</td>
<td><a href="#" onclick="gtwindow('$userinfo[userid]', 400, 200); return false;">$userinfo[googletalk]</a></td>
</tr>
</if>

-- Replace With --

<if condition="$userinfo['showgt']">
<tr>
<td>$userinfo[gticon]</td>
<td><a href="#" onclick="gtwindow('$userinfo[userid]', 400, 200); return false;">$userinfo[googletalk]</a></td>
</tr>
</if>

Chris M
10-19-2005, 03:38 PM
Dude...if thi is not your hack ..SHUT UP!!

If the question didn't start with "Tyler ".....SHUT UP!!

If you're breathing....STOP!!!

PS: I have seen hacks released as FULL VERSIONS and not in beta...so.....SHUT UP!!!
jugo, please calm down :ermm:

Tyler, please do not continue this in this thread...

If you want to tear each other's throats out, please take it off this site :)

Chris

Hawkbizkit
10-19-2005, 06:26 PM
Released updated version and hopefully fixed the bugs and then added the Triple Pack (Google Talk/Xfire/Skype All In One)

WNxWakko
10-19-2005, 09:27 PM
Thanks for the google fix. I did figure out my xfire problem. Was nothing you did, I had an old template for xfire back in beta when I was trying dupe msn for it. All I had to do was revert the template.

I do however notice, you cant search from the advanced memberlist for any of these messangers. Any chance of adding that?

Snake
10-19-2005, 09:50 PM
Thanks for the update. I think the hack's working just fine so I'm wondering why it is still in beta stages?

Hawkbizkit
10-19-2005, 10:20 PM
just making sure everyones bugs where fixed before i went outta the beta stage...next release will be the gold version then i will start adding features as needed or requested if i think they apply

Snake
10-19-2005, 10:33 PM
Ah that's good news. Can't wait for the next release. :)

Hawkbizkit
10-20-2005, 02:03 AM
if there is a demand i can add a myspace version that i also have if people want it.

BLazeD1
10-20-2005, 05:49 AM
Are you able to tell me the code to cache that template?

I have been trying now for a couple of hours, but can't get it right. If you tell me I can add it to the plug ins myself.

Cheers

question?
10-20-2005, 01:05 PM
It's not showing up when you click the members profile! my MEMBERINFO is $stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
$headinclude
<title>$vboptions[bbtitle] - $vbphrase[view_profile]: $userinfo[username]</title>
</head>
<body>
$header
$navbar

<!-- main info - avatar, profilepic etc. -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="tcat">$vbphrase[view_profile]<span class="normal">: $userinfo[username]</span></td>
</tr>
<tr>
<td class="alt2">
<table cellpadding="0" cellspacing="0" border="0" width="100%">
<tr>
<td style="border-bottom:1px solid $stylevar[tborder_bgcolor]" width="100%" colspan="2">
<if condition="$userinfo['rank'] OR $userinfo['reputationdisplay']">
<div style="float:$stylevar[right]; padding:4px">
<if condition="$userinfo['rank']"><div align="center">$userinfo[rank]</div></if>
<if condition="$userinfo['reputationdisplay']"><div align="center">$userinfo[reputationdisplay]</div></if>
</div>
</if>
<div style="font-size:18pt">$userinfo[musername] $userinfo[onlinestatus]</div>
<if condition="$userinfo['usertitle']"><div class="smallfont">$userinfo[usertitle]</div></if>
</td>
<if condition="$show['profilepic']">
<td valign="top" align="$stylevar[right]" rowspan="2">
<img src="$userinfo[profilepicurl]" $userinfo[profilepicsize] alt="<phrase 1="$userinfo[username]">$vbphrase[xs_picture]</phrase>" border="0" style="border:1px solid $stylevar[tborder_bgcolor]; border-top:none" />
</td>
</if>
</tr>
<tr valign="top">
<if condition="$show['avatar']">
<td><img src="$userinfo[avatarurl]" $userinfo[avatarsize] alt="<phrase 1="$userinfo[username]">$vbphrase[xs_avatar]</phrase>" border="0" style="border:1px solid $stylevar[tborder_bgcolor]; border-top:none" /></td>
<else />
<td>&nbsp;</td>
</if>
<td class="smallfont" valign="bottom" align="$stylevar[right]">
<if condition="$show['lastactivity']">
<div>$vbphrase[last_activity]: $userinfo[lastactivitydate] <span class="time">$userinfo[lastactivitytime]</span>&nbsp;</div>
</if>
<if condition="$show['currentlocation']">
<div>$userinfo[action] $userinfo[where]<if condition="$show['detailedtime']"> - <else /> @ </if> $userinfo[time]&nbsp;</div>
</if>
</td>
</tr>
</table>
</td>
</tr>
</table>
<!-- / main info - avatar, profilepic etc. -->

<!-- button row -->
<if condition="$show['profilelinks']">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center" style="border-top-width:0px">
<tr align="center">
<if condition="$userinfo['showvcard']">
<td class="vbmenu_control"><a href="member.php?$session[sessionurl]do=vcard&amp;u=$userinfo[userid]" rel="nofollow">$vbphrase[download_vcard]</a></td>
</if>
<if condition="$show['member']">
<td class="vbmenu_control">
<if condition="$show['addbuddylist']">
<a href="profile.php?$session[sessionurl]do=addlist&amp;userlist=buddy&amp;u=$userinfo[userid]"><phrase 1="$userinfo[username]">$vbphrase[add_x_to_buddy_list]</phrase></a>
<else />
<a href="profile.php?$session[sessionurl]do=removelist&amp;userlist=buddy&amp;u=$userinfo[userid]"><phrase 1="$userinfo[username]">$vbphrase[remove_x_from_your_buddylist]</phrase></a>
</if>
</td>
<td class="vbmenu_control">
<if condition="$show['addignorelist']">
<a href="profile.php?$session[sessionurl]do=addlist&amp;userlist=ignore&amp;u=$userinfo[userid]"><phrase 1="$userinfo[username]">$vbphrase[add_x_to_ignore_list]</phrase></a>
<else />
<a href="profile.php?$session[sessionurl]do=removelist&amp;userlist=ignore&amp;u=$userinfo[userid]"><phrase 1="$userinfo[username]">$vbphrase[remove_x_from_your_ignorelist]</phrase></a>
</if>
</td>
</if>
<if condition="can_moderate()">
<td class="vbmenu_control"><a href="moderator.php?$session[sessionurl]do=useroptions&amp;u=$userinfo[userid]">$vbphrase[user_options]</a></td>
</if>
</tr>
</table>
</if>
<!-- / button row -->

<br />

<if condition="$show['signature']">
<!-- signature row -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="thead">$vbphrase[signature]</td>
</tr>
<tr>
<td class="alt1" title="$vbphrase[signature]">$userinfo[signature]</td>
</tr>
</table>
<!-- / signature row -->
<br />
</if>


<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="tcat" width="50%">$vbphrase[forum_info]</td>
<td class="tcat" width="50%">$vbphrase[contact_info]</td>
</tr>
<tr valign="top">

<td class="panelsurround" align="center">
<div class="panel">
<div align="$stylevar[left]">

<div class="fieldset">
<div style="padding:$stylevar[formspacer]px">
$vbphrase[join_date]: <strong>$userinfo[datejoined]</strong>
</div>
</div>

<fieldset class="fieldset">
<legend>$vbphrase[posts]</legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
<tr>
<td>
$vbphrase[total_posts]: <strong>$userinfo[posts]</strong> (<phrase 1="$postsperday">$vbphrase[x_posts_per_day]</phrase>)
</td>
</tr>
<if condition="$vboptions['profilelastpost']">
<tr>
<td>
$vbphrase[last_post]:<br />
<a href="$userinfo[lastposturl]">$userinfo[lastposttitle]</a><br />
$userinfo[lastpostdate] <span class="time">$userinfo[lastposttime]</span>
</td>
</tr>
</if>
<tr>
<td><a href="search.php?$session[sessionurl]do=finduser&amp;u=$userinfo[userid]" rel="nofollow"><phrase 1="$userinfo[username]">$vbphrase[find_all_posts_by_x]</phrase></a></td>
</tr>
<tr>
<td><a href="search.php?$session[sessionurl]do=process&amp;showposts=0&amp;starteronly=1&amp;exactname=1&amp;s earchuser=$userinfo[urlusername]" rel="nofollow"><phrase 1="$userinfo[username]">$vbphrase[find_all_threads_started_by_x]</phrase></a></td>
</tr>
</table>
</fieldset>

<if condition="$vboptions['usereferrer']">
<div class="fieldset">
<div style="padding:$stylevar[formspacer]px">
$vbphrase[referrals]: <strong>$referrals</strong>
</div>
</div>
</if>

<if condition="$show['usernotes']">
<div class="fieldset">
<div style="padding:$stylevar[formspacer]px">
$vbphrase[user_notes]:
<if condition="$show['usernoteview']">
<strong>$usernote[total]</strong> [<a href="usernote.php?$session[sessionurl]u=$userinfo[userid]">$vbphrase[view]</a>]
</if>
<if condition="$show['usernotepost']">
[<a href="usernote.php?$session[sessionurl]do=newnote&amp;u=$userinfo[userid]">$vbphrase[post_user_note]</a>]
</if>
<if condition="$show['usernoteview']">
<br />($vbphrase[last_note]: $usernote[lastpostdate] <span class="time">$usernote[lastposttime]</span>)
</if>
</div>
</div>
</if>

</div>
</div>
</td>

<td class="panelsurround" align="center">
<div class="panel">
<div align="$stylevar[left]">

<div class="fieldset">
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
<if condition="!$show['contactlinks']">
<tr>
<td><strong><phrase 1="$userinfo[username]">$vbphrase[x_has_no_contact_info]</phrase></strong></td>
</tr>
</if>
<if condition="$show['homepage']">
<tr>
<td>
$vbphrase[home_page]:<br />
<a href="$userinfo[homepage]" target="_blank" dir="ltr">$userinfo[homepage]</a>
</td>
</tr>
</if>
<if condition="$show['email']">
<tr>
<td>
$vbphrase[email]:<br />
<a href="sendmessage.php?$session[sessionurl]do=mailmember&amp;u=$userinfo[userid]" rel="nofollow"><phrase 1="$userinfo[username]">$vbphrase[send_message_via_email_to_x]</phrase></a>
</td>
</tr>
</if>
<if condition="$show['pm']">
<tr>
<td>
$vbphrase[private_message]:<br />
<a href="private.php?$session[sessionurl]do=newpm&amp;u=$userinfo[userid]"><phrase 1="$userinfo[username]">$vbphrase[send_private_message_to_x]</phrase></a>
</td>
</tr>
</if>
</table>
</div>

<if condition="$show['hasimicons']">
<fieldset class="fieldset">
<legend>$vbphrase[instant_messaging]</legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
<if condition="$show['textimicons']">
<if condition="$userinfo['showicq']">
<tr>
<td>$vbphrase[icq]<td>
<td>$userinfo[icq]</td>
</tr>
</if>
<if condition="$userinfo['showaim']">
<tr>
<td>$vbphrase[aim]<td>
<td>$userinfo[aim]</td>
</tr>
</if>
<if condition="$userinfo['showmsn']">
<tr>
<td>$vbphrase[msn]<td>
<td>$userinfo[msn]</td>
</tr>
</if>
<if condition="$userinfo['showyahoo']">
<tr>
<td>$vbphrase[yahoo]<td>
<td>$userinfo[yahoo]</td>
</tr>
</if><if condition="$userinfo['showgt']">
<tr>
<td>$userinfo[gticon]</td>
<td><a href="#" onclick="gtwindow('$userinfo[userid]', 400, 200); return false;">$userinfo[googletalk]</a></td>
</tr>
</if>
<if condition="$userinfo['showxfire']">
<tr>
<td>$userinfo[xfireicon]</td>
<td><a href="#" onclick="xfirewindow('$userinfo[userid]', 400, 200); return false;">$userinfo[xfire]</a></td>
</tr>
</if>
<if condition="$userinfo['showskype']">
<tr>
<td>$userinfo[skypeicon]</td>
<td><a href="#" onclick="skypewindow('$userinfo[userid]', 400, 200); return false;">$userinfo[skype]</a></td>
</tr>
</if>
<else />
<if condition="$userinfo['showicq']">
<tr>
<td>$userinfo[icqicon]</td>
<td><a href="#" dir="ltr" onclick="imwindow('icq', '$userinfo[userid]', 500, 450); return false;">$userinfo[icq]</a></td>
</tr>
</if>
<if condition="$userinfo['showaim']">
<tr>
<td>$userinfo[aimicon]</td>
<td><a href="#" dir="ltr" onclick="imwindow('aim', '$userinfo[userid]', 400, 200); return false;">$userinfo[aim]</a></td>
</tr>
</if>
<if condition="$userinfo['showmsn']">
<tr>
<td>$userinfo[msnicon]</td>
<td><a href="#" dir="ltr" onclick="imwindow('msn', '$userinfo[userid]', 400, 200); return false;">$userinfo[msn]</a></td>
</tr>
</if>
<if condition="$userinfo['showyahoo']">
<tr>
<td>$userinfo[yahooicon]</td>
<td><a href="#" dir="ltr" onclick="imwindow('yahoo', '$userinfo[userid]', 400, 200); return false;">$userinfo[yahoo]</a></td>
</tr>
</if>
</if>
</table>
</fieldset>
</if>


</div>
</div>
</td>

</tr>
<tr>
<td class="tcat" width="50%">$vbphrase[additional_information]</td>
<td class="tcat" width="50%">$vbphrase[group_memberships]</td>
</tr>
<tr valign="top">

<td class="panelsurround" align="center">
<div class="panel">
<div align="$stylevar[left]">

<div class="fieldset">
<if condition="$show['extrainfo']">
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
<if condition="$show['birthday']">
<tr>
<td>
<strong>$vbphrase[birth_date]</strong>:<br />
$userinfo[birthday]
</td>
</tr>
</if>
<if condition="$show['age']">
<tr>
<td>
<strong>$vbphrase[age]</strong>:<br />
$userinfo[age]
</td>
</tr>
</if>
$customfields
</table>
<else />
<em>$vbphrase[n_a]</em>
</if>
</div>

</div>
</div>
</td>

<td class="panelsurround" align="center">
<div class="panel">
<div align="$stylevar[left]">

<div class="fieldset">
<table cellpadding="0" cellspacing="$stylevar[formspacer]px" border="0">
<tr>
<if condition="$show['membergroups']">
<td></td>
<else />
<td><strong><phrase 1="$userinfo[username]">$vbphrase[x_is_not_a_member_of_any_public_groups]</phrase></strong></td>
</if>
</tr>
$membergroupbits
</table>
</div>

</div>
</div>
</td>

</tr>
</table>

$footer

</body>
</html>

Hawkbizkit
10-20-2005, 04:37 PM
you put it in the wrong spot in the membersinfo here this should work for you..
$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
$headinclude
<title>$vboptions[bbtitle] - $vbphrase[view_profile]: $userinfo[username]</title>
</head>
<body>
$header
$navbar

<!-- main info - avatar, profilepic etc. -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="tcat">$vbphrase[view_profile]<span class="normal">: $userinfo[username]</span></td>
</tr>
<tr>
<td class="alt2">
<table cellpadding="0" cellspacing="0" border="0" width="100%">
<tr>
<td style="border-bottom:1px solid $stylevar[tborder_bgcolor]" width="100%" colspan="2">
<if condition="$userinfo['rank'] OR $userinfo['reputationdisplay']">
<div style="float:$stylevar[right]; padding:4px">
<if condition="$userinfo['rank']"><div align="center">$userinfo[rank]</div></if>
<if condition="$userinfo['reputationdisplay']"><div align="center">$userinfo[reputationdisplay]</div></if>
</div>
</if>
<div style="font-size:18pt">$userinfo[musername] $userinfo[onlinestatus]</div>
<if condition="$userinfo['usertitle']"><div class="smallfont">$userinfo[usertitle]</div></if>
</td>
<if condition="$show['profilepic']">
<td valign="top" align="$stylevar[right]" rowspan="2">
<img src="$userinfo[profilepicurl]" $userinfo[profilepicsize] alt="<phrase 1="$userinfo[username]">$vbphrase[xs_picture]</phrase>" border="0" style="border:1px solid $stylevar[tborder_bgcolor]; border-top:none" />
</td>
</if>
</tr>
<tr valign="top">
<if condition="$show['avatar']">
<td><img src="$userinfo[avatarurl]" $userinfo[avatarsize] alt="<phrase 1="$userinfo[username]">$vbphrase[xs_avatar]</phrase>" border="0" style="border:1px solid $stylevar[tborder_bgcolor]; border-top:none" /></td>
<else />
<td>&nbsp;</td>
</if>
<td class="smallfont" valign="bottom" align="$stylevar[right]">
<if condition="$show['lastactivity']">
<div>$vbphrase[last_activity]: $userinfo[lastactivitydate] <span class="time">$userinfo[lastactivitytime]</span>&nbsp;</div>
</if>
<if condition="$show['currentlocation']">
<div>$userinfo[action] $userinfo[where]<if condition="$show['detailedtime']"> - <else /> @ </if> $userinfo[time]&nbsp;</div>
</if>
</td>
</tr>
</table>
</td>
</tr>
</table>
<!-- / main info - avatar, profilepic etc. -->

<!-- button row -->
<if condition="$show['profilelinks']">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center" style="border-top-width:0px">
<tr align="center">
<if condition="$userinfo['showvcard']">
<td class="vbmenu_control"><a href="member.php?$session[sessionurl]do=vcard&amp;u=$userinfo[userid]" rel="nofollow">$vbphrase[download_vcard]</a></td>
</if>
<if condition="$show['member']">
<td class="vbmenu_control">
<if condition="$show['addbuddylist']">
<a href="profile.php?$session[sessionurl]do=addlist&amp;userlist=buddy&amp;u=$userinfo[userid]"><phrase 1="$userinfo[username]">$vbphrase[add_x_to_buddy_list]</phrase></a>
<else />
<a href="profile.php?$session[sessionurl]do=removelist&amp;userlist=buddy&amp;u=$userinfo[userid]"><phrase 1="$userinfo[username]">$vbphrase[remove_x_from_your_buddylist]</phrase></a>
</if>
</td>
<td class="vbmenu_control">
<if condition="$show['addignorelist']">
<a href="profile.php?$session[sessionurl]do=addlist&amp;userlist=ignore&amp;u=$userinfo[userid]"><phrase 1="$userinfo[username]">$vbphrase[add_x_to_ignore_list]</phrase></a>
<else />
<a href="profile.php?$session[sessionurl]do=removelist&amp;userlist=ignore&amp;u=$userinfo[userid]"><phrase 1="$userinfo[username]">$vbphrase[remove_x_from_your_ignorelist]</phrase></a>
</if>
</td>
</if>
<if condition="can_moderate()">
<td class="vbmenu_control"><a href="moderator.php?$session[sessionurl]do=useroptions&amp;u=$userinfo[userid]">$vbphrase[user_options]</a></td>
</if>
</tr>
</table>
</if>
<!-- / button row -->

<br />

<if condition="$show['signature']">
<!-- signature row -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="thead">$vbphrase[signature]</td>
</tr>
<tr>
<td class="alt1" title="$vbphrase[signature]">$userinfo[signature]</td>
</tr>
</table>
<!-- / signature row -->
<br />
</if>


<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="tcat" width="50%">$vbphrase[forum_info]</td>
<td class="tcat" width="50%">$vbphrase[contact_info]</td>
</tr>
<tr valign="top">

<td class="panelsurround" align="center">
<div class="panel">
<div align="$stylevar[left]">

<div class="fieldset">
<div style="padding:$stylevar[formspacer]px">
$vbphrase[join_date]: <strong>$userinfo[datejoined]</strong>
</div>
</div>

<fieldset class="fieldset">
<legend>$vbphrase[posts]</legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
<tr>
<td>
$vbphrase[total_posts]: <strong>$userinfo[posts]</strong> (<phrase 1="$postsperday">$vbphrase[x_posts_per_day]</phrase>)
</td>
</tr>
<if condition="$vboptions['profilelastpost']">
<tr>
<td>
$vbphrase[last_post]:<br />
<a href="$userinfo[lastposturl]">$userinfo[lastposttitle]</a><br />
$userinfo[lastpostdate] <span class="time">$userinfo[lastposttime]</span>
</td>
</tr>
</if>
<tr>
<td><a href="search.php?$session[sessionurl]do=finduser&amp;u=$userinfo[userid]" rel="nofollow"><phrase 1="$userinfo[username]">$vbphrase[find_all_posts_by_x]</phrase></a></td>
</tr>
<tr>
<td><a href="search.php?$session[sessionurl]do=process&amp;showposts=0&amp;starteronly=1&amp;exactname=1&amp;s earchuser=$userinfo[urlusername]" rel="nofollow"><phrase 1="$userinfo[username]">$vbphrase[find_all_threads_started_by_x]</phrase></a></td>
</tr>
</table>
</fieldset>

<if condition="$vboptions['usereferrer']">
<div class="fieldset">
<div style="padding:$stylevar[formspacer]px">
$vbphrase[referrals]: <strong>$referrals</strong>
</div>
</div>
</if>

<if condition="$show['usernotes']">
<div class="fieldset">
<div style="padding:$stylevar[formspacer]px">
$vbphrase[user_notes]:
<if condition="$show['usernoteview']">
<strong>$usernote[total]</strong> [<a href="usernote.php?$session[sessionurl]u=$userinfo[userid]">$vbphrase[view]</a>]
</if>
<if condition="$show['usernotepost']">
[<a href="usernote.php?$session[sessionurl]do=newnote&amp;u=$userinfo[userid]">$vbphrase[post_user_note]</a>]
</if>
<if condition="$show['usernoteview']">
<br />($vbphrase[last_note]: $usernote[lastpostdate] <span class="time">$usernote[lastposttime]</span>)
</if>
</div>
</div>
</if>

</div>
</div>
</td>

<td class="panelsurround" align="center">
<div class="panel">
<div align="$stylevar[left]">

<div class="fieldset">
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
<if condition="!$show['contactlinks']">
<tr>
<td><strong><phrase 1="$userinfo[username]">$vbphrase[x_has_no_contact_info]</phrase></strong></td>
</tr>
</if>
<if condition="$show['homepage']">
<tr>
<td>
$vbphrase[home_page]:<br />
<a href="$userinfo[homepage]" target="_blank" dir="ltr">$userinfo[homepage]</a>
</td>
</tr>
</if>
<if condition="$show['email']">
<tr>
<td>
$vbphrase[email]:<br />
<a href="sendmessage.php?$session[sessionurl]do=mailmember&amp;u=$userinfo[userid]" rel="nofollow"><phrase 1="$userinfo[username]">$vbphrase[send_message_via_email_to_x]</phrase></a>
</td>
</tr>
</if>
<if condition="$show['pm']">
<tr>
<td>
$vbphrase[private_message]:<br />
<a href="private.php?$session[sessionurl]do=newpm&amp;u=$userinfo[userid]"><phrase 1="$userinfo[username]">$vbphrase[send_private_message_to_x]</phrase></a>
</td>
</tr>
</if>
</table>
</div>

<if condition="$show['hasimicons']">
<fieldset class="fieldset">
<legend>$vbphrase[instant_messaging]</legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
<if condition="$show['textimicons']">
<if condition="$userinfo['showicq']">
<tr>
<td>$vbphrase[icq]<td>
<td>$userinfo[icq]</td>
</tr>
</if>
<if condition="$userinfo['showaim']">
<tr>
<td>$vbphrase[aim]<td>
<td>$userinfo[aim]</td>
</tr>
</if>
<if condition="$userinfo['showmsn']">
<tr>
<td>$vbphrase[msn]<td>
<td>$userinfo[msn]</td>
</tr>
</if>
<if condition="$userinfo['showyahoo']">
<tr>
<td>$vbphrase[yahoo]<td>
<td>$userinfo[yahoo]</td>
</tr>
</if>
<else />
<if condition="$userinfo['showicq']">
<tr>
<td>$userinfo[icqicon]</td>
<td><a href="#" dir="ltr" onclick="imwindow('icq', '$userinfo[userid]', 500, 450); return false;">$userinfo[icq]</a></td>
</tr>
</if>
<if condition="$userinfo['showaim']">
<tr>
<td>$userinfo[aimicon]</td>
<td><a href="#" dir="ltr" onclick="imwindow('aim', '$userinfo[userid]', 400, 200); return false;">$userinfo[aim]</a></td>
</tr>
</if>
<if condition="$userinfo['showmsn']">
<tr>
<td>$userinfo[msnicon]</td>
<td><a href="#" dir="ltr" onclick="imwindow('msn', '$userinfo[userid]', 400, 200); return false;">$userinfo[msn]</a></td>
</tr>
</if>
<if condition="$userinfo['showyahoo']">
<tr>
<td>$userinfo[yahooicon]</td>
<td><a href="#" dir="ltr" onclick="imwindow('yahoo', '$userinfo[userid]', 400, 200); return false;">$userinfo[yahoo]</a></td>
</tr>
</if>
<if condition="$userinfo['showgt']">
<tr>
<td>$userinfo[gticon]</td>
<td><a href="#" onclick="gtwindow('$userinfo[userid]', 400, 200); return false;">$userinfo[googletalk]</a></td>
</tr>
</if>
<if condition="$userinfo['showxfire']">
<tr>
<td>$userinfo[xfireicon]</td>
<td><a href="#" onclick="xfirewindow('$userinfo[userid]', 400, 200); return false;">$userinfo[xfire]</a></td>
</tr>
</if>
<if condition="$userinfo['showskype']">
<tr>
<td>$userinfo[skypeicon]</td>
<td><a href="#" onclick="skypewindow('$userinfo[userid]', 400, 200); return false;">$userinfo[skype]</a></td>
</tr>
</if>
</if>
</table>
</fieldset>
</if>


</div>
</div>
</td>

</tr>
<tr>
<td class="tcat" width="50%">$vbphrase[additional_information]</td>
<td class="tcat" width="50%">$vbphrase[group_memberships]</td>
</tr>
<tr valign="top">

<td class="panelsurround" align="center">
<div class="panel">
<div align="$stylevar[left]">

<div class="fieldset">
<if condition="$show['extrainfo']">
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
<if condition="$show['birthday']">
<tr>
<td>
<strong>$vbphrase[birth_date]</strong>:<br />
$userinfo[birthday]
</td>
</tr>
</if>
<if condition="$show['age']">
<tr>
<td>
<strong>$vbphrase[age]</strong>:<br />
$userinfo[age]
</td>
</tr>
</if>
$customfields
</table>
<else />
<em>$vbphrase[n_a]</em>
</if>
</div>

</div>
</div>
</td>

<td class="panelsurround" align="center">
<div class="panel">
<div align="$stylevar[left]">

<div class="fieldset">
<table cellpadding="0" cellspacing="$stylevar[formspacer]px" border="0">
<tr>
<if condition="$show['membergroups']">
<td></td>
<else />
<td><strong><phrase 1="$userinfo[username]">$vbphrase[x_is_not_a_member_of_any_public_groups]</phrase></strong></td>
</if>
</tr>
$membergroupbits
</table>
</div>

</div>
</div>
</td>

</tr>
</table>

$footer

</body>
</html>

Hawkbizkit
10-20-2005, 11:23 PM
alright updated this to version 1.0 out of beta :D also it caches the templates now

GuaRRand
10-21-2005, 05:27 AM
Which part makes it show up in your profile so you can add your skype ID? (i only use skype), cause it doesnt show up in the USERCP->Edit profile->IM :(

Hawkbizkit
10-21-2005, 06:26 AM
i don't know why i didn't do this in the first place but here is a template edit for Xfire that people might like.

Template: im_send_xfire
$headinclude

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="tcat">
<span class="smallfont" style="float:$stylevar[right]"><a href="#" onClick="self.close()">$vbphrase[close_this_window]</a></span>
$vbphrase[xfire]
</td>
</tr>
<tr>
<td class="panelsurround" align="center">
<div class="panel">
<div align="$stylevar[left]">

<div class="fieldset">
<phrase 1="member.php?$session[sessionurl]u=$userinfo[userid]" 2="$userinfo[username]">$vbphrase[send_message_via_xfire_to_x_link]</phrase> (<strong dir="ltr">$userinfo[xfire]</strong>)
</div>
<div class="fieldset"><a href="xfire:add_friend?user=$userinfo[xfire]"><phrase 1="$userinfo[xfire]">$vbphrase[add_x_to_your_contact_list]</phrase></a></div>
<div class="fieldset"><a href="http://profile.xfire.com/$userinfo[xfire]" target="_blank"><img src=http://miniprofile.xfire.com/bg/bg/type/2/$userinfo[xfire].png width=450 height=34 border="0"></a></div>
<div class="fieldset">
$vbphrase[these_functions_require_xfire]
</div>

</div>
</div>
</td>
</tr>
</table>

Attached Screenshot

Hawkbizkit
10-21-2005, 06:28 AM
Which part makes it show up in your profile so you can add your skype ID? (i only use skype), cause it doesnt show up in the USERCP->Edit profile->IM :(
you will need to do the template edits inthe install txt file in the zip...for the profile page it is the modifyprofile template

Hawkbizkit
10-21-2005, 06:39 AM
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
<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.

tasarimdunyasi
10-21-2005, 11:20 AM
thx a lot...

GuaRRand
10-21-2005, 12:21 PM
you will need to do the template edits inthe install txt file in the zip...for the profile page it is the modifyprofile template

BWHAHA...completely forgot that :D

Thnx

Cheertobi
10-21-2005, 07:08 PM
Hi,

sorry for asking that! Is it right, that for skype all user information are just displayed? Is there no interaction for adding users to the contactlist or sending msg via web to skype?! I do not use skype, but my users ;)

Regards,

Tobi

Trovador
10-23-2005, 12:02 PM
I'm interested in add jabber a IM list, What should I change to get this??

davidw
10-24-2005, 12:25 PM
Silly question but...
I've installed this (haven't checked the functionality of it yet) and the headinclude edits show up at the top of my forum. Anything that I'm doing wrong to make this happen?

Edit: To make it quit appearing, I had to edit the code from:
function gtwindow(userid, width, height)
{
return openWindow(
'sendmessage.php?' + SESSIONURL + 'do=googletalk&u=' + userid,
width, height
);
}
function xfirewindow(userid, width, height)
{
return openWindow(
'sendmessage.php?' + SESSIONURL + 'do=xfire&u=' + userid,
width, height
);
}
function skypewindow(userid, width, height)
{
return openWindow(
'sendmessage.php?' + SESSIONURL + 'do=skype&u=' + userid,
width, height
);
}to<script type="text/javascript">
<!--
function gtwindow(userid, width, height)
{
return openWindow(
'sendmessage.php?' + SESSIONURL + 'do=googletalk&u=' + userid,
width, height
);
}
function xfirewindow(userid, width, height)
{
return openWindow(
'sendmessage.php?' + SESSIONURL + 'do=xfire&u=' + userid,
width, height
);
}
function skypewindow(userid, width, height)
{
return openWindow(
'sendmessage.php?' + SESSIONURL + 'do=skype&u=' + userid,
width, height
);
}
// -->

Edit - this is also hindering the popup

Snake
10-26-2005, 09:33 AM
Hawkbizkit, could you make all those 3 IM images transparent so it will work fine on my dark skin please? Here's the link to my skin: http://forums.mgszone.com

davidw
10-26-2005, 12:32 PM
At the bottom of the instructions for WOL, it should read:

$userinfo[gticon]
$userinfo[xfireicon]
$userinfo[skypeicon]

rather than:

$post[gticon]
$post[xfireicon]
$post[skypeicon]

davidw
10-26-2005, 02:12 PM
I got the headinclude fixed...

The issue was that I was putting it after:

<script type="text/javascript">
<!--
var SESSIONURL = "$session[sessionurl_js]";
var IMGDIR_MISC = "$stylevar[imgdir_misc]";
// -->

rather than in between:

<script type="text/javascript">
<!--
var SESSIONURL = "$session[sessionurl_js]";
var IMGDIR_MISC = "$stylevar[imgdir_misc]";
// -->

and

</script>

I guess I missed the </script> closetag altogether.

Hawkbizkit
10-26-2005, 03:04 PM
sorry i am in mexico and have been here since last friday and i come home this friday so until then i will not be around much for support but for the dark themed IM images i included the psd file so you can edit it for a dark theme since i also use a dark them.

evenmonkeys
10-26-2005, 07:22 PM
How do we add our own fields based on your hack?

Parture
10-27-2005, 11:17 PM
The other instant messaging icons show up in the user profile and the member list, but not under "View Forum Leaders", only the 4 basic ones show up there, MSN, Yahoo, AIM and ICQ.

What do we do to include them?

Parture
11-01-2005, 10:39 AM
<a href="http://biblocality.com/forums/showthread.php?t=31" target="_blank">http://biblocality.com/forums/showthread.php?t=31</a>

Two improvements needed:

1) Even though you made the changes to see all the IM icons in the useronline.php, only Admins for some reason can see them. This problem seems to have existed in version 3.5 for all IM icons in the useronline.php.

2) I wish non-users could not see the other 3 IM icons when they are restricted from viewing user's information: Can View Member Info = No.

ROTPAR
11-02-2005, 12:03 PM
right now I get this error message...what should I do ? I also can?t install the plugin new.....yesterday all worked, after I imported some Users I get always this error:

Database error in vBulletin 3.5.0:

Invalid SQL:
UPDATE vb3_user SET
parentemail = '',
icq = '',
msn = '',
aim = '',
yahoo = '',
homepage = 'http://www.xxxx.com',
birthday_search = '',
birthday = '',
showbirthday = 2,
usertitle = 'blabla',
customtitle = 2,
googletalk = 'xxxexample',
xfire = '',
skype = ''
WHERE userid = 1003;

MySQL Error : Unknown column 'googletalk' in 'field list'
Error Number : 1054
Date : Wednesday, November 2nd 2005 @ 02:49:09 PM
Script : http://www.
Referrer : http://www.
IP Address : 84.
Username : R*
Classname : vb_database

Hawkbizkit
11-02-2005, 04:21 PM
right now I get this error message...what should I do ? I also can?t install the plugin new.....yesterday all worked, after I imported some Users I get always this error: try reimporting the product via the product manager.

ROTPAR
11-02-2005, 05:06 PM
I can import it again, but the error seems to be the same

Hawkbizkit
11-02-2005, 09:58 PM
what are you trying to do when you get that error? import users, update your profile, or what?

ROTPAR
11-02-2005, 11:16 PM
what are you trying to do when you get that error? import users, update your profile, or what?

I try to update my profile...so I want to put my xfire ID in there or my google talk ID.

Hawkbizkit
11-03-2005, 04:18 PM
so you have installed the hack and it wont let up update your profile and gives you that error. just trying to make sure i know whats going on.... if thats the case it looks as if the database has not been updated with the new colums for xfire/google talk/skype you can try to manually try and run the queries

Also what happens when you try to uninstall the product?

ROTPAR
11-03-2005, 05:15 PM
so you have installed the hack and it wont let up update your profile and gives you that error. just trying to make sure i know whats going on.... if thats the case it looks as if the database has not been updated with the new colums for xfire/google talk/skype you can try to manually try and run the queries

Also what happens when you try to uninstall the product?

that?s right. If I try to uninstall the product I can?t because it does not finde the needed things in the database (google etc.)

Joshua5692
11-03-2005, 05:36 PM
Great work, thank you for the mod!

My problem I think is somewhere in the headinclude...

When I click the MSN icon, I get the popup and it is perfect. When I click the Skype however it merely refreshes the page, no popup at all.


Any help would be appreciated.

<meta http-equiv="Content-Type" content="text/html; charset=$stylevar[charset]" />
<meta name="generator" content="vBulletin $vboptions[templateversion]" />
<if condition="$show['threadinfo']">
<meta name="keywords" content="$threadinfo[title], $vboptions[keywords]" />
<meta name="description" content="<if condition="$pagenumber>1"><phrase 1="$pagenumber">$vbphrase[page_x]</phrase>-</if>$threadinfo[title] $foruminfo[title_clean]" />
<else />
<if condition="$show['foruminfo']">
<meta name="keywords" content="$foruminfo[title_clean], $vboptions[keywords]" />
<meta name="description" content="<if condition="$pagenumber>1"><phrase 1="$pagenumber">$vbphrase[page_x]</phrase>-</if>$foruminfo[description_clean]" />
<else />
<meta name="keywords" content="$vboptions[keywords]" />
<meta name="description" content="$vboptions[description]" />
</if>
</if>

<!-- CSS Stylesheet -->
$style[css]
<if condition="is_browser('opera') AND !is_browser('opera', '8.0.1')">
<style type="text/css">
ul, ol { padding-left:20px; }
</style>
</if>
<!-- / CSS Stylesheet -->

<script type="text/javascript">
<!--
var SESSIONURL = "$session[sessionurl_js]";
var IMGDIR_MISC = "$stylevar[imgdir_misc]";

{
return openWindow(
'sendmessage.php?' + SESSIONURL + 'do=googletalk&u=' + userid,
width, height
);
}
function xfirewindow(userid, width, height)
{
return openWindow(
'sendmessage.php?' + SESSIONURL + 'do=xfire&u=' + userid,
width, height
);
}
function skypewindow(userid, width, height)
{
return openWindow(
'sendmessage.php?' + SESSIONURL + 'do=skype&u=' + userid,
width, height
);
}
</script>

<script type="text/javascript" src="clientscript/vbulletin_global.js"></script>
<if condition="$show['popups']"><script type="text/javascript" src="clientscript/vbulletin_menu.js"></script></if>
<if condition="$vboptions['externalrss']"><link rel="alternate" type="application/rss+xml" title="$vboptions[bbtitle] RSS Feed" href="external.php?type=RSS" /></if>

Hawkbizkit
11-03-2005, 10:08 PM
Great work, thank you for the mod!

My problem I think is somewhere in the headinclude...

When I click the MSN icon, I get the popup and it is perfect. When I click the Skype however it merely refreshes the page, no popup at all.


Any help would be appreciated.

<meta http-equiv="Content-Type" content="text/html; charset=$stylevar[charset]" />
<meta name="generator" content="vBulletin $vboptions[templateversion]" />
<if condition="$show['threadinfo']">
<meta name="keywords" content="$threadinfo[title], $vboptions[keywords]" />
<meta name="description" content="<if condition="$pagenumber>1"><phrase 1="$pagenumber">$vbphrase[page_x]</phrase>-</if>$threadinfo[title] $foruminfo[title_clean]" />
<else />
<if condition="$show['foruminfo']">
<meta name="keywords" content="$foruminfo[title_clean], $vboptions[keywords]" />
<meta name="description" content="<if condition="$pagenumber>1"><phrase 1="$pagenumber">$vbphrase[page_x]</phrase>-</if>$foruminfo[description_clean]" />
<else />
<meta name="keywords" content="$vboptions[keywords]" />
<meta name="description" content="$vboptions[description]" />
</if>
</if>

<!-- CSS Stylesheet -->
$style[css]
<if condition="is_browser('opera') AND !is_browser('opera', '8.0.1')">
<style type="text/css">
ul, ol { padding-left:20px; }
</style>
</if>
<!-- / CSS Stylesheet -->

<script type="text/javascript">
<!--
var SESSIONURL = "$session[sessionurl_js]";
var IMGDIR_MISC = "$stylevar[imgdir_misc]";

{
return openWindow(
'sendmessage.php?' + SESSIONURL + 'do=googletalk&u=' + userid,
width, height
);
}
function xfirewindow(userid, width, height)
{
return openWindow(
'sendmessage.php?' + SESSIONURL + 'do=xfire&u=' + userid,
width, height
);
}
function skypewindow(userid, width, height)
{
return openWindow(
'sendmessage.php?' + SESSIONURL + 'do=skype&u=' + userid,
width, height
);
}
</script>

<script type="text/javascript" src="clientscript/vbulletin_global.js"></script>
<if condition="$show['popups']"><script type="text/javascript" src="clientscript/vbulletin_menu.js"></script></if>
<if condition="$vboptions['externalrss']"><link rel="alternate" type="application/rss+xml" title="$vboptions[bbtitle] RSS Feed" href="external.php?type=RSS" /></if>

well first off in your headinclude you are missing

function gtwindow(userid, width, height)

right below var IMGDIR_MISC = "$stylevar[imgdir_misc]";

so it should be like this
<meta http-equiv="Content-Type" content="text/html; charset=$stylevar[charset]" />
<meta name="generator" content="vBulletin $vboptions[templateversion]" />
<if condition="$show['threadinfo']">
<meta name="keywords" content="$threadinfo[title], $vboptions[keywords]" />
<meta name="description" content="<if condition="$pagenumber>1"><phrase 1="$pagenumber">$vbphrase[page_x]</phrase>-</if>$threadinfo[title] $foruminfo[title_clean]" />
<else />
<if condition="$show['foruminfo']">
<meta name="keywords" content="$foruminfo[title_clean], $vboptions[keywords]" />
<meta name="description" content="<if condition="$pagenumber>1"><phrase 1="$pagenumber">$vbphrase[page_x]</phrase>-</if>$foruminfo[description_clean]" />
<else />
<meta name="keywords" content="$vboptions[keywords]" />
<meta name="description" content="$vboptions[description]" />
</if>
</if>

<!-- CSS Stylesheet -->
$style[css]
<if condition="is_browser('opera') AND !is_browser('opera', '8.0.1')">
<style type="text/css">
ul, ol { padding-left:20px; }
</style>
</if>
<!-- / CSS Stylesheet -->

<script type="text/javascript">
<!--
var SESSIONURL = "$session[sessionurl_js]";
var IMGDIR_MISC = "$stylevar[imgdir_misc]";
function gtwindow(userid, width, height)
{
return openWindow(
'sendmessage.php?' + SESSIONURL + 'do=googletalk&u=' + userid,
width, height
);
}
function xfirewindow(userid, width, height)
{
return openWindow(
'sendmessage.php?' + SESSIONURL + 'do=xfire&u=' + userid,
width, height
);
}
function skypewindow(userid, width, height)
{
return openWindow(
'sendmessage.php?' + SESSIONURL + 'do=skype&u=' + userid,
width, height
);
}
</script>

<script type="text/javascript" src="clientscript/vbulletin_global.js"></script>
<if condition="$show['popups']"><script type="text/javascript" src="clientscript/vbulletin_menu.js"></script></if>
<if condition="$vboptions['externalrss']"><link rel="alternate" type="application/rss+xml" title="$vboptions[bbtitle] RSS Feed" href="external.php?type=RSS" /></if>

Hawkbizkit
11-03-2005, 10:16 PM
that?s right. If I try to uninstall the product I can?t because it does not finde the needed things in the database (google etc.)
ok run these queries

ALTER TABLE user ADD googletalk VARCHAR( 250 ) AFTER msn

ALTER TABLE user ADD xfire VARCHAR( 250 ) AFTER msn

ALTER TABLE user ADD skype VARCHAR( 250 ) AFTER msn

be sure to add your table prefix if you have one... you man only need to run 1 or all of these queries so try them all if you have all 3 installed if not just use the one needed

Joshua5692
11-03-2005, 11:03 PM
That was just too sexy! Thank you, it finally works the way you intended! Again thank you for the addition and the support for it.

If all you coders would put a little Paypal script in your entry submission, I am sure there are probably a few dozen like me that would be more than happy to donate for the time and effort you put into this stuff.

Joshua5692
11-04-2005, 01:22 PM
I spoke too soon. The code you gave worked great in Firefox. It took me a full day to get the complaints, but it is very bad for those who use IE. In Internet Explorer, with the Headinclude you gave it give many errors and some even in Firefox. The original code in the post I had does not give these errors, but your modification won't work unless I use yours.

The errors are when you reply to any message the drop down smilies (in advanced mode) and many of the code options stop working. The other major error is the style selection no longer functions, the language selection no longer functions.

I really am interested in making this work, if anyone has a suggested modification of the code above?

ROTPAR
11-04-2005, 05:10 PM
ok run these queries

ALTER TABLE user ADD googletalk VARCHAR( 250 ) AFTER msn

ALTER TABLE user ADD xfire VARCHAR( 250 ) AFTER msn

ALTER TABLE user ADD skype VARCHAR( 250 ) AFTER msn

be sure to add your table prefix if you have one... you man only need to run 1 or all of these queries so try them all if you have all 3 installed if not just use the one needed

thank you very much..now it?s perfect :)

Hanif
11-04-2005, 07:43 PM
Interesting to note that vbulletin.org will have an interesting feature added to 3.5.2 with regards, to Skype: http://www.vbulletin.com/forum/showthread.php?t=162169

Snake
11-04-2005, 08:38 PM
That's good but what about Google Talk?

Hawkbizkit
11-04-2005, 11:52 PM
I spoke too soon. The code you gave worked great in Firefox. It took me a full day to get the complaints, but it is very bad for those who use IE. In Internet Explorer, with the Headinclude you gave it give many errors and some even in Firefox. The original code in the post I had does not give these errors, but your modification won't work unless I use yours.

The errors are when you reply to any message the drop down smilies (in advanced mode) and many of the code options stop working. The other major error is the style selection no longer functions, the language selection no longer functions.

I really am interested in making this work, if anyone has a suggested modification of the code above?

well i just tried editing your code here is my headinclude code from my personal board tell me it that works.. <meta http-equiv="Content-Type" content="text/html; charset=$stylevar[charset]" />
<meta name="generator" content="vBulletin $vboptions[templateversion]" />
<if condition="$show['threadinfo']">
<meta name="keywords" content="$threadinfo[title], $vboptions[keywords]" />
<meta name="description" content="<if condition="$pagenumber>1"><phrase 1="$pagenumber">$vbphrase[page_x]</phrase>-</if>$threadinfo[title] $foruminfo[title_clean]" />
<else />
<if condition="$show['foruminfo']">
<meta name="keywords" content="$foruminfo[title_clean], $vboptions[keywords]" />
<meta name="description" content="<if condition="$pagenumber>1"><phrase 1="$pagenumber">$vbphrase[page_x]</phrase>-</if>$foruminfo[description_clean]" />
<else />
<meta name="keywords" content="$vboptions[keywords]" />
<meta name="description" content="$vboptions[description]" />
</if>
</if>

<!-- CSS Stylesheet -->
$style[css]
<if condition="is_browser('opera') AND !is_browser('opera', '8.0.1')">
<style type="text/css">
ul, ol { padding-left:20px; }
</style>
</if>
<!-- / CSS Stylesheet -->

<script type="text/javascript">
<!--
var SESSIONURL = "$session[sessionurl_js]";
var IMGDIR_MISC = "$stylevar[imgdir_misc]";
// -->
function gtwindow(userid, width, height)
{
return openWindow(
'sendmessage.php?' + SESSIONURL + 'do=googletalk&u=' + userid,
width, height
);
}
function xfirewindow(userid, width, height)
{
return openWindow(
'sendmessage.php?' + SESSIONURL + 'do=xfire&u=' + userid,
width, height
);
}
function skypewindow(userid, width, height)
{
return openWindow(
'sendmessage.php?' + SESSIONURL + 'do=skype&u=' + userid,
width, height
);
}
</script>

<script type="text/javascript" src="clientscript/vbulletin_global.js"></script>
<if condition="$show['popups']"><script type="text/javascript" src="clientscript/vbulletin_menu.js"></script></if>
<if condition="$vboptions['externalrss']"><link rel="alternate" type="application/rss+xml" title="$vboptions[bbtitle] RSS Feed" href="external.php?type=RSS" /></if>

Allan
11-13-2005, 02:14 PM
Very Nice ;)

Thanks, Click Install

File Attach: French Language for Skype

Joshua5692
11-13-2005, 03:41 PM
well i just tried editing your code here is my headinclude code from my personal board tell me it that works..

I would love to tell you it works flawless and thank you very much, but....
as soon as I say that is when I get notified of board errors. So I will tell you thank you very much, it does not have the display or function problems that my old one had. It works perfectly from what I can see. Thanks for all your support.

adb22791
11-13-2005, 06:41 PM
Nice hack! *installed*

funinthesun
11-14-2005, 01:46 AM
How do I install only google and skype? :nervous:

Hawkbizkit
11-14-2005, 04:51 AM
you can do just the 2 you want you will just wanna work the template changes so they look good/correctly

GrendelKhan{TSU
11-14-2005, 05:41 AM
Q: how easy/hard would it be to add other IM services? I'm in korea and would LOVE to have a couple of the most popular korean im services added (most people here dont' use any of those).

and is this fully phrased?


thanks for the hack in any case :D good stuff! :)

funinthesun
11-14-2005, 10:16 AM
I'm a newbie though so don't recognise any coding. Do I just copy the skype code and the google code then? I don't know how to put the two codes together like you've done for all 3? :confused:

funinthesun
11-18-2005, 10:20 AM
Anyone? Please?

Joshua5692
11-18-2005, 11:32 AM
funinthesun can I ask, why not simply use the hack as it is?

So you want to use only Skype & GoogleTalk features?

funinthesun
11-18-2005, 12:53 PM
Because I've never heard of Xfire? :confused: Yes, I only want the GoogleTalk and Skype features :)

GrendelKhan{TSU
11-18-2005, 02:15 PM
Q: how easy/hard would it be to add other IM services? I'm in korea and would LOVE to have a couple of the most popular korean im services added (most people here dont' use any of those).

and is this fully phrased?


thanks for the hack in any case :D good stuff! :)

bumpy :)

Joshua5692
11-18-2005, 02:29 PM
Because I've never heard of Xfire? :confused: Yes, I only want the GoogleTalk and Skype features :)
I believe you can simply choose the Skype.zip & Googletalk.zip and install those two individually. I don't think it forces X-Fire on anyone. I do not have X-Fire as an option on my forum, but I really don't remember which .zip file I used to tell you. I might have used the individual packages, or I may have edited the full package.

As a side note X-Fire is an instant messenger based on the gaming community and it logs what games are played and how much time is spent on them. It also will allow a user to join their friend in whatever game/server they are currently playing in. It is quite advanced and many like it alot as a sole communication program. But again it is for the gaming community.

Joshua5692
11-18-2005, 02:36 PM
bumpy :)
Yes it is phrased.

funinthesun
11-18-2005, 03:40 PM
Ah right, but to go back to my first question, do I just replace the code in online.php with both the google and the skype code then because I don't how to combine both codes?

funinthesun
12-07-2005, 03:11 PM
OK, I've installed GoogleTalk and Skype. So far so good. Thanks :)

ConqSoft
12-07-2005, 03:14 PM
vB 3.5.2 now has native support for Skype.

funinthesun
12-07-2005, 03:34 PM
Doh!

Snake
12-08-2005, 04:55 PM
But not for GTalk. :(

silurius
12-11-2005, 11:32 PM
Quick question about security: what's the recommended method to control who can see the icons?

NuclioN
12-13-2005, 08:35 PM
vB 3.5.2 now has native support for Skype.
Yes i noticed. This hack stopped working and give us some troubles. First members had the skype integrated popup from 3.5.2. but that whas launched with this mod. When clicked on a skype function there's a blank page. After uninstall this function there whas notingh left of skype. Phrases are gone etc.

eljeffe
12-13-2005, 09:01 PM
Hey Hawkbizkit,

Any chance we can talk you into creating this same hack for 3.0.x? I know I'd be willing to toss you a few bucks for beer if you did. :)


bump

CodeRed
12-22-2005, 04:52 PM
very cool...

people on my forum use an instant messenger program called Hello (www.Hello.com) quite a bit to share photos etc and i'm curious to see how hard is it to get something like that added as well.

lemme know how tough it is to try to get something like this setup as well..

GrendelKhan{TSU
12-23-2005, 08:27 AM
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: )

NuclioN
12-23-2005, 08:05 PM
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?

Chadi
12-26-2005, 04:34 PM
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?

cdoyle
12-30-2005, 09:14 PM
great hack, thanks INSTALLED

cdoyle
12-30-2005, 09:57 PM
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?

GetGamer.com
01-15-2006, 03:21 AM
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?

BENSTER
01-15-2006, 07:03 AM
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?

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
<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.

Felan
03-16-2006, 01:36 PM
for vb 3.5.4 googletalk hack?

hydn
03-20-2006, 04:38 AM
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?

WNxWakko
03-21-2006, 12:23 AM
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.

Ragnarok
03-29-2006, 02:12 AM
Added the Google Talk expansion without any major issues, and all is working great. ^^

Murty
04-04-2006, 10:40 AM
i tried installing the xfire bit for 3.5.4 but doesnt work for some reason, like the icon doesnt show up in the postbit or memberinfo

Edit: LOL i realised that i hadnt entered any data in my profile, all good now, thanks alot. would be good to see some more stuff for it, like online or offline etc.... but this will do for now

Kacela
04-04-2006, 01:58 PM
ALOT of template editing, but finally got it to work.
/me clicks install.

jazde86
04-07-2006, 01:37 PM
Hey,

your popup Code isn't w3c conform:

function gtwindow(userid, width, height)
{
return openWindow(
'sendmessage.php?' + SESSIONURL + 'do=googletalk&u=' + userid,
width, height
);
}


Line 296 column 51: cannot generate system identifier for general entity "u".
'sendmessage.php?' + SESSIONURL + 'do=googletalk&u=' + userid,


Can you put the code for popup in another template? Every other messenger has the popup script not in the headinclude...

Thanks in advance for your help.

Shaikan
05-07-2006, 07:54 PM
@Kacela
Can you tell me how?

I need it on 3.5.2 but I think 3.5.4 is nearly the same.

I tried something but do I have to add these lines to the memberinfo template:
<if condition="$userinfo['xfire']">
<tr>
<td>$vbphrase[xfire]</td>
<td>$userinfo[xfire]</td>
</tr>
</if>

Jericho2004
08-11-2006, 01:23 AM
This works fine on vb 3.6 except the icon does not show up in the user's profile next to the field. Adding the handle and then going into a thread, the icon is there. Just not in the profile. Any ideas?

begore
08-20-2006, 06:22 PM
Yeah, any chance of full 3.6 support on this mod? Cheers!

gavinzac
08-28-2006, 10:26 AM
to fix it you could copy the code that is "hooked" into the postbit usually, into the actual postbit template.

murdo
09-01-2006, 11:18 AM
Any chance this can be updated to work with 3.6, without further mods? (i.e copying code into the postbit etc)

jcfuller
09-01-2006, 12:50 PM
I installed on a 3.5.4 forum. The xfire information is not showing up in the users public profile under there contact information. Only shows MSN or other Instant Messaging programs. Not xfire. Any clues how or where to fix this? See example here:

http://www.zarkrifle.com/forum/member.php?u=3

Barteh
09-16-2006, 05:17 PM
Would love to see a 3.6.1 update for this add-on :)

domokun
10-01-2006, 03:03 PM
Installed and working great. Only issue I have is the GoogleTalk icon does not show up on the Who's Online page. I included the code in the whosonlinebit for vB 3.5.4 but still nothing... What am I missing here?

Domokun

p.s. Here's what I have:

<if condition="$vboptions['showimicons']">
<td class="alt2" align="center" nowrap="nowrap">
$userinfo[gticon]
$userinfo[aimicon]
$userinfo[icqicon]
$userinfo[msnicon]
$userinfo[yahooicon]
$userinfo[skypeicon]
</td>
</if>

jcfuller
10-04-2006, 05:08 AM
Would love to see a 3.6.1 update for this add-on :)

Me too. Pretty please :D

CodeRed
11-30-2006, 12:56 PM
very cool...

people on my forum use an instant messenger program called Hello (www.Hello.com) quite a bit to share photos etc and i'm curious to see how hard is it to get something like that added as well.

lemme know how tough it is to try to get something like this setup as well..


would it be as simple as say downloading the Googletalk zip and replacing every instance of "googletalk" in the XML with "hello" and then of course tweaking the google talk phrases and templates to fit accordingly to Hello?

maybe im just over simplifying the switch but I wanted to see if that made any sense to you guys...

Thanks


UPDATED INFO:
I went ahead and made the file changes as I mentioned above and tweaked all of the 'googletalk' and 'gticon' references etc over to 'hello' and 'hlicon' respectively as well and tweaked a couple of phrases in order for the popup box to display the correct info about Hello including steps to add member as a friend and where the software can be downloaded etc.

It all works well... So for those wanting another IM Client that is not in the list of the original mod, you can tweak it to your own needs. I myself am not a coder nor do i pretend to be one so if I can do it.... well uh... you get the picture... hehe...

hollyboy
03-16-2007, 09:35 PM
nice

MjrNuT
07-03-2008, 06:43 PM
Wow, this is an old one. I'm wondering if this works with v3.7.x. Anyone out there know this or provide an alternate hack that is current?

Thanks very much!!

espesso
07-05-2008, 10:40 AM
Would love to see a 3.7.2 update for this add-on..

TingelT
07-21-2008, 01:51 PM
Go online.php Line 245
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,
And write after user.skype,
For X-fire:
user.xfire,
for Googel Talk
user.googletalk,
The rest like described before.
And then the add-on could be up-to-date. I will test it soon....=)
Ok its not all ;) I'm working on the new version..hope Hawkbizkit allow m working on his addon..

espesso
07-21-2008, 05:58 PM
hey nice i hope it comes soon :)

TingelT
07-21-2008, 07:36 PM
I'm tooo lazy too copy&past all so I upload you the new Install.txt. All things are posted in it.
Enjoy..
I hope I don't break any licences with my first Vb Add-on :D

espesso
07-21-2008, 08:32 PM
Oh great i will test it tomorrow.... many thx

espesso
07-22-2008, 03:20 PM
Ok i have tested...

Many thanks for the update.

I have a little different changes and a few questions :D

My different changes:

/includes/class_userprofile.php

-- Find --
$this->prepared['hasimdetails'] = ($this->prepared['icq'] OR $this->prepared['aim'] OR $this->prepared['msn'] OR $this->prepared['yahoo'] OR $this->prepared['skype']) ? true : false;

-- Replace With --
$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 --
<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>

-- add below --
<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)
<div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon] $post[skypeicon] </div>

-- Replace -- I have replaced not added after
<div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon] $post[skypeicon] $post[xfireicon] </div>


TEMPLATE EDIT: headinclude

-- Find --
<script type="text/javascript">
<!--
var SESSIONURL = "$session[sessionurl_js]";
var IMGDIR_MISC = "$stylevar[imgdir_misc]";
// -->

-- Add Below --
function xfirewindow(userid, width, height)
{
return openWindow(
'sendmessage.php?' + SESSIONURL + 'do=xfire&u=' + userid,
width, height
);
}

i dont know wat this makes but i have changed...

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 :D (we can talk german better ^^)

New Xfire Icon 84417 Download here (http://rapidshare.com/files/131680219/im_xfire.rar.html)

TingelT
07-23-2008, 11:09 AM
Here some answers
Ok i have tested...

Many thanks for the update.

I have a little different changes and a few questions :D

My different changes:

/includes/class_userprofile.php

-- Find --
$this->prepared['hasimdetails'] = ($this->prepared['icq'] OR $this->prepared['aim'] OR $this->prepared['msn'] OR $this->prepared['yahoo'] OR $this->prepared['skype']) ? true : false;

-- Replace With --
$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']
This and my solution is the same ;)

TEMPLATE EDIT: modifyprofile

-- Find --
<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>

-- add below --
<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...
No After the Skype block is
<td>&nbsp;</td> this make a empty cell..and if that isn't removed you will get a a 3cell table..this kill you 2 cell layout..but so it will works

TEMPLATE EDIT: postbit legacy - postbit

-- Find -- (should be in both postbit and postbit_legacy, whichever you use)
<div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon] $post[skypeicon] </div>

-- Replace -- I have replaced not added after
<div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon] $post[skypeicon] $post[xfireicon] </div>
No you have to replace that your our trying to get it two times?

TEMPLATE EDIT: headinclude

-- Find --
<script type="text/javascript">
<!--
var SESSIONURL = "$session[sessionurl_js]";
var IMGDIR_MISC = "$stylevar[imgdir_misc]";
// -->

-- Add Below --
function xfirewindow(userid, width, height)
{
return openWindow(
'sendmessage.php?' + SESSIONURL + 'do=xfire&u=' + userid,
width, height
);
}

i dont know wat this makes but i have changed...
This Java isn't necessary any more..the Plugin uses now the imwindow and not xfirewindow

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?
******************************************
*////////////////////////////////////////*
*////////////sendmassage.php/////////////*
*////////////////////////////////////////*
******************************************
-- Find --
case 'aim':

-- Add Below --

case 'xfire':

------------------------------
That was posted in the install.txt


2. How i can integrate send message in profile popup menu like icq? (is under profil overview)
Edit the product_xfire.xml edit there phrases <![CDATA[ as you want
3. Menu showing friends on member profile - xfire info is missing under friends. we can i change it? icq and skype is displayed..
Will fix them soon
4. Admincp - Edit User xfire field is missing
I will fix that if i had enough time
finaly: it is possible write message like icq - direct message?
Don't knew!

Annother works great. Good Job.

Many thanks.

Greetz

and sorry my englisch is little crazzy :D (we can talk german better ^^)

New Xfire Icon 84417 Download here (http://rapidshare.com/files/131680219/im_xfire.rar.html)

Barteh
08-02-2008, 06:36 PM
Thanks for the update, installed. One slight oversight in your howto though:

******************************************
*////////////////////////////////////////*
*/includes/class_userprofile.php/////////*
*////////////////////////////////////////*
******************************************

(...)

-- Find --

$this->prepared['hasimdetails'] = ($this->prepared['icq'] OR $this->prepared['aim'] OR $this->prepared['msn'] OR $this->prepared['yahoo'] OR $this->prepared['skype']) ? true : false;


-- Replace With --

$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;

DragonMasterNYC
08-04-2008, 01:54 AM
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

espesso
10-01-2008, 06:02 PM
2. How i can integrate send message in profile popup menu like icq? (is under profil overview)



TEMPLATE EDIT: MEMBERINFO

-- Find --

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>

-- add below --

<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}

1. Profil overview or whos online >> displayed:

Create new hook:

AdminCP -> Add-ons & Plug-ins -> Add Plug-in

1. Xfire: WOL Init

Hook: online_location_preprocess

if($filename=='sendmessage.php' and $values['type']=='xfire') {
$userinfo['activity'] = 'xfire';
}


2. Xfire: WOL Show

Hook: online_location_unknown

if($userinfo['activity']=='xfire')
{
$userinfo['action']=$vbphrase['sending_xfire_message'];
$userinfo['where']='';
$handled=true;
}

Add new phrase:

Variable: sending_xfire_message

Sending Xfire Message

add xfire icon >>> profil overview >> friends

TEMPLATE EDIT: memberinfo_small

-- Find --

<if condition="$user['showicq']"><li>$user[icqicon]</li></if>

-- add below --

<if condition="$user['showxfire']"><li>$user[xfireicon]</li></if>


Works fine for Vbulletin 3.7.3 PL1 xD

Greetz Espesso

Barteh
01-08-2009, 09:26 PM
Still working for 3.8.0 :)

(with the modifications mentioned in the previous posts)

bisshop
01-28-2009, 10:40 AM
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.

Raptor
07-10-2009, 08:05 PM
Can someone post a clean version of the triple pack for 3.8.3 ?

axix20xx
04-21-2010, 06:42 AM
i want this for VB 4.0 anyone can help ?