hmm im not sure why but maybe try to use a variable w/o array
ie $avatar
and are u sure $userinfo[avatar] is actually the avatar?
try this:
PHP Code:
$theavatar=getavatarurl($bbuserinfo[userid]);
if ($theavatar!='') {
eval("\$userinfo[avatar] = \"".gettemplate("postbit_avatar")."\";");
} else {
$theavatar = " ";
}
eval("\$userinfo[profile] = \"".gettemplate("postbit_profile")."\";");