When outputting multiple download buttons through <?php $package = wpdm_get_package($post->ID); echo $package['download_link']; ?>
, success/error messages always show up on the first button instance only.
It would appear the Javascript that outputs the messages apply to the div’s first instance, not the div relative to the form.
Can anyone verify?
HI there,
Following an update my file downloads are no longer working. The files that are on the system before the upgrade are fine but the shortcodes don’t work any more. Usually, you click on the link and you can download the PDF. Now you click on the link and it’s redirecting to Downloadmanager files and notepad.
Could you please let me know how to resolve this? I attach a screenshot which might explain what’s going on.
Thanks
Yes, you need to create a link template without [page_link] tag. You may use following code too:
<div class="media">
<a class="pull-left" href="[page_url]">
[icon]
</a>
<div class="media-body">
<h4 class="media-heading" style="padding-top: 0px;border:0px;margin: 0px;">[title]</h4>
[download_link] <i style="margin: 2px 0 0 5px;opacity:0.5" class="icon icon-th-large"></i> [file_size] <i style="margin: 2px 0 0 5px;opacity:0.5" class="icon icon-download-alt"></i> [download_count] downloads
</div>
</div>
Anyhow here is the docs: http://www.wpdownloadmanager.com/doc/templates/
Test 2:
Try to add package with 2 file: 1 File from update and 1 from remote ftp server.
1/ [download_link_extended] not work, i try to download and got a zip file have only one file form upload, where is my file from remote server.
2/ Try to click download from from remote ftp server and i got a file file-not-found.txt with content “File not found or deleted from server”
This reply has been marked as private.
Hi,
I am trying to use a custom download button i designed. Each time I upload it, it shows as a broken image. after i save and refresh image I don’t even see the broken image in the list.
I uploaded it once and assigned it straight away to the link and page template then saved. when i opened the post where the link shows, i found a broken image where the button is supposed to appear. i have no problems uploading files to my WordPress.
please advise why the plugin is doing so.
cheers.
This reply has been marked as private.
1. image #2 is missing.
2. You have to modify download-manager->templates->link-template-default.php
. You can remove unnecessary options from the file.
Thanks.
@emmaxson, not possible for now, as dropbox expires direct download link after 4 hours. Anyhow we are working on a core api add-ons, which will have direct download option.
no, first user will see the order ID and when they click on order ID, they will see order details with download link of purchased items.
no, but user will see the period as a message instead of download link when they don’t have access to download ( before and after time )
Hi,
I just purchased the PRO version.
I made 2 packages. one for a file already on the server, using the “browse” option, with Arabic (utf-8) file name.
The second was a direct upload from my computer, with English file name.
Both have the same problem.
when i click on the “Download” button, i get a page full of corrupted code, whether i click on the download button in the link template or the page template.
when i try to “right click + save link as” on the button, i don;t get a download link.
please find below links to the posts i inserted the packages in.
also, please find attached screenshots of what i see when i click on the download button:
Please note that I do NOT have caching services active, to ensure that the files are served fresh, for testing purposes.
Please note that i tried this on TWO themes, Avada Child and WP Twenty Fifteen, and both give the same result.
Also, i tried with both Bootstrap active and disabled, both gave the same results.
Can you please advise what shall i do?
I repeat, you have admin access.
I am a developer, and I have implemented your code exactly as you provided it, swapping out the “link-template-id” for the ID of my link template that I created.
Did you download the .txt? That code is tabulated properly. Swap the .txt for a .php and then you’ll be able to open it up in your favorite code editor and get syntax highlighting.
These slow and unhelpful responses are turning into a problem. Our client is getting frustrated that we have not completed our task.
I also am curious why the text and media I had input into the download file don’t show up– I only get a box with the attached file content.
See the attached screen shots… 1) shows how the page looks– only has the “download” link and file name, but 2) shows there is a bunch of text and image within the DM file.
?
This reply has been marked as private.
Can you help me detailed instructions please.
I think you have too many members want this like me, because i have more than 20k post with download link
And i not with with write a code
Hi Shaon
I’m having some problems but not sure whether it’s shortcodes or something else.
Prior to updating to the latest version everything worked fine but now most downloads are no longer working – the correct file is being located on the server but returning a 404 error page.
In addition, the [wpdm_tree] and [wpdm_tree category=” “] codes ares no longer working and just keep showing the directory listing (including all categories even with the category=” ” code used) without showing the download packages. I have also been using the wpdm_extended shortcodes plugin for quite some time now so it’s not that causing the problem.
The files are served from the S2Member plugin and not from download manager but the browse path is set to the S2 member_files directory in the download manager settings and has previously worked fine until the recent update.
All 3,000+ files were uploaded using the bulk upload (which also has problems displaying user added icons in the download manager interface although these do show up on the site so not a big problem).
As for the downloads themselves I’ve been using the format a href= “http://btbclient.thebusinesstoolbox.co.uk/?s2member_file_download=ACCIDENT Log.doc” target=”_blank”>Download /a (arrow brackets left out to stop automatic linking on this post) in the LINK_LABEL field
and in the FILES field I’m using the format – /home/jefford2/public_html/btbclient/wp-content/plugins/s2member-files/acquiring commercial property.pdf.
To test the a href link I removed it from one package and it downloaded fine from the DM manager. But the files need to be served from the S2member plugin so I can’t use the download manager for this. And it would take days to change every package to remove the link even if I wanted to go down that route. The problem appears to be with the link label here.
So apart from the wpdm_tree and category shortcodes not working, the link label is also not working for an a href link.
I have also tried clearing the download manager cache but this has had no effect can you help please?
Yes, you can show the download link for single package, please use this add-on http://www.wpdownloadmanager.com/download/advanced-tinymce-button/ to generate short-code.
Those are not button image, they are individual link template, you need to install this add-on http://www.wpdownloadmanager.com/download/wpdm-button-templates/ and use short-code [wpdm_button_template id=package-id style="style-name" align="alignment"]
in your page or post.
“However the post itself contains social links at the bottom” <--- this is either coming from another plugin or active theme, you need to disabled those from that plugin or theme settings for download manager packages.
I’ve pinpointed the problem with the file downolads and this is that the a href in the link label is no longer working. I tested this by removing the link label in one download package and it downloaded fine from the DM manager. But the fiels need to be served from the S2member plugin so I can’t use the download manager for this. And it would take days to change every package to remove the link even if I wanted to go down that route.
So apart from the wpdm_tree shortcode not working, the link label is also not working for an a href link.
Cheers
Caroline
OK pesky automatic link I’ll try that one again – the link obviously starts with ““:
//btbclient.thebusinesstoolbox.co.uk/?s2member_file_download=ACCIDENT Log.doc” target=”_blank”>Download
Sorry my download link format changed to an actual link when I updated the last post. The format should read “Download”
Cheers
Caroline
In addition to my post above – the [wpdm_tree category=””] is not working either and only shows all categories including those outwith the specified category but never gets to the file download level.
As for the downloads themselves I’ve been using the format Download in the LINK_LABEL field
and in the FILES field I’m using the format – /home/jefford2/public_html/btbclient/wp-content/plugins/s2member-files/acquiring commercial property.pdf
All 3,000+ files were uploaded using the bulk upload (which also has problems displaying user added icons in the download manager interface although these do show up on the site).
Having updated all the documents recently I just overwrote the files already stored in the S2member_files folder. All are the correct filenames and extensions etc. so no different from original files and since I have previously overwritten files in this way without problems I don’t think this is an issue.
Cheers
Caroline
Login info is not working, however short-code [slideshare id=32615157&doc=drvalya-140322141806-phpapp02]
may not working in wpdm desc, but your can use the embed code directly.
For slide share url , may you please try disabling other plugins? As you see here http://demo.wpdownloadmanager.com/wpdmpro/wp-admin/post.php?post=9566&action=edit ( login: demo / demo ) , no problem in adding slider share link