![]() |
How does is_member_of() work?
How does the is_member_of function work?
I can't seem to get this code to work: PHP Code:
I would take a guess that the is_member_of() doesn't take userid parameters.. Thanks in advance. |
I'm also having problems with this function. James, did you ever figure this out?
--------------- Added [DATE]1280612775[/DATE] at [TIME]1280612775[/TIME] --------------- I just figured out my problem. I was trying to execute my code from within a custom function, but the function didn't have access to the $vbulletin variable. I did a global $vbulletin; at the beginning of the function to bring it into scope and my code started working fine. PHP Code:
|
All times are GMT. The time now is 12:58 AM. |
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:
|