The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
[SOLVED]quick (hopefully easy) question
if i make a plugin at global start execution 1
and another at global complete execution 999 would that be the absolute first and last things triggered or do i need to use a different hook? |
#2
|
|||
|
|||
I took a quick look at the code, but it seems that init_startup is the first hook that's called and the last hook called is global_complete. (If print_output is called)
Any script first includes global.php, which then includes /includes/init.php which contains the call to init_startup, after the database connection. |
Благодарность от: | ||
Dr.CustUmz |
#3
|
||||
|
||||
Thanks Dave,
So would it be best to place Code:
$PagLoadStartTime = microtime(TRUE); Code:
$PagLoadStopTime = microtime(TRUE); |
#4
|
|||
|
|||
Yes, although ideally it's placed on top of global.php, but that way it's hardcoded so init_startup would be your best option.
|
#5
|
||||
|
||||
thanks again, anything further would be off this topic so Ill make a new thread if needed =) 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:
|