It is because amp removes all javascript. So, you need replace [download_link] with <a href="[download_url]">[link_label]</a>, but only public downloads will work there.
Nope. No template showing up.
Anyway – now I have tried to fix it for weeks – I am convinced it is not a problem with the template, it’s some error that is linked to the password query. It only happens after I have entered the password and downloaded 1 document. After that, any other buttons will only return stylling/CSS as shown on former screenshots.
You can use this add-on http://www.wpdownloadmanager.com/download/lazy-download-add-on/ to redirect user to a thank you page when they click on download link and start download from the page.
This reply has been marked as private.
Ok, thanks. That is good to know. I still have a couple remaining issues. The PDF is working, but not the Google-format document.
When I am entirely logged out of Google myself, and using a Chrome “incognito” window for extra assurance to replicate my end user’s experience as closely as possible, I get a 404 error on a Google-format document that is set to “Anyone with the link can view”.
I am still unclear on what to expect (will the user get a PDF of the Google doc? or will they be taken to the live document on Drive?) but clearly it should not be a 404 🙂
This is my test page: http://members.nrocnetwork.org/resources/download-package/test-gdrive/
The above applies to downloading independently, not as a zip package.
When downloading a zip package archive, I have a different problem: it unzips into a .cpgz file, which unzips into a .cpgz file, ad infinitum. I have reported this error before, and it is now affecting other multi-file packages on my site, not just the Google docs ones.
Hi Shaon,
Still doesn’t work. Before I go into any details, I absolutely need to get some questions answered about how this is intended to work. I might just be confusing things. I’ve asked these questions several times, and I have never received clear answers.
1) According to the screenshot at step 14 on http://www.wpdownloadmanager.com/download/google-drive-explorer/ , I should be able to set the permission level to “anyone with the link can view” and it will work. But you said “enable public access” (in your last message in this thread). By Google Drive standards, that’s two different things, and I need to know which one is correct.
2) Is the add-on designed to handle, IN ANY WAY, documents created in native Google format? I’m not talking about PDFs or Word docs that are uploaded to Drive. I’m talking about documents that were created in native Google formats, such as Docs, Slides, Drawings, etc. For example, will it automatically convert a native Google format file into a PDF which can be downloaded? Or will it link the user directly to a Google format document? Or will it fail? (Clearly it’s possible to link to a native Google format file, but I’m trying to determine what the expected outcome is when a user tries to download it.)
I would like to remove the share button!
You can see in attachments or in the under link
Ich muss wirken
Thank You for your help!
Instead of [gallery_WxH] , please use [thumb_gallery_WxH]
I found [download_link_popup] is working fine, if you apply lock option, those will be displayed in a popup when you click on [download_link_popup]
[customer_download_link] will return premium item download url for customers who purchased it, please give me an url where you trying this.
This link for example:
http://protiumdesign.com/thousand-material-design-icons/
Short code is:
[wpdm_package id='1366']
I can see download icon and size of file but can’t download…
But this very very old files still working:
http://protiumdesign.com/matrix-dark-cubes/
And short code is this:
[wpdm_file id=17]
[gallery_WxH] not working
[download_link_popup] no popup
[customer_download_link] not working
in link template use tag [excerpt_X], replace X with 100 if you want to show 100 chars. Doc: http://www.wpdownloadmanager.com/doc/templates/
I paid for and installed the “Download Period” add-on for WPDM Pro. When I use the “Allow current user access to packages created within above date range” option for a user it does block the main download link for the package. But it DOES NOT block the individual file download link buttons within a package. The only way to fix this is to turn on “Disable Single File Download” in WPDM’s main settings. Can this be fixed?
Now fallback is required, you can use <a href="[download_url]">[link_label]</a> in link template and use it for all public downloads
If you go to http://www.webpagetest.org/
and put the download link of a pdf file, foe example:
http://coptic-treasures.com/wp/download/%d9%85%d8%b2%d9%85%d9%88%d8%b1-129-%d9%85%d9%83%d8%b3%d9%8a%d9%85%d9%88%d8%b3-%d8%b5%d9%85%d9%88%d8%a6%d9%8a%d9%84-pdf/?wpdmdl=29178
then run the test,
test Results then details, then click on the link, you will get a popup window.
go to “Response”, you will find:
Cache-Control: no-cache, must-revalidate, max-age=0
I tried every possible way to put pdf files into the .htaccess to control this but could not.
is there something that i should do to change this to a cacheable item?
thanks
Hi,
Yes you are right. AMP removes Java.
However, the AMP files are automiatically generated, and I dont have control on each individual file to do so.
Would there be a way to specify a “fallback” for the download link to reflect the suggestion you said above? that way, if the amp page is shown, then the fallback link shows?
thanks
Hello,
we bought your download manager pro plugin. When using the advanced search function we wanted to change the search result page and the link template. While looking at the php code I found that you use the link-template-default.php but when altering this php file nothing changes.
So is there an easy way to find what templates are used ? link templates and page templates.
Thanks in advance
This is because amp removed javascript from the link, so, for amp create a link template using <a href="[download_url]">[link_label]</a>instead of [download_link]
This reply has been marked as private.
Hello,
I am trying to sort files within a category in a tree. Please advise.
The below sorts the categories but not the files within the categories.
[wpdm_tree category=”default-list” download_link=”1″ order=”desc”]
HI,
I am just wondering whether Download Manager will support the new technology, Google AMP?
https://www.ampproject.org/
Currently there is a WordPress plugin to generate amp pages to Google standard, however, when I installed it, the download link did not work.
What happens when I click on the word “download” is that the symbol “#” gets added to the url.
example:
http://mysite.com/amp/#
this is because of how the download link is protected in the Download Manager design.
Will there be support for AMP in the future releases of Download Manager?
Thank you very much
don’t worry, download link send in email will expire after it is used for 3 times.
Aha! I hadn’t set up the email template, yet. I knew it was something easy that I was overlooking. Thank you.
So is there a way to turn off the file link being sent to their email? I’m trying to keep files from being shared around the web without someone providing their email in order to download the file. Ideally, they provide their email, the file immediately downloads, and no email is sent with the link. Otherwise, one person signs up and then forwards the email to whoever they want – then anyone with that link can download the file without submitting their email. Thanks.
And great plugin!
in email , it just will send the download link, no attachment, and you need to configure email from Admin Menu Downloads Subscribers Email Template
This reply has been marked as private.