The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
![]()
when dealing with them, do their set UG num change? cuzz my site is run off of vb and we use usergroups to allow or disallow ppl to do certain things
works great when dealing with primary usergroups, but secondary just does want to work, is there a reason? Code:
if ($usergroup == $premid || $usergroup == $premidall){$bandlimit = $premlimit; $donateaccess = 1;} elseif ($usergroup == $silvid || $usergroup == $silvidall){$bandlimit = $silvlimit; $donateaccess = 1;} elseif ($usergroup == $platid || $usergroup == $platidall || $usergroup == 5 || $usergroup == 6 || $usergroup == 7 || $usergroup == 18 || $usergroup == 27 ) {$bandunlimited = 1; $donateaccess = 1; $platinumaccess=1; } if ($usergroup == 5 || $usergroup == 6 || $usergroup == 7 || $usergroup == 18 || $usergroup == 27) {$superuser=1;} if ($usergroup == 6 || $usergroup == 18) {$adminuser=1;} // Uncomment to give everyone iso access //$donateaccess = 1; ?> |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|