The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Auto Template Change Help
So since upgrading to vB 3.8.0 I've been recoding all of my hacks and template modifications to use plugins and I've ran into a bit of an issue. One of the little things that I do is remove the version number from public display, which requires a phrase edit/translation and editing the generator meta tag in the headinclude template.
After reading This, This and This, and making progress on my other mods, I ran into a problem where I can't get a change to take place in the headinclude template, no matter what hook I try. This is what I've been trying... PHP Code:
Also, is there a simple/easy/proper way to directly concatenate two templates together? |
#2
|
||||
|
||||
You should never-ever manipulate the tamplate cache.
Not only does this generate unnecessary overhead, it also causes a lot of problems for users who cache templates. Use template hooks instead if possible, if not just instruct the users to modify the templates by hand. |
#3
|
|||
|
|||
I know a few of the mods I currently have installed modify the template cache, and I was going from the articles. A few of the mods are solely for one of my boards, which I have several styles on, trying to make upgrading simpler.
So instead of modifying the template cache I should modify $headinclude, $header, $footer, etc if no hook exists? |
#4
|
||||
|
||||
Yes, that would be a lot better (performance wise).
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|