I'm trying to display some text and images beneath the members' name in the postbit template but I can't get it to work.
For example, I have a member that is in usergroup 2 as their primary, and usergroup 9 as secondary. I tried this:
<if condition="is_member_of($vbulletin->userinfo['usergroupid'], 9)">
But it doesn't work. I only want to show the custom text and images if the member is part of the SECONDARY usergroup, I don't care about the primary.
I've been searching around and it seems like that code would do the trick but it's not

Any ideas? Thanks.
Nevermind, I figured it out. This is what worked for me:
<if condition="is_member_of($post, 9)">