I know a good few people that would like this authentication option, I was going to write it myself but haven't had the time to look at how to write mod packages for SMF just yet due to life and work getting in the way.

Maybe I picked it up wrong or it means different things depending what community your in but I would interpret it to be considered the extension of existing functions/functionality to allow new options or features.

An example, some of us are thinking in hooks having its own table.find a better way to handle hooks on uninstall/upgradingfinding a solution on the current system where you load a file everytime.

things like that.

Oh.... so not only the core hook functions, but also the package manager.

Perhaps, in package-info, blocks could be used for hooks, like

<install> <hook point="pre_load">my_plugin</hook></install>

Same for uninstall.

I saw Sinan mention he wanted hooks to also call files. I'd say to do it. Then such pseudo-hooks could be removed like admin_include, pre_include, theme_include.

I don't know about hooks living in their own table. Where they are seems fine to me. They could even be a serialized array instead of CSV which could also help in storing multiple values such as file, class, function.

I remember hearing that Matt put a mod with tons of hooks for the core on the team boards before he left. In anticipation of that, I did not suggest any new hooks (even when Norv asked me to )

Logged

Try not to become a man of success, but rather try to become a man of value.- Albert Einstein

For me the use of the hook will exist if there is good documentation on them, so that has to be good translations and good examples of their use.the hooks are a good tool but you have to use and above all we must teach use this tool