![]() |
is_member_of
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:
|
This should work:
Code:
if (!is_member_of($vbulletin->userinfo, 5, 6, 7)) |
Cool, it worked. Thanks :)
But what does "$vbulletin->userinfo" do? I'm new to php :( |
Just think of it as a variable. $vbulletin is an object, and userinfo is a property of that object.
|
All times are GMT. The time now is 04:43 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:
|