require_once('./includes/functions_user.php'); $avatarurl = fetch_avatar_url($bbuserinfo['userid']); if (!$avatarurl) { $avatarurl = $stylevar['imgdir_misc'] . '/noavatar.gif'; } else { $avatarurl = $vboptions['bburl'] . '/' . $avatarurl; } $userstats = unserialize($datastore['userstats']); $newusername = $userstats['newusername'];