you can use customize or pre-built link-templates in that shortcode and to open a new page for the download link you can customize the link-template PHP file for the related download link tags
thanks
I’ve got it fixed! Thanks to your tip about the version I thought about checking my custom wpdm-all-downloads.php file in my child-theme.
It contained old code, just copied the new code from the latest version into that file and tested it.
It’s now working, the download link shows as:
<a class="wpdm-download-link download-on-click btn btn-primary " rel="nofollow" href="#" data-downloadurl="https://linkhere.com">Downloaden</a>
Thanks for the quick reply!
The website is private and I cannot make it public in an instance.
The download links have the following HTML:
<a class="wpdm-download-link wpdm-download-locked" rel="nofollow" href="#" onclick="location.href='https://linkhere';return false;"><i class=""></i>Downloaden</a>
The link is created by this code in my custom wpdm-all-downloads.php file:
<td class="pdf-file">
<small>
<?php
$number_files = count($data['files']);
if ($number_files == 0){
echo "<span style='color:#cccccc'>Niet beschikbaar</span>";
} else {
echo "(" . $number_files . ") " . $download_link;
}
?>
</small>
</td>
The $download_link outputs the HTML with the classes: “wpdm-download-link wpdm-download-locked”.
What is the right way to remove them?
I’ve found a few parts of this code in the wpdm-functions.php file, but it won’t change when I edit it and place it in my Child-theme.
Thanks again!
Hi Guys,
I’ve got the exact same problem.
How can I remove the “wpdm-download-link wpdm-download-locked” classes from the download link?
If I manually remove them via Chrome console, it works without the expiration notification.
Thanks in advance!
This is related to generate the download URL for your downloading the package, but if you wish for hiding the source code, there is a way you can disable the right click with any wp free plugin. thus you may also protect the links/URLs
thanks
Your video link has been aborted by my connection, I can’t able to access the link, please check, and if you mask the download URL then it shouldn’t be copyable
thanks
This reply has been marked as private.
You can use shortcode in your wp pages/posts and this feature will help you send email download link for the multiple users
thanks
dear wpdm team, how i can Protect my Downloadable Links from being Stolen ?
Because Other Website Users are using my links on their website
I noticed that the wpdm pro links also can be copied through source code. So any method Sir to protect my Links.
If it’s possible I’ll pay for this Sir.
This reply has been marked as private.
Can you please elaborate more on your issue, you can use the email download link package shortcode on your page/post, please let me know then
thanks
Can we use email download link in the shortcode?
This reply has been marked as private.
For some Pdfs once uploaded it creates me a file in HTML and not in pdf.
I leave you the link
https://surefish.eu/downloads/surefish-communication-toolbox/
Hi,
There is no issue with the download link with the latest version of wpdm, please clear your site cache (especially js file cache ), after that it should work fine.
When using the login page in Download manager and creating a new user in the WordPress back-end and checking the ‘Send the new user an email about their account.’ checkbox, the user is getting a link to reset the password by e-mail:
https://website.com/login/?action=rp&key=ew45trgre453ehj54&login=loginname
When clicking this link, it always throws a ‘Invalid key’ error.
I already debugged this and it’s caused in the download-manager/tpls/reset-password-form.php:
$login = \WPDM\libs\Crypt::decrypt(wpdm_query_var('login'));
The login $_GET parameter is not encrypted when it is sent by WordPress itself, so the password reset key is always invalid.
I fixed it myself by copying the ‘reset-password-form.php’ to my theme and replacing:
$login = \WPDM\libs\Crypt::decrypt(wpdm_query_var('login'));
by:
// Fix for WP password reset mail
$login = wpdm_query_var('login');
if (!get_user_by('login', $login)) {
$login = \WPDM\libs\Crypt::decrypt(wpdm_query_var('login'));
}
—
Please consider an update for this!
Here it is:
http://anleitung.com/download/email-download-link/
You simply need to select page template = Default Template

I have a site where I want to set the Name your price to 0 to start. So essentially it can be free if they choose. My problem is that if I check the Name your price option and set to 0 as base price, the download is available on the page directly. If I set price to anything, even $0.01, the download link disappears. I want it so they must checkout even if it is free. This way I can collect email addresses and it will encourage them to pay something (I hope). Is there a way to achieve this?
Thanks
-
This topic was modified 4 years, 8 months ago by
Daniel Riefstahl. Reason: resolved
This reply has been marked as private.
I know that. I’m using the shortcode for a link template. As a lock option, I use the terms and conditions. I don’t want to use custom content (selected option) here, but a terms page (as you can choose). The background is that I only have to change the content for title, terms and conditions and terms and conditions checkbox on this page and not in every download. The title and the terms and conditions also appear when you click on the download link, but unfortunately not the label for the checkbox. How do you get content into the checkbox via a terms page?
Just to be even more clear, I like how packages thing works, I link a folder to a package and it shows you all files inside. I just wanted to know if there was a way to show, not only files, but also folders.
Example, I link “Download” folder to a package; it contains “document1.pdf” file and “Important documents” folder, which has inside it “Important document1.pdf” and “Important document2.pdf”. Right now the plugin shows you all three files without the division I made with subfolders. I wanted to have, in the frontend, “document1.pdf” –> download | “Important documents” –> download (that folder could also be opened to show you the other two files).
I hope this time I was clear enough, I’m just asking if this is possible.
Thanks in advance.
-
This reply was modified 4 years, 9 months ago by
Davide Vinci.
I have just renamed the current download-manager folder under plugins and added the old folder.
This means that the individual files, which have always been in folders, open perfectly in the browser with the [download_link_dynamic] in functions.php.
This works for the individual download buttons as well as in the download archive with all available downloads.
As soon as I rename the old download-manager folder again and activate the new one, it no longer works and the files are zipped and downloaded.
Again for reference, the old version was Download Manager Special Pack and the new Download Manager Pro v5.3.
What has changed so much between these two versions?
This reply has been marked as private.
This reply has been marked as private.
This reply has been marked as private.