Showgroups with Avatars
Search in the template showgroups_usergroupbit
Code:
<td class="$bgclass">$user[onlinestatus]> Code:
<br /> <if condition="$vbulletin->options['usefileavatar']"> <if condition="$user['avatarrevision']"><img src="$vboptions[avatarurl]/avatar$user[userid]_$user[avatarrevision].gif" title="$user[username]'s Avatar" alt="Avatar" border="0" /></if> <else /> <img src="image.php?u=$user[userid]&dateline=$avatar[dateline]" title="$user[username]'s Avatar" alt="Avatar" border="0" /> </if> Product and template edits will be included automatically then. It will look like: http://www.2-wheel-planet.de/forumleaders.html For people how want to have a fixed avatar width: Code:
<br /> <if condition="$vbulletin->options['usefileavatar']"> <if condition="$user['avatarrevision']"><img src="$vboptions[avatarurl]/avatar$user[userid]_$user[avatarrevision].gif" title="$user[username]'s Avatar" alt="Avatar" border="0" width="XX" /></if> <else /> <img src="image.php?u=$user[userid]&dateline=$avatar[dateline]" title="$user[username]'s Avatar" alt="Avatar" border="0" width="XX" /> </if> The attached product is without this fixed width! But this is only neccessary if you allow for example your moderators another size for their avatars than your administrators have. Matthias Download
product-showgroups1.xml (1.9 KB, 91 downloads) |