vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   first and last hooks (https://vborg.vbsupport.ru/showthread.php?t=220795)

testbot 08-13-2009 01:01 PM

first and last hooks
 
what are the very first and the very last hooks?

we're working on a load time plug-in like microstats but not nearly as detailed.

thanks!

Lynne 08-13-2009 02:14 PM

Turn on debug mode and take a look at the list of hooks called on the bottom of the page. The last hook called is going to be different for every page, although I would guess init_startup would be the first for most.

testbot 08-13-2009 02:36 PM

as always, thank you!

--------------- Added [DATE]1250195791[/DATE] at [TIME]1250195791[/TIME] ---------------

ya know that was the first time i ever turned debug on. i don't suppose there's a simple way to get just the load time info from debug w/o turning on debug?

i mean why reinvent the wheel right? i would use microstats but i won't edit the core code. i hate looking up changes we made when we do updates.

thanks!

--------------- Added [DATE]1250224857[/DATE] at [TIME]1250224857[/TIME] ---------------

oh, found this and it worked.
https://vborg.vbsupport.ru/showthread.php?t=82900


All times are GMT. The time now is 08:16 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01030 seconds
  • Memory Usage 1,711KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete