Not being able to look at any permissions code for the next day, im just curious:
Where are the permissions stored in vBulletin(the names like CANVIEW or CANADMINPANEL)?
And i would assume it would be as simple as adding a new permission with an id that is the sum +1 of all entries so far?
And to check if they have a permission to view the page it would be a simple -> if (CANCUSTOMPERM) { <user can use this code> } ??
Cheers
merk
Where are the permissions stored in vBulletin(the names like CANVIEW or CANADMINPANEL)?
And i would assume it would be as simple as adding a new permission with an id that is the sum +1 of all entries so far?
And to check if they have a permission to view the page it would be a simple -> if (CANCUSTOMPERM) { <user can use this code> } ??
Cheers
merk
Comment