XF 1.1 Clearing unwanted data

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
 
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.
 
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.
 
Top Bottom