Log in

View Full Version : Xbox LIVE Avatars


GamingFusion
11-09-2008, 10:00 PM
This mod does work with 3.7.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!

duckdodger
11-10-2008, 06:27 AM
Looks nice, thanks!

GamingFusion
11-10-2008, 07:27 AM
Looks nice, thanks!

Glad you like it! I just deployed an update (it's small) but adds a Box around the avatar keeping it separate from your forum avatar.

It's completely optional and can be found here:

<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>
Reminder: change [field5] to your Field ID.

stickskills
11-13-2008, 04:05 AM
Making this a block in the profile might suit some forums better, but great idea!

compact123
11-20-2008, 08:02 AM
installed,thank you...

https://vborg.vbsupport.ru/

Saint Dean
11-20-2008, 12:17 PM
Can you possible provide me or helping put this in the profile. We already have gamercard in postbit and would like to see this play more of a part in the profiles.

Vicros
11-22-2008, 10:34 PM
Works perfect awesome

GamingFusion
11-23-2008, 08:46 AM
Can you possible provide me or helping put this in the profile. We already have gamercard in postbit and would like to see this play more of a part in the profiles.

I'm working on that now! Thanks for the question! :) I should have it up next Sunday! (December 30th) Check back then! :) I'm on vacation at the moment so I'm unable to actually work on this.

Im Spazzoid
11-24-2008, 08:10 AM
Can you possible provide me or helping put this in the profile. We already have gamercard in postbit and would like to see this play more of a part in the profiles.

Take the mod that puts the gamercard in a profile block and edit the template to use the code for the avatar instead

Mike21
12-12-2008, 04:26 AM
Well my doesnt show and i tried everything here:

dgpro-gaming.com/forums

my userbar goes ontop for some reason how do i change that

TomJames
12-12-2008, 03:15 PM
Hmm.. I'll try getting this to work on my forum later (albeit for the profile).

SSC streezer
01-08-2009, 10:37 AM
where are the files? can somebody upload them again?

Cledus James
01-09-2009, 10:51 PM
where are the files? can somebody upload them again?

There are no files needed my man, just changes done through the ACP.

SSC streezer
01-10-2009, 01:57 PM
hehe^^ i got it ! but the gamercard i can't add in (i know its an other mod) but can somebody help me throught PM or mail?

GamingFusion
01-11-2009, 08:29 AM
hehe^^ i got it ! but the gamercard i can't add in (i know its an other mod) but can somebody help me throught PM or mail?

Send me a PM with your problem and I'll gladly help you or send a PM to Starlit Notion on gamingfusion.org (when the site is open)!

?Austin

inparadise
01-11-2009, 09:15 PM
installed,thank you...

https://vborg.vbsupport.ru/

How did you remove the border around it ?

inparadise
01-11-2009, 09:23 PM
got it to work..

Nephalim
01-11-2009, 09:26 PM
installed,thank you...

http://img151.imageshack.us/img151/8370/adszdr6.jpg

hey where can you get that box below the avatar? i see it in sites and on a phpbb forum. that would be cool to put in my site

GamingFusion
01-12-2009, 09:21 AM
hey where can you get that box below the avatar? i see it in sites and on a phpbb forum. that would be cool to put in my site

The Gamercard? Just search it.. they have different versions... but just search it here on vBulletin.org.. you'll find it no problem. Just I would give you an exact link.. but as there are many variations and different ones.. I'll leave that choice up to you.

inparadise
01-19-2009, 10:08 AM
is it possible to have this in the member info area ?

Like, if the user don't have a avatar picture but have entered his gamer tag, it shows the avatar body in staid

GamingFusion
01-20-2009, 09:52 PM
is it possible to have this in the member info area ?

Like, if the user don't have a avatar picture but have entered his gamer tag, it shows the avatar body in staid

There is a mod for this already that exists for 3.7.x but it works with 3.8.x just fine. Search Xbox LIVE avatar in the search box and you'll find it! =]

Nephalim
01-24-2009, 06:32 AM
thank youGamefusion

YaiR9694
03-03-2009, 11:30 AM
how i replace all of avatars of the forum to this?
(sorry about my bad english)

DNG
06-11-2009, 01:46 AM
thanks alot :)

DNG
06-11-2009, 11:29 AM
how to change the position to the bottom??

thanks again

DNG
06-11-2009, 12:36 PM
i did it by adding the code after:

<div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon] $post[skypeicon]

:)

Psychosiis2
07-04-2009, 01:30 AM
Is there any way that you can add this to the profile? In the Blocks on the right.. Like I have the MP3 Player and YouTube video I want to add it there along with my Friends and Albums..

COL NIL SATIS
10-21-2009, 03:41 PM
installed..nice work!!!

Danny Diamond
11-19-2009, 02:36 AM
Installed. That was easy and it really neat.

Thanks

Zaiaku
11-19-2009, 03:22 AM
Oh this is great. I really like this one.

JVCode
12-05-2009, 10:33 PM
Will this mod be getting an update with v4? If not, could someone help me in getting this to work with v4?

cyclobe
12-08-2009, 02:37 AM
It's extremely easy to get working and if your community listed in your signature is correct you got it working :)

Just for future references for those wondering -

Follow all the instructions listed in the main post. Only changes are as follows -

Modify the Postbit_legacy in your template:

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

Find

<vb:if condition="$show['avatar']">
<a class="postuseravatar" href="{vb:link member, {vb:raw post}}" title="{vb:raw post.username} is {vb:raw post.online} now.">
<img src="{vb:raw post.avatarurl}" alt="{vb:rawphrase xs_avatar, {vb:raw post.username}}" />
</a>
</vb:if>


After that add

<vb:if condition="$post['field#']">
<center><img src="http://avatar.xboxlive.com/avatar/{vb:raw post.field#}/avatar-body.png" width="75" height="150">
</center>
</vb:if>

Where field# is the field you put in for the GT. That's it.

My own personal edit for one of my clients is

<vb:if condition="$post['field5']">
<center><img src="http://avatar.xboxlive.com/avatar/{vb:raw post.field5}/avatar-body.png">
</center>
<vb:else />


<a class="postuseravatar" href="{vb:link member, {vb:raw post}}" title="{vb:raw post.username} is {vb:raw post.online} now.">
<img src="{vb:raw post.avatarurl}" alt="{vb:rawphrase xs_avatar, {vb:raw post.username}}" />
</a>

</vb:if>

Which shows the 360 avatar first if they so have one otherwise show the forum avatar they selected (or uploaded)

Zippeh XF
02-14-2014, 04:09 PM
Does this mod work woth 4.2.2?

sbryan
08-04-2014, 02:09 PM
this still working, particularly on 3.8.8?