Users running a non-download version of Vanilla (pulled from github), on branch release/2019.016 or master from the last 2 weeks should upgrade to release/2019.017 or latest master for security reasons. Downloaded official open sources releases are not affected.
Please upgrade here. These earlier versions are no longer being updated and have security issues.

Intercepting new discussions or posts

Hi all,

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!


Sign In or Register to comment.