Log in

View Full Version : Profile Enhancements - XBL Details In Profile


euantor
10-28-2009, 10:00 PM
This template edit was created for and first featured at http://www.360elites.net

The edit will add a section to your user profiles that show a user's XBox Live Avatar and their Gamercard.

Step 1:

Create a Profile Field (if you haven't already)

Type: Single Line Text Box
Name: XBL Gamertag

Remember the field's ID.

Step 2:

Go to the Style Manager (Styles & Templates->Style Manager)

Select "Edit Templates" for the theme you want to edit.

Now, find the Template MEMBERINFO

This is under the category "Member Info"

Step 3:

Find:

<!-- / link bar -->

Below add:

<!-- XBL Details -->
<if condition="$userinfo[fieldXX]">
<div id="$id" class="tborder content_block">
<h4 class="thead block_title">
<a href="#top" class="collapse_gadget" onclick="return toggle_collapse('$id')"><img id="collapseimg_$id" src="$stylevar[imgdir_button]/collapse_generic{$vbcollapse['collapseimg_'.$id]}.gif" alt="" border="0" /></a>
<a name="$id"></a>
<span class="block_name"><center>XBox Live Details</center></span>
</h4>
<div class="block_content" id="collapseobj_$id" style="{$vbcollapse['collapseobj_'.$id]}"><div class="alt1 smallfont block_row block_footer">
<center>
<table border="0">
<tr>
<td>
<img src="http://avatar.xboxlive.com/avatar/$userinfo[fieldXX]/avatar-body.png">
</td>
<td>
<iframe src="http://gamercard.xbox.com/$userinfo[fieldXX].card" scrolling="no" frameBorder="0" height="140" width="204">$userinfo[fieldXX]</iframe>
</td>
</tr>
</table>
</center>
</div></div>
</div>
</if>

Change all the "XX" terms to the field ID number for you XBox Live gamertag field you made in Step 1.

Hit the "Save & Reload" button and voila. All done.

DEMO: http://www.360elites.net/member.php?u=1

MAME
10-29-2009, 03:23 PM
Works like a charm. Thanks!

euantor
10-29-2009, 03:32 PM
No problem :)

COL NIL SATIS
10-29-2009, 03:51 PM
Brilliant that is mate!! installed!!

euantor
10-29-2009, 04:05 PM
Thanks man :] Glad you like it.

COL NIL SATIS
10-29-2009, 04:11 PM
Also gave it 5stars rating...nice easy hack that my members will love...keep up the good work !!!

euantor
10-29-2009, 04:16 PM
Thanks once again! I try my best lol

abdobasha2004
10-29-2009, 08:27 PM
good mod however small number of forums will benefit from it !

mbc100
10-29-2009, 10:31 PM
good mod THANKS

euantor
10-30-2009, 07:25 AM
good mod however small number of forums will benefit from it !

True ;)

good mod THANKS

Thanks a lot.

COL NIL SATIS
10-30-2009, 05:18 PM
good mod however small number of forums will benefit from it !

pointless post really...the small number of forums that benefit..DO BENEFIT !!

not quantity sir..QUALITY :D

MAME
10-30-2009, 06:51 PM
Is it possible to display just the XBL character as a persons avatar? That would be sick!

euantor
10-31-2009, 07:29 AM
Is it possible to display just the XBL character as a persons avatar? That would be sick!

There sure is. Do you want it only in profiles or in the postbit too? I think I could help ;D

euantor
11-01-2009, 09:57 AM
No problem :D

euantor
11-21-2009, 07:48 AM
Working on an alternate version that shows the details in the profile sidebar. Should be out later today.

ravenfaust
11-29-2009, 09:20 AM
very simple and works nicely

euantor
11-29-2009, 12:00 PM
very simple and works nicely

Thanks :D

maddoghalo1
11-30-2009, 04:03 AM
You did not enter the correct format for the Xbox Live Gamertag field. Please read the field description for the expected format.

wtf...?

euantor
11-30-2009, 05:56 AM
That means you've not entered the right thing into the gamertag field. What gamertag were you trying to put in?

maddoghalo1
11-30-2009, 07:21 PM
Maddoghalo1

maddoghalo1
12-01-2009, 02:10 AM
I dont see why it wouldnt let me add my gamertag lol

euantor
12-04-2009, 02:24 PM
Hm. I'm not sure why it wouldn't work either. It's because of the profile field, so try mucking about with that and make sure you set the type to "Single Line Text-Box". Also, make sure you have set the limit high enough.