![]() |
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 |
Include your global.php and use $vbulletin->$useroptions('usergroup') confitionals for permissions.
|
how would i set up $vbulletin->$useroptions('usergroup') confitionals, if that make sense?
|
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:
|
All times are GMT. The time now is 05:02 PM. |
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:
|