![]() |
function to check if user is in a certain group
Hi,
I'm currently integrating a site and vBulletin. I'm currently able to access the $vbulletin variable, where i can find most of the data needed. However, I was wondering if there already were some functions defined for certain things. For access to some pages i need to know if a user is member of a certain group, but not necessarily his Primary Group. I know i can manually check this, but it seems to me that this code must have already been written in vbulletin. Is there a function like i need? Where can i find more info about it. Is there some API documentation or someting alike. Thanks, Tom |
is_member_of($userinfo, $usergroups)
|
All times are GMT. The time now is 09:29 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:
|