23490 Posts in 18996 Topics by 2878 members
|Go to End|
14 September 2012 at 8:42pm
I am trying to write an Akismet module for comments (SS3). Repo can be found here:
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.
14 September 2012 at 10:12pm
$this->owner->isChanged(), or $this->owner->isChanged('FieldName');
14 September 2012 at 10:40pm
Cheers Simon, I will get on and fiddle with this as soon as!
|Go to Top|