Hello. I am just following up on this support ticket, since it has been several days with no reply. Please advise.
Hello. I am just following up on this support ticket, since it has been several days with no reply. Please advise.
Thanks. Reinstalling the plugin resolved the license key issue.
I ended up resolving this. It was an issue with functions.php file. Sorry for the trouble. This ticket can be closed.
OK. I was able to address item #2, so you can ignore that item (a membership is no longer required to download the free file).
Please try accessing the free download file now. You will see that the zip file is still 0kb in size when downloaded. Please advise.
Hello. I am just following up on this. Please advise.
Hello. I’m just following up on this. Please advise on the following two issues:
1) Why is the zip file 0kb in size when the download button is clicked for the free file?
2) Why does it still say “Subscribe to a membership plan to download free file” even though I removed the above referenced code from my functions.php file?
Thanks. Manually updating seems to have resolved the issue.
I found the code relating to this. It was previously provided to me by support, since I need to require that users have a minimum membership plan in order to download the free file (we use the download limit plugin to restrict how many downloads a user can use).
I have temporarily removed the following code from my functions.php file, but for some strange reason it is still displaying the “Subscribe to a membership plan to download free file”. I have no idea why it is still being shown given that I removed the code and cleared the cache.
******************************************************
function wpdm_free_download_btn_restriction($vars){
global $current_user;
$membership_roles = array(‘basic_subscriber’, ‘premium_subscriber’, ‘premium_plus_subscriber’, ‘premium_plus_unlimited_subscriber’);
if( count( array_intersect( $current_user->roles, $membership_roles ) ) > 0 )
$vars[‘free_download_btn’] = $vars[‘free_download_btn’];
else
$vars[‘free_download_btn’] = “<div class=’alert alert-warning’>Subscribe to a membership plan to download free file.</div>”;
return $vars;
}
add_filter( ‘wdm_before_fetch_template’, ‘wpdm_free_download_btn_restriction’, 10, 1 );
******************************************************
Please advise.
Ok. Thanks. Can you please clarify where the setting is at to disable that in WP Download Manager?
I am bumping this up again, since I still haven’t received a reply.
Please provide a response as soon as possible.
Thank you.
I am bumping this up again, since I still haven’t received a reply. The support on here is normally very good. I understand it is the holidays and all, but it’s been almost a month since I provided my login details. I have also sent several emails and have not received a single reply.
In case it is helpful, did some additional testing of the issue. The exclusion tag works fine when used alone. The inclusion tag works fine when used alone. However, when I use both the inclusion and exclusion tags together, only the inclusion tag is recognized. The exclusion tag does not exclude anything from being displayed when used in combination with the inclusion tag.
Please advise as soon as possible, since this is causing significant delays in our launch of our website.
Thank you.
I am bumping this up since I have not received a reply. Thank you.
I am bumping this up, since I have not received a reply. Thank you.
Hello. I am just following up on this ticket. Thanks.
Hello. I am just following up on this ticket. Thanks.
Thanks. I just tried that and it did not resolve the issue. Please advise.