Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Intercepting new discussions or posts
Raptisoft
New
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!
Tagged:
0
Comments
Try this plugin https://open.vanillaforums.com/addon/civiltongueex-plugin
❌ ✊ ♥. ¸. ••. ¸♥¸. ••. ¸♥ ✊ ❌
Well, that one only intercepts and replaces the words. I need to throw them into the moderation queue (also, I want to run it through my own specialized function... I've been building and tweaking a word filter function since the mid 1990's, it's quite tight, so I want to use it).
Build a plugin based on that one. There are two other plugins in the repo that have to do with this.
❌ ✊ ♥. ¸. ••. ¸♥¸. ••. ¸♥ ✊ ❌