The Arcive of vBulletin Modifications Site. |
|
Using Usergroup permissions in external files Details »»
|
|||||||||||||||||||||||||
I'm trying to create some pages for my moderators to use.
I know how to check to make sure the user is logged in. How do I then only grant access to a usergroup? Or a particular user? Or a couple of users? Show Your Support
|
|||||||||||||||||||||||||
| Comments |
|
#2
|
||||
|
||||
|
Code:
if ($bbuserinfo['usergroupid'] == 2) {
// blabla
}
|
|
#3
|
||||
|
||||
|
And then I guess
PHP Code:
|
![]() |
|
|