The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
vb user permession on a non vb page
i'm wondering if someone could assist me in getting vb permession to run on a non-vb page. anyone know how i would go about doing this.
thanks let me add, i am using the version 3.5 rc |
#2
|
|||
|
|||
Include your global.php and use $vbulletin->$useroptions('usergroup') confitionals for permissions.
|
#3
|
|||
|
|||
how would i set up $vbulletin->$useroptions('usergroup') confitionals, if that make sense?
|
#4
|
||||
|
||||
It's actually $vbulletin->userinfo['usergroupid'] (for Primary Usergroup) and $vbulletin->userinfo['membergroupids'] (for Additional Usergroups).
If you just want to check if a User as a member of a given Usergroup: PHP Code:
PHP Code:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|