![]() |
Never mind...I totally hax0red the crap out of your site and did it myself :D.
|
Quote:
Well it seems you removed all references and credits from the things you copied. |
Quote:
On a site note, you have violated several laws ;) |
hi guys, i've had the extra custom form field in my forums for ages to display peoples gamertags when they post. since upgrading to 3.5.1 i havent edited the templates to get it displaying again.
i know some people will criticise me for wanting to do it the 'teamxbox' way but its really the most elegant way to do it, and not original :) but really, it isnt stealing as it utilises code from xbox themselves and then the vb menu system to display it.. nothing proprietry there. so if someone can help me get my custom field displaying in the posts again, then link to the xbox live gamercard in a vb style menu popup that would rock :) actually, after reading threads properly.. sorry ;) i found this code <!-- 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 --> can someone refresh my memory where that goes in the postbit template? thanks in advance! |
Quote:
You can put in that region depending on where you want it to display. If you use the legacy you'll have to edit the legacy postbit. |
Thanks mate its fantastic
|
if anyone wants it, I have a pretty cool hack that works like this:
if the user has a gamertag, a small XBL button shows up next to the IM buttons. when a user clicks that button, the avatar is replaced with their gamercard (from xbox.com). its works like this: the avatar (and whatever else you want to replace with the gamercard) is wrapped in a div with a name that contains the post number. The style is set to visible. the gamercard (iframe code straight from xbox.com) is wrapped in a different div that contains the post number as well. this div's style is set so its invisible. the XBL gif triggers a very small javascript that toggles the visibility of the 2 divs for that post number. I hope that makes sense. |
Excellent hack, but I'm using Glop.org's gamercards instead, as they doesn't take up as much space.
Code:
<if condition="$post['fieldXX']"> |
Nice one!
|
Can anyone tell me how to do it for gamertags with spaces, the link above it's letting me view it
|
All times are GMT. The time now is 12:51 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|