Log in

View Full Version : Showing a Message to Usergroups


Mass
08-31-2008, 02:45 AM
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 won’t. Any ideas on how to do this?

SEOvB
08-31-2008, 03:01 AM
You can use the notices system, or use a if condtional in the template

Mass
08-31-2008, 03:04 AM
if condtional in the template

Thanks, can you tell me how to do that?

Dismounted
08-31-2008, 07:39 AM
<if condition="is_member_of($bbuserinfo, X, Y, Z)">You are a member of X, Y or Z</if>

Mass
08-31-2008, 10:24 AM
Thank you very much. That works perfect.