PDA

View Full Version : popup menu question


InfinityRogue
09-10-2009, 03:02 AM
Hope I got the right forum. I've noticed that the code for showing certain buttons in the navbar to registered users use $show['member'].

I have created a couple of user groups called Admin, Head Admin, and Owner. What I would like to do, is create a button that these 3 groups can see only. Not regular registered members. What is the code for this? Or do I use some code for certain levels above registered users?

So, basically, is there a code instead of $show['member'] that enables this button for certain user groups?

Lynne
09-10-2009, 03:54 AM
<if condition="is_member_of($bbuserinfo, x, y, z)">
Stuff for usergroups x, y, and z to see
</if>