The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Disabling mod per usergroup
In my experience this is easily accomplished with a setting in admincp, and a conditional on every hook checking to see if the current user is in the appropriate usergroup. However, ideally, I'd like to turn this off centrally for the user's entire session. In other words, is there a way to disable a product as you would from the product manager, without having to wrap every single hook in a conditional?
|
#2
|
|||
|
|||
No, because the way the hooks work is that all the code to be executed on any given hook (from all active products) is built into one piece of code ahead of time. When you disable a product, the code for each hook is rebuilt to include only the active products.
|
#3
|
|||
|
|||
Understood, thanks.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|