View Full Version : Send post reports to mods as PM's ?
kontrabass
02-06-2007, 07:44 PM
Seems like this must be done already, but no luck searching...
My mods would love to receive their post reports via PM instead of via email...
Thanks for any help!
Cyricx
02-08-2007, 06:09 PM
https://vborg.vbsupport.ru/showthread.php?t=134699&highlight=report
Is that what your after? A good search tip is to try using advanced search and set it for "thread titles" :)
kontrabass
02-08-2007, 06:21 PM
Thanks, I did locate the thread previously, unfortunately as documented in it's support thread it has some bugs that prevent it from working.
Cyricx
02-08-2007, 06:34 PM
O?
Hmmm...
I'll likely be installing that here in the next week on one of my boards. I'll see if i can fiddle out the bugs :)
kontrabass
02-08-2007, 06:51 PM
O?
Hmmm...
I'll likely be installing that here in the next week on one of my boards. I'll see if i can fiddle out the bugs :)
Coolio :D
Cyricx
02-08-2007, 07:26 PM
Got it!
Well kinda :)
I fixed it so it won't error out... but you still get an email AND a PM.
He had the code in the wrong hook. He was trying to toss it in before the code decided what $message and $subject were.
Just change the plugin location to report_send_complete and it'll send the pm correctly and an email.
I'm going to fiddle around and see if I can find a way to disable the email too :)
vBulletin® v3.8.12 by vBS, Copyright ©2000-2024, vBulletin Solutions Inc.