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

XF 1.5 Best way to Delete a User and All their Posts?

Discussion in 'XenForo Questions and Support' started by XenBurger, Oct 6, 2016.

  1. XenBurger

    XenBurger Active Member

    One of those questions that has been asked a thousand times, but Google wasn't helping:

    Is the "Spam" feature the best way to delete a user amicably, when they request it, including deleting all their posts?

    Just uncheck the "ban" option?

    Or is there a method for this type of situation that accomplishes all those goals without the "spam hammer".

    It just seems so aggressive :)

    Thx
     
  2. Brogan

    Brogan XenForo Moderator Staff Member

    That would likely be the easiest way.

    Or you can use search and inline moderation.
     
    XenBurger likes this.
  3. XenBurger

    XenBurger Active Member

    Just wanted to revisit this. When a user emails me saying "Please delete my account" - I want to intuitively go into the admin, search their username, and click "Delete user".

    But for some weird reason doing this does not delete them.

    In fact it leaves both their username visible all over the forum, and leaves all their posts in tact also. I am not clear why this constitutes "Deleting a user" to the XF system.

    It literally does nothing but disable their login and put the word "Guest" beneath their unaffected username.

    So lets rewire my brain.

    Right now you are expected to search for posts manually on the forum front end, hope that user has even created a post, and then - what - mark them as spam to delete their account and content?

    That does not make sense to me.

    And what if the user has not posted at all? How then do we find them in the first place to execute the "Spam" delete functions?

    Users consistently want 1) Their username deleted 2) All their content deleted.

    It would be okay if their posts were flipped to GUEST, but that doesn't happen. The username stays in tact.

    How do I delete users with and without posts, so their username does NOT appear anywhere on the site, and any content they may have posted is also removed?
     
    Last edited: Apr 19, 2017
    Robru likes this.
  4. Optic

    Optic Well-Known Member

    Hi @XenBurger ,


    If you adjust the SPAM Cleaner criteria all to 0 it can be made available at all times:

    From the documentation:


    This really comes down to the way forums are designed and a design issue depending on how you look at it.

    Because members can be quoted, and tagged/mentioned in a number of threads it really breaks the flow of a thread if their content is suddenly removed - especially if other members are replying to quoted members. It's not easy to remove this content if they were an established member.

    With this in mind:
    • IMO it's probably easier just to CHANGE their username, delete their account and leave it at that.
    • IF the content really needs to be removed then yes run the SPAM cleaner before deleting their account - but also be mindful that they may have been quoted in threads or mentioned in profile posts.
    Hope this helps,
     
  5. Amin Sabet

    Amin Sabet Well-Known Member

Share This Page