The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
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. |
#2
|
|||
|
|||
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. |
#3
|
|||
|
|||
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. |
#4
|
||||
|
||||
HTML Code:
<iframe src="http://gamercard.xbox.com/$post[field6].card" scrolling="no" frameBorder="0" height="140" width="204">$post[field6]</iframe> Chris |
#5
|
|||
|
|||
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 |
#6
|
|||
|
|||
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> 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> |
#7
|
|||
|
|||
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.
|
#8
|
|||
|
|||
Which one worked? And I'll fix the if command and the color.
|
#9
|
|||
|
|||
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 --> |
#10
|
|||
|
|||
For the if command fix change
Code:
<if condition="$post['field6']"> Code:
<if condition="$post[field6]"> |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|