The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Help - Plugin Option in Admincp
Hi All
i was wondering if there was a way in a vboption where you can change a plugins hook location from Hook Location : global_start to Hook Location : register_start so if they selected Global the plugin hook will change to global_start and if they selected Register it will change to register_start So the custom variable would be something like selectiped plugin_global__start|Global plugin_register__start|Registration Only I know this is a long shot but hoping this is possible |
#2
|
||||
|
||||
No, there is not, and what would it be good for? What could you achieve that is not equally possible by running it on global_start and then controlling what happens on seperate pages using a simple if-condition?
|
#3
|
|||
|
|||
Quote:
but optional for register_start both act in the same way accept that a) global_start will stop visitors if condition is true b ) register_start will block people registering iF condition is true so rather than a user changing the hook location in plugins manually i was wondering if it can be done in an admincp vboption within the product i have created |
#4
|
||||
|
||||
As I told you - you can simply achieve that using if conditions, no need to change plugin hooks. Use THIS_SCRIPT checks to either run it or don't, just as you need.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|