Back to vBulletin 3.8 Template Modifications

Xbox Live Gamertag [drop down menu] v1.1
Mod Version: 1.10, by original'as

vB Version: 3.8.x Rating: (1 vote - 5.00 average) Installs: 18
Released: 21 Jul 2009 Last Update: Never Downloads: 0
Not Supported Template Edits Re-usable Code Translations  

This little template mod adds xBox gamercard to vbulletin profile drop down menu.
Works with vBulletin 3.8.x now!

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)



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:
Code:
<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:
Code:
<!--- / 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.

Download

No files for download.

Similar Mods

Xbox Live GamerTag details in Profile vBulletin 3.5 Template Modifications
Xbox Live Gamertag [drop down menu] vBulletin 3.5 Template Modifications

vblts.ru supports vBulletin®, 2022-2024