[Pushed] Missing Plugin Hooks in ACP Users Modul
#11
If you tell us where you need hooks, we will consider them for inclusion.
Reply
#12
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
Reply
#13
(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
My Plugins

PM only paid support
Reply
#14
Great idea, it would save a lot of troubles durin plugin coding
[MyBB 1.8 Czech translation] [MyBB 1.8 plugins]: Prune old PMs + optimize DB plugin --- Thank you/like system
Reply
#15
Feel free to create PRs with any hooks you need. I can review those types of requests quickly Smile
Reply
#16
I sent a new PR for proposed mod cp hooks. thx @supryk

https://github.com/mybb/mybb/pull/2686
[MyBB 1.8 Czech translation] [MyBB 1.8 plugins]: Prune old PMs + optimize DB plugin --- Thank you/like system
Reply
#17
Thanks @Eldenroot!
Reply
#18
No problem, glad to help make MyBB even better! Wink
[MyBB 1.8 Czech translation] [MyBB 1.8 plugins]: Prune old PMs + optimize DB plugin --- Thank you/like system
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)