Hi,
Please create a new page/link template and use <a target="_blank" href="[download_url]">Download</a>
for the download button.
First, Enable the Open File in Browser option from Downloads Settings Basic File Download Panel.
That will open the file in a new tab.
Thanks
This reply has been marked as private.
Is ther anyway to make the package perma link such as : /download/my-file-title/ go directly to the actual package? Instead of having to use:
/download/my-file-title/?wpdmdl=1234
Hi,
Create a dir named download-manager inside your active theme dir, copy wpdm-all-downloads.php from /plugins/download-manager/tpls/
to{active theme dir}/download-manager/
, now open and edit the file.
And remove the link tag from 251 to remove the link from the title.and for category 222 no line.
Thanks
Hi,
If you added PHP file in /active-theme/download-manager/link-templates/
dir then switching theme will remove those templates until you copy those templates file under the active theme.
If you used Downloads Templates Template Editor to create custom templates then those should be there even after theme switch.
How did you create those custom templates? Did you add PHP files or template editor?
Best regards.
Clone the page/link template you are using now and replace [download_link]
with <a target="_blank" href="[download_url]">[link_label]</a>
Hi,
You can use the shortcode search feature to achieve that [wpdm_search_result init=1 template="link-template-default" cols=1]
. You need to put link template which has download button with [download_link]
template tag which enables direct download.
Sorry to do with default search it needs code customization.
Thanks
I am having trouble with the Guest Download feature.
When the customer finishes her purchase on PayPal Pro, a login screen appears with no provision to go to guest download. If the customer selects to register, an error message appears saying “User registration is disabled”.
If the customer hits the link on the order confirmation email, it does offer guest download if they use their email address and order number. I tried to have the PayPal Pro bring the customer back to a page explaining this procedure, and the customer is still brought back to the login / registration page.
Help!
I’ve removed the IP block, sorry about that!
I have already enabled the email lock setting for the download I want to offer, but “nothing happens”. I am trying to understand what step I am missing. If my button/link just takes the user to the page for the item, nothing shows up to ask for the email address. Should I be using a special LINK template, instead of thinking about the PAGE template?
This is the package page:
http://nroc.org/resource/montana-scaling-ebook/
You will see that there is no preview available, and no button to download. The download button disappears when Email Lock is enabled (compared to the other page/package, linked in my previous comment, where there is a download button). This page/package uses the “page template” code referenced above.
How do I link to that page/package in a way that triggers the email lock form, and asks for an email before going to the page?
Thank you!
Hi,
You can modify email template from Downloads Templates Email Template page.
And use custom link/page template to modify the view of the package.
Thanks.
Hi,
Sorry for the delayed reply, somehow missed this ticket.
Your theme is deactivating click action on the download link. I tried with another theme and it worked as expected. Could you please ask theme provider to check the issue?
Thanks.
This is the page template:
<style type="text/css">.more_previews_a{display: block;float: left;margin-right: 6px;}</style>
<div class="row">
<div class="col-md-12">
[description]
<br />
[file_list]
</div>
</div>
<div style="clear:both;" class="preview-trouble-options">Preview enabled by Google Docs. Trouble? <a href="[page_url]">Reload</a> the page or <a href="[download_url]">download</a> the file.</div>
<div class="row">
<div class="col-md-12">
[doc_preview]
</div>
</div>
Example page of our content:
http://nroc.org/what-we-offer/edready/
Scroll down to the “Case Studies” section (after videos).
Each of the thumbnails on this page link to whitepapers tracked by WPDM. They are just regular images with captions, linked to the packages, not using the WPDM link template.
An example of one existing package in working order, without any need for an email lock, this uses the WPDM Page template above:
http://nroc.org/resource/case-study-waipahu-high-school-early-college-stem-program/
What I want is to create a “download” button on a page, which then requires the user to provide email address before downloading. The PDF preview shown in the above example is not required, I just used it because it’s our standard template.
I’m fine with a direct download or email link……but the problem is that I can’t get the email input form to display anywhere in this process and I’m not sure what part of the sequence I’ve got wrong.
Thank you
I’m using the Single Column with Doc Preview template to show my PDF’s on the download page.
When I enable the WPDM – Block Hotlink plugin, the Doc preview changes from a preview to the XML data of the document.
WPDM – Block Hotlink plugin Disabled:

WPDM – Block Hotlink plugin Enabled:

Dear Shahriar,
Thanks for the help.
Now all the download links are working fine.
Regards,
Support
Hi,
You can use Directory Addon Advance search shortcode to customize the search result page using template id with the shortcode.
[wpdm-search-page cols="1 or 2 or 3 or 4" items_per_page="10" link_template="link-template-id" position="top or left or right"]
Yes, its include the category.
Thanks
Good Day
We are having a problem with a WPDatatable plugin but when i deactivate the Download Manager plugin then the table works fine.
Please can you assist as soon as possible.
Here is the site and login details.
Link/s:
https://downloads.cathexisvideo.com/wp-admin
https://downloads.cathexisvideo.com/z-test-client-reference/
https://downloads.cathexisvideo.com/wp-admin/admin.php?page=wpdatatables-constructor&source&table_id=7
This reply has been marked as private.
Summarizing:
1) I have last WordPress release 4.9.4
2) I have PHP 5.6.33, memory limit is 768MB
3) in WP-Config: define( ‘WP_MEMORY_LIMIT’, ‘256M’ ); //==► I tried also 512M
4) I have last Download Manager Free plugin 2.9.68
5) I have last WordPress PDF Stamper plugin 1.90 (just bought the update USD 22,00, thinking it was the culprit (cause I had 1.50), but it was not needed to buy the new 1.90 because it is not working the same…)
6) All permissions on folders and files are ok (755 for folders, 644 for files)
7) Files and folders owner is correct
8) I tried to disable all other plugins, and they are all updated to their last versions
9) I tried to delete and to recreate .htaccess (clicking on permalink after deleting it)
10) PDF are normal PDF, no encrypted, no protected, just created with Adobe (and they all worked with PDF Stamper till few days ago)
Nothing of these above things solved.
The only way to let PDF files download happens again is to disable WordPress PDF Stamper plugin…making it totally useless (and I need to use it).
Any other ideas, please?
Thanks.
I am using this function in my function file to get the login/register tabbed box to appear.
function wpdm_login_reg()
{
include \WPDM\Template::Locate('wpdm-be-member.php');
}
add_shortcode('wpdm_login_reg', 'wpdm_login_reg');
Then inside my Settings I have [wpdm_login_reg]
in the Login Required Message Field.
And for Link Template I am using just the ‘Button Template’.
For Page Template I am using the
[thumb_700x400]
<br style="clear:both"/>
[description]
[download_link]
This has always showed the download button after everything.
This is the last piece I believe I need to get taken care of to get this working the way we need it to so any help is appreciated. You can view how the login form shows above the package information here, http://www.architechnicsinc.com/plans/new-playground-at-baldwin-site/. You can see what it looks like when you are logged in with the second image attached.
I was actually able to get this working by modifying the file, checkout-billing-info.php and putting in my active themes folder inside of download-manager/checkout-cart.php.
I would also like to get company to show up under Register and used the link you provided above to help put that in my function file, you can view the Company Name showing on the Register tab here, http://www.architechnicsinc.com/plans/new-playground-at-baldwin-site/, the only thing is it shows up under the recaptcha. Is there way to order that new field created in the function shown below so that it doesn’t show up under the recaptcha but before it or under Full Name? Also, does this field show up under the user information?
add_action('wpdm_register_form', 'my_register_field', 99);
function my_register_field()
{
?>
<div class="form-group">
<div class="input-group input-group-lg">
<span class="input-group-addon" ><i class="fa fa-building"></i></span>
<input id="address-line1" value="<?php echo $billing['company']; ?>" required="required" name="billing[company]" type="text" placeholder="<?php echo __("(Company is Required)", "wpdm-premium-packages"); ?>" class="form-control">
</div>
</div>
<?php
}
Hi!
Today I updated to Download Manager 4.7.3. The original problem is STILL not fully solved. The end result has though changed. I ma no longer doing this in production environment, but instead in a development environment.
I did:
* Inactivate the old plugin version 4.7.1 and removed it
* Installed the latest downloadable version (4.7.3)
* Activated
* Went to the front-end page with all docs -> Looked alright
* Clicked the link/package name of one of the available items in front-end page to get to more details and descriptions -> Blank white page without any details on what went wrong
Hi,
The user gets the email with download link, and admin can see the list of emails from the email lock in Downloads Subscribers section.
Thanks
This reply has been marked as private.
This reply has been marked as private.
This reply has been marked as private.