Quote:
Originally Posted by kh99
That would work for checking 6 but not 7. What you'd want is this:
PHP Code:
if ($vbulletin->userinfo['usergroupid'] != 6 AND $vbulletin->userinfo['usergroupid'] != 7)
Oh, and in my post above I forgot that you were checking for !=, so you'd of course want to use !in_array() and !is_memebr_of().
|
brilliant KH99, Yes I know that != means does not equal
I really wanted to like your post lol, but it wont let me because i liked a post of yours 6 months ago.
Also just out of curiosity why does this work
PHP Code:
if ($vbulletin->userinfo['usergroupid'] != 6 AND $vbulletin->userinfo['usergroupid'] != 7)
but this does not?
PHP Code:
if ($vbulletin->userinfo['usergroupid'] != 6 AND 7)
Thank you KH99