![]() |
VB:IF quesiton concerning usergroupID
The users in my board are all in the primary group of registered member, and some are additional users of other groups.
I want to display certain graphic in the postbit for the members in the primary registered user usergroup, who are also additional members of the usergroup 10,11,12. For example, a user will be a primary user of group 2 ( registered users) and an additional user of group 10 ( or 11 or 12) So I put the following into the postbit template: <vb:if condition="in_array ($post[usergroupid], array(10,11,12))"> XXXX </vb:if> But that does not work. Does the statement not work on group ID of an additional user? |
Yes, use this:
Code:
<vb:if condition="is_member_of($post, 10, 11, 12)"> |
Thanks!
|
All times are GMT. The time now is 04:08 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:
|