The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
How do you Show Xbox Gamercard in Memberlist
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 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 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. |
#2
|
|||
|
|||
Anyone know how to do this?
|
#3
|
|||
|
|||
open memberlist template
Find: Code:
<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> Code:
<th class="blocksubhead">Gamecard </th> open memberlist_resultsbit template Find: Code:
<vb:if condition="$show['usergroup'] AND exec_switch_bg()"><td class="{vb:raw bgclass} usergroup"><vb:if condition="$show['hideleader']"> <vb:else /><input type="checkbox" name="deletebox[{vb:raw userinfo.userid}]" value="yes" tabindex="1" /></vb:if></td></vb:if> Code:
<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 |
#5
|
|||
|
|||
I don't believe the method above works anymore. Could someone share with me how I can do this on 4.2.0? Thanks.
|
#6
|
|||
|
|||
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. The xbox site information is still the same, seeing as the gamercards still show for other stuff I use.
|
#7
|
|||
|
|||
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. Code:
<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> |
#8
|
|||
|
|||
I would like to have this!But this does not seem to work with 4.1.12
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|