Go Back   vb.org Archive > Community Discussions > Modification Requests/Questions (Unpaid)
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 10-31-2005, 04:16 PM
ggiersdorf ggiersdorf is offline
 
Join Date: Aug 2005
Posts: 251
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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.
Reply With Quote
  #2  
Old 11-01-2005, 07:26 AM
KipLarson KipLarson is offline
 
Join Date: Jul 2005
Posts: 191
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #3  
Old 11-01-2005, 11:30 AM
ggiersdorf ggiersdorf is offline
 
Join Date: Aug 2005
Posts: 251
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #4  
Old 11-01-2005, 12:15 PM
Chris M's Avatar
Chris M Chris M is offline
 
Join Date: Dec 2001
Location: Northampton, England
Posts: 6,186
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #5  
Old 11-01-2005, 12:16 PM
ggiersdorf ggiersdorf is offline
 
Join Date: Aug 2005
Posts: 251
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #6  
Old 11-01-2005, 01:26 PM
Cyricx Cyricx is offline
 
Join Date: Aug 2002
Location: Missouri
Posts: 1,144
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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>
Reply With Quote
  #7  
Old 11-01-2005, 01:29 PM
ggiersdorf ggiersdorf is offline
 
Join Date: Aug 2005
Posts: 251
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #8  
Old 11-01-2005, 01:44 PM
Cyricx Cyricx is offline
 
Join Date: Aug 2002
Location: Missouri
Posts: 1,144
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Which one worked? And I'll fix the if command and the color.
Reply With Quote
  #9  
Old 11-01-2005, 01:45 PM
ggiersdorf ggiersdorf is offline
 
Join Date: Aug 2005
Posts: 251
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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 -->
Reply With Quote
  #10  
Old 11-01-2005, 01:47 PM
Cyricx Cyricx is offline
 
Join Date: Aug 2002
Location: Missouri
Posts: 1,144
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

For the if command fix change

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

Code:
<if condition="$post[field6]">
Don't need the '
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 04:56 PM.


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.07649 seconds
  • Memory Usage 2,264KB
  • 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
  • (4)bbcode_code
  • (1)bbcode_html
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)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
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete