PDA

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


original'as
21 Jul 2009, 17:46
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://www.vbulletin.org/forum/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
21 Jul 2009, 18:08
thank you for this modification

dead fury
22 Jul 2009, 02:52
Awesome i love it!

mikeo9043
22 Jul 2009, 03:34
I installed it, nice mod.

betts02
22 Jul 2009, 21:21
installed and works great,many thanks

ARKphoenix2k
22 Jul 2009, 21:46
Installed, thanks alot.. works great. :)

ksa030
27 Aug 2009, 04:48
Installed, thanks alot dude

euantor
30 Aug 2009, 14:05
Thanks a lot for this :]

bgdave
14 Oct 2009, 22:14
Thanks!

COL NIL SATIS
20 Dec 2009, 18:34
WORKS GREAT!!!! thank you ..installed