View Full Version : conditional tabs
ohadpartuck
09-11-2012, 01:07 PM
Hi,
I have added a vbnav Tab (plugin). I want it to be visible to all fourum users (even unregistered) but I want the links on to be clickable only to a certain group(users group).
How do I hack this?
Lynne
09-11-2012, 03:05 PM
You could write a plugin and set $show[something_here] to true for certain usergroups and then enter the show variable name under the "Show Permission Name" setting.
ohadpartuck
09-12-2012, 07:46 AM
Hi Lynne,
Are you suggesting to write a plugin to be combined with vbnav Tab plugin?
or a new tab all together?
what is "Show Permission Name" setting?
Lynne
09-12-2012, 06:31 PM
I am suggestion you write a plugin that sets the value for a $show variable which you may then enter in Show Permission Name.
Like if you set $show[this] to true (1) based on certain conditions, then you would enter "this" for the Show Permission Name and then the tab would show if $show[this] is true.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.