PDA

View Full Version : Widget visible to all but one group?


Scitz0
03-01-2011, 09:40 AM
Hi,

I have created a static html widget that I want to be visible for everyone except one group.
To solve this I guess I have to create a new template with the same info as vbcms_widget_static_page and then add some if statement around it all to get it to show as I want?

The the question is, how does this if statement look like?
I have never coded vb so I'm very green.

Thanks
Ola

Lynne
03-01-2011, 03:50 PM
<vb:if condition="is_member_of($bbuserinfo, x,y,z)">stuff</vb:if>

Scitz0
03-01-2011, 08:22 PM
Thanks, worked like a charm :D