vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Profile Enhancements - Xbox Live Avatar System (https://vborg.vbsupport.ru/showthread.php?t=197229)

Bilderback 11-24-2008 10:00 PM

Xbox Live Avatar System
 
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

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

                    <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:
    Code:

            </td>
    $xblavatarhead
    <else />


DEMO HERE

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

Quote:

Originally Posted by Saint Dean (Post 1683923)
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

Quote:

Originally Posted by Saint Dean (Post 1688022)
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:
Code:

<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

Quote:

Originally Posted by rzpvile (Post 1696974)
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

Quote:

Originally Posted by Bilderback (Post 1697197)
Did you set your preferences and enable the product?
By default it is off.

yeah everything enabled

Bilderback 12-31-2008 09:50 PM

Quote:

Originally Posted by rzpvile (Post 1697526)
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

Quote:

Originally Posted by SSC streezer (Post 1705046)
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!


All times are GMT. The time now is 05:57 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
  • Page Generation 0.01200 seconds
  • Memory Usage 1,764KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_code_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (25)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete