Hello,
Currently this is the code I have in one of my plugins:
Code:
if (!in_array($vbulletin->userinfo['usergroupid'], array(5,6,12))) print_no_permission();
Currently, from my tests I can see that it's only checking the user's primary usergroup. How can I make it so it checks their additional usergroups as well?
Thank you!
Also, does vBulletin have some sort of IRC channel for quick questions like this?