![]() |
Postbit secondary usergroup conditional
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)"> |
All times are GMT. The time now is 04:57 AM. |
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:
|