if ($bbuserinfo['styleid'] == 23 AND $bbuserinfo['usergroupid'] != 7) { ----- this one is line 266 $styleid = $vboptions['styleid']; } else { // style specified in user profile $styleid = $bbuserinfo['styleid']; }