Hi All,
I am trying to write an Akismet module for comments (SS3). Repo can be found here:
https://github.com/i-lateral/silverstipe-akismet
Using a lot of butchered 2.4 code at the mo, but managed to get it reporting a spam post by extending a comment's onBeforeWrite().
I need to get the report spam and report ham functionality working though, but I am not sure if I can detect if the Comment object has changed from within onBeforeWrite()?
Any ideas? Would love to get this released.
Cheers,
Mo