The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
Hi, I have a question. I would like to show a message only to 5 user groups and exclude 2 other user groups from viewing the message. So only 5 user groups will see this message and the other 2 wont. Any ideas on how to do this?
|
|
#2
|
||||
|
||||
|
You can use the notices system, or use a if condtional in the template
|
|
#3
|
|||
|
|||
|
Thanks, can you tell me how to do that?
|
|
#4
|
||||
|
||||
|
Code:
<if condition="is_member_of($bbuserinfo, X, Y, Z)">You are a member of X, Y or Z</if> |
|
#5
|
|||
|
|||
|
Thank you very much. That works perfect.
|
![]() |
|
|