The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
newbie- edited templates, mods and upgrades
1) If templates like FORUMHOME and navbar have been edited in a template do they revert when performing an upgrade? Or are template edits stored in a style, thus in the database? Basically, if half of the navbar code has been deleted, recoded and then an upgrade from say 3.8.1 to 3.8.6 is performed...will all the custom coding be reverted or broken?
2) Is there a preference in the VB programming community to perform template modifcations via a mod script, or just dive into the individual templates and start hacking? For changing basics like navigation, rearringing the default page layout for things like albums and posts, etc., if we aren't looking to distribute a package to the community, just work on our particular site, is there a preferred way of making changes? Any input really appreciated! doob |
#2
|
||||
|
||||
1. If you edit a template in a style, it stays edited in an upgrade. It does not get reverted. It also may not get upgraded automatically depending on how much you edited it.
2. Users who aren't comfortable doing edits will want automatic template edits. Those aren't always easy to write or easy to keep valid version to version. Do what is easiest for yourself. |
#3
|
|||
|
|||
We are removing or commenting out a fair amount of code as well.
I took a look at another thread relating to "Automatic Edits" and it looks like the 2 options are 1) just go ahead and make edits to the php and html directly in the templates 2) create plugins for every bit of code you want to insert and then place the plugin name (something like: $plugin) into the appropriate portion of the templates code to call on it. I don't see how option 2 is universally usefull if the modifications include both adding as well as removing original code. How would you use a plugin to delete or comment out a section of code in a template? Also how would you define a "hook". Thanks again Lynn. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|