![]() |
Show the Posters Primary and Secondary usergroups in Post Bit Legacy
I'm looking for how you can show the posters (NOT post reader's) primary and secondary usergroups in Post Bit Legacy
I see that I can show the primary usergroup like Code:
<vb:if condition="$post['usergroupid'] == 7">Show something based on posters primary user group</vb:if> What would I use in place of usergroupid if I wanted the condition to be based on checking both the primary and secondary user groups of the poster |
does that conditional not work?
|
In my testing it seems to only work for the posters Primary only.
I'm trying to get a display based off of the posters Primary and Secondary usergroups. |
Code:
<vb:if condition="is_member_of($post, 2, 5, 7 )">Do this if in group 2, 5 or 7</vb:if> |
Works perfectly, thank you so much!
Since I wanted to show something different on each line by usergroup I set mine up like this using your code where 7 was the primary user group and 26 was the secondary. Code:
<vb:if condition="is_member_of($post, 7 )"> |
All times are GMT. The time now is 11:19 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:
|