The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Include PHP file in Footer?
Is there a simple way to include a php file in the footer of the forums?
Thanks |
#2
|
||||
|
||||
<?php include("file.php"); ?>
|
#3
|
|||
|
|||
Quote:
|
#4
|
||||
|
||||
you want a template to load up another template?
|
#5
|
|||
|
|||
Quote:
|
#6
|
||||
|
||||
hmm the include function should work then..
|
#7
|
|||
|
|||
Quote:
|
#8
|
||||
|
||||
I've been trying to get help on this as well and no one seems to care. =P You are not able to put php directly into the templates. You are given two options. Create a php file that calls for a template aka the footer. Or you may create a plug-in that you'd put before or after the footer. I can't go too far into detail, but maybe that'll help you a little bit. I'm trying to put php into my header, but I'm not doing so well.
|
#9
|
||||
|
||||
Try hook: global_start
PHP Code:
[ I'm not sure if this is the correct hook, but it should work ] |
#10
|
||||
|
||||
What exactly would I specify in the template then? How would I call for it?
I'm confused. I made a plugin with what you gave. I changed the source appropriately. Then what do I put in my header template to call for that hook? Do I need to create a new template? Please be detailed in your answer. I'd really appreciate it. |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|