The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Postbit_legacy display problem
This isn't a design question, but I recently upgraded to 3.7.0 and my postbit_legacy template has disappeared. When I try to modify the template it reloads and shows up blank.
Even if i open the column in phpmysql and replace it then reload it is unsuccessful with the change. Is there something I need to modify in this postbit to get it to run in 3.7? postbit_legacy posted on pastebin as it's too long-> http://paste2.org/p/31938 |
#2
|
||||
|
||||
It is very, very long. Have you tried saving just half of it and seeing if that works? Maybe the thing to do is replace some of that stuff with a custom template hook (or use one already available) and put a bunch of the stuff in it's own template and call it from a plugin.
|
#3
|
|||
|
|||
I think you're right. Could you just briefly tell me how to do that, or point me to somewhere that can show me?
|
#4
|
||||
|
||||
Look in the template for something that looks like "$template_hook[somename]". If it is located where you want to add some text, great. If not, you can input something into the template in that format "$template_hook[yourname]". Then, create a template, your_template, and put in the contents you want to enter there. Then, create a plugin that uses a hook on that page and in that plugin just put
PHP Code:
(I could have sworn I saw a good article on this, but right now all I'm finding is this: Template Hook ) |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|