Page 1 of 1

Event-hook backend_sendcomment

Posted: Sun Dec 20, 2009 5:57 pm
by onli
I need an eventhook to alter the email-notification send when adding a comment. The attached patch works for me. Can we integrate this?

PS: Wasn't sure about a fitting name for the hook.

Re: Event-hook backend_sendcomment

Posted: Sun Dec 20, 2009 6:45 pm
by garvinhicking
Hi!

Great idea, and no problem. I've committed this to the 1.6 SVN trunk,

Regards,
Garvin

Re: Event-hook backend_sendcomment

Posted: Sun Dec 20, 2009 7:41 pm
by onli
Thanks!

Re: Event-hook backend_sendcomment

Posted: Mon Dec 21, 2009 6:34 pm
by Don Chambers
onli wrote:I need an eventhook to alter the email-notification send when adding a comment.
Curiosity - how do you intend to use it?

Re: Event-hook backend_sendcomment

Posted: Mon Dec 21, 2009 7:28 pm
by onli
You remember the bayes-plugin? With the hook I add links to delete the comment and learn it as spam in one step (or do the same with approve and ham).

Re: Event-hook backend_sendcomment

Posted: Mon Dec 21, 2009 9:06 pm
by Don Chambers
onli wrote:You remember the bayes-plugin? With the hook I add links to delete the comment and learn it as spam in one step (or do the same with approve and ham).
Very cool!

Re: Event-hook backend_sendcomment

Posted: Mon Dec 21, 2009 9:49 pm
by onli
It was Dirk's idea ;)