You can modify the download button style from Settings User Interface Tab. If you want to use just links instead of buttons then set ‘None’ as button style.
https://www.evernote.com/l/AUfp58b-bKRE4bZSLobkT68zCyLWNV3942gB/image.png
Use the TinyMCE button add-on ( https://www.wpdownloadmanager.com/download/advanced-tinymce-button/ ) to insert the shortcode in a page. It provides an easy GUI for various shortcodes.
Example: [wpdm_category id="slug1,slug2" cols="1" toolbar=0 item_per_page=10 template="link-template-calltoaction3.php"]
This reply has been marked as private.
This reply has been marked as private.
Hi,
I have recently updated my Download Manager Plugin to version 4.9.3. We have already purchased the special pack for version 4.9.2. as well as the WPDM Directory add-on.
I have used this short-code: [wpdm-archive button_style=”default” link_template=”link-template-panel” items_per_page=”10″ category=”category-slug” order_by=”field-name” order=”asc or desc”] to display specific categories, however since the update it doesn’t seem to work. My downloads do not show and the “loading” button keeps on going. How do I fix this problem?
Based on your theme those links might come from a different place. Maybe it is calling a function to display those links. However, you can also use custom css to hide those link. Send me the download page URL. I will suggest the required CSS.
Hi,
There is no shortcode for the direct download link. But you can generate the link from all packages page.
https://www.evernote.com/l/AUetUQKK8S5MHbFC04VAwrtDoarQhVy4XKsB/image.png
There is a template tag for the download link but you can it with WPDM Templates only.
Thanks.
Hi,
On a few machines running somewhat older versions of Safari, the following error occurs in front.js:100 when clicking Download and using the Email Lock functionality…
“SyntaxError: Unexpected token ‘=’. Expected a ‘)’ or a ‘,’ after a parameter declaration.”
From this link “https://stackoverflow.com/questions/37394980/syntaxerror-unexpected-token-expected-a-or-a-after-a-parameter-dec” it suggests that this is fixed in more recent versions of iOS Safari, however the desktops here all have the same issue. Would it be possible to fix this for Safari?
Kind Regards,
Gary Lockett
Hello guys,
Right now, I’m using this code to generate my download button:
$data['download_link'] = \WPDM\Package::downloadLink($data['ID'], 0, array(
'template_type' ► 'link'
));
It generates this kind of HTML:
<a class="wpdm-download-link btn btn-primary " rel="nofollow" href="#" onclick="location.href='https://mysite.com/?wpdmdl=5286&refresh=5c6d13a29aef41550652322';return false;"><span>Download</span></a>
In the <a>
tag, I would like to add a data-url attribute that will contain the href to the file. How can I do that? How can I get only the url, not the full <a>
tag ?
In fact, I need that because I want to create a “Download selected files” button, that will launch multiple downloads at once, depending on selected packages. (not all-in-one ZIP, but trigger each download separately). How would you do that?
Thank you in advance,
Cedric
1 ) Control the width of the iframe from this file /download-manager/tpls/lock-options-iframe.php
I have set it to 650px now. You can use embedded form too instead of pop up if you want.
2 ) The content of the package page is controlled by the WPDM Page Templates ( Downloads Templates Page Templates ). I have cloned the current page template ( Single Column, Flat ) and remove the package info that you wanted to hide. Then set this new template as page template for the package.
https://www.evernote.com/l/AUfzrCT-COxNI4zBTrB9lXl3thjG51F3guAB/image.png
If you want to know more about template customization please read this tutorial https://www.wpdownloadmanager.com/building-a-wordpress-download-manager-link-template-from-scratch/
Please install the latest version of Download Manager Pro and send temporary wp-admin login info in private reply. I will try to modify your theme archive to sort packages in alphabetical order.
Also, will set up an example page with category shortcode to show you how it works. You don’t have to edit the link template to insert the shortcode. You just insert the shortcode in a page. WPDM TinyMCE add-on ( https://www.wpdownloadmanager.com/download/advanced-tinymce-button/ ) provides an easy GUI for various shortcodes. Using this add-on you can insert shortcode easily.
For whatever reason, the email block is only through my Chrome browser. Works OK with Firefox. I will need to contact Bluehost/Wordpress to unblock my IP address for downloads. If you have seen this problem in the past, please advise how I may resolve this.
And as I noted earlier, the download link generated with WPDM does work when the PDF file is located on Box.net. The download link fails when the PDF file is located on the website’s server.
Again looking at your demo site, https://themes.wpdownloadmanager.com/verse/user-dashboard/, you have a link at the top called ‘User Dashboard’ but on my site https://ps-cardiagnostics.com/ it does not have the link ‘User Dashboard’ at the top. Please advise
I am trying to make my site similar to your demo. I am experiencing an issue.
Please look at this site- https://ps-cardiagnostics.com/download/jumper/
and click on ‘add to cart’ the button changes to ‘checkout’. When you click on ‘Checkout’ nothing happens. On your demo site – https://themes.wpdownloadmanager.com/verse/download/jumper/ it works. Please advise
Hi!
There is no option to remove that attribute. You have to remove it manually from the /download-manager/libs/class.Package.php
file. There are multiple appearances in that file, remove all.
By the way, we do not suggest the indexing of this URL. Because users can download the file right from the search result if you allow the download link indexing.
Thanks.
Copy the /download-manager/tpls/wpdm-login-form.php
file and place it in the /your-theme/download-manager/wpdm-login-form.php
location. Then change the texts from English to Italian. Included language file missing some texts, so this is the best way for now.
You can use a custom link template to use Italian in the template file. Clone the current template from Downloads Templates page and replace English words i.e. Downloaded, Size etc with Italian ones.
Updated “Login Required Message” option. Now after login user will be redirected to the https://www.impiantienergie.com/modulistica/
Looks like the issue is similar to the one reported here https://www.wpdownloadmanager.com/support/topic/download-link-only-refresh-page/
However, please send temporary wp-admin login info in private reply to check the issue. Or you can try to apply the patch suggested there.
The download link/button text comes from Link Label option in package settings. You have to update the text from there and the changes will be reflected on your link template output. If there are too many packages, you can use the Default Values add-on ( https://www.wpdownloadmanager.com/download/wpdm-default-values/ ) to bulk update “Link Label” of all packages with a single click.
Hi,
I want to change download links from nofollow to normal follow links. How to set it up? Default it looks like it’s nofollow.
Regards,
Kees
1 ) Send your customers guest order page link with order id and associated email address. They can download the package from there anytime they want. Or you can just send the master download link.
2 ) Master download link will keep working in the future version without any further actions as we have added the patch in our side too.
Update to my previous message
For those cases in which the form does not appear on the page, it DOES APPEAR on the pop-up box. This is OK for my purposes. Is there a way to modify the pop-up template to make it wider?
The download works fine when the PDF is on Box.Net. Unfortunately, I do lose the PDF stamping feature. I do realize that you disclosed this on the PDF Stamp documentation. This feature would be nice to have, but not absolutely necessary for my purposes. I still would like to know why I am getting the server error when the PDF is stored locally (which would provide the Stamping feature). I suspect that the link in the e-mail is malformed. I can successfully download the PDF when I paste the ID with the directory and Masterkey into a browser tab. The ID/File Download Link that is displayed in the Edit Package page DOES NOT WORK.
Example of a non-working download: (see attached screenshots)
https://oysterriverfinancial.com?wpdmdl=315&ind=1550112481402
As an example of a working download from an earlier installation:
https://oysterriverfinancial.com/download/ddib_download/?wpdmdl=317&masterkey=5c64dc51133b6
(though I forgot how I found this — can you advise?)
I see the problem. When you tested it, I had two packages with the same PDF file. Your screenshots were for the “Data Driven Investing (Book)” package. My screenshots were for the “Get the Book” package — the menu is linked to the form, not the package, so behavior is apparently different.
But there is still the problem:
1. When I tested with the “Data Driven Investing (Book)” package, I receive the email as you have shown. However when I click the download link included in the email, I receive a server error (see the screenshot)
2. When I tested with the “Get the Book” form, I receive the emails, but without the download link. As shown in the screenshots I sent earlier
3. As a test, I added a third package. “Get a Copy of Data Driven Investing” and form locked it. However the form does not display — only the package information which I do not want to display anywhere on the — how do I prevent display?
4. As a test, on the menu, I added “Get the Book (Package)” which is form locked. However the form does not display.
5. As a test, on the menu, I added the “DDI Book (Box)” package, the PDF located on Box.net. However the form does not display.
As a test, I added these five options to the menu under “DDI (Book)”. Please look at the behavior and tell me what I am doing wrong.
See the screenshots of my current setup and the server error. I also wish to prevent display of all of this file information. I cannot find a way to do this.
Thanks for your help.
The email shown in your screenshot is sent by the Form Plugin which just sends a predefined “Thank You Message.”
But if you use Form Lock add-on and apply the Form Lock as shown in my screenshot you will get the email shown in my second screenshot. You can customize the email template and email content from Downloads Templates Email Templates page.
Form Lock uses the email-lock
template, so edit that email template to customize content. There are some template variables listed on the right sidebar of editor. Those are used to add dynamic values ( e.g. download link, package name etc ) as email content.
Looks like the issue is similar to the one reported here https://www.wpdownloadmanager.com/support/topic/download-link-only-refresh-page/
However, please send temporary wp-admin login info in private reply to check the issue. Or you can try to apply the patch suggested there.