How to vb:if a usergroup?
I'm trying to write a vb:if statement to check a usergroup and do one thing and if the usergroup isn't the one specified I want it to do something else.
I have the statement written correctly, the only issue is that I can't figure out the string to have it check a usergroup.
In vBulletin 3.x.x I wrote the statement with this string:
if condition="is_member_of($post, 1)"
That would check for the administrator usergroup, but under vb4 that string no longer works.
I'm wondering if anyone knows what the new string would be to check if a member is part of a specific usergroup?
--------------- Added [DATE]1259915131[/DATE] at [TIME]1259915131[/TIME] ---------------
Ahh nevermind, it does work the same still. I was missing a " in the statement! D'oh!
|