The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#2
|
|||
|
|||
![]()
If you have a usergroupid and you want to check it, you could do this:
Code:
if (in_array($usergroupid, array(1, 2, 3, 4))) { // do redirect } Or to check the current user you could do this: Code:
if (is_member_of($vbulletin->userinfo, 1, 2, 3, 4)) { // do redirect } Of course you could also use !is_member_of and only list the usergorups that should have access, if that's easier. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|