XF 2.1 Public Navigation

Seeker-Smith

Well-known member
I'd like to set one of my nav button for a specific usergroup. Is that possible.

I see this "Display condition This should be entered as a template-style" expression. I'm not sure what goes in here.
 
Code:
$xf.visitor.isMemberOf([1])

Where 1 is the group ID.

You can check the group ID in the ACP - look in the browser address bar when editing the group.
 
I don't think I can do what I want. I want to show a nav button to usergroup 2 (registered) if or once they upgrade to upgroup 54 then I don't want this button but I want another. The problem I see is all members or part of usergroup 2.
 
Back
Top Bottom