PDA

View Full Version : Mod to remove files from upload manager


kiki0
12-01-2015, 09:57 PM
Hello everyone,

I have been going crazy looking for a way to delete files out of a bunch of users upload manager per their request and have not found a way to do so. I have tried to click the "?" mark on the top right of the files and the file is non-existent anywhere on the forum. Is there a mod that lets me take total control over the upload manager? Paying for software like this should accompany an admin panel that lets you control everything on it I'd assume but obviously that's not the case here. If there is a MOD available here, I'd greatly appreciate it if someone would point me to it.

Thanks :confused::confused:

Dave
12-02-2015, 08:45 AM
Well the AdminCP has a function to manage and search attachments at Attachments > Search.
Is that what you're looking for?

squidsk
12-02-2015, 12:12 PM
Why can't the users just delete it themselves?

kiki0
12-02-2015, 03:02 PM
When I click the "?" mark, the system tells me that the content is not attached to any posts:

This asset is not currently being used by any content that you have access to

When I run the "hourly cleaner 2" cron, the images remain in the users upload manager. I went and individually deleted the content manually. Now the images don't come up, but the system is still showing the placeholders on the upload manager so it doesn't seem to recognize that the images have been deleted. I ran the orphaned content cleaner and reran the "cleaner 2" cron and still no luck. I will pay someone if they can create a module in the adminCP where I can gain total control over all the uploaded content in the upload manager for all users. The content on my site has over 300GB's of material and I need to clean some of this stuff out of the database and hard drive.

squidsk
12-02-2015, 04:43 PM
When I click the "?" mark, the system tells me that the content is not attached to any posts:

This asset is not currently being used by any content that you have access to

Which it should if it isn't being used.

When I run the "hourly cleaner 2" cron, the images remain in the users upload manager. I went and individually deleted the content manually. Now the images don't come up, but the system is still showing the placeholders on the upload manager so it doesn't seem to recognize that the images have been deleted. I ran the orphaned content cleaner and reran the "cleaner 2" cron and still no luck. I will pay someone if they can create a module in the adminCP where I can gain total control over all the uploaded content in the upload manager for all users. The content on my site has over 300GB's of material and I need to clean some of this stuff out of the database and hard drive.

What version of vb are you running? If its the version is not 4.2.3+ the hourly cleanup won't work because of a bug in the filedata cleanup. Be warned that some sites have been found to have invalid ref counts in the filedata table which leads to files being deleted that shouldn't be if you update to 4.2.3. If you can wait until 4.2.4 is released it addresses the secondary bug of invalid ref counts, while 4.2.3 only fixes the hourly cleaner 2 script.

I would recommend not manually deleting files from the server as that might cause problem when hourly cleanup 2 is doing its job.