MyBB Community Forums

Full Version: add more hooks
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi

Please add in this version hook to easy add next item as variable in user nav in user cp
And rename duplicate hooks. There are places where the same hook name exists. Causes issues with plugins that then run twice.
It would be great to work out a list of hooks that could do with being added, renamed, moved, etc. We're open to adding/changing hooks for definite.
Can we get this stuck? I think it's that important.

Suggest adding to send_pm() function in inc/functions.php after the $global line.
I've created an issue to GitHub for this: https://github.com/mybb/mybb/issues/2919

The idea is that if we build a list of hook changes in the issue OP, we can tick them off there as they are handled.

I'm not sure about sticking this, really we need to think of better ways to organise threads in this area in general.