… and we also need to deactivate the File Cart add-on, right?
We have activated this checkbox first of all: https://imgur.com/a/uxC9erU. As we now know, the popup does not appear because of the File Cart add-on.
However, if I deactivate the add-on, the download buttons for the files are missing: https://imgur.com/a/dfijxMu
Single Download is activated: https://imgur.com/a/SvvSHsC
What adjustments do I need to make for the single download to work? Is it due to the missing link template (https://imgur.com/a/5NW82d9)?
Yes, after login for restricted packages for certain roles, they will be able to see the download package details and download link and what you will provide to view the details. I hope you have understood. please check and let me know.
Thank you and regards
This reply has been marked as private.
This reply has been marked as private.
When loading a page template, say I’ve assigned a test page template “Test” with ID “test” to a package, with the page template configuration set to contain empty HTML and CSS fields, I expect that it would attempt to load “test.php” from the active theme directory, from the “themes/{theme}/download-manager/page-templates” folder. However, the code above indicates that when it loads the page template configuration from the configuration file, instead of returning an empty string as it does with link templates, it would return the empty contents plus “<style></style>”, which then forces it to skip loading and rendering the custom PHP file, and instead all it will render is an empty page with an empty style element.
Ideally this would be changed to something like:
$add_styles = $tpl['css'] ? "<style>{$tpl['css']}</style>" : '';
This would append the style element to the content only if the CSS field has a value, regardless of whether it’s a link template or page template. Not only would the custom page template be loaded in this scenario, but the rare use case where one would create a link template with CSS would also now work.
I disabled warnings in the wp-config file, this is a local text environment. There is no live link yet. sorry.
After I disable the warning, all seems ok.
Two questions:
How can I close the player? I know I can pause it, etc. But I don’t see a way to close it once its opened https://try.wpdownloadmanager.com/download/audio-songs-2/
You send me the file in that google link, that file is not available in wp downloads pro addons? How hard would it be to have a different player instead of the wavesurfer-player?
Hi, I am a Download Manager Pro user and how do we set up the downloads in WPDM so that they can only be seen and accessible to users who are specifically assigned to them?
We aim to restrict access to downloads in WPDMM so that only users who are assigned to specific downloads can access them. This restriction is crucial for maintaining control over sensitive content and ensuring compliance with our organization’s security policies.
Our concern is all of the downloads are seen by all users and they have access to the download page or link. Is there a way that should allow for granular control over download access, ensuring that only designated users can view and download specific files?
Please advise. Thank you.
This reply has been marked as private.
This reply has been marked as private.
Hello, mrcbt
I hope this message finds you in good health and thanks for contacting us.
You can use this Add-on to set newly created link template as default link template for all the packages.
WPDM Default Values
Regards
Hi, I created a link template. How do I make it the default for all short code downloads?
Hello CIALGAR,
Hope you are well. And thanks for writing to us. For now, you can change the document tag
to any other by editing line no 374
on the download-manager.php
file from this directory wp-content\plugins\download-manager\
as I image attached,

After changing the code make sure to save the permalink once to apply the new permalink as I image attached,

please check and let me know.
Thank you and regards
Dear Sir/Madam,
https://www.arrowelearning.com.hk/?wpdmpro=m11-knowledge-materials –> Only logged-in users can see this page
However, inside this page, there is a file https://www.arrowelearning.com.hk/wp-content/uploads/2024/03/Arrow-M11-Knowledge-202406.pdf –> even non-logged in students can also see this page if a logged-in users share this link with a non-logged-in users.
How may I avoid this issue?
Hi Nayeem,
RE: 1 – I’m talking about this page… https://www.wpdownloadmanager.com/doc/admin-settings/email-options/ I don’t have those tabs.
RE: 2 – I am using both [wpdm_file_cart] and [wppm_plans] already. The plans display as seen in the link I gave you, but when clicking subscribe button it takes them to the cart page. Why?
RE: 3 – ok
RE: 4 – OK. I will try this.
If you don’t want to show that page, you can create a new link template
1. From Downloads > Templates
page, you will see CREATE LINK TEMPLATE
in the top right corner click on it ,here is the screenshot.
2. Just put this code in the HTML section, provide a appropriate Template Name, ID
<div class="link-template-default card mb-2">
<div class="card-body">
<div class="media">
<div class="mr-3 img-48">[icon]</div>
<div class="media-body">
<h3 class="package-title">[title]</h3>
<div class="text-muted text-small"><i class="fas fa-copy"></i> [file_count] [txt=file(s)] <i class="fas fa-hdd ml-3"></i> [file_size]</div>
</div>
<div class="ml-3">
[download_link]
</div>
</div>
</div>
</div>
3. Click on Save Template
.
4. After Creating new Link Template, go to your package settings and select the newly created Link Template
This will not show the Download Page, by clicking the Download button user can easily download the file.
Regards
Hello enric gustems,
For now, to get the requested mail in the message too in the email you can add this code portion from this directory wp-content\plugins\download-manager\src\Package\PackageLocks.php
file in line number 291
changing
$message = __MailUI::panel("Your have a new pending download request for:", ["<a href='".get_permalink($packageID)."'>".get_the_title($packageID)."</a>"])."<a href='".admin_url('edit.php?post_type=wpdmpro&page=wpdm-subscribers')."' class='button full green'>".__('Review the request', WPDM_TEXT_DOMAIN)."</a>";
to
$message = __MailUI::panel("Your have a new pending download request for email: ".$_POST['email']." and Package:", ["<a href='".get_permalink($packageID)."'>".get_the_title($packageID)."</a>"])."<a href='".admin_url('edit.php?post_type=wpdmpro&page=wpdm-subscribers')."' class='button full green'>".__('Review the request', WPDM_TEXT_DOMAIN)."</a>";
by adding this only,
email: ".$_POST['email']." and Package:"
please check and let me know, if it works for you.
Thank you and regards
Hello, pagan11460
I hope you are doing well and sorry for the inconvenience.
First of all, I can’t see any loom video link.
Files are downloading perfectly, here you can see.
Are you referring to this ? Kindly check and let me know.
Regards
Hello, Please visit my client’s website at https://www.apkcharities.org/ – scroll to the footer. In the middle widget, I have two W990’s that should be able to be downloaded via my client’s visitors. But instead of the files downloading, we get sent to a page that is *not* the download. I tried selecting “Open in browser” in the Basics settings. That did not fix the issue. Please watch the Loom video linked below. My files are not downloading.
Thank you.
Hello Luca Scelza,
You are using WPDM free version. For the free version, you have to modify the relevant template.
In this case, you can follow the below documentation,
Template Files
For default page template you are using page-template-default.php
from this directory wp-content > plugins > download-manager > src > Package > views > page-templates > page-template-default.php
Now to modify this page template please copy the template and paste it here in this directory {active-theme-dir}/download-manager/page-templates/
,. And then you can adjust the template by removing the [download_link]
and other required information. Thus you can modify and backup the page template for the update of the WPDM plugin.
And from Woocommerce please use the Redirect Only
option, because, now we have modified the source link page. please check and let me know if you have any queries.
Thank you and regards
Hi, yes, in this way it works, but I’m not totally satisfied. I have two questions:
1) The product in the Download manager has its own URL, what assures me that people cannot find this link by indexing? If people find it, they just click there and get the product instead of purchasing it through WooCommerce. Why is there this page for product? It is the exact thing I don’t need in any way.
2) You changed the download way from ‘Forced Download’ to ‘Redirect only’, but this appears to be very risky because people can find the source link. How do you assure me that it is protected?
Thank you
This reply has been marked as private.
No, as I give instructions above for direct download link it will not cause an Access Denied
message for download. please check and let me know
Thank you and regards
Hello Larry Longton,
I think it may conflict with other scripts for Mask Download Link
. You can check to enable/disable other plugins or switch the active theme to another. However, for now, you can use the Unmask Download Link
option. It is working properly as expected. please check and let me know
Thank you and regards
If I remove “All visitors” from Allow Access, then people get a “Access Denied” message even when using the direct download link?
Please restrict the package with a special role from Package Settings > Allow Access
as I image attached and use the direct download link

please check and let me know, if you have any queries.
Thank you and regards