PDA

View Full Version : Page Render and vBulletin Hooks


oldstinger
04-14-2011, 03:46 PM
Which vbulletin hook(s) is called before every page render? The hook global_start appears to be called after a page render.

Lynne
04-14-2011, 03:59 PM
Go into debug mode (there is an article on this) and then you will get a list of all the hooks called on the page in the order in which they are called.

oldstinger
04-14-2011, 06:17 PM
Lynne, that was helpful! Thanks! Tried the hooks before global_start and some had a undesirable result.

Lynne
04-14-2011, 09:10 PM
Tried the hooks before global_start and some had a undesirable result.
Yes, that can happen. You should always make sure you find the hook in the code before using it to make sure you are using the correct syntax for your variables.