Mickie D
06-10-2015, 10:35 AM
Hi all,
I have a fairly simple question, I have tried numerous ways of doing this with out much luck
Writing a basic modification for my site and it uses vbulletin usergroup permissions to access it.
I wanted to do something like this but it does not work
$webspace_canuse_global = '6, 7, 18';
if (!is_member_of($vbulletin->userinfo, $webspace_canuse_global)) {
print_no_permission();
}else{
// do the script
It works if I put the 6,7,18 in place of the variable, what am i doing wrong...
I am going to make a backend that uses SQL in the future so the variable will end up being a call to the database...
I have a fairly simple question, I have tried numerous ways of doing this with out much luck
Writing a basic modification for my site and it uses vbulletin usergroup permissions to access it.
I wanted to do something like this but it does not work
$webspace_canuse_global = '6, 7, 18';
if (!is_member_of($vbulletin->userinfo, $webspace_canuse_global)) {
print_no_permission();
}else{
// do the script
It works if I put the 6,7,18 in place of the variable, what am i doing wrong...
I am going to make a backend that uses SQL in the future so the variable will end up being a call to the database...