• km

    (@kmaisch)


    I’m currently moderating posts on my site manually (classified site using WordPress as the back-end) – basically if someone adds a spammy post, I delete their account (including post) and add their email address to the comment black list (which then bans them from registering again with the Ban Hammer plugin.

    What I want to do is figure out way to check their post title for keywords (such as “iphone” which is a common spam word). If there is a match, then they will get an error such as “Sorry but you are unable to post on this site”) and will have their account deleted and their email address added to the comment black list.

    Does anyone know if there is a plugin that does this? (I couldn’t find one when looking…)

    Kim

Viewing 1 replies (of 1 total)
  • Jay

    (@phyrax)

    You could hook onto the publish_post action, pull the post_title and search it’s title for known keywords that may have been blacklisted in an array via the plugin options 🙂

    As far as a plugin that already does this, I have no idea.

Viewing 1 replies (of 1 total)
  • The topic ‘Looking for a way to delete user based on their post title…’ is closed to new replies.