vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Hook Question (https://vborg.vbsupport.ru/showthread.php?t=158085)

RobDog888 09-17-2007 09:50 PM

Hook Question
 
Do hooks need to be created somewhere or are they arbitrarily named in code?
I read the documentation and it doesnt really state anything useful.

http://www.vbulletin.com/docs/html/main/what_is_hook

Thanks

Paul M 09-17-2007 11:12 PM

Hooks exist in the code already.

RobDog888 09-18-2007 12:14 AM

<font color="darkgreen">Well Im adding a new page in the user control panel and wouldnt I have to hook a new hook related to my new page? </font>

Dismounted 09-18-2007 06:08 AM

Hooks are not compulsory. You don't have to include hooks.

RobDog888 09-18-2007 06:37 AM

<font color="darkgreen">Ok. I was still researching them and see that they are mostly used with products and the standard vB pages/funcitons. If I wanted to create one to help my hack be converted to a product, how would I go about doing so?</font>

Dismounted 09-18-2007 07:23 AM

You meant adding plugins, not hooks. Hooks are added into files for the purpose of plugins :).


All times are GMT. The time now is 07:32 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.01134 seconds
  • Memory Usage 1,714KB
  • 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
  • (6)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