Back to vBulletin 3.6 Template Modifications

xFire Status in Member Profile
Mod Version: 1.00, by Kru

This modification is in the archives.
vB Version: 3.6.2 Rating: (1 vote - 4.00 average) Installs: 28
Released: 09 Nov 2006 Last Update: Never Downloads: 65
Not Supported  

xFire allows you:

* See when your friends are online & what game they're playing
* See where they're playing and join them with one click
* See what games the friends of your friends are playing

and so on. More informations and the download link for the free software can be found here: http://www.xfire.com/

This modifications show your Xfire Miniprofiles in the member profile. So your friends can see if you are online and what kind of games are you playing and maybe join you.

Modifications:
1 extra Field
1 Template modification
1 New Phrase

Add 2 New Fields:

1st new userfiled
Go to AdminCP -> User Profile Fields -> Add New User Profile Field
Profile Field Type: Single-Line Text Box
Title: xFire Game Status - http://www.xfire.com/
Description: Please enter your xFire username here.
Click Save.

Note the field ID, which you will need in the template code.

2nd new userfiled
Go to AdminCP -> User Profile Fields -> Add New User Profile Field
Profile Field Type: Single-Selection Radio Buttons
Title: xFire style
Description: Choose a xFire style: Default (bg), Fantasy (os), Combat (co), Sci-Fi (sf)
Options:


  • bg
  • os
  • co
  • sf
Set Default: Yes
Field Editable by User: Yes
Allow user to input their own value for this option: No
Click Save.

Note the field ID, which you will need in the template code.

Template Modification:
Go to AdminCP -> Styles & Templates -> Style Manager
Select the Style you wish to edit. In the dropdown menu select Edit Templates
In the template Memberinfo

Find:

PHP Code:
$membergroupbits
</table>
</
div>
 
</
div>
</
div>
</
td>
 
</
tr
Add this below:

PHP Code:
<!-- XFire Hack -->
<
table class="tborder" cellpadding="$stylevar[cellpadding]cellspacing="$stylevar[cellspacing]border="0" width="100%" align="center">
<
tr>
 
<
td class="tcat" width="100%">xFire Profile Info</td>
</
tr>
<
tr valign="top">
 
 
<
td class="panelsurround" align="center">
<
div class="panel">
<
div align="$stylevar[center]">
 
<
div class="fieldset">
<
table cellpadding="0" cellspacing="$stylevar[formspacer]border="0">
 
 
 
<
td><strong>$vbphrase[x_xfire_info]</phrase></strong></td>
 
 
<if 
condition="$post['field13']">
 
 
<
a href="http://profile.xfire.com/$post[field13]rel="nofollow"><img src=http://miniprofile.xfire.com/bg/$post[field17]/type/0/$post[field13].png width=440 height=111 border=0></a>
<br>
<
p align="center"><a href="xfire:add_friend?user=$post[field13]rel="nofollow"><b>Add to xFire Friends List</b></a></p>
</if>
</if>
 
</
table>
 
</
div>
</
div>
</
td>
 
<!-- / 
End XFire Hack --> 
Now, go to your Phrase Manager and add a new Phrase:

Product: Vbulletin
Varname: x_xfire_info
Text: You can get closer information about Xfire <a href="http://www.xfire.com" rel="nofollow">here</a>.

When you create the new field make a note of the field ID you will need to substitute the X1 for the 1st new userfield and X2 for the 2nd new userfield with the xFire username field ID number and xFire style field ID number.

Now edit your profile and enter your xFire username.

If you use this mod please click - cheers!

Download

This modification is archived, downloads are still allowed.

File Type: %1$s install.txt (3.8 KB, 96 downloads)

Screenshots

Click image for larger version
Name:	noprofile.jpg
Views:	276
Size:	16.3 KB
ID:	55719   Click image for larger version
Name:	profile.jpg
Views:	696
Size:	102.8 KB
ID:	55720  

Similar Mods

xFire Status in Member Profile vBulletin 3.5 Template Modifications
xFire Status in Postbit vBulletin 3.5 Template Modifications
xFire Status in Postbit vBulletin 3.6 Template Modifications

vblts.ru supports vBulletin®, 2022-2024