PDA

View Full Version : learning to create plug-in


vinboy
05-17-2008, 11:02 AM
hi
before I start, please tell me what is the difference between a plug-in, product, mod, hack, hooks.....
I did read alot but still can't get the big picture here due to the different terminologies.

now. how do I create an extension? lets say I want to add watermark to the existing image? I know there are mods for it but lets take it as an example.

thanks in advance.

GameWizard
05-17-2008, 12:26 PM
Hack is a general term for Product. A Product is what contains all the plugins. A hook is basically to what part of the software you want the plugin to 'hook' onto, in other words, where exactly you want it to be run.

vinboy
05-17-2008, 12:37 PM
oh ic. thanks.
how are plug-ins traditionally created?
is there a SDK or IDE for creating them?

currently I am using the [Admin CP] --> [Add New Plugin] to create simple plugin. Let me know if there is a better way.

Where can I find all the hooks information? I would like to know the description of the hook. (e.g. this hook is called before the attached file gets uploaded.. etc...)

Dismounted
05-17-2008, 12:39 PM
Turn on Debug Mode.