Back to vBulletin 3.7 Template Modifications

XBOX gamercard and NXE avatar in postbit
Mod Version: 1.1, by JAnders

This modification is in the archives.
vB Version: 3.7.x Rating: (1 vote - 5.00 average) Installs: 11
Released: 21 Nov 2008 Last Update: Never Downloads: 1
Not Supported Template Edits Re-usable Code Translations  

This is a simple modification I created for my forum and I believe someone may find it handy.

I will display the Avatar's thumbnail and gamertag on the users posts. if you place the mouse over the avatar it'll show the avatar and the gamercard on the gamertag. depending on which you place the cursor over.

IMPORTANT:
This works with gxbox live requires it to be installed.

TO INSTALL:
Go the admin panel. Select Styles and templates --- Style Manager. Find postbit_legacy

Find the following:
Code:
<div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon] $post[skypeicon]
add below:
Code:
<if condition="$post[field#]"><fieldset><legend>XBox LIVE Gamercard</legend>
<div>
<a href="http://avatar.xboxlive.com/avatar/$post[field#]/avatar-body.png" target="_blank" onmouseover="gXBL_show('nxeavatar','$post[field#]');" onmouseout="return gXBL_hide();"><img border="0" width="20" height="20" src="http://avatar.xboxlive.com/avatar/$post[field#]/avatarpic-s.png" style="border: 1px solid gold;" /></a>
<a href="http://gamercard.xbox.com/$post[field#].card" target="_blank" onmouseover="gXBL_show('gamercard','$post[field#]');" onmouseout="return gXBL_hide();">$post[field#]</a></fieldset>
</if>
Make sure to replace [field#] with the field number where gamertags are stored.

Demo: http://www.fifamexico.net/foros

Update: v.1.1
fixed missing fieldset closing tag.

Download

No files for download.

Screenshots

Click image for larger version
Name:	avatar.PNG
Views:	282
Size:	30.4 KB
ID:	89621   Click image for larger version
Name:	gamercardss.PNG
Views:	372
Size:	35.9 KB
ID:	89622  

Similar Mods

Mini Mods Xbox Live Gamercard in Header vBulletin 3.7 Template Modifications
Xbox.com gamercard for all users vBulletin 3.5 Template Modifications

vblts.ru supports vBulletin®, 2022-2024