if(in_array($GLOBALS['forumid'], explode(',', $vbulletin->options['MY_OPTION_NAME']))) { Your Code Here }