The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
What file can I include an include statement so that it displays on every single page?
|
|
#2
|
||||
|
||||
|
There are several templates that will do this -- navbar at the top and footer at the bottom come to mind...
|
|
#3
|
|||
|
|||
|
but can I include an include statement in a template? I didn't think I could
|
|
#4
|
||||
|
||||
|
What are you trying to accomplish?
|
|
#5
|
|||
|
|||
|
I need to include (like the php include_once) statement for my site stats program. It needs to be on every page.
|
|
#6
|
||||
|
||||
|
Ah.
That might be best served by adding a plugin to the hook global_complete or global_start. Take a look at the Microstats hack and see if that does what you are looking for -- where you can tap into it. It uses global_complete. https://vborg.vbsupport.ru/showthread.php?t=82900 |
|
#7
|
|||
|
|||
|
On most websites you have something like a header.php with the includes infomraiton. The header.php is on every page. I need something like that.
|
|
#8
|
||||
|
||||
|
See above...
There used to be a phpinclude_start that hooked into the header. It was replaced by the hook at global_start. |
|
#9
|
|||
|
|||
|
Thanks, I looks at the xml file for that hack..... I didn't even really know what those were. But I know php and changed the xml to do what I need it to do. Thanks christine
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|