Keyword

Plugin/event to intercept comments before saving

  • Cristi
  • Cristi's Avatar Topic Author
  • Offline
  • New Member
More
11 years 1 week ago #118704 by Cristi
Hi,

Is there any event which can be used in a plugin to intercept a comment before saving it in order for it to be checked against a custom blacklist?
I'm looking to get the comment body/email/name etc. and prevent submission if flagged as spam. Took a look at the 'comment' function from the item model but didn't spot a way in without hacking k2.

Any input is appreciated.

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum