• Resolved careboll

    (@careboll)


    In pantheon servers, we can’t modify the config file so the plugin can restrict downloads. Could you add an option in wich we add a custom path where we want files to be saved? because pantheon have it’s own restricted folder in a different path and with that option we can make the plugin work.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi @careboll,

    Can you please give me a bit more details about this? Download Monitor uses WP Media Upload and uses the /wp-content/uploads folder which is the default one in WordPress.

    Warmly,

    Mihaela

    Thread Starter careboll

    (@careboll)

    Pantheon uses wp-content/uploads/private folder for private files (avoid direct access to the files) i had altered your plugin with that folder for pantheon and works perfect, but each update I made of your plugin needs to modify the path again, so if you could add an option in the settings (Something linke select or add your save folder), would be very helpfull

    • This reply was modified 1 year, 11 months ago by careboll.
    • This reply was modified 1 year, 11 months ago by careboll.
    • This reply was modified 1 year, 11 months ago by careboll.

    Thanks for explaining! Please allow me a few hours to investigate. Will send you a code to change the uploads path.

    • This reply was modified 1 year, 11 months ago by Miha.

    Hi @careboll,

    Please add the following code in your theme’s functions.php file:

    https://gist.github.com/giucu91/6bd0e2bd25122a9c8b5c83ea43e83bae

    Or in your child theme > in functions.php

    Warmly,

    Mihaela

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Add Choose Folder Option’ is closed to new replies.