The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
hook list
hello,
I have a question about hooks system. When I make a new post - the first hook on its roads is init_startup. but, in this hook (init_startup) this value - $stylevar['charset'] is not set yet (is empty in this hook), so can you show me the next hook with this value setted? (when somebody make a new post). May be you have a full list of hooks with make order. Thanks --------------- Added [DATE]1291819628[/DATE] at [TIME]1291819628[/TIME] --------------- hello, somebody know? please help me. first hook is init_startup, can you write here the name of the next hook |
#2
|
|||
|
|||
I don't know what the next hook is, but looking at the code in global.php it looks like the global_start hook is called right after $stylevar is set.
|
#3
|
||||
|
||||
If you want to see the list of hooks called in order on a page, go into debug mode on your test site (not live, since this shows to everyone).
Insert into config.php someplace in the middle: PHP Code:
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|