2 comments from my side: 1) Added some code-related remarks to Jira 2) >>>> After a message is posted by an anonymous user, I want to check if >>> the >>>> message contains spam. If so, I want to delete it. Big chance of >>>> course that this message is the last of the thread. Which cannot be >>>> removed…
Why don't you "insert" the spam-check somewhere in ForumManager#replyToThread ? i.e before the message is actually posted. If it's detected as spam, you could either set it to unvalidated (validated=false) or possibly set the validated field to a special value (its currently a tri-state) ..or simply not store it. -g ---------------------------------------------------------------- For list details see http://www.magnolia-cms.com/home/community/mailing-lists.html To unsubscribe, E-mail to: <[email protected]> ----------------------------------------------------------------
