The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Xbox Gamercards [NXE enabled] Details »» | |||||||||||||||||||||||||
About: I made this modification (with help from MyGamercard.net) so that we could have the new gamercard layout done for the New Xbox Experience!
This mod does work with 3.8.x as well! Demo: Look at the post and see on the left the new gamercard. If you are unable to see the DEMO, please register an account and you should be able to see the updated code. Step 1: Add a new Profile Field with the following options: * Single-Line Text Box * Title: Gamertag * Description: Enter your Xbox Live Gamertag here. * Max length of allowed user input: 15 * Field Length: 25 * Private Field: No * Field Searchable on Members List: Yes * Show on Members List: Your choice * Which page displays this option? Edit Your Details Remember the Field ID. Step 2A *required*: Modify the Postbit_legacy in your template: 1. Admin CP -> Styles & Templates -> Postbit Templates -> postbit_legacy Find Code:
$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon] $post[skypeicon] After this add: Code:
<if condition="$post['field#']"> <div id="gamertagmenu_$post[postid]"><a href="#"><b>Xbox LIVE</a> <img src="http://YOURSITEHERE/images/misc/menu_open.gif"></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://card.mygamercard.net/nxe/$post[field#].png" scrolling="no" frameBorder="0">$post[field#]</iframe> </div> </if> Replace the $post[field#] with your field ID you used for your gamertag! Change "YOURSITEHERE" with your URL to this location! Step 2B: Thanks to Distance! Do you wanna restrict this code to certain usergroups only? You can... just put this before the <if condition> code: Code:
<if condition="is_member_of($bbuserinfo, X, Y, Z)"><if condition="$post['field#']"> <div id="gamertagmenu_$post[postid]"><a href="#"><b>Xbox LIVE</a> <img src="http://YOURSITEHERE/images/misc/menu_open.gif"></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://card.mygamercard.net/nxe/$post[field#].png" scrolling="no" frameBorder="0">$post[field#]</iframe> </div> </if></if> Replace the $post[field#] with your field ID you used for your gamertag! Change "YOURSITEHERE" with your URL to this location! Also, replace X, Y, Z with the Usergroup IDs (can be found in Usergroup Manager in your AdminCP) Step 3: Go to Edit Your Details to add your gamertag to your profile. Step 4: You're done! Your gamercard will work now and mini avatar faces will start working when you get the New Xbox Experience on your dashboard! FAQ How do I know if the Avatar System is actually working? It's only showing a silhouette. If other users are having the avatar working for them, it means it's working correctly. You just don't have the new dashboard -OR- your privacy settings are enabled on Xbox LIVE. Enjoy the MOD! Any questions? Leave them here or ask me on Gaming Fusion! Show Your Support
|
Comments |
#22
|
|||
|
|||
Quote:
Try replacing the code I gave you with this though in the meantime and tell me if this solves your issue: Code:
<if condition="$post[field#]"> <iframe src="http://gamercard.xbox.com/$post[field#].card" scrolling="no" frameBorder="0" height="140" width="204">$post[field#]</iframe> </if> Hope this helps you. ~Austin |
#23
|
|||
|
|||
hey help please i pm'ed you i cannot see the gamercard at all. info is in the pm
thank you sir |
#24
|
|||
|
|||
lol it still is warped... see here: http://forum.swisssoldiersclan.ch/sh...5215#post15215
|
#25
|
|||
|
|||
can nobody help me with that problem?
|
#26
|
|||
|
|||
good luck,i asked for help 5 times now
|
#27
|
|||
|
|||
Quote:
@SSC -- it's your style settings if you take the width/height tags out. Check them. |
#28
|
|||
|
|||
running 3.8.2
installation done, but when i click Xbox Live to view the card, all page got missed up ! is there away to avoid this dropdown card and make it appear all the time (fixed)???? |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|