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
  #32  
Old 10-19-2005, 10:33 PM
Snake's Avatar
Snake Snake is offline
 
Join Date: Mar 2005
Location: Cleveland, OH
Posts: 3,832
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ah that's good news. Can't wait for the next release.
Reply With Quote
  #33  
Old 10-20-2005, 02:03 AM
Hawkbizkit Hawkbizkit is offline
 
Join Date: Aug 2004
Location: Vacaville, CA
Posts: 54
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

if there is a demand i can add a myspace version that i also have if people want it.
Reply With Quote
  #34  
Old 10-20-2005, 05:49 AM
BLazeD1 BLazeD1 is offline
 
Join Date: Jul 2005
Posts: 35
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #35  
Old 10-20-2005, 01:05 PM
question? question? is offline
 
Join Date: Oct 2004
Posts: 141
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It's not showing up when you click the members profile! my MEMBERINFO is
Code:
$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;searchuser=$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>
Reply With Quote
  #36  
Old 10-20-2005, 04:37 PM
Hawkbizkit Hawkbizkit is offline
 
Join Date: Aug 2004
Location: Vacaville, CA
Posts: 54
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

you put it in the wrong spot in the membersinfo here this should work for you..
HTML Code:
$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;searchuser=$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>
Reply With Quote
  #37  
Old 10-20-2005, 11:23 PM
Hawkbizkit Hawkbizkit is offline
 
Join Date: Aug 2004
Location: Vacaville, CA
Posts: 54
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

alright updated this to version 1.0 out of beta also it caches the templates now
Reply With Quote
  #38  
Old 10-21-2005, 05:27 AM
GuaRRand GuaRRand is offline
 
Join Date: Oct 2005
Posts: 337
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #39  
Old 10-21-2005, 06:26 AM
Hawkbizkit Hawkbizkit is offline
 
Join Date: Aug 2004
Location: Vacaville, CA
Posts: 54
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
HTML Code:
$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
Reply With Quote
  #40  
Old 10-21-2005, 06:28 AM
Hawkbizkit Hawkbizkit is offline
 
Join Date: Aug 2004
Location: Vacaville, CA
Posts: 54
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by GuaRRand
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
Reply With Quote
  #41  
Old 10-21-2005, 06:39 AM
Hawkbizkit Hawkbizkit is offline
 
Join Date: Aug 2004
Location: Vacaville, CA
Posts: 54
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
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 06:17 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04969 seconds
  • Memory Usage 2,474KB
  • 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
  • (1)bbcode_code
  • (5)bbcode_html
  • (5)bbcode_php
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (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