vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   What is hook? (https://vborg.vbsupport.ru/showthread.php?t=82856)

Snake 06-10-2005 05:57 PM

What is hook?
 
I don't know what it is.

Paul M 06-10-2005 06:13 PM

It's a place in southern England. ;)

It's also a feature of vB 3.5.0 which allows you to insert extra code. :)

Andreas 06-10-2005 06:20 PM

Read the Howtos about Hooks Brad wrote :)

Erwin 06-10-2005 09:47 PM

Well, when I go fishing, I get a line, and then I get a worm, and I .... wait a minute... wrong thread.

zetetic 06-10-2005 09:52 PM

Quote:

Originally Posted by Erwin
Well, when I go fishing, I get a line, and then I get a worm, and I .... wait a minute... wrong thread.

Are you sure? ;)

Snake 06-11-2005 08:44 AM

Quote:

Originally Posted by Paul M
It's a place in southern England. ;)

It's also a feature of vB 3.5.0 which allows you to insert extra code. :)

Insert what code? You've lost me. :ermm:

Xenon 06-11-2005 09:15 AM

plugins

vb35 has a plugin system, and plugins are placed on hooks which are on specific places all around the source code :)

Erwin 06-11-2005 10:51 AM

I thought it was the pirate that Peter Pan was fighting whose name was... uh - never mind, wrong thread...

Ecron Daemon 06-11-2005 11:12 AM

Quote:

Originally Posted by Erwin
I thought it was the pirate that Peter Pan was fighting whose name was... uh - never mind, wrong thread...


me too... :rolleyes:

Snake 06-11-2005 12:25 PM

Quote:

Originally Posted by Erwin
I thought it was the pirate that Peter Pan was fighting whose name was... uh - never mind, wrong thread...

Hahaha... that was funny.

^ Is that what you wanted? :nervous:

Gary King 06-11-2005 01:15 PM

Quote:

Originally Posted by Snake
Hahaha... that was funny.

^ Is that what you wanted? :nervous:

Don't worry :) They're all just having a little fun around here :) no harm done :D

Hooks are basically locations in the vBulletin files, where code can be executed using the plugin system.

So for instance, if a location in the User CP has a hook, you can execute code there - using the plugin system. Of course, actual file modifications can still be executed anywhere you want.

If a location does not have a hook, you will either HAVE to modify the files (something that 3.5 modders try to avoid now, like me) OR you just don't insert the code in the file, and instead ask Jelsoft to add a hook there.

Makes sense? :)

majorxp 05-24-2006 02:11 PM

Quote:

Originally Posted by Andreas
Read the Howtos about Hooks Brad wrote :)

No offense, but it would be more helpful if people posted links when you say this...


Good example of a better response....and what I'm talking about in this thread...


All times are GMT. The time now is 06:25 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.01721 seconds
  • Memory Usage 1,729KB
  • 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
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (12)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