MyBB Community Forums

Full Version: Missing Plugin Hooks in ACP Users Modul
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
If you tell us where you need hooks, we will consider them for inclusion.
For sure one should be at line 949 just before it loads the modcp_modlogs_result template.  I had to do a core edit  to make one of my plugins work. Also need one at line 4713.

Links:
Line: 949
Line: 4713
(2017-02-20, 12:22 PM)dragonexpert Wrote: [ -> ]For sure one should be at line 949 just before it loads the modcp_modlogs_result template.  I had to do a core edit  to make one of my plugins work. Also need one at line 4713.

Links:
Line: 949
Line: 4713

This is exactly what I mean Smile + for you, but why don't add hook in this if

if(!$logitem['tsubject'] || !$logitem['fname'] || !$logitem['psubject'])
 
One other thing, maybe it is possible to add hook to mybb to add custom link to user cp menu as variable like attachments, I know there is a hook ther but we cant add onw link as variable
Great idea, it would save a lot of troubles durin plugin coding
Feel free to create PRs with any hooks you need. I can review those types of requests quickly Smile
I sent a new PR for proposed mod cp hooks. thx @supryk

https://github.com/mybb/mybb/pull/2686
Thanks @Eldenroot!
No problem, glad to help make MyBB even better! Wink
Pages: 1 2