New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Plugin hook adding/changing #2919
Comments
Hooks that can be run in more than one place:
Those are presumably evoked with different conditions @labrocca |
I think modcp_modlogs_result is okay because it is used for custom mod log entries when you first view the mod cp and for when you are checking the mod logs. I don't see a reason why that would need to change. I haven't used the other hooks before so I don't know as much about them. |
Is this only for |
Nope, we’re fine adding useful hooks in any release in my opinion.
…On Wed, 10 Jun 2020, at 21:45, Omar Gonzalez wrote:
Is this only for `1.10`? I would like to suggest a new hook between the
following lines:
https://github.com/mybb/mybb/blob/feature/admin/modules/forum/management.php#L868-L869
zingaburga/XThreads-MyBB-Plugin#25
<zingaburga/XThreads-MyBB-Plugin#25>
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#2919 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAFW24LHUYDMNHLZ4P7IO5DRV7WINANCNFSM4EFKKSIA>.
|
As per this thread, there are some places where it would be useful to have some new hooks. Additionally, there are some places where hooks with the same name are ran multiple times. As part of 1.10, it would be good to ensure hook name are used only once and to look at which additional hooks can be added.
Probably the best thing to do is to comment here or in the thread a hook you'd like to see or that you know is duplicated and we'll check them off as we go:
send_pm
function after theglobal
lineThe text was updated successfully, but these errors were encountered: