Code:
if ($vbulletin->userinfo['usergroupid'] !== 8)
why 8??
Quote:
Originally Posted by sabret00the
that method works so i'd go with it.
alternatively
PHP Code:
if (in_array($vbulletin->userinfo['usergroupid'], array(6, XX, XX))
i'd really suggest going with your current method though.
|
Btw tried it and not working...i want the admin and supmods to have the permission to view the comments (usergroup id: 5,6)