The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Hello,
I'm coding a lil mod that have some code which have to be run before any script of vB3. Which file I have to insert the include line? config.php? global.php? init.php? Copy directly from my question @ vBulletin.com. Thanks... |
#2
|
||||
|
||||
![]()
why not phpinclude_start template?
|
#3
|
|||
|
|||
![]()
No, this mod have to be run as soon as possible when vBulletin start. The code is ready, waiting to be insert somewhere
![]() Well, I mean as soon as possible, it can be include anywhere, but it won't do its work. I decided to put it at the start of init.php file, if you know any file that running sooner that it, please tell me, I'll update the mod. I'm releasing it, take a look at the mods section. |
#4
|
||||
|
||||
![]()
well, just look at the call of init.php
init.php is called from global.php so global.php is of course running sooner than init.php. But as the call for init.php is the first thing global.php does, init.php is working as well, without a difference ![]() |
#5
|
|||
|
|||
![]()
Thanks, I released the hack here, take a look and see if you can make it better
![]() https://vborg.vbsupport.ru/showthread.php?t=63137 |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|