Thanks for the bit bro, but I would like to fix the code just a little bit more to make it perfect. Currently, the default avatars are not linking to the profile. Use this one instead:
Code:
<vb:if condition="$show['avatar']">
<a class="postuseravatarlink" href="{vb:link member, {vb:raw post}}">
<vb:if condition="$post.avatarurl">
<img src="{vb:raw post.avatarurl}" alt="{vb:rawphrase xs_avatar, {vb:raw post.username}}" />
</vb:if>
</a>
<vb:else />
<img class="postuseravatarlink" align="left" src="{vb:stylevar imgdir_misc}/avatar.png" alt="{vb:rawphrase xs_avatar, {vb:raw post.username}}" />
</vb:if>