Edd Hurst
Member
Posted 1 year ago #
You are unable to use Download Manager on anything but the main site of a wordpress install. If you try and use it on a sub-site, it will automatically redirect itself back to the parent site and save config and files there instead.
Incredibly annoying, seeing as I've used this plugin for many sites and have been very pleased by it.
In downloads-template.php, download-options.php, download-add.php, download-manager.php
Find:
<form method="post" action="<?php echo $_SERVER['PHP_SELF']; ?>?page=<?php echo plugin_basename(__FILE__); ?>">
Replace:
<form method="post" action="<?php echo admin_url('admin.php?page='.plugin_basename(__FILE__)); ?>">
I have the issue that DownloadManager disappear in the Backend for all user, if its not admin. Will this also fix it? Or do i miss something else out?