Hi,
you can try and follow the link below documentation,
by default, you are using link-template-default.php
for link template and page-template-default.php
for the page template. As documentation, you have to copy the file in the theme directory naming a folder called download-manager
, then paste it in page-templates
for page template or link-templates
for link template. And you have to replace [download_link]
with <a href="[download_url]" class="btn btn-primary" target="_blank">[link_label]</a>
in related PHP file.
let me know, if those help you.
Thanks.
I’m adding the downloads to my page using the standard shortcode that only has the item ID in it. I would like to be able to ask the browser to open the pdf/download in a new browser window since many of the links we are opening are not on my website. I basically want the target=”_blank” functionality. I assume the best way to do that is with the shortcode. I don’t see any general settings for the plugin that would allow that.
Please advise how I can make this happen.
Thanks for sending me instructions and shortcode its worked on the guest page and can you tell me how can i include direct download link in guest email soo customer can directly download audios from email Thanks
I have the same issue and working with WPML as well. How to fix this? Seems the url on the download button in the page template breaks for some reason. Looks something like this: a class=”wpdm-download-link btn btn-primary ” rel=”nofollow” href=”#” onclick=”location.href=” https:=”” mysite.nl=”” download=”” artikel-name=”” ?wpdmdl=”366&refresh=5ef1d15a8c1dc1592906074";return” false;”=””
@matr, you don’t have to add/edit any code, simply select “Unmask Download Link” to resolve the issue:
Hi,
That worked perfectly for link-template-default.php.
The changes to page-template-default.php do not seem to work. The file has been copied to the theme’s download-manager/page-templates folder. Any idea?
Thank you.
Hi mahamed Trabelsi,
Thank you for your query. Currently, the default is to open an external link in an iframe. This can be modified by editing the plugin download-manager > wpdm-start-download.php
file Line 151.
add the following patch :
echo "<script> var parentWindow = window.parent;
parentWindow.document.getElementById('wpdm-lock-frame').style.display = 'none';
parentWindow.open('{$indfile}');
</script>";
DONT FORGET TO uncomment the header('location: ' . $indfile);
line.
thanks.
Hi,
you can follow the link below documentation,
by default, you are using link-template-default.php
for link template and page-template-default.php
for the page template. As documentation, you have to copy the file in the theme directory naming a folder called download-manager
, then paste it in page-templates
for page template or link-templates
for link template. And you have to replace [download_link]
with <a href="[download_url]" class="btn btn-primary" target="_blank">[link_label]</a>
in related PHP file.
let me know, if those help you.
Thanks.
Hi There,
I think you have misunderstood my question so I will rephrase this.
Below is a list of metadata fields (Columns) that is available in download Manager Pro by default.
Package setting
I want to add in some more fields for example “Topic” etc. How can I add custom metadata fields (columns) for my files?
Looking forward to hearing back from you soon. This is an urgent requirement, please.
Best Regards.
Hi,
If you are trying to open the download link in a new tab,
you can follow the link below documentation,
by default, you are using link-template-default.php
for link template and page-template-default.php
for the page template. As documentation, you have to copy the file in the theme directory naming a folder called download-manager
, then paste it in page-templates
for page template or link-templates
for link template. And you have to replace [download_link]
with <a href="[download_url]" class="btn btn-primary" target="_blank">[link_label]</a>
in related PHP file.
let me know, if those help you.
Thanks.
Hi Marcus shita,
Please follow the link and search there.
https://www.wpdownloadmanager.com/support/
and for dropbox settings please follow
How to use DropBox to store your files and allow users to download them from your website
thanks
Hi Greg Harte,
Sorry for the inconveniences. For purchase security reason, it is not convenient to send the user the direct download link of the purchase.
However, you can easily achieve guest purchase functionality.
#1
create a guest purchase page. put the shortcode [wpdmpp_guest_orders]
in the page. NOTE THE GUEST PURCHASE PAGE URL
#2
Enable guest checkout
from downloads > settings > Premium Package > Basic tab> Frontend settings
#3
Modify the Purchase Confirmation - Guest ( To: Customer )
email template from Downloads > templates > email templates >
to remove the signup link and insert the purchase page URL you have created at #1. save it.
(Please don’t forget to use insert link button in the editor, this will make a clickable link. we will add a template variable tag in next update to make this easier.)
NOW the customer will get the guest order page URL in the email when they purchase.
Please let us know if you face any problem.
thanks
Hi Sarah Janye Duryea,
The problem was due to you had hardcoded the download link in the email template.
I’ve fixed the download link tag in the email template to <a class="button" style="display: block; text-align: center;" href="[#download_url#]">Download</a>
[#download_url#]
this tag in the href is important. It will replace by the downloaded package accordingly.
It’s working fine now. Please check that out.
thanks
There may be an issue with user Allow Access option also there can be Download link expiration period issue. please give the package URL and if possible, Please, give your temporary wp-admin login details in a private reply for checking the issue.
Thanks.
Hi,
I see it is taking some time to deliver your email. So the ” Private Download Link Expiration Period:” was expiring which was set to only 3 minutes. I have increased it and tested a download. There was no issue with the download after that.
Thanks.
Please, give your temporary wp-admin login details in a private reply for checking the issue and adjusting it. can you please elaborate which is you are saying direct download link
Thanks.
Hi everybody.
I’m a Download Manager Pro user and I have an issue regarding “links template” feature.
When I paste the “direct download link” – which is the kind of link I adopted – inside my post, the plugin always uses the “1 column,Extended” template and it seems not to be any way of changing it, neither adding the template of my choice in the relevant field while inserting a new download element, nor deactivating every link template but the one I’d like to use (Call to actin 1).
Is there any solution?
Thanks in advance for your kind reply
I reverted back and am redoing it. How can I avoid it happening again? In the front end settings I selected the pages where I created the login, register, dashboard pages. It seemed when I didn’t do that the links on the login, register and dashboard pages didn’t work. I obviously need to be able to get in the backend of my site but want to be able to redirect members to their dashboard, as an admin it shouldn’t redirect me. It doesn’t give me the usual WordPress login page but the WP Download Manager login page when I go to mysite.com/wp-admin. I must have done something wrong. I would also like to possibly have a different dashboard for some users with user specific info.
I need help. The problem is the display of the button when you put a captcha, and from the beginning to the place of the download button, you need to put a captcha check mark. When you don’t put a captcha, everything is fine. How do I make a button appear at the beginning, and then a captcha? Code for the page template.
<?php if(!defined(“ABSPATH”)) die(); ?>
<div class=”row”>
<div class=”col-md-7″>
[thumb_800x600]
</div>
<div class=”col-md-5″>
[download_link_extended]
</div>
<div class=”col-md-12″>
<br/>
<!— Nav tabs —>
<ul class=”nav nav-tabs” role=”tablist”>
<li role=”presentation” class=”nav-item”>[txt=Description]
<li role=”presentation” class=”nav-item”>[txt=Package Info]
<li role=”presentation” class=”nav-item”>[txt=Attached Files]
<!— Tab panes —>
<div class=”tab-content” style=”padding: 15px 0″>
<div role=”tabcard” class=”tab-pane active” id=”wpdmpp-product-desc”>[description]</div>
<div role=”tabcard” class=”tab-pane” id=”wpdmpp-product-info”>
<ul class=”list-group ml-0 mb-2″>
<li class=”list-group-item d-flex justify-content-between align-items-center [hide_empty:version]”>
[txt=Version]
<span class=”badge”>[version]</span>
<li class=”list-group-item d-flex justify-content-between align-items-center [hide_empty:download_count]”>
[txt=Download]
<span class=”badge”>[download_count]</span>
<li class=”list-group-item d-flex justify-content-between align-items-center [hide_empty:file_size]”>
[txt=File Size]
<span class=”badge”>[file_size]</span>
<li class=”list-group-item d-flex justify-content-between align-items-center [hide_empty:file_count]”>
[txt=File Count]
<span class=”badge”>[file_count]</span>
<li class=”list-group-item d-flex justify-content-between align-items-center [hide_empty:create_date]”>
[txt=Create Date]
<span class=”badge”>[create_date]</span>
<li class=”list-group-item d-flex justify-content-between align-items-center [hide_empty:update_date]”>
[txt=Last Updated]
<span class=”badge”>[update_date]</span>
</div>
<div role=”tabcard” class=”tab-pane” id=”wpdmpp-product-files”>[file_list]</div>
</div>
</div>
</div>
<script>
jQuery(function ($) {
try {
$(‘.nav-tabs’).tabs();
}catch (e){
}
});
</script>
if there is no file present in a package, you can try this in your page or link templates,
<?php if(count(WPDM()-package::getFiles($ID, true)) > 0 ) { ?> [download_link] ?php } ?
Thanks.
Main Library is a Parent Category for 200+ Categories. I also have Christmas Library setup as a Parent Category for 30+ Categories. There is a separate page setup to display each of the Parent Categories:
Each Child Category is the title of a musical composition and all the orchestral parts (Packages) for a musical composition are assigned to their respective Child Category.
The Main Musical Library
would display a list of the respective Child Categories and when you clicked on one of the Child Categories (Titles of musical composition), the list would expand to show all of the Packages (orchestral parts) within that Child Category. You could then click on one of the Packages to see the individual package details with a link to download.
It has run this way since we first set it up 3 years ago. Did something change in the recent updates of either Download Manager or the Extended Short-Codes plugin that would cause this to no longer function as it did previously?
Thank you.
Hi,
You should save the templates ACTIVE_THEME/download-manager/page or link_templtes
and files should be the same name. thus, you can change the templates according to your own way.
Thanks.