• Resolved marvel design

    (@marvel-design)


    I see that the difference between this plugin and DNUI that this one can really find any orphaned files, that is not referenced anywhere else. and THAT quality makes this plugin outstanding.

    Right now, after scanning my upload folder, I get a list of such orphaned files with checkbox if I need to select them. In my case, the part where it gets tedious is that I have too many orphaned files so clicking on each and everyone of them is really gonna take a while. I could not see a select all button or something so I could delete them all in one go. Please incorporate this feature in the next release.

    Also when we press the delete button there is no prompt/response on the page about what is happening, such a prompt will be useful and will refrain the users from pressing the button again.

    https://wordpress.org/plugins/cuf-cleanup-upload-folder/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter marvel design

    (@marvel-design)

    For those looking for such a feature ( a quick fix for now ). I will leave a little solution here that will require you to make the change in the source code of the plugin. If you are up for it and know the risks and is prepared to do it on your own discretion.
    As the developer has suggested. Do as many number of tests on a local server before you see it fit to use it on a live/development server. Also please remember that this change may be discarded when the plugin is updated.

    One prepared, go to plugins folder cuf-cleanup-upload-folder/html/ and open it up in an editor. Go to line 38 and replace the code with this one.

    <input data-name="<%= mCUFFile.get('fileName') %>" id="" <% if( mCUFFile.get('attachement') || mCUFFile.get('used') ){ %> disabled <% }%> type="checkbox" <% if( !mCUFFile.get('attachement') ){ %> checked="checked" <% }%>>

    Now you wont have to check each and every box, it will all be prechecked for you.

    Will this bulk-delete function be added into the plugin ?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Feature request – select all button for bulk delete.’ is closed to new replies.