![]() |
Show Permission
While looking and editing the Nav bar, i came across:
This determines which variable(s) in the vBulletin $show array will be used to decide if the element should be displayed. For instance 'member' means it will only display if $show['member'] is true. Multiple variables can be specified by joining them with a dot. All of them must then be true for the element to display. Does this mean i could limit who sees the articles/blog based on their user group? And if so, does that mean only they can see the button or could everyone see it but just not access the content? Thanks |
You *could* use that feature to control which usergroups can see the Article or Blog tabs, if there were a $show variable that was either true or false. You'd need a plugin to check a user's group and set a variable in $show.
But that only controls the display of the tabs or other navigation elements. It wouldn't stop a user from going there if there's a link somewhere else (or if they know the url). |
Thanks for the info :)
|
you would add our plugin and use the hook location
Code:
load_show_variables Code:
if (is_member_of(vB::$vbulletin->userinfo, 6, 7, 2, 5)) HTH |
All times are GMT. The time now is 05:28 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|