View Full Version : Give Member without an Avatar a standardized avatar
VargTimmen
01-09-2009, 06:06 PM
Hi,
i looked for this in the ACP, the documentation, in the english and the german board, but i didn't find anything for this.
I want to give member without an own avatar an standardized avatar, e. g. the logo from the site. How can I manage this in vB 3.7? Or will I need a mod for this?
Greetings,
Benny
Bellardia
01-09-2009, 06:40 PM
You can do it in the themes for the postbit. postbit or postbit_legacy depending on which you use.
<if condition="$show['avatar']">
<td class="alt2"><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></td>
<else />
<td class="alt2">DEFAULT AVATAR</td>
</if>
dismas
01-09-2009, 06:44 PM
There are mods for it.
Search for avatar, all mods, titles only. About the 6th or 7th listing down. A couple different coders have released similar mods.
VargTimmen
01-09-2009, 07:15 PM
Big Thanks for your help!
Edit:
This solution works well, but it just replace the avatarspace with a picture. What I need is, that the system gives every avatarless user a avatar, so he has it in his profil.
How can I do that?
Greetings,
Benny
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.