Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 07-04-2011, 08:26 PM
GameOverViper GameOverViper is offline
 
Join Date: Jun 2011
Posts: 161
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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.
Reply With Quote
  #2  
Old 07-05-2011, 10:00 PM
GameOverViper GameOverViper is offline
 
Join Date: Jun 2011
Posts: 161
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Anyone know how to do this?
Reply With Quote
  #3  
Old 07-06-2011, 05:25 AM
Badshah93 Badshah93 is offline
 
Join Date: Jun 2010
Location: India
Posts: 505
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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>
ADD AFTER THAT

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']">&nbsp;<vb:else /><input type="checkbox" name="deletebox[{vb:raw userinfo.userid}]" value="yes" tabindex="1" /></vb:if></td></vb:if>
ADD AFTER THAT

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).
Reply With Quote
Благодарность от:
GameOverViper
  #4  
Old 07-08-2011, 12:33 AM
GameOverViper GameOverViper is offline
 
Join Date: Jun 2011
Posts: 161
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank You! It worked =)

Demo
Reply With Quote
  #5  
Old 06-16-2012, 12:56 PM
GameOverViper GameOverViper is offline
 
Join Date: Jun 2011
Posts: 161
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I don't believe the method above works anymore. Could someone share with me how I can do this on 4.2.0? Thanks.
Reply With Quote
  #6  
Old 07-07-2012, 03:18 PM
GameOverViper GameOverViper is offline
 
Join Date: Jun 2011
Posts: 161
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #7  
Old 02-27-2013, 04:50 PM
GameOverViper GameOverViper is offline
 
Join Date: Jun 2011
Posts: 161
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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>
Reply With Quote
  #8  
Old 03-14-2013, 12:22 AM
FTG LIQUID CL FTG LIQUID CL is offline
 
Join Date: Jan 2012
Posts: 158
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I would like to have this!But this does not seem to work with 4.1.12
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 11:52 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.08505 seconds
  • Memory Usage 2,233KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (5)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (8)post_thanks_box
  • (1)post_thanks_box_bit
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (8)post_thanks_postbit_info
  • (8)postbit
  • (8)postbit_onlinestatus
  • (8)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete