![]() |
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! |
Code:
<vb:if condition="is_member_of($post, 1)"> |
All times are GMT. The time now is 11:47 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:
|