vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   XBOX live gamertag in postbit code here help fix (https://vborg.vbsupport.ru/showthread.php?t=99769)

ggiersdorf 10-31-2005 04:16 PM

XBOX live gamertag in postbit code here help fix
 
over at xbox.com you can now add your gamertag as a popup on the forums I would like someone to help me make this code work as a clickable popup in postbit.

<iframe src="http://gamercard.xbox.com/REPLACE-THIS-WITH-YOUR-GAMERTAG.card" scrolling="no" frameBorder="0" height="140" width="204">Put your gamertag here too.</iframe>

the replace-this-with your gamertag card part would need to be whatever the user has entered into there profile which is field6 under ACP/User Profile Field Editor..

thanks in advance if you need more info let me know please.

KipLarson 11-01-2005 07:26 AM

I've done this for use in signatures, but am trying to get help for using it in the actual profile.

I'm making a post about it now.

ggiersdorf 11-01-2005 11:30 AM

Any help would be appericated, I noticed another site thats using it also in Postbit now www.teamxbox.com in the forums it's a clickable version that than pop's up the information. I dont think it will be that hard, but Im not a coder. It's just a clickable Word that calls to that location.

Hope someone can help us out here.

Chris M 11-01-2005 12:15 PM

HTML Code:

<iframe src="http://gamercard.xbox.com/$post[field6].card" scrolling="no" frameBorder="0" height="140" width="204">$post[field6]</iframe>
That should work :)

Chris

ggiersdorf 11-01-2005 12:16 PM

Chris if this works Ill make you an ADMIN :) will install and test in about 30 mins

Thanks

www.gamereports.net

Chris I installed and it works but I had to use this command

<if condition="$post['joindate']"><div class="info"> <iframe src="http://gamercard.xbox.com/$post[field6].card" scrolling="no" frameBorder="0" height="140" width="204">$post[field6]</iframe> </div> </if>


I used joindate beacuse it was a valid one I dont know what the profile field one would be called, and the Joindate is always on my postbit, but the problem is that the actual gaertag is displayed but it #1 pushes out my border and is always displayed

here is an example of what I wanted it to do.

http://forum.teamxbox.com/showthread.php?t=384315

post #2 click the tag and it pops up the tag and than hides it again..

were real close with your fix above can you help iron it out?

here is what it looks like on my forum

http://www.sonyverse.com/forum/showthread.php?t=152

Cyricx 11-01-2005 01:26 PM

Code:

<if condition="$post['field6']">
<div id="gamertagmenu_$post[postid]"><b><u>$post[field6]</u></b>
<script type="text/javascript"> vbmenu_register("gamertagmenu_$post[postid]", true); </script>
</div>
<div class="vbmenu_popup" id="gamertagmenu_$post[postid]_menu" style="display:none"><iframe src="http://gamercard.xbox.com/$post[field6].card" scrolling="no" frameBorder="0" height="140" width="204">$post[field6]</iframe> </div>
</if>

That "should" do it.

If not, try this

Code:

<if condition="$post['field6']">
<div id="gamertagmenu_$post[postid]"><b><u>$post[field6]</u></b>
<script type="text/javascript"> vbmenu_register("gamertagmenu_$post[postid]", true); </script>
</div>
<div class="vbmenu_popup" id="gamertagmenu_$post[postid]_menu" style="display:none"><iframe src="http://gamercard.xbox.com/$post[field6].card" scrolling="no" frameBorder="0" height="140" width="204"></iframe> </div>
</if>


ggiersdorf 11-01-2005 01:29 PM

THAT WORKED! one last tiny thing!!! can the Tag be a green color right now it's not a hyperlink though you can press it I want them to understand it can be clicked.

Cyricx 11-01-2005 01:44 PM

Which one worked? And I'll fix the if command and the color.

ggiersdorf 11-01-2005 01:45 PM

the top one I modifed it slight to look liek this works SPOTLESS!! but want the color like a lime green

<!-- XBOX LIVE TAG Below by: Cyrick -->

<if condition="$post['field6']"><div class="info">
<div id="gamertagmenu_$post[postid]">XBOX Live: <b><u>$post[field6]</u></b>
<script type="text/javascript"> vbmenu_register("gamertagmenu_$post[postid]", true); </script> </div> <div class="vbmenu_popup" id="gamertagmenu_$post[postid]_menu" style="display:none"><iframe src="http://gamercard.xbox.com/$post[field6].card" scrolling="no" frameBorder="0" height="140" width="204">$post[field6]</iframe> </div> </if>

<!-- XBOX Live TAG ABOVE -->

Cyricx 11-01-2005 01:47 PM

For the if command fix change

Code:

<if condition="$post['field6']">
to

Code:

<if condition="$post[field6]">
Don't need the '


All times are GMT. The time now is 06:39 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.03942 seconds
  • Memory Usage 1,737KB
  • 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
  • (4)bbcode_code_printable
  • (1)bbcode_html_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)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