If this doesn't work:
Code:
$webspace_canuse_global = '6,7,18';
if (!is_member_of($vbulletin->userinfo, $webspace_canuse_global)) {
print_no_permission();
}else{
// do the script
Try this:
Code:
$webspace_canuse_global = '6,7,18';
if (!is_member_of($vbulletin->userinfo, explode(',', $webspace_canuse_global))) {
print_no_permission();
}else{
// do the script
--------------- Added [DATE]1433941567[/DATE] at [TIME]1433941567[/TIME] ---------------
Oh, and keep the numbers seperated by commas only. Not commas and spaces.