Hiya
I love your hack, but I have a huge problem with it.
I'm using Vb2.2.8 and the noavatar isn't showing. I just get a red X. The guestavatar works perfectly. I checked the path multiple times and it is correct.
Here's my code
Please help me, someone
Code:
if ($bbuserinfo[userid]!=0) {
$avatarurl=getavatarurl($bbuserinfo[userid]);
if ($avatarurl=='') {
$avatarimage='<a href="usercp.php?s='.$session[sessionhash].'"><img src="images/avatars/noavatar.jpg" border="0"></a>';
}
$avatarimage='<img src="'.$avatarurl.'">';
} else {
$avatarimage='<a href="register.php?s='.$session[sessionhash].'&action=signup"><img src="images/avatars/guestavatar.jpg" border="0"></a>';
}