![]() |
Where are the PHP header and footer of vBulletin
Hey All,
I need to find the header and footer functions/files of the vBulletin forum system. Does anyone know where those are located? Thanks. |
I think you mean the 'header' & 'footer' templates.
AdminCP -> Styles & Templates -> Style Manager. |
What I mean is -
I need to load a PHP function everytime a page is loaded on my vBulletin forum - that is why I need to know where is the php file that is being loaded every time and retrives the header and the footer (retrieves the styles) |
Then you probably mean ./global.php
|
Yes, Maybe global.php is where those header and footer are - but do you have ANY idea what functions are being called for loading the header and footer?
|
PHP Code:
If you want to load something on every page then use the global_start hook location for a plugin... |
Thank you, you are right I found the header at init.php
Now I have a different problem - since I edited some things at the init.php file - I got a message on my control pannel : "Crack attempt detected. Your ip ... loggen and notify sent to our security department"... - Why ??? |
Undo your changes and make use of the Plugin System use the global_start hook as I suggested above.
|
Hey again,
Now a new problem just popped up - my system uses a $db variable too for my database management. Since the vBulletin uses a $db var too - it makes the system go crazy! Is there's ANY way to change the $db var of vBulletin for a different name? (I can't change mine since ALL of my web system uses that var)... Any Suggestions to solve that problem??? |
You could try $vbulletin->db.
|
All times are GMT. The time now is 05:26 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|