XF 1.1 Delete Attachments?

Craigr

Active member
I have a lot of attachments on my site, i am trying to clear some of the older ones out.

Is there any way to delete all a particular user's attachments? One of my users has not visited the site for years and there are over 50 pages of attachments via the attachment browser. It is taking a long time to delete them.

Also have many more similar attachments from other long gone users.

Thanks.
 
The select all only selects the 50 displayed. Guess this will be the quickest way for me to delete them.

Thanks. :)

You can change it by editing this file:

library/XenForo/ControllerAdmin/Attachment.php

Find and change this line:

Code:
		$perPage = 50;

You may encounter timeouts or other server limits with very large batch sizes. Backup first to be safe.
 
You can change it by editing this file:

library/XenForo/ControllerAdmin/Attachment.php

Find and change this line:

Code:
$perPage = 50;

You may encounter timeouts or other server limits with very large batch sizes. Backup first to be safe.
Awesome, thanks will just change it to 100 so shouldn't be too bad. :)
 
Top Bottom