![]() |
Secondary Usergroup Permissions?
I have the following permission on one of my mods: "Can moderate comments".
I check this permission in my mod using the following line of code: Code:
$perms['modcomments'] = ($permissions['medialibmodperms'] & $vbulletin->bf_ugp_medialibmodperms['canmodcomm']); |
Primary always overrules the secondary, unless you check can have membergroups, then the permissions from the secondary are incorporated in with the primary.
Usergroup Options Allow Users to have Member Groups (Sets whether or not permissions from the user's member (secondary) user group memberships are inherited or not) a yes means they can and the secondary usergroups permissions are allowed. |
Thanks man... that fixed it.
|
All times are GMT. The time now is 11:13 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|