![]() |
Use XBox Live stuff as avatars
1 Attachment(s)
This is yet another XBox Live based mod. This one allows your users the choice to use their gamercard as an avatar, their official XBox Live avatar as their avatar or a standard uploaded one.
There are two profile fields to create (assuming you already have a profile field for XBox Live Gamertags...) #1 Name: Use XBL Gamercard Type: Multiple-Selection Checkbox Description: Do you wish to use your XBox Live Gamercard as your avatar on the site? For this to work, you must enter your gamertag in the gamertag field. Fields: Use XBox Live Gamertag? #2 Name: Use XBL Avatar? Type: Multiple-Selection Checkbox Description: Do you wish to use your XBox LiveAvatar as your avatar on the site? For this to work, you must enter your gamertag in the gamertag field. Note: You cannot have both this option ticked and the option to use your gamercard. Please make sure only one is ticked. Fields: Use XBox LiveAvatar? __________________________________________________ ________ Now for some template edits! Open up your postbit or postbit_legacy template - depending on which yu are using. Find: Code:
<if condition="$show['avatar']"> Code:
<!-- Avatar --> Change the IDs as shown belo: Change fieldX -> the field ID of your gamertag field Change fieldY -> the field ID of the field that asks if the user wants to use their gamercard Change fieldZ -> The field ID of the field that asks if the user wants to use their XBL Avatar _____________________________________________ Now just save and reload the template. If the user selects the checkbox to use their gamerard as their avatar, the avatar shown in their posts will be replaced by their gamercard. Screenshots below. |
All times are GMT. The time now is 03:52 PM. |
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:
|