Log in

View Full Version : Show Thread Enhancements - Xbox Live Gamertag [drop down menu] v1.1


original'as
07-20-2009, 10:00 PM
This little template mod adds xBox gamercard to vbulletin profile drop down menu.
Works with vBulletin 3.8.x now!

Live Demo (http://www.topzone.lt/forumas/2397-asus-eee-pc-1101ha-11-6-colish-asus-eee-pc-seashell.html?langid=1) (works only if loged in)

https://vborg.vbsupport.ru/external/2009/07/29.jpg

Add New Field:
Go to AdminCP -> User Profile Fields -> Add New User Profile Field
Profile Field Type: Single-Line Text Box
Title: Xbox Gamertag
Description: Please enter your Gamertag here.
Save.

Template Modification:
Go to AdminCP -> Styles & Templates -> Style Manager
Select the Style you wish to edit. In the dropdown menu select Edit Templates
Find Postbit Templates - edit postbit_legacy (may be postbit, if user details is above post)

Find:
<tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=addlist&amp;userlist=buddy&amp;u=$post[userid]"><phrase 1="$post[username]">$vbphrase[add_x_to_buddy_list]</phrase></a></td></tr>
</if>

Add below:
<!--- / Xbox gamertag --->
<if condition="$post['fieldXX']"><tr><td class="vbmenu_option">
<iframe src="http://gamercard.xbox.com/$post[fieldXX].card" scrolling="no" frameBorder="0" height="140" width="204"></iframe></td></tr></if>
<!--- / End Xbox gamertag --->
Replace XX with the gamertag field number.

saadessa
07-21-2009, 04:08 PM
thank you for this modification

dead fury
07-22-2009, 12:52 AM
Awesome i love it!

mikeo9043
07-22-2009, 01:34 AM
I installed it, nice mod.

betts02
07-22-2009, 07:21 PM
installed and works great,many thanks

ARKphoenix2k
07-22-2009, 07:46 PM
Installed, thanks alot.. works great. :)

ksa030
08-27-2009, 02:48 AM
Installed, thanks alot dude

euantor
08-30-2009, 12:05 PM
Thanks a lot for this :]

bgdave
10-14-2009, 08:14 PM
Thanks!

COL NIL SATIS
12-20-2009, 04:34 PM
WORKS GREAT!!!! thank you ..installed