XF 2.2 Show Navigation tab only for specific usergroup?

DarkGizmo

Well-known member
Is it possible to show a specific navigation tab only for a specific usergroup or groups?

Example: A "Partners" tab only displayed for the Partners usergroup and staff?

Is this possible to achieve? If so, how is it done?
 
Is there a way to show a navigation link to only a single member?

ie: I am the admin and I want to make a custom menu only for me to see but it is also not intended for other admins.

So I don't want to specify a User group but a single member.

I tried:

$xf.visitor.isMember(x)
 
Top Bottom