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

XF 1.1 Deleting old users

Discussion in 'XenForo Questions and Support' started by ratava, Jun 14, 2012.

  1. ratava

    ratava Member

    We have a large number of signup on our forums for people that never come back. I am trying to find a way to routinely delete users that have not been seen for a period of time.

    I have looks through the admin panel and cant fin any way apart from searching all users and sorting by latest activity then deleting them one by one.

    Is there a fast way of doing this that can also be scheduled as a cron entry?

    I am willing to get my hands dirty and write an addon to do it if needed but need some guidance to find the last activity date in the database. Also if I delete a user out of xf_user what impact that has on posts that have been created by a deleted user.

    I am sure some of the larger forums out there have battled this is the past.

    Any help would be appreciated.

    Regards
    Brent.
     
  2. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    There is no mass pruning feature for users. This is a common request. You will probably see this feature in a future version. But in the meantime you have to delete them one-by-one.

    When you delete a user their posts remain. Their username remains on the posts but it's no longer linked to an account. It becomes a "guest" post.
     
  3. ragtek

    ragtek Guest

Share This Page