Hi -
I'm wondering if there is a list somewhere of all the available plugin hooks, along with for what they would be used?
Right now, I'm looking at "Developers Guide: Plugin Hooks" which says "This section describes all the hooks available in Links SQL."
And then goes on to list these hooks:
search_results
site_html_search_results
site_html_search_failure
add_link
site_html_add_success
site_html_add_failure
modify_link
site_html_modify_success
site_html_modify_failure
site_html_[template name]
But there are more than just these, no? For example, in Links/Users.pm there appear to be references to a couple hooks not listed in the developer's guide: "display_user" and "form_user".
Specifically, I am needing to hook into the user signup procedure so that I can track who "sponsored" the user, and assign someone if no sponsor is defined (via a hidden field on the register form).
This is just an example of one of the things I need to do with a plugin (well, I'd rather that than hack the core code, anyway). So, a thorough list would be most useful!
Is my copy of the developer's guide outdated? I just installed 2.0.5, so I think it should be current...
Thanks for any assistance!
--
Matt G
I'm wondering if there is a list somewhere of all the available plugin hooks, along with for what they would be used?
Right now, I'm looking at "Developers Guide: Plugin Hooks" which says "This section describes all the hooks available in Links SQL."
And then goes on to list these hooks:
search_results
site_html_search_results
site_html_search_failure
add_link
site_html_add_success
site_html_add_failure
modify_link
site_html_modify_success
site_html_modify_failure
site_html_[template name]
But there are more than just these, no? For example, in Links/Users.pm there appear to be references to a couple hooks not listed in the developer's guide: "display_user" and "form_user".
Specifically, I am needing to hook into the user signup procedure so that I can track who "sponsored" the user, and assign someone if no sponsor is defined (via a hidden field on the register form).
This is just an example of one of the things I need to do with a plugin (well, I'd rather that than hack the core code, anyway). So, a thorough list would be most useful!
Is my copy of the developer's guide outdated? I just installed 2.0.5, so I think it should be current...
Thanks for any assistance!
--
Matt G