![]() |
XBox Live Avatar
1 Attachment(s)
This is a mod to allow users to use their XBox live avatar as their forum avatar. For this there will need to be 2 custom profile fields added.
Install time: 10 min. The first is: Single-line text box Name: XBox live Gamertag Description: whatever you like The second is: Multiple-Selection Checkbox Name: Use XBox Live avatar Description: whatever you like Options: Yes Then there are 3 template mods to be made: In memberinfo_block_ministats find: Code:
Code:
<if condition="$prepared['avatarurl']"> Code:
<if condition="$show['avatarcol'] AND exec_switch_bg()"><td class="$bgclass"><if condition="$show['avatar']"><img src="$avatarurl" border="0" $avwidth $avheight alt="<phrase 1="$userinfo[username]">$vbphrase[xs_avatar]</phrase>" hspace="4" vspace="4" /></if><else /> </if></td> Code:
<if condition="$show['avatarcol'] AND exec_switch_bg()"><td class="$bgclass"><if condition="$show['avatar']"> Code:
<if condition="$show['avatar']"><div class="smallfont"> Code:
<if condition="$show['avatar']"> Replace the blue X with the field id for the avatar. And that's it their avatar will be replaced with their xbox live avatar pic. This is optional to show it on the navbar too, In navbar find: Code:
<if condition="$show['member']"> Code:
<if condition="$bbuserinfo[fieldX]"><td><img src="http://avatar.xboxlive.com/avatar/$bbuserinfo[field23]/avatarpic-l.png" border="0" /></td></if> Have any questions feel free to ask. :D |
Cheers, I'll have a go at this over the weekend... Thanks!
|
All times are GMT. The time now is 02:56 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:
|