Quote:
Originally Posted by mrchu
In PostBit Templates - Postbit
Search for:
<if condition="$show['avatar']"><td class="alt2"><a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$avatarurl" alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a></td></if>
Underneath add:
<if condition="$avatarurl == null"><td class="alt2"><a href="member.php?$session[sessionurl]u=$post[userid]"><img src="INSERT URL TO NO AVATAR SELECTED IMAGE" border="0" /></a></td></if>
This will maintain the flow of your board, by displaying avatars for everybody, but for those that don't have one selected yet, they will get one such as
http://www.ru55ian.net/forum/html/avatars/noavatar.gif
This is my first (and best) bit of coding, I am an absolute NEWBIE so it'll be great if this is useful to anybody!!
|
*clicks install *
Hi all. I am having a bit of trouble with this one.

I run version 3.0.3.
I made the necessary changes to the code. But no default avatar symbol. (I used the one shown in this thread, uploaded as JPEG). I made sure all members had avatars enabled and selected "show avatar" in options. But no default avatar symbol.
Any ideas? Thanks.