<if condition="$show['avatar']"><!-- check for staff --><if condition="$post['isstaffbackavatar']"><if condition="$post['staffbackavatar']"><!-- I am staff so do this --><div class="smallfont"> <br /><table cellpadding="4" cellspacing="0" border="0" width="175" height="70" align="center" background="$post[staffbackavatar]" nowrap="nowrap" no-repeat><tr><td width="48%"> </td><td><img src="$post[avatarurl]" height="60" width="60" align="center"></td></tr></table></div><else /><!-- I am not staff so do this --><div class="smallfont"> <br /><a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$post[avatarurl]" $post[avwidth] $post[avheight] alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a></div></if><else /><!-- I am not staff so do this --><div class="smallfont"> <br /><a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$post[avatarurl]" $post[avwidth] $post[avheight] alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a></div></if></if>
<if condition="$prepared['avatarurl']"><!-- check for staff --><if condition="$userinfo['staffbackavatar']"><!-- I am staff so do this --><if condition="$userinfo['isstaffbackavatar']"><tr valign="top"><table cellpadding="4" cellspacing="0" border="0" width="175" height="70" align="center" background="$userinfo[staffbackavatar]" nowrap="nowrap" no-repeat><tr><td width="48%"> </td><td><img src="$userinfo[avatarurl]" height="60" width="60" align="center"></td></tr></table></tr><else /><!-- I am not staff so do this --><td><img src="$prepared[avatarurl]" alt="<phrase 1="$prepared[username]">$vbphrase[xs_avatar]</phrase>" $prepared[avatarsize] class="alt2" id="user_avatar" /></td></if><else /><!-- I am not staff so do this --><td><img src="$prepared[avatarurl]" alt="<phrase 1="$prepared[username]">$vbphrase[xs_avatar]</phrase>" $prepared[avatarsize] class="alt2" id="user_avatar" /></td></if></if>
If you need one staff background avatar:
NOTE: Staff Background Avatars are automatically resized to 175x70 to fit the badge correctly, so nothing needs to be changed in the templates.
NOTE: Staff Avatars are automatically resized to 60x60 to fit the badge correctly, so nothing needs to be changed in the templates.
You are done, please click install if you use this.
Does anyone have some good backround pics? The one that he gave an as example is ok. But just not for me.. So if you have some can you post them? Please and thank you.
Does anyone have some good backround pics? The one that he gave an as example is ok. But just not for me.. So if you have some can you post them? Please and thank you.
here are some staff avatar backgrounds I have made
Quote:
Originally Posted by Tolas
Nice!
This works the same with the New Post bits as well?
yes it does work
Quote:
Originally Posted by Derekclarke
I have just installed.
Gone into my profile in Admin CP, and enabled the logo.
put the web url to the background logo in the box...
I love this modification. And I love the style of the avatars. But can you make a staff background avatar for moderators, because I want to give them a background with moderator in it.
Or is it possible to post the sourcefile of these images? (eg PSD or EPS).