Please deactivate the cache zip file option from WPDM Settings. Or send temporary wp-admin login info in private reply, I will update the settings. Also, keep the single file download option only. To do that you have to use [file_list]
or [file_list_extended]
template tag in your link/page template and remove the [download_link]
tag to disable whole package download option.
Hi,
Please replace the [download_link]
template tag with the following code. You have to use custom link/page template for that.
<a href="[download_url]" target="_blank" class="btn btn-primary">[link_label]</a>
Also, make sure to activate the “Open in browser” option.
Thanks.
Thanks Andy. I am familiar with the setting you mentioned. I should have been more specific in my question…I need the PDFs to open in a new tab.
I looked at the templates and see a [download-link] shortcode in them, but no “a” tag to add a target too. I was hoping that support could offer a solution.
Support? You out there? 🙂
KO
Hi Vela,
I am NOT WPDM Support
There is a setting for this:
Downloads –> Settings –> Basic –> [ File Download ]
Find the Check box that reads:
[ ] Open in Browser
Try to Open in Browser instead of download when someone clicks on download link
Check that and when a user clicks on them, it should open in the browser rather than trying to download (on files that CAN be opening in a browser.. PowerPoints and Word Docs will most likely just goto the download dialog or download depending on browser settings).
As to making it open in a new tab…. I know when creating a text link, you can check a box that says “open in a new tab” or some such, but I believe that’s a WordPress dialog, and you have to manually copy the direct download link into it. At least that’s the only way I’ve found to open in a new tab.
The support people might know a different (better?) way to do it. It’s also possible that you could edit the templates to do what you want.
I am also getting #locked after purchasing the Form Lock plugin and installing it… it shows up after completing a form in the download link. why is this the case? how do I change it? This is very frustrating!
Ok.. So.. Update….
As un-intuitive as it was… I decided to run through the plugins (again)…
This time I checked downloads after each plugin… I found the one that was creating the download issue.
With all plugins enabled, with the exception of WPDM Block Hotlink (from the special pack), the site works perfectly fine and responds as expected. Turning on the Block Hotlink plugin causes the infinite loop to download pages, never serving the actual file (even in direct links)…
Not sure if this an actual plugin issue (since the 5.2.1 update) OR if it’s a case of problem at the server level… But for now the system is operating as intended. Still have the cUrl 28 and REST API issues, which only show up IF Download Manager Pro is enabled.. But it and other ” Recommended improvements ” disappear if WPDM (Pro) is disabled…
Looking forward to updates to the Pro edition of the plugin…
Thanks.
Now all zip files will be stored in cache dir which you can clear periodically from Downloads Settings Privacy tab. If you don’t want to store zip file it is better to disable the package download button and use only single file download links. Because creating a zip file takes a fair amount of server resource and as you are not storing those created zip the process has to be done again the next time someone else downloads the file.
So, either deactivate whole package download link or keep those zipped files to get optimized performance.
“Email Download Link” feature uses the default
Email template( first one ). You can translate it from Downloads Templates Email Templates Tab.
Shariar, this is a nice option for the time being. However, after checkout, with cache cleared, it presents an order details page with the email and order ID prepopulated, and the download available. Clicking download produces the attached “you don’t have permissions to download” error message. Only after clicking back, then clicking proceed under the email and order ID does it bring you back to the same page where the download link is valid. Any thoughts?
You have to create a custom link template to open the file in a new tab. Clone the link template you are using now. Then replace [download_link]
template tag with the following code,
<a href="[download_url]" class="btn btn-primary" target="_blank">[link_label]</a>
Or send temporary wp-admin login info in private reply. I will do it for you.
Hi,
Thanks for your answer. I am with you it must be a CSS issue but I suppose/hope that someone from the Support team of the plugin will help me.
It is the first time I work with this plugin and the Support team is not what I expected. I have opened 3 topics this week and I haven´t received any answer yet. Did you receive any?
By the way, the download links work fine to me. Could you send me a screenshot of the 403 error you are experiencing?
See you,
INA
That’s an odd issue… It looks sorta like it might be a CSS issue… Also all your download links give a 403 error from Google… Just FYI…
( I’m not support for WPDM, just giving my opinion on where the issue might be)
Hi,
As you can see in this link https://hre.es/descargas/ the categories menu is not working as the demo site example https://demo.wpdownloadmanager.com/wpdmpro/archive-page-default/ .
Please could you help me fixing the explained issues of the attached screenshot?
Thanks in advance,
INA
Hi,
We are using email lock, and have configured the plugin not to send the email link to the user, but to allow download right away. However, on the screen where the user enters their email address, the helper text says:
“Send Download Link To:”
Because we are not sending the link, this is ambiguous and is confusing our customers. I’d like to change the wording on this to something more appropriate but am struggling to locate this wording in the various PHP files in the plugin install directory. Please can you point me to where this string is defined so that I can change it to something more acceptable?
Cheers,
Phil
unfortunately when you use the Login Required Message, it doesn’t display the login form when you use the link. This is a problem if you want the form to show up instead of a link to a page to login.
Instead, I had to use Code Snippets and use the following:
add_action(‘wpdm_login_form’,’my_login_field’);
function my_login_field() {
?>
<p>
<h3 class=”media-heading” style=”padding-top: 0px;border:0px;margin: 0 0 5px 0;font-size:12pt;”>Login above or Register to download this file</h3>
</p>
<?php
}
Not the prettiest. Would be nicer to have a way to customize the login form that shows up instead of having just a message as the fall back. Especially since the text above only appears below the login fields.
Also, upon logging in, it would be nice if it stayed on the same page where the link was put in and just change the login form to a download form.
Ok.. so once I got the path right ( You don’t need the /tpls/ just /{theme}/download-manager/metaboxes/ <filename> .. .Then it worked.. Which at least protects my workaround for now.. But it really does need to be more properly fixed, as the 6 BR tags stretch out the border around that panel.. so it looks weird.
Additionally, tonight, a new problem has shown up.. and not sure if it’s a problem due to the Loop back error, or what…
Previously, we setup all our downloads on different pages to go directly to the files (using text links, and the direct download link). There are a couple of files setup in the menu’s and I’d say 90% of the rest of the files on various pages are linked like that. This system worked just fine when we set up the plugin originally. (Purchased Date: Apr 19, 2019).
However now, none of the links are working… Both the text links, and those using WPDM Link Templates, all direct the user to the package’s information page, and the download button on that page just keeps re-loading that page. This makes the system completely unusable.
Any idea on what’s going on here, and how to fix it? This is a critical high-priority error.
Thanks.
If your product is free for download then you can just add the URL to the package. User will be redirected to the URL when they click the download link.
Please make sure you have the latest version of Download Manager ( 4.9.3 ) and Premium Package ( 4.2.0 ) add-on. Then check the “Private Download Links Usage Limit:” option is Basic settings page. If it is set to 0 then set a bigger number there.
If the problem persists send temporary wp-admin login info in private reply.
To fix the saving issue in setting page please check my reply here https://www.wpdownloadmanager.com/support/topic/wpdm-doesnt-save-options/
Please send me the page link where you got the 404 error in the thumb.
Are you using the latest version of the plugin? If not, please download the latest version from here https://www.wpdownloadmanager.com/user-dashboard/?udb_page=purchases
Deactivate and delete the old version before installing the latest one. You won’t lose any data.
I checked your license key. It isn’t linked to any domain. SO, it should work fine with the latest version. Please reactivate the login link if you want me to check the issue there.
Shahriar, would you please help troubleshoot this issue at your earliest convenience? I have installed the latest versions of both DM and Premium Package to marketyourcraft.com; successfully conduct a transaction; taken to the orders page where I either get an “order cannot be found” error or essentially a page refresh upon email and order ID entry. Any thoughts are appreciated. Is there a setting I have wrong, or something else at play that would redirect a successful transaction back to the same page without the download links? Much appreciated.
Scott
Hi….
i want to change the download (button) link that redirects to card for redirect to affiliate link..? How to make it, please answer.
Thank you,
Download link email is sent separately and sent by your site, not MailChimp. To simplify you can just disable the double opt-in. The email will be added to the list and users will get the download link email after submitting address.
Which link template are you using now? Please check the package settings and find the selected link template. Then clone this link template from Downloads Templates page. In this new cloned link template, you have to replace [download_link]
with [download_link_extended]
to use an embedded form instead of popup.
You can also override the link template selected in package settings by defining the template in your package shortcode. Check the example below,
[wpdm_package id=5387 template="link-template-calltoaction1"]
You can set the new cloned template ID as value of template
in package shortcode [wpdm_package id=5387 template="5a0a849876116"]
Here is a detailed tutorial about creating custom templates https://www.wpdownloadmanager.com/building-a-wordpress-download-manager-link-template-from-scratch/
It should work. $data['link_label']
shows the download label text. Try replacing it with "Download"
echo "<a target='_blank' href='".\WPDM\Package::getDownloadURL($data['ID'])."'>"."Download"."</a>";