2012-10-13, 03:44 PM
Well, you need to have template conditionals installed, but it works like this:
and you put that where you want an avatar in postbit and xxxx.jpg is the link to the default avatar image
<if $post['avatar'] then>
{$post['useravatar']}
<else>
<img src="{$mybb->settings['bburl']}/images/avatars/xxxx.jpg" alt="avatar" height="70px" width="70px" />
</if>
and you put that where you want an avatar in postbit and xxxx.jpg is the link to the default avatar image