The Arcive of vBulletin Modifications Site. |
|
|
#1
|
||||
|
||||
|
I cant get the function to determine if the member is in one of the groups or not.
I know its something stupid but ... PHP Code:
It works with .... PHP Code:
|
|
#2
|
||||
|
||||
|
This should work:
Code:
if (!is_member_of($vbulletin->userinfo, 5, 6, 7))
{
// not a member of those groups
}
|
|
#3
|
||||
|
||||
|
Cool, it worked. Thanks
![]() But what does "$vbulletin->userinfo" do? I'm new to php
|
|
#4
|
||||
|
||||
|
Just think of it as a variable. $vbulletin is an object, and userinfo is a property of that object.
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|