Back to vBulletin 3.8 Template Modifications

Xbox LIVE Avatars
Mod Version: 1.00, by GamingFusion

vB Version: 3.8.x Rating: (7 votes - 5.00 average) Installs: 30
Released: 10 Nov 2008 Last Update: Never Downloads: 4
Not Supported Template Edits  

This mod does work with 3.7.x as well!

Demo: http://www.gamingfusion.org/commune/index.php?t=2 and look under the Hitokyri profile to see the avatar silhouette! (EDIT: My apologies but you have to be a registered user to view this demo. If you still wish to view the DEMO, you will need to register when prompted).

Step 1: Add a new Profile Field with the following options:

* Single-Line Text Box
* Title: Gamertag
* Description: Enter your Xbox Live Gamertag here.
* Max length of allowed user input: 15
* Field Length: 25
* Private Field: No
* Field Searchable on Members List: Yes
* Show on Members List: Your choice
* Which page displays this option? Edit Your Details

Remember the Field ID.

Step 2: Modify the Postbit_legacy in your template:

1. Admin CP -> Styles & Templates -> Postbit Templates ->
postbit_legacy

Find

Code:
			<if condition="$show['avatar']">
				<div class="smallfont">
					&nbsp;<br /><a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$post[avatarurl]" $post[avwidth] $post[avheight] alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a>
				</div>
			</if>
After this add:

Code:
<if condition="$post[field#]"><center><img src="http://avatar.xboxlive.com/avatar/$post[field#]/avatar-body.png" width="75" height="150">
</center></if>
Replace the $post[field#] with your field ID you used for your gamertag!

Step 3: Go to Edit Your Details to add your gamertag to your profile.

Step 4: You're done! Enjoy your avatars that will start appearing on November 19th with the launch of the New Xbox Experience!

FAQ

How do I know if the Avatar System is actually working? It's only showing a silhouette.

Answer: If you don't think it is working and want to make sure, temporarily edit your details and edit your gamertag to Major Nelson. If you see something now, you'll know it is working correctly and just waiting for you to get the New Xbox Experience on November 19th. Remember to change your gamertag back to yours and you'll be set!

Enjoy the MOD!
Any questions? Leave them here!

Download

No files for download.

Screenshots

Click image for larger version
Name:	demopic.jpg
Views:	1497
Size:	129.1 KB
ID:	89184  

Similar Mods

Forum Display Enhancements Xbox LIVE Avatars vBulletin 3.7 Template Modifications

vblts.ru supports vBulletin®, 2022-2024