The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
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. |
#2
|
||||
|
||||
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:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|