Ok, after you installed the above hack, do this.
Instead of this:
Code:
if ($checkavatar=$DB_site->query_first("SELECT filename FROM customavatar WHERE userid='$bbuserinfo[userid]'"))
$avatarurl='avatar.php?userid='.$bbuserinfo[userid];
else
$avatarurl='{imagesfolder}/noavatar.gif';
use ONLY this:
Code:
$avatarurl=getavatarurl($bbuserinfo[userid]);
if ($avatarurl=='')
$avatarurl='{imagesfolder}/noavatar.gif';
Next post will have the link you wanted.