MyBB Community Forums

Full Version: Additional hook in members.php
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I would propose a hook just before line 155 "if(is_array($errors))". Something like $plugins->run_hooks("member_do_register_after_checks"); or similar.

I got directed here form the IRC channel, but i already have posted some more details over here in the development forum:
http://community.mybboard.net/showthread.php?tid=24200

The idea of this hook would be to run more data processing or checks for registrations before the actual deed happens (as it comes directly before the error check).
You can use LeX-'s solution.