if (in_array($foruminfo['forumid'], array(57, 167, 168)) AND $vbulletin->userinfo['hsa'] != 'YES'){ // error message}