Log in

View Full Version : Hook Question


RobDog888
09-17-2007, 09:50 PM
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 :).