vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin Pre-Sales Questions (https://vborg.vbsupport.ru/forumdisplay.php?f=26)
-   -   List of hooks? (https://vborg.vbsupport.ru/showthread.php?t=183058)

personman 06-20-2008 12:53 PM

List of hooks?
 
I haven't bought vBulletin yet because I'm not sure if the plugin hook system can do everything that I'll require. Is there a list of hooks somewhere? I know that I can always modify the core to add more hooks, but I'd like to know which ones come standard so I can see what's possible with a plugin. Is there such a list?

Thanks,
Danny

Opserty 06-20-2008 01:03 PM

There is no full list of hooks as far as I know, however all the hooks are listed in the AdminCP. The names of the hooks would most likely be meaningless without the code that goes around them e.t.c.

It might be easier to tell us what you wanted to do and then maybe we can tell you if it possible using just the plugin system.

Boofo 06-20-2008 01:45 PM

The hooks XML file would give you an idea of what hooks are available.

Opserty 06-20-2008 03:29 PM

One would presume he does not have the hooks' XML file, being as he has yet to purchase the software. ;)

Boofo 06-20-2008 03:42 PM

My bad. I didn't see that he hadn't purchased yet.

toonysnn 06-20-2008 05:22 PM

You can create your own hooks should you not see one that you need.

silly rabbit 06-20-2008 08:30 PM

1 Attachment(s)
Quote:

Originally Posted by personman (Post 1554545)
Is there a list of hooks somewhere?

personman, just ran "findhooks.php" on my 3.7.0. forum (with BLOGS installed) and attached is a zipped text file which I created by cut & paste into my UEdit32. Apparently it dynamically runs thru every file and finds every reference in my root directories on down but it's not my invention, it's a hack listed here! :D

Hook Statistics (non blog)
Total Hooks: 1027
Unique Hooks: 929

(oops! ran against my upgraded 3.6.8 test forum directory with NO BLOGS plz wait . . .)

Hook Statistics (with blog)
Total Hooks: 1144
Unique Hooks: 1072

An increase in hooks indeed! The (6.4 KB) zip is the newer version,

Savvy?


All times are GMT. The time now is 01:48 PM.

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.01629 seconds
  • Memory Usage 1,718KB
  • 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)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)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