jerrydoe
Member
Hello,
I need to show a navigation tab to only certain groups. In the navigation area I am doing this:
$xf.visitor.isMemberOf(1) <where group one is the group to show it to. This works.
BUT
The problem is that all the users are in this group and I am using the "secondary user groups" check boxes to determine user groups. How can I define who sees the menu tab based upon second user groups?
Thanks![2022-02-25_11-48-55.webp 2022-02-25_11-48-55.webp](https://xenforo.com/community/data/attachments/264/264583-dc2326bb0b2deb401b866f19fe5f044c.jpg?hash=3CMmuwst60)
I need to show a navigation tab to only certain groups. In the navigation area I am doing this:
$xf.visitor.isMemberOf(1) <where group one is the group to show it to. This works.
BUT
The problem is that all the users are in this group and I am using the "secondary user groups" check boxes to determine user groups. How can I define who sees the menu tab based upon second user groups?
Thanks
![2022-02-25_11-48-55.webp 2022-02-25_11-48-55.webp](https://xenforo.com/community/data/attachments/264/264583-dc2326bb0b2deb401b866f19fe5f044c.jpg?hash=3CMmuwst60)