The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
|||
|
|||
is_member_of issue, need some help
So I'm doing a really simple check to see if a member has a specific usergroup, but it's failing. Here's the code I'm using:
Code:
<if condition="is_member_of($vbulletin->userinfo, $vbulletin->options['gm_ugl_view_chars'])"> If the value contains only a single number, it works fine. If the value has more than one group, the condition fails for all groups. So, using "6" works fine, using "6, 15" fails. Seems to work ok if I hardcode the values 6, 15 however. So I'm not really sure where my problem is. Since this is an array, I'm not sure how to print out the value of $vbulletin->options['gm_ugl_view_chars'] to test it (even though the value is good in the settings). Thanks for your help! |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|