-
AuthorSearch Results
-
Jun 23, 2020 at 2:15 pm #131294
In reply to: open new browser window in shortcode
Nayeem RiddhiModeratorHi,
you can try and follow the link below documentation,
by default, you are using
link-template-default.phpfor link template andpage-template-default.phpfor the page template. As documentation, you have to copy the file in the theme directory naming a folder calleddownload-manager, then paste it inpage-templatesfor page template orlink-templatesfor 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.
Jun 23, 2020 at 2:12 pm #131293In reply to: open new browser window in shortcode
Deborah BullingParticipantI’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.
Jun 23, 2020 at 12:47 pm #131281In reply to: Really Worst plugin
Greg HarteParticipantThanks 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
Jun 23, 2020 at 10:13 am #131269In reply to: Download HTML file
Jook ScholteParticipantI 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;”=””
Jun 23, 2020 at 7:12 am #131256In reply to: dont open external links in iframe
ShahjadaKeymaster@matr, you don’t have to add/edit any code, simply select “Unmask Download Link” to resolve the issue:
Jun 23, 2020 at 6:53 am #131252In reply to: How do I get files to be indexed by Google.
Fred SavageParticipantHi,
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.
Jun 23, 2020 at 4:23 am #131242In reply to: dont open external links in iframe
Borhan ChowdhuryModeratorHi 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 plugindownload-manager > wpdm-start-download.phpfile 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.
Jun 22, 2020 at 4:24 pm #131225In reply to: How do I get files to be indexed by Google.
Nayeem RiddhiModeratorHi,
you can follow the link below documentation,
by default, you are using
link-template-default.phpfor link template andpage-template-default.phpfor the page template. As documentation, you have to copy the file in the theme directory naming a folder calleddownload-manager, then paste it inpage-templatesfor page template orlink-templatesfor 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.
Jun 22, 2020 at 6:04 am #131175In reply to: Advanced Custom Fields With Download Manager Pro
USMAN AHMADParticipantHi 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.
-
Add Title
Paragraph
Attached Files
Status:
Visibility
Publish immediately
Download Available From:
Download Expire on:
Excerpt
Slug
Author
Tags
Category
Additional preview
Feature ImagePackage setting
-
Version:
Link Label:
Stock Limit:
Download Limit:
View Count:
Download Count:
Package Size:
Allow Access: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.
Jun 22, 2020 at 1:22 am #131167In reply to: dont open external links in iframe
Nayeem RiddhiModeratorHi,
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.phpfor link template andpage-template-default.phpfor the page template. As documentation, you have to copy the file in the theme directory naming a folder calleddownload-manager, then paste it inpage-templatesfor page template orlink-templatesfor 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.
Jun 22, 2020 at 1:15 am #131165In reply to: Research on topics
Borhan ChowdhuryModeratorHi Marcus shita,
Please follow the link and search there.
https://www.wpdownloadmanager.com/support/and for dropbox settings please follow
WPDM Dropbox Explorer – Complete Setup Guide & Documentation
thanksJun 19, 2020 at 7:56 am #131073In reply to: Really Worst plugin
Borhan ChowdhuryModeratorHi 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 checkoutfromdownloads > settings > Premium Package > Basic tab> Frontend settings#3
Modify thePurchase Confirmation - Guest ( To: Customer )email template fromDownloads > 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-
This reply was modified 5 years, 9 months ago by
Borhan Chowdhury.
Jun 19, 2020 at 5:37 am #131061In reply to: 403 error when downloading document
Borhan ChowdhuryModeratorHi 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-
This reply was modified 5 years, 9 months ago by
Borhan Chowdhury.
Jun 19, 2020 at 1:08 am #131046In reply to: 403 error when downloading document
Sarah-Jayne DuryeaParticipantThis reply has been marked as private.Jun 18, 2020 at 1:48 pm #130990In reply to: Really Worst plugin
Nayeem RiddhiModeratorThere 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.
Jun 17, 2020 at 10:58 pm #130883In reply to: Invalid download link
ShahriarModeratorHi,
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.
Jun 17, 2020 at 5:04 pm #130859In reply to: Links template not working
Nayeem RiddhiModeratorPlease, 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.
Jun 17, 2020 at 3:48 pm #130852Topic: Links template not working
in forum Download Manager Pro
Luca LucentiParticipantHi 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 replyJun 16, 2020 at 2:14 pm #130751In reply to: Redirect to user dashboard after login?
weathermaticParticipantI 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.
Jun 14, 2020 at 9:33 pm #130639In reply to: Incorrect operation of the plugin
Anton VictorovihParticipantI 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>Jun 14, 2020 at 5:55 pm #130627In reply to: How to edit linked product template
mark wrightParticipantThis reply has been marked as private.Jun 14, 2020 at 1:54 pm #130604In reply to: Use pdf_thumb shortcode only when file type is PDF
Nayeem RiddhiModeratorif 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.
Jun 13, 2020 at 5:12 pm #130556In reply to: wpdm_tree no longer displaying any results
Salmon Arm Community BandParticipantMain 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.
-
This reply was modified 5 years, 9 months ago by
Salmon Arm Community Band.
Jun 13, 2020 at 5:06 pm #130555In reply to: Changing the default link and page templates in PHP
Nayeem RiddhiModeratorHi,
You should save the templates
ACTIVE_THEME/download-manager/page or link_templtesand files should be the same name. thus, you can change the templates according to your own way.Thanks.
Jun 13, 2020 at 3:56 pm #130547
Emma BoydParticipantHi,
I’d like to change the default page templates and link templates using PHP. I’ve tried following the steps in this article but can’t seem to get it working: https://www.wpdownloadmanager.com/doc/template-files/.
My dev site is at ebdev.uk/bus, and a sample download page is https://ebdev.uk/bus/download/testing-templates/.
What am I doing wrong?
Thanks
Emma -
This reply was modified 5 years, 9 months ago by
-
AuthorSearch Results
Search Results for 'download link'
-
Search Results
-
Topic: Links template not working
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 replyHi,
I’d like to change the default page templates and link templates using PHP. I’ve tried following the steps in this article but can’t seem to get it working: https://www.wpdownloadmanager.com/doc/template-files/.
My dev site is at ebdev.uk/bus, and a sample download page is https://ebdev.uk/bus/download/testing-templates/.
What am I doing wrong?
Thanks
Emma
