View Single Post
  #3  
Old 30 Apr 2019, 01: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:

mynavtab

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.
Awesome!

Thank you,
JJ Smith
Reply With Quote