Log in

View Full Version : IF Condition Question - To ONLY Apply to ONE User Group


NashChristian
05-31-2008, 03:13 AM
What is the correct syntax for an IF condition, to ONLY apply to ONE specific user group?

Thanks!
Jeff

veenuisthebest
05-31-2008, 03:20 AM
<if condition="is_member_of($vbulletin->userinfo, X)"></if>

where X is the usergroup ID

NashChristian
05-31-2008, 03:56 AM
Thanks!