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

XF 1.1 Clearing unwanted data

Discussion in 'XenForo Questions and Support' started by Mr.Smith, Nov 15, 2011.

  1. Mr.Smith

    Mr.Smith Member

    I wish to delete the following:
    1. Soft Deleted Threads
    2. Mod logs
    3. Admin logs

    and other unwanted logs/old Pms which could keep the database size low for backups :)

    I would appreciate some help!

    Thanks

    Smith
     
  2. ChemicalKicks

    ChemicalKicks Well-Known Member

    1. Soft Deleted Threads
    Theres a mod called XenUtilities it has an auto-delete function for soft-deleted posts

    2. Mod logs
    Check tools in Admin

    3. Admin logs
    Check tools in Admin

    and other unwanted logs/old Pms which could keep the database size low for backups :)

    PMs you could just a user limit of say 100 or so.
     
  3. Brogan

    Brogan XenForo Moderator Staff Member

    There isn't a quick/easy of removing all soft-deleted threads. Yes you can do it with queries but it requires updating various tables and then the caches have to be rebuilt.

    Moderator log length can be set in Options -> Logging Options.
    You can remove all entries by truncating the xf_moderator_log table.

    Administrator log length can be set in config.php.
    How do I change the number of days for which the Admin Log in the ACP is retained?
    Edit the library/config.php file and add the following:
    PHP:
    $config['adminLogLength'] = 30;
    Change the value to the number of days required. The default setting is 60 days.
    http://xenforo.com/community/threads/frequently-asked-questions.5183/#post-180456
    You can remove all entries by truncating the xf_admin_log table.

    Conversations are only deleted once all participants have left the conversation.
     
  4. Mr.Smith

    Mr.Smith Member

    thanks for the quick reply guys :)

    does XenUtilities support 1.1.x?

    Thanks again
     
  5. ChemicalKicks

    ChemicalKicks Well-Known Member

    Yup as far as I can tell anyway, I'm using the 1.1 b5
     

Share This Page