X-Box Live Post Avatars

well no .... i just find myself too tired and unmotivated to do anything at the moment and finding the one tiny thing i need to make this releasable is just too much of a chore to do right now

Unless you can find someone to help me within the next hour and 20 minutes I wont be posting it tonight....


Are you saving it up for a rainy day resource blitzkrieg?
such a turn of phrase...that really did make me chuckle...gets a like for that..
 
well no .... i just find myself too tired and unmotivated to do anything at the moment and finding the one tiny thing i need to make this releasable is just too much of a chore to do right now

Unless you can find someone to help me within the next hour and 20 minutes I wont be posting it tonight....



such a turn of phrase...that really did make me chuckle...gets a like for that..
I'm also unmotivated but I think Yorick is your best bet right now. He has the energy we used to have.
 
link me to a post with one in it...ill give you the css
I'm trying to create it on a local installation since my site is down.

I'm just trying to stick this somewhere. It works in post template but it doesn't let me use the custom user field.

Code:
<xen:if is="{$user.customFields.xboxlive}">
<span class="body"><img src="http://avatar.xboxlive.com/avatar/{$user.customFields.xboxlive}/avatar-body.png" align="right" width="150" height="300" /></span>
</xen:if>
 
I'm trying to create it on a local installation since my site is down.

I'm just trying to stick this somewhere

Code:
<span class="xboxbody"><img src="http://avatar.xboxlive.com/avatar/{$user.customFields.xboxlive}/avatar-body.png" align="right" width="150" height="300" /></span>
Why is your site down?


Gimme a lil bit then....I would have to go find this thing from when I made it before, or redo it so I can test it then....without your site being up I could be giving you bad info and we wouldn't know it otherwise.

I also have to finish up the JS that is kicking my ass at the moment (not really but straigh JS just looks way messy compared to jQ syntax and I haven't been playing with it as much as jq so it is hurting my eyes.)
 
Why is your site down?


Gimme a lil bit then....I would have to go find this thing from when I made it before, or redo it so I can test it then....without your site being up I could be giving you bad info and we wouldn't know it otherwise.

I also have to finish up the JS that is kicking my ass at the moment (not really but straigh JS just looks way messy compared to jQ syntax and I haven't been playing with it as much as jq so it is hurting my eyes.)
I don't know. Someone will inspect it in the morning though. http://xenforo.com/community/threads/sql-queries-causing-slowdown-and-outages.45964/

I like X-Box Live Avatars because of the amount of customization that goes into them.
 
I'm no longer a VB member what exactly are you looking to do?
Completely replace the user avatar IF they have entered their gt and select to display their xbox avatar?

IF SO I have something like this that's incomplete for PSN/Steam/Xbox/Rockstar *like a ton of other things as you well know*

Here's the basics of it. A lil DIY but I know you can tweak it to make it work
Go to message_user_info

FIND
Code:
<div class="avatarHolder">
            <span class="helper"></span>
            <xen:avatar user="$user" size="m" img="true" />
            <!-- slot: message_user_info_avatar -->
        </div>

REPLACE
Code:
<xen:if is="{$user.customFields.xbox}">
<img src="http://avatar.xboxlive.com/avatar/{$user.customFields.xbox}/avatar-body.png" width="68px" height="135px">
<xen:else />
<div class="avatarHolder">
            <span class="helper"></span>
            <xen:avatar user="$user" size="m" img="true" />
            <!-- slot: message_user_info_avatar -->
        </div>
        </xen:if>

{$user.customFields.xbox} = the custom user field ID replace with your xbox field id!

Now this doesn't check to see if the user would like to display it as an avatar. You'd need to add an extra conditional. if you need help with that just poke me.

AND you have to find every instance of the avatar in the templates and replace it. The add-on would likely use the hook system? I forgot what I was doing... if you know how to do that you can skip ahead and do that lol XD
 
Top Bottom