Gamercard anywhere on vB
Okay, well I thought after myself looking through tons of coding and ideas on how to get this to work. I will share how to generate a gamertag gamercard. We accomplish this while using 'if' conditions. I saw a lot of these 'gamercard' stuff but a lot had a lot more coding than needed. So cheers!
We use the following website just FYI for the actual 'generator' http://mygamercard.net To do this we first go into User Profile Fields and add a new field. Make the field: Single-line Text box Call the title/Description whatever you like. Keep everything as default but searchable on memberlist and show on memberlist Max length of allowed user input: I put 50ish because I don't know the max length of a gamertag. If someone knows I will change. Place this code where you want the 'card' to be displayed. Code:
<if condition="$post[fieldXX] != ''"><center>My Gamertag:</center></if> <div align="center"> <if condition="$post[fieldXX] != ''"><img src="http://card.mygamercard.net/$post[fieldXX].png" title="$post[fieldXX]"></if> end result will end in something like this; Please note you could probably do the same thing in a signature and or any place using mygamercard's signature sizes etc.. the ideas are limitless. Best of luck. If you need any support let me know. Download No files for download. |
Similar Mods
Mini Mods Show XboxLive Gamertag In Postbit | vBulletin 3.8 Template Modifications |
Miscellaneous Hacks Show Your XBOX 360 Gamertag as your Avatar in Postbit | vBulletin 3.6 Add-ons |