Intercepting new discussions or posts
I'm very experienced with programming and PHP, not so experienced with Vanilla. I'm looking to do a very simple task:
I want to intercept any postings before they are posted, look for swearing or other bad words with my own specialized function, and, if they are detected, throw the message into the moderation queue instead of letting it get posted.
Can anyone tell me the first place to start? I don't mind modifying the core files, but I'd be happy to make it a plugin instead. Thanks!