View Single Post
Old 30 Apr 2019, 00:23
I.G.O.T.A.'s Avatar
I.G.O.T.A. I.G.O.T.A. is offline
Join Date: Mar 2011
Real name: JJ Smith
Originally Posted by MarkFL View Post
If you want specific usergroups only to see a navbar tab, then create a plugin hooked at "gloabl_bootstrap_init_complete" with code like this:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Where I have "groupid1, groupid2, ..." you want to put the comma delimited list of usergroups by id that you want to have access to the tab.

And then in the Navigation Manager, in the field labeled "Show Permission Name" put:


You should use your own name for "mynavtab" that indicates the nature of the tab. Make sure they are the same in the plugin and in the Navigation Manager.

Thank you,
JJ Smith
Reply With Quote