Please update the “Button Template Clone” with the following code. Adjust the image src
to set your own image.
<a class="wpdm-download-link" href="[download_url]"><img src="https://img.icons8.com/nolan/50/000000/download.png"></a>
I used the download code that you suggested me:
<a class="wpdm-download-link btn btn-info" href="[wpdm_package id='8396']">Donwload</a>
In the previous message was not readable as code.
Thanks
This reply has been marked as private.
One of your plugin is breaking the download URL when using [download_link]
tag.
http://prntscr.com/pe1v0m
I have cloned Button template to create a new template with the following code. And that fixed the issue.
<a class="wpdm-download-link btn btn-info" href="[download_url]">Donwload</a>
Updated the pacakge with the new Link Template “Button Template Clone”. Try the download link in this page https://www.prounione.it/en/ecumenism/wpcu/2020-week-prayer-christian-unity/
Hi,
Use the first link without the master key,
http://www.fensor.com/download/mbw-t12/?wpdmdl=4125
Thanks.
Just purchased the PRO version to our website. We modified the page and link template to our own design/ info. Everything works perfect with the page template but we are having problems with our new link template. The design on our Download-page changed completely, and now we can’t get the old version back. The link template seems to be “stuck”. The design dosen’t change when we switch to another link template.
This reply has been marked as private.
Dear Technical support,
I renewed my subscription to the plug-in site and updated in multisite WP the plug-in to the latest 5.0.1. version but since then the button download link appears but does not download the file in PDF.
What I neeed to do in order to fix this issue?
The URL of the issue page is here: http://www.prounione.it/en/ecumenism/wpcu/2020-week-prayer-christian-unity/
Thanks in advance for considering my request.
ProDev
(Developer)
Hi Myron, just want to tell you are not alone.
For us WPDM is fine for normal PDF-file and other small files. But for heavy files I do not use it anymore, since our clients have been complaining a long time about slow speed and interupted downloads.
We have tried to solve it in many ways, but for now I put big files with a normal wordpress direct link (like a normal link to a media-file). Will look further for other solutions out there.
Hi after installing Wordfence and scanning our site I got one alert for a possible malicious file. Can you confirm if the file is correct, or if I should delete it?
This is the info I have got from Wordfence:
Filename: wp-content/plugins/download-manager/libs/socialconnect/pinteresconnect-dev.php
File Type: Not a core, theme, or plugin file from wordpress.org.
Details: This file appears to be installed or modified by a hacker to perform malicious activity. If you know about this file you can choose to ignore it to exclude it from future scans. The matched text in this file is: <title>PHP File Manager</title>
The issue type is: Suspicious:PHP/filemanager.6443
Description: File Manager script that can be used as a webshell. Delete if it’s not being used
Also:
When looking at the file in Filezilla the file size is 72 600 kb, but the file sizes for the Facebook, Google, LinkedIn in the same folder (“socialconnect”) is only around 15 000 kb. And this maybe “malicious” file is called “-dev”, the other files in that folder do not have this filename-ending. Facebook, LinkedIn etc also have there own separate folders there, but there is no folder for Pinterest?
Suspicious file to delete, or not?
Compared to a direct download link it is about 2x or 3x slowed in the tests I was doing.
Hi,
By default, No HTML is allowed as the button label. But you can override it using wpdm_custom_data
hook. Add the following code to your theme’s functions.php
file and set the font awesome icon <i class="fa fa-download"></i>
in “Link Label:” option of package settings.
function wpdm_html_link_label($data, $ID){
$data['link_label'] = get_post_meta($ID, '__wpdm_link_label', true );
return $data;
}
add_filter('wpdm_custom_data','wpdm_html_link_label', 10, 2);
Best regards.
It is possible but requires a custom template for /download-manager/tpls/wpdm-all-downloads.php
I have created the custom template which sorts by download count. Download the file from the following link and place it in /active-theme/download-manager/wpdm-all-downloads.php
https://www.dropbox.com/s/ev77auo5vt8a3wj/wpdm-all-downloads.php?dl=1
Download Issue: When you use the main download button to download all files WPDM creates a compressed zip to serve the download. Creating a zip requires lots of server resource and if there are too many files some servers can’t handle the request. That what happened in your case. So, the solution here is enabling single file download or just upload an already zipped file.
Naming issue: Download Manager renames a file when there is an existing file with the same name. You can enable the override if you want in which case the old file will be overwritten by the new one instead of using a new name.
Link expired notice: WordPress uses nonce in all actions. And nonce expires after a defined period. So, you can’t create the pacakge that you opened yesterday. Just upload your files using WPDM asset manager or FTP app. The link the server dir when creating the package.
No, it is not possible to create pacakge automatically without clicking the “Create Package” button.
I have added the custom CSS in Customize > Additional CSS option. So those won’t be lost in plugin update. But if you make any changes inside plugin folder changes will be lost when you update the plugin.
Hi,
You have to modify your theme’s single.php
template to add the next/prev link in package details page. Please download one of our free themes. You can copy the code from there.
Thanks.
This reply has been marked as private.
There is a difference between your WordPress-address (URL) https://www.vphuisartsen.nl/2018
and Siteadres (URL) https://www.vphuisartsen.nl
The issue originated from there. I have updated the Block Hotlink add-on to handle this scenario. Downloads are working now
Hi everyone,
I would like to replace the “Download” text in Download Link Button with another text “Descarga”
Any idea what I have to do?
Thank you very much
Looks like guest order redirect isn’t working properly yet. But the login page does show button that links to the guest download page. For now, that somehow serves as a work around. But we will definitely fix the issue in next update.
Btw, Stripe Test card is 4242 4242 4242 4242
with any expiry date and CVC.
You can customize the checkout form using a custom template. The form is coming from /wpdm-premium-packages/templates/checkout-cart/checkout-billing-info.php
. This template can be overridden by copying it to /active-theme/download-manager/checkout-cart/checkout-billing-info.php
. After making the copy edit the new file to remove unnecessary fields.
Pro Purchased! SO…the 2 hooks ‘View Course’ and ‘Take Quiz’, I found this:
wdm_before_fetch_template
Where does this get placed/edited if that’s what needs to happen. The buttons in question will more than likely be links to a webpage/url and not a file they would need to download locally.
Thanks
Scott
Thanks for the answer Shahriar.
Unfortunately it doesn’t work like this. It is still showing me only the symbol, not a list.
Do I make any mistakes? I think it is only necessary to put the shortcode of the package into the new page I built for it??
When I click on the Download Link of the not propperly shown Download symbol a blank/empty page appears with the URL: “myURL.com/download/packagename”
Within the preview function I’d also like to have some sort of timeline where I can jump around within one track.
Thank you!
All my download links do not work anymore. Maybe aftre updating the packahe? Or after installing recaptcha v3?
https://www.vphuisartsen.nl/downloads/
You need Pro if you want to do this with single shortcode and single package.
1 ) Create a package and add both files. Pro supports multi-file package.
2 ) Create a custom link/page template to get your intended UI.
By default, WPDM uses a table or Box like UI to display multiple files with the same “Download” button label ( http://prntscr.com/panswf )
But we have to create 2 custom template tags in your case to use different button labels for video and quiz links. It is possible using wdm_before_fetch_template
hook.
You can use the category shortcode with paging=0
parameter. For each category use one category shortcode. Shortcode doc link https://www.wpdownloadmanager.com/doc/short-codes/wpdm_category-query-all-downloads-from-one-or-more-categories/
Another option is using the tree shortcode you tried but that requires some code customization to limit the number of packages. You have to replace 'posts_per_page' ► 9999
with 'posts_per_page' ► 3
in /plugins/wpdm-extended-shortcodes/wpdm-extended-shortcodes.php
file.
Hi,
Please unlock the key from your old URL. You can do it from the order details page. Just click the ey button and remove the domain from modal. Then save the key on your new setup. That will fix the “invalid key” issue.
The “invalid download link” issue doesn’t seem to be related to the key. Please check your package permissions again and if you can’t find any issue there send temporary wp-admin login info in private reply.
Thanks.