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 |
#2
|
|||
|
|||
Great thing. Is there any way to restrict over user group? Lets say for example usegroup called "senior members" will be allowed to put their gamecards?
|
#3
|
||||
|
||||
I would love to take a look at this in action, but your demo link requires registration.
|
#4
|
|||
|
|||
Installed Thanks!
you can see it in action here www.uwclan.co.uk/forums Only bad thing about this is, is its scaled down so some of my members who have small visual impairments cant properly view it. Im checking mygamercard.net for an updated one for NXE which is slimmer to fit within 204px without scaling. |
#5
|
|||
|
|||
Awesome, thanks a lot man.
*Clicks Installed* |
#6
|
||||
|
||||
works perfectly..
|
#7
|
|||
|
|||
thanks works great
|
#8
|
|||
|
|||
No, thanks. That is from Camercard and NOT a Microsoft Live Service
Live original is better... |
#9
|
|||
|
|||
Quote:
Actually MyGamerCard.net is run by some of the same people running Xbox LIVE... lol |
#10
|
|||
|
|||
I say, that the original Card from Microsoft better is. No one need Gamercard.net.
LoL |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|