PDA

View Full Version : Profile Enhancements - Xbox Live Avatar System


Bilderback
11-24-2008, 10:00 PM
Xbox Live Avatar System


Description
This vBulletin product displays a users Xbox Live avatar
in various areas such as the postbit, profile and navbar.


Features
option to add avatar to postbits
option to add avatar to profile
option to add avatar to navbar (requires manual template edit)
option to set the size of avatars
option for different avatar display in postbit
option to replace user avatar or simply enhance
This product integrates by default with Gamefields Icons Userfields Product (https://vborg.vbsupport.ru/showthread.php?t=196587)


INSTALLATION
Import the XML file into your Product manager
Go to vBulletin Settings->Xbox Live Avatar System
Set your preferences and enable product.
(optional)The navbar option requires a manual template edit to the navbar
navbar
Find:

<if condition="$show['pmwarning']"><div><strong><phrase 1="$vbphrase[pmpercent_nav_compiled]">$vbphrase[your_pm_box_is_x_full]</phrase></strong></div></if>
</div>
</td>

Add $xblavatarhead below the </td> (before the <else />)
so that finished edit looks like this:

</td>
$xblavatarhead
<else />



DEMO HERE (http://imgaming.net/forum/member.php?u=2)

Feature Requests
add profile block options
add user options
add usergroup settings
add template enhancements

VERSION HISTORY

version 1.1
~fixed postbit error
version 1.0
~original beta release

stickskills
11-25-2008, 08:48 PM
If you made an option for users to decide whether or not to use their avatar as their actual avatar (similar to the navbar function), it'd be pretty sweet. Nice work though!

XFSImperial
11-25-2008, 09:03 PM
Interesting, I'll definitely have to think about adding this one.

Bilderback
11-25-2008, 11:02 PM
Thanks, and user options noted.
Feel free to hack anything up or improve the code.
I am still new to vbcode and php.
The main reason for releasing gaming mods stems from many visitor requests
for the features they have seen used in my own forums.
They will surely become better with time.

mikeo9043
12-11-2008, 03:57 AM
Nice mod, I installed it, you can see it here: http://www.the360place.com/showthread.php?t=1175

But I hope you add that option to allow the members to either have their avatar or this, if you make that happen it will be awesome!

AK47 Nemesis
12-11-2008, 09:17 AM
Nice addon :). Installed, thanks.

TheInsaneManiac
12-12-2008, 12:17 AM
<u>Feature Requests</u>:
Allow the members themselves to choose if their avatar replaces their current avatar.
How about they choose rather they want their avatar head or body.

brhoom
12-12-2008, 02:24 AM
Nice addon

Saint Dean
12-12-2008, 03:42 PM
Seems i cant find the code that you required to find for the navbar image. Anyone mind telling where else i can put it

NVM found it

Second question, its installed onto my navbar where we want it, but when i go to the homepage (vBadvanced) its not their, any reason why?

Bilderback
12-13-2008, 12:34 AM
Seems i cant find the code that you required to find for the navbar image. Anyone mind telling where else i can put it

NVM found it

Second question, its installed onto my navbar where we want it, but when i go to the homepage (vBadvanced) its not their, any reason why?

Have you tried adding the template variable in your vbadvanced globals?
$xblavatarhead

Saint Dean
12-18-2008, 02:11 PM
Ill have a look too see if i can.

Saint Dean
12-18-2008, 02:27 PM
Cant find where to add it to get it in Vbadv, could you help me out?

Bilderback
12-18-2008, 07:55 PM
Cant find where to add it to get it in Vbadv, could you help me out?
I dont use vbadvanced but try looking in
Main Options->Portal Output Global Variables
do not use the dollar sign($)
enter only xblavatarhead

TheInsaneManiac
12-30-2008, 02:02 AM
Those of you who do not have an avatar like me will see a gap in the position of where it was suppose to be. To get rid of this gap instead of $xblavatarhead put this:
<if condition="$vboptions['xbl_avatar_system_enable_product'] AND $vboptions['xbl_avatar_system_display_navbar']">
<if condition="$bbuserinfo['field25']">
<td style="padding:1px"><a href="member.php?$session[sessionurl]u=$bbuserinfo[userid]"><img src="http://avatar.xboxlive.com/avatar/$bbuserinfo[field25]/avatarpic-l.png" border="0" /></a></td>
<else />
</if>
</if>

rzpvile
12-30-2008, 06:15 AM
okay I uploaded it and everything but I don't see any feature to actually load up your xbl avatar am I missing something here?

Bilderback
12-30-2008, 02:44 PM
okay I uploaded it and everything but I don't see any feature to actually load up your xbl avatar am I missing something here?
Did you set your preferences and enable the product?
By default it is off.

rzpvile
12-31-2008, 12:11 AM
Did you set your preferences and enable the product?
By default it is off.

yeah everything enabled

Bilderback
12-31-2008, 09:50 PM
yeah everything enabled

Is the field properly entered? example: fieldX
You can PM me your site information and I can take a look.
Please provide more details and a screenshot of your admin settings, if possible.

rzpvile
12-31-2008, 11:08 PM
okay here is my site

http://game-sinners.com/

Pictures of settings:

http://i44.tinypic.com/2cpygm0.jpg

http://i42.tinypic.com/ifbi3b.jpg

thanks for the support

prodigyca
01-02-2009, 07:56 PM
I also have uploaded everything and hav the field set as told to and I for some reason do not see anything happening to vb. Any ideas? And yes I did enable it lol.

prodigyca
01-02-2009, 08:10 PM
Cancel that. I got it. Sorry!! Great Mod.. Obviously Installed!

Bilderback
01-04-2009, 06:00 AM
@ rzpvile
Everything seems to be in working order at your site.

SSC streezer
01-08-2009, 11:23 AM
on my site (http://forum.swisssoldiersclan.ch) the avatar isn't showed - i installed the xml file and configured the mod. but the avatar isnt showed.

has anybody an idea?

Bilderback
01-09-2009, 04:27 AM
on my site (http://forum.swisssoldiersclan.ch) the avatar isn't showed - i installed the xml file and configured the mod. but the avatar isnt showed.
has anybody an idea?

Are you sure that you have correctly set all configurations?
-entered your gamertag profile field
(in your case- field5)

I see the url in your source code is an empty gamertag which usually means
that you havent entered the field id.

SSC streezer
01-09-2009, 05:28 AM
oh sorry - i didn't had the right field in the settings (default value). thanks - works now!