2013-01-23, 04:29 PM
For MyBB 1.6: Auto-Unapprove Post/Thread Filter
Version 1.0 - January 18, 2013
This plugin allows you to create a list of words or phrases that will prevent a new thread or post from being visibly published.
If a new thread or post is found to contain one of the predefined phrases, it will automatically be unapproved. From there, a moderator can either approve it or delete it and ban the user.
This is useful to target spammers who post the same messages, or to prevent members from posting certain phrases. For example, if there is a spammer who keeps posting "free iphones" then add it to the list and future posts will be auto-unapproved.
You can disable the filter for members above a certain post count.
Big thanks to Omar G. for helping me out with the code.
Download at the Mods site - http://mods.mybb.com/view/auto-unapprove-filter
I'm working on learning PHP so I'll be developing more plugins in the future. If you find an error or think that I could use better code in one of my existing plugins let me know! I'd greatly appreciate any advice.
Version 1.0 - January 18, 2013
This plugin allows you to create a list of words or phrases that will prevent a new thread or post from being visibly published.
If a new thread or post is found to contain one of the predefined phrases, it will automatically be unapproved. From there, a moderator can either approve it or delete it and ban the user.
This is useful to target spammers who post the same messages, or to prevent members from posting certain phrases. For example, if there is a spammer who keeps posting "free iphones" then add it to the list and future posts will be auto-unapproved.
You can disable the filter for members above a certain post count.
Big thanks to Omar G. for helping me out with the code.
Download at the Mods site - http://mods.mybb.com/view/auto-unapprove-filter
I'm working on learning PHP so I'll be developing more plugins in the future. If you find an error or think that I could use better code in one of my existing plugins let me know! I'd greatly appreciate any advice.