WPChill / download-monitor

A WordPress plugin which provides an intuitive UI for uploading and managing downloadable files (including support for multiple versions), inserting download links into posts & logging downloads.
http://wordpress.org/extend/plugins/download-monitor/
255 stars 116 forks source link

Downloads path - do something similar to what WooCommerce has #1447

Open razvanaldea89 opened 2 months ago

razvanaldea89 commented 2 months ago

Is your feature request related to a problem? Please describe. The Other Downloads Path should be replaced with something very similar to what WooCommerce has ( install WooCommerce and go to this URL: admin.php?page=wc-settings&tab=products&section=download_urls ).

For backwards compatibility, what is already defined as other downloads path should be added as a new path in the new functionality.

razvanaldea89 commented 2 months ago

When a file is uploaded and the path is not within the allowed paths, we should add a new allowed path with the path of the file directory location.

razvanaldea89 commented 2 months ago

Upsells should not exist on this page.

cristinnaiulia commented 1 month ago

I cannot save a new path. I get this error:

Screenshot 2024-05-14 103039

https://github.com/WPChill/download-monitor/assets/63049546/8c2f3faa-1b1b-4a56-9902-d0ccce1e96a4

cristinnaiulia commented 1 month ago

I can add a path, but the enable settings doesn't work properly.

https://github.com/WPChill/download-monitor/assets/63049546/f40c5428-6956-4e05-a061-1e75a55b60c8