vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=192)
-   -   Profile Enhancements - XBL Gamerscore in Postbit (https://vborg.vbsupport.ru/showthread.php?t=157122)

atlambros83 11-04-2007 05:22 PM

thank you Lag, one question about your code. do the users have to be signed up with mygamercard.net for their gamercards to show on their profile or will it just display their gamercards no matter what?

ChU v2 11-04-2007 05:27 PM

Quote:

Originally Posted by atlambros83 (Post 1375713)
thank you Lag, one question about your code. do the users have to be signed up with mygamercard.net for their gamercards to show on their profile or will it just display their gamercards no matter what?


Try it for yourself,

Use:
http://card.mygamercard.net/mini/GAMERTAG.png

Try a gamertag that isn't in there database. I don't believe you have to be signed up.

atlambros83 11-04-2007 07:46 PM

nevermind, yeah, you must be signed up with gamercard.net

atlambros83 11-04-2007 07:47 PM

yeah you do have to have an account with gamercard.net

thanks chu

AK47 Nemesis 11-04-2007 09:03 PM

That's incorrect, you don't need an account for mygamercard.net. Just tried some gamertags, works perfectly. I've got a mouse-over gamercard in my forum, that will make sure it's not too large. It'll pop up when you hover over a tag.

atlambros83 11-05-2007 12:08 PM

you are right ak, sorry

atlambros83 11-05-2007 12:10 PM

does anyone know how to make this so that if a user does not post their gamertag in their profile it will not show the box?

ChU v2 11-11-2007 11:40 PM

Quote:

Originally Posted by atlambros83 (Post 1376219)
does anyone know how to make this so that if a user does not post their gamertag in their profile it will not show the box?

You would need to add an <if> statement like this:

HTML Code:

<if condition="$post[fieldXX]">
<fieldset><legend>XBL Gamertag</legend>
<div>
<center>
<iframe src="http://gamercard.xbox.com/$post[fieldXX].card" scrolling="no" frameBorder="0" height="140" width="204"></iframe>
</center>
</div>
</fieldset>
</if>

That should work.

NoRem0rse 11-13-2007 05:33 PM

Thanks CHU works great, just installed it now

ChU v2 11-13-2007 11:38 PM

Quote:

Originally Posted by NoRem0rse (Post 1381875)
Thanks CHU works great, just installed it now

Your welcome, please mark as installed.


All times are GMT. The time now is 05:21 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01024 seconds
  • Memory Usage 1,735KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_html_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete