To make the link you wanted, after you installed the above hack, do this.
Instead of this:
Code:
$avatarurl=getavatarurl($bbuserinfo[userid]);
if ($avatarurl=='')
$avatarurl='{imagesfolder}/noavatar.gif';
use this:
Code:
$avatarurl=getavatarurl($bbuserinfo[userid]);
if ($avatarurl=='')
$avatarurl='{imagesfolder}/noavatar.gif';
$avatarimage='<img src="'.$avatarurl.'">';
AND instead of this:
Code:
$avatarurl='{imagesfolder}/guestavatar.gif';
use this:
Code:
$avatarimage='<a href="register.php?s='.$session[sessionhash].'&action=signup"><img src="{imagesfolder}/guestavatar.gif"></a>';
Now in the template, use this:
and NOT this:
Code:
<img src="$avatarurl">