In some packages, you have attached URLs that’s why zip download won’t work there. The zipped download works only when all attached files are stored actual files on your server.
For example, there is an URL at the bottom of attached files list https://cad.welsrc.net/download-cad/road-emmaus-bible-study/
In this case, you can use the single file download links instead of the main download button.
Downloads > settings >Frontend Access also has the following ‘Category Page Options’
Use Basic Style
OR
Use Link Template
——
Again nothing seems to change at the front end no matter what I select here, even using my ‘<div>just contains text to see what happens</div>’ template ๐
I can understand your issue. And be sure that it is possible with the Pro version.
The demo page is done with Pro version. See the link
https://demo.wpdownloadmanager.com/ wpdmpro /download/angebot/
And I am sorry for being late.
This reply has been marked as private.
This reply has been marked as private.
1 ) Free Download Button takes the label from “Link Label” option of package settings. As a premium package doesn’t have another download button ( Main download button is “add to cart” button ) unless you are using Membership add-on. In case of membership, both button shows the same label when the user has access to the package from a subscription.
The solution is using [free_download_url]
template tag in your custom link/page template instead of [free_download_btn]
. When using [free_download_url]
you can define the button label from your shortcode.
<a href="[free_download_url]" class="btn btn-lg btn-info btn-block">Download Free File</a>
2 ) It is not possible to hide the free download button for subscribers. You need a custom template tag for that. Use wdm_before_fetch_template
hook to create a custom template tag https://www.wpdownloadmanager.com/doc/filter-reference/wdm_before_fetch_template/
3 ) Individual download for free files: Not possible yet but noted for implementation.
Hi WPDM,
Two issues with the button “You Are Not Allowed to Download”, relating to [free_download_btn]
1 – I want to change it to say something else but not get overwritten when you issue an update. How do I do that?
2 – It is allowing downloads all the time to anybody. Page link below is an example (if you are logged out the button will display “Download All Files” and still let you download the free files from the package). if you are logged in and you don’t have the correct subscription to download the free files it will say “You Are Not Allowed to Download”, and still let you download them.
I will add the link in private reply.
How to fix this?
DesignServe
Shahriar,
You need to add the information about how to add the free button to your documentation! I’ve spent three hours trying to find this out and now I found this forum post by using Google search. It is very difficult to search for anything containing the search terms ‘free files download’ this phrase is all over the Internet!
I have some queries about this now please:
1 – I added the button but it displays the same Link Label as the main package. I need it to have a different Link Label, such as “Download Free Files”, so that members can tell the difference between the download buttons. My main button Link label is Download All Files (because I also have enabled individual files to be downloaded, so I want the main button to say something extra, other than ‘Download’.
2 – Second, On my site I need a free download and a paid members download. However, I dont want the paid member levels to see the free download button (because the free downloads are already available in their paid packages). How could I do that please?
PS your site is looking better every day.
Many thanks,
DesignServe
Why?
if i set a PWD to a Post, it works fine with WP. But it don’t work on Downloads. Why do you mean, it has nothing to do with your plugin?
…or is it a Function, that only works with the PRO Version?
I would like to buy it, but this is essential for me, because the Downloads Description should not accessable with a link to that page!
If the package is publicly accessible then the download link should work without the master key. When using the link you can just remove that part.
The exact view isn’t available yet. But noted for implementation. Current sidebar view is kind of similar https://demo.wpdownloadmanager.com/wpdmpro/archive-page-default/ You can change the link template.
1 ) Enable only hide download link option from the Basic settings page. But you must have to uncheck the category permission otherwise users will be able to download packages as they are getting the required permission from category settings.
2 ) Send login info in private reply. I will customize the code to hide categories. Also, send me the page link where you placed the shortcode.
It is not possible the way you want. But you can put any email address you want in the lock modal and the download link will be sent to that address ( Enable “Email Download Link” option from the lock settings ). The only thing that missing is the feature adding a custom message.
We use download manger as a document management tool and all the files are public accessible. All of our direct download links generate with a masterkey on the end. Is there a way for us to clear all these masterkeys?
Thanks
The way that you changed it did not display the downloads in the proper order. The issue is that the post ID is set when they are uploaded so if they are uploaded out of order then even trying to reorder them using s re-order post plugin doesn’t actually change the ID.
So, my workaround was to edit the ‘publish date’ of each post and then to sort them by date. However, the folders don’t display correctly even though the content inside the folders do. The shortcode I am using is:
[wpdm_tree download_link=1 orderby=date order=desc category=improver-pages]
And the tree appears this way:
2016
Jan
Feb
March
April… etc
2017
Jan
Feb
March
April… etc
2018
Jan
Feb
March
April… etc
– – – BUT – –
What I want is for it to appear this way:
2018
Jan
Feb
March
April… etc
2017
Jan
Feb
March
April… etc
2016
Jan
Feb
March
April… etc
Is there a way to change the order of the categories?
Thanks! Maybe I didn’t explain it well. We need that the visitor/user can send de file by mail, on the front downloads page. In the print that you send us, only administrators (in wordpress panel) can do that. How can we add that same functionality in the link template? thanks!
Hi,
Thanks for your reply. I’m generating links in the PHP template, so unfortunately the Single Column, Playlist won’t help.
You can see the issue by going here: https://meyersound.com/products/#discontinued and scrolling the Discontinued Product Resources list to find the UPQ-1P and UPQ-2P. If you hover over each of those you’ll see the following 2 URLS:
https://meyersound.com/download/upq-1p-resources/?wpdmdl=386462&masterkey=5d28e52a65069
https://meyersound.com/download/upq-2p-resources/?wpdmdl=386463&masterkey=5d28e54dd67f1
Each of the downloads is a zip with a different set of multiple files from a unique package, so their names should definitely be different!
Thanks, Matthew
I suspect your logic says if old field has a value but the new one doesn’t then use the old one. That isn’t always going to work. I think the migration from old field to new should be a one-off process. I’ve just removed an expiry date and the document can be downloaded again but the edit page is still showing the old expiry date (as the new field is now blank you are pulling in the old data once more). I think this needs a little more work.
I’ve also noticed that the following information is lost when upgrading from v3 to v4.
Attached document / link
Category
Allow Access (you have provided a fix to set everything to “All Visitors” so that works in my situation)
Link template
Page template
All these can of course be reset by the customer, but doing so for every download is a lot of work. They already have the problem of editing all the pages that reference documents due to the ID change, and then I need to create .htaccess rewrites to direct old ID links to the new ones.
I read there is a v3 to v4 migration tool. Is this tool still required? I have only today found a link for it, and you haven’t asked if I’d run this tool so I’m guessing it is no longer required. I’ve tried running it on another installation but the thing just spins and nothing seems to happen. Please can you confirm what the current migration process is. Do I need to run this tool?
Sorry, I made a mistake, my spam problem is related to form Quick forms, which sends an email with the download link
Please add the following code to theme’s functions.php file. It will remove the download button from audio files when using a template with [file_list]
tag.
function wpdm_single_file_download_link($ind_download_link, $fileID, $package){
$allfiles = maybe_unserialize(get_post_meta($package['ID'], '__wpdm_files', true));
$array = explode('.', $allfiles[$fileID]);
$extension = end($array);
return $extension == 'mp3'? '' : $ind_download_link;
}
add_filter('wpdm_single_file_download_link','wpdm_single_file_download_link', 10, 3);
Sorry, I made a mistake, my spam problem is related to form Quick forms, which sends an email with the download link
Have you set up your LinkedIn and Twitter apps? After setting up apps you have to save necessary credentials in Downloads > Settings > Social Settings.
@beyondforce, the button template add-on doesn’t have any parameter named target
. Please use:
[wpdm_direct_link class="btn btn-success btn-lg" id="74" target="_blank" label="Download"]
Please check out the second button (brown), it’s a link to a google drive file:
https://forum.tesreg.com/community/main-forum/download-files/
This is the shortcode: [wpdm_button_template id=74 target=”_blank” style=”coffee” align=”center”]
This reply has been marked as private.