The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Disable mods per template
OK this may be simple to some but i have installed a new template
I want disable some mods for this template ONLY How do i go about this ? Many thanks in advance |
#2
|
||||
|
||||
If the mod has an on/off switch, then you can write a plugin to turn off the mod when using styleid xx. You can use the hook location style_fetch for that. If the mod doesn't have an on/off switch, then you will need to put a condition around the modification plugins themselves to turn them off for styleid xx.
|
#3
|
||||
|
||||
Quote:
Too compliacted for me but will keep looking |
#4
|
||||
|
||||
Um, well, example.
You look in the options and see this: Do you wish to enable This Example Mod? yes no You look in the page source (or the product code) and see the name of this option is "example_mod_switch", or $vbulletin->options['example_mod_switch'] Then you plugin would just be something like: PHP Code:
|
#5
|
|||
|
|||
To expand on this i was wondering if there was any way to turn off the whole plugin/hooks system on a specific style.
So basically only core vbulletin will be running. This sounds great for a mobile style. Is this possible? |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|