PDA

View Full Version : How do you Show Xbox Gamercard in Memberlist


GameOverViper
07-04-2011, 08:26 PM
I want the Xbox Gamercard to show in my memberlist. Right now I have a user profile field created that members can enter there gamertag and in the memberlist it shows up as text.

I used this guide (http://vbdownload.info/community/threads/xbox-live-gamertag-in-your-postbit-area-on-vb-4-0.124/) to add the gamercard to my postbit, but I can't figure out how to add it to the memberlist.

I have searched the site and found another thread asking how to do this, but no one responded to it with an answer.

Chris

Edit -

Here's an example (http://www.xiledgaming.com/forum/memberlist.php) of how I want it to show up in the memberlist. This forum is 3.8.6, but I'm sure you can do it on 4.1.4 still.

GameOverViper
07-05-2011, 10:00 PM
Anyone know how to do this?

Badshah93
07-06-2011, 05:25 AM
open memberlist template

Find:

<vb:if condition="$show['usergroup']"><th class="blocksubhead"><input name="allbox" type="checkbox" value="Check All" title="{vb:rawphrase check_uncheck_all}" onclick="checkall(this.form);" /></th></vb:if>

ADD AFTER THAT

<th class="blocksubhead">Gamecard
</th>



open memberlist_resultsbit template

Find:

<vb:if condition="$show['usergroup'] AND exec_switch_bg()"><td class="{vb:raw bgclass} usergroup"><vb:if condition="$show['hideleader']">&nbsp;<vb:else /><input type="checkbox" name="deletebox[{vb:raw userinfo.userid}]" value="yes" tabindex="1" /></vb:if></td></vb:if>

ADD AFTER THAT

<td class="{vb:raw bgclass} profilepic"> <iframe src="http://gamercard.xbox.com/{vb:raw userinfo.fieldX}.card" scrolling="no" frameBorder="0" height="140" width="204">{vb:raw userinfo.fieldX}</iframe>
</td>


Replace X with your field name of gamertag and open the field of gamertag in user profile fieldmanager and uncheck "show in memberlist" (else double column will be shown).

GameOverViper
07-08-2011, 12:33 AM
Thank You! It worked =)

Demo (http://xbox360clans.net/memberlist.php)

GameOverViper
06-16-2012, 12:56 PM
I don't believe the method above works anymore. Could someone share with me how I can do this on 4.2.0? Thanks.

GameOverViper
07-07-2012, 03:18 PM
No help with this? I'm just looking to see how the code should be displayed. The information to display it is already available in this post (https://vborg.vbsupport.ru/showpost.php?p=2217294&postcount=3). The xbox site information is still the same, seeing as the gamercards still show for other stuff I use.

GameOverViper
02-27-2013, 04:50 PM
On 4.2.0 I've found out that the below code shows the gamercard on memberlist when you paste it in the Memberlist template.

I have mine after the Avatar. And you must change the field# to match your gamercard profilefield.

<td class="{vb:raw bgclass} profilepic"> <iframe src="http://gamercard.xbox.com/{vb:raw userinfo.field#}.card" scrolling="no" frameBorder="0" height="140" width="204">{vb:raw userinfo.field#}</iframe>
</td>

FTG LIQUID CL
03-14-2013, 12:22 AM
I would like to have this!But this does not seem to work with 4.1.12