Skip to:
Content
Pages
Categories
Search
Top
Bottom

Mark user as spam AND remove all their posts?


  • Probocop
    Member

    @probocop

    Hi,

    I have a request from a client to remove a user, along with all their posts on the forum. I have marked them as a spammer, and also deleted them, but their posts still remain on the site as ‘Anonymous’

    Any idea how I can remove them?

    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)

  • Gautam Gupta
    Moderator

    @gautamgupta

    When you delete a user from the WordPress administration panel, there is an option to either delete all of the users’ posts or switch their author to some other option. You can use the former option to remove spammer users’ posts. :)


    John James Jacoby
    Keymaster

    @johnjamesjacoby

    The bbPress plugin does this, as it’s a pain to mark a user as spam and have their posts not be spam along with them.


    Adam
    Member

    @adam_wordpress

    What you could do is write a plugin or some kind of extension that would integrate with akismet to chek for spam by a user and if said user is spamming mark that user and all posts as spam. Or you could have them enter something before hitting post.

Viewing 3 replies - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.