Quote:
Originally Posted by trainer
how do you allow specific usergroups access? i don't see the option
|
Taken from the instructions ;
Code:
// Edit the cases below to set permissions for different vBulletin usergroups //
function getRoles($usergroupid) {
switch($usergroupid) {
case 5:
case 6:
return ROLE_ADMIN; // Chat Staff //
case 2:
case 7:
case 8:
return ROLE_USER; // Allowed Users //
default:
return ROLE_NOBODY; // Banned Users (everyone else) //
}
}