I’ve just updated to the latest version of DMP and am now having issues with the Prosper theme I was using.
I’ve got a page on my site that I am using as my homepage, this contains the shortcode [wpdm_user_dashboard signup=1 flaturl=0 fav=1]
to display the user dashboard. This displays fine, but if I then click on the “My Downloads” link I get taken to the Blog page with nothing on it.
Also if I switch to using the Prime theme, when I click on the My Downloads link I’m getting a 403 forbidden error.
The only theme that seams to remotely work is the Crypton theme, this at least displays a list of downloads when I click on the link. However if
I also click on any of the other links on that same page, such as the Edit Profile link I am also presented with a list of downloads.
Any ideas why I’m having these issues and any possible solutions?
Cheers
Andy
This reply has been marked as private.
Sorry, forgot to re-add the patch at line 464 wpdm-premium-pacakge.php
file after installing a fresh copy. I installed a fresh copy when solving the session related issue. However, the master download link is working now. We will release an update soon with all the patches added to your copy.
You are using a Download Manager shortcode with “Link Template Embedded” and it is generating the link to the pacakge details page. To remove the page link clone the “Link Template Embedded” from Downloads Templates page. Then replace the [page_link]
template tag with [title]
tag and save the custom template. Use this new link template with your shortcode.
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.