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
+ 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
No problem, glad to help make MyBB even better!