PDA

View Full Version : Forum Display Enhancements - Xbox LIVE Avatars


GamingFusion
11-09-2008, 10:00 PM
This mod does work with 3.8.x as well!


Demo: http://www.gamingfusion.org/commune/showthread.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

<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:

<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!

abus3d
11-10-2008, 05:10 AM
goood work :)

GamingFusion
11-10-2008, 05:17 AM
goood work :)

Thank you! Glad you like it! :)

rob01
11-10-2008, 05:44 AM
how you add the avatar box?

TheSupportForum
11-10-2008, 06:11 AM
there is a mod that already allows this

gxboxlive is the name look for it and you'll see:down:

https://vborg.vbsupport.ru/showthread.php?t=139958&highlight=gxboxlive

GamingFusion
11-10-2008, 07:23 AM
there is a mod that already allows this

gxboxlive is the name look for it and you'll see:down:

https://vborg.vbsupport.ru/showthread.php?t=139958&highlight=gxboxlive

@Simonhind - That is a leaderboard. If you look and compare them, this modification and that modification are different as the Xbox LIVE Avatar is coming out on November 19th, how could the leaderboard show this yet? Secondly, even the Xbox LIVE gamercards only show a gamerpicture and NOT the avatar. When the gamercards are updated on the 19th of November-- it'll only show a face and not a representation of your complete avatar (body).

@rob01 - I'll post that in just a second! (EDIT: posted below to quote and show a complete explanation).

GamingFusion
11-10-2008, 07:25 AM
how you add the avatar box?

Of course! I'll explain that... I'm gonna copy and paste my code (it goes in the same place as where I had you just put the image) BUT the field ID must be your field ID and not what I have below (I used Field 5):

<if condition="$post[field5]"><fieldset><legend>Xbox LIVE Avatar</legend>
<div>
<center><img src="http://avatar.xboxlive.com/avatar/$post[field5]/avatar-body.png" width="75" height="150">
</center>
</div>
</fieldset></if>

Hope this helps you! :)

xzibit
11-12-2008, 05:26 PM
Hello!
can you tell me where I hack with the XBL gamer card v2 think.
as the building is shown.
thank you very much

GamingFusion
11-13-2008, 03:39 AM
Hello!
can you tell me where I hack with the XBL gamer card v2 think.
as the building is shown.
thank you very much

Oh you mean the NXE styled gamercards? Sure!
I have submitted it now and here you go!

https://vborg.vbsupport.ru/showthread.php?t=196144

stickskills
11-13-2008, 04:19 AM
Any chance of being able to display the avatar in the profile? I just don't know how to get it added there. :/

xzibit
11-14-2008, 01:18 PM
Oh you mean the NXE styled gamercards? Sure!
I have submitted it now and here you go!

https://vborg.vbsupport.ru/showthread.php?t=196144


thanks

good job

JVCode
11-14-2008, 02:39 PM
How would I add this to users profile pages?