The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
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. |
#2
|
|||
|
|||
I think you mean the 'header' & 'footer' templates.
AdminCP -> Styles & Templates -> Style Manager. |
#3
|
|||
|
|||
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) |
#4
|
|||
|
|||
Then you probably mean ./global.php
|
#5
|
|||
|
|||
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?
|
#6
|
|||
|
|||
PHP Code:
If you want to load something on every page then use the global_start hook location for a plugin... |
#7
|
|||
|
|||
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 ??? |
#8
|
|||
|
|||
Undo your changes and make use of the Plugin System use the global_start hook as I suggested above.
|
#9
|
|||
|
|||
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??? |
#10
|
||||
|
||||
You could try $vbulletin->db.
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|