1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.4 Remove all posts by a user

Discussion in 'XenForo Questions and Support' started by KevinMK, Aug 7, 2015.

  1. KevinMK

    KevinMK Member

    I've had an old user come back and ask me to remove all posts by him. He has over 3000, so do this manually would be a problem. Is there a way to do this? If I just remove the user, his posts will be turned to "guest" and he actually wants to nuke the content.
  2. AndyB

    AndyB Well-Known Member

    1) Change username to something like user1234 where 1234 is the user ID.
    2) Remove all contact details, signature and avatar.
    3) Change password.
  3. KevinMK

    KevinMK Member

    He wants the actual content removed, not just his user name.
  4. IPF

    IPF Active Member

    Try spam cleaner option. Spam Management | XenForo
  5. Harpers Tate

    Harpers Tate Well-Known Member

    Use the spam cleaner? (Edit X-Posted with IPF)
    IPF likes this.
  6. Martok

    Martok Well-Known Member

    I think that's your decision as to whether or not you remove his content. Personally I won't remove user content like this or delete accounts, I do what Andy has suggested.

    Anyway if you want to remove all content, you can use the spam cleaner to do it ACP > Options > Spam Management. You will need to set the Spam Cleaner User Criteria all to 0 to make it available for this user. You can then spam clean (delete) all of their content, then finally delete their account. Be warned that once you do this you can't get it back.
  7. IPF

    IPF Active Member

    @Martok, When I spam clean, the messages are soft deleted. Is there a way to hard delete posts using spam cleaner?. Admin account has all permissions set to allow.
  8. ŽivaAkcija

    ŽivaAkcija Well-Known Member

    i think this need to be default option in Xenforo/delete all user post when do ban
  9. Martok

    Martok Well-Known Member

    Yes, in the spam cleaner options there are two settings (one for threads, one for messages) which you can set to permanently delete. Again be warned, once it's permanently deleted it's gone forever.
    PaulineK and IPF like this.
  10. IPF

    IPF Active Member

    Sorry found the option.

  11. Martok

    Martok Well-Known Member

    This thread is nothing to do with banning users, it's to do with a user asking for all of their content to be deleted. If you want this option you should make a suggestion.
  12. IPF

    IPF Active Member

    Thanks (y) . I was searching for this in usergroup permissions. Found it in options.
  13. Brogan

    Brogan XenForo Moderator Staff Member

    The spam cleaner isn't specifically designed for thousands of posts so you may experience a timeout or other issue.

    You can try the batch update threads function first to temove any threads they have started, plus their posts in said threads.
    Then there may be a lot less content for the spam cleaner to deal with.
  14. AndyB

    AndyB Well-Known Member

    There are several huge problems with removing posts of a member:

    1) Posts are often quoted by other members, so the person asking to have his posts removed will still see his quoted posts.
    2) Threads started by a member will be completely deleted, so he is asking to remove posts made by other members as well, this is not good.

    I suggest doing as I outlined in post #2 of this thread and cease all further communications with this member.
    optrex likes this.
  15. KevinMK

    KevinMK Member

    I understand that there are problems with removing his content. I've decided to do that. It's not worth debating. I'm trying to figure out the best way to make it happen.

    The option to delete all of his posts using the spam management tools doesn't seem to be an option because he has been a member so long and has had far too many posts.

    I don't see an option with the batch update threads to remove posts in other threads. Is that how it works by default?
  16. KevinMK

    KevinMK Member

    He is a friend, not an antagonist or enemy.
  17. AndyB

    AndyB Well-Known Member

    In that case you can use the following add-on which makes removing posts very easy.

    Delete Posts

    Notice it has a Limit option so you can delete posts in batches to avoid problems associated with deleting large numbers of posts.

    In addition you will more than likely want to search for any quoted posts to delete them as well, this is done manually.
    KevinMK likes this.
  18. ALFrisbee

    ALFrisbee Active Member

    Hi all,

    A few spammers slipped through the cracks on my site before I was able to tighten up the anti-spam controls.
    I'm now trying to clean things up using the Spam Management system.
    I've gone into the ACP and adjusted the 'user criteria' options for Spam Management and set to 0. This enabled the spam button to appear for user profile cards etc.
    I'm trying to use this screen, but it seems perhaps the back-end web hosting server (i'm with GoDaddy .... i know!) can't handle it?


    Previously this screen would stay there, and it would never get to the next confirmation screen.
    Unfortunately now I'm getting these sporadically:


    Any thoughts?
  19. Brogan

    Brogan XenForo Moderator Staff Member

    If they have a lot of threads, try using the Batch Update Threads function in the ACP first.
  20. Mike

    Mike XenForo Developer Staff Member

    The issue here is that you're deleting a huge amount of content -- over 10,000 messages. The spam cleaner is designed for bulk cleaning, but not really that level of it.

    At least some of the content will need to be removed in a different manner. If they created threads, you can delete them using the batch update threads tools in the control panel. Otherwise, you can search for posts they made and use the inline moderation tools to (hard) delete them.

Share This Page