Log in

View Full Version : CP Nav Permisions


CSGCarl
06-17-2007, 08:49 PM
Hello there,

I'm adding a few things to the cp and I would like to add so that the user group 'staff' can see it how do I go about doing this?

Any help would be great.
Carl

da420
06-17-2007, 09:49 PM
You can simply wrap the code in this conditional.

'XX' being the Usergroup ID.

<if condition="is_member_of($bbuserinfo, XX)">
Code here, etc
</if>

CSGCarl
06-18-2007, 10:24 AM
Thanks alot da430.

Hey just tried it in the cpnav_vbulletin.xml but it never worked..

<if condition="is_member_of($bbuserinfo, 10)">test</if>

CSGCarl
06-22-2007, 05:29 PM
Can any one help me with this and what I need to do please?

BTW this is for the side menu so if I added an extra menu how do I show it to one group

Carl