The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Plugins - how they work
When I add a plugin to my board, do they modify the templates? Is this normally permanent or do they uninstall cleanly?
I'm curious because I like the idea of testing some plugins but not if they are a one way street! Thanks, Jon |
#2
|
||||
|
||||
plugins are not editing the templates that are stored in the database, they are editing the cached content that will be displayed to the visitor only... so it is safe to use a plugin that add things to the screen.
|
#3
|
|||
|
|||
Are plugins and products the same thing? Newbie questions I know!
|
#4
|
||||
|
||||
plugins are wrapped into product files... you can have multiple plugins into one product file... the product name identify the bundle...
|
#5
|
|||
|
|||
Ok, that makes sense. So they hierachy is Products>(potneially) multiple plugins
That brings up a rather important question for me. Since the plugins are showing cached content, does that mean when I go to customize a template, the plugin may overide that code and therefore ignoring my modifications or additional html/javascript? |
#6
|
||||
|
||||
Plugins and templates work together to create the page being viewed. I think of plugins kind of as the "back end" and templates more of the "front end."
If a plugin looks for specific data on a template that it will modify (called an automatic template edit) then editing the template and altering that data could well prevent the plugin from working as intended. If the plugin relies on a template hook to display data on a template then remove the hook would prevent the plugin from working. But in most cases editing a template does not affect the plugins. |
#7
|
|||
|
|||
Great explanation and a big thank you. This helps because I want to edit the register.php page, but I will probably use a plugin so that the DOB/rules/details are all on one page, rather than spread over 3. At least I know that if I test a plugin, it won't permanently alter the register.php template in case I need to revert back.
|
#8
|
||||
|
||||
That's right, you can always disable a plugin and any changes will be undone on the next page load.
On the other hand you can also always "Revert" a template back to the VB stock version thereby undoing any changes made to it as well. And as a last ditch scenario if somehow you made a plugin preventing you from logging into the admin cp- you can disable all plugins via config.php file as described here: https://www.vbulletin.com/forum/show...ystem-globally |
#9
|
|||
|
|||
Good advice - thanks BidOPrey5!
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|