I have luckily found a workaround to this problem, by requesting that the user be emailed the link instead of directly downloading. However, this is a temporary solution as far as I´m concerned, as I want my users to be able to download instantly and not have to check their emails. I would still like you to fix the issue, and I await your response.
Hello!
I have in my site one page for downloads that is “/downloads”, so inside this page I’m using some shortcodes to show the downloads. That’s ok and working.
I have some subpages like “/downloads/softwares”, in this case, “softwares” is a page that has the “download” page as the parent. That’s ok and working great.
But when I choose some pack that is listed in any of “downloads” or “softwares” pages, it shows the pack in the URL I’m using inside the Settings/URL Structure, that are “download” for Category URL base and “downbase” for Package URL base.
This is not a problem to have this link, like ” http://my-domain/downbase/winamp-5-666/ “, but when I click on it, inside the page, at the header, below the main manu, it says:
HOME > PACKAGE > WINAMP 5.666
Winamp 5.666
Also, it would not be a problem, except for the link: “PACKAGE” has the link for ” http://my-domain/downbase “, but this is not a page and it give me a 404 error. I want this link to send the user back to the home of downloads ( /downloads ) or the the category/page (they are the same), in this case, “softwares”.
How to do that?
Thank you so much.
WPDM generate download links are packageurl?wpdmdl=packageid
which is not working for strange reason in your server, so I had to change it to homeurl?wpdmdl=packageid
.
Changed file: class.Package.php
Old Code:
public static function getDownloadURL($ID, $ext = ''){
if(self::isLocked($ID) && !isset($_SESSION['_wpdm_unlocked_'.$ID])) return '#locked';
if ($ext) $ext = '&' . $ext;
$permalink = get_permalink($ID);
$sap = strpos($permalink, '?')?'&':'?';
return $permalink.$sap."wpdmdl={$ID}{$ext}";
}
Changed Code:
public static function getDownloadURL($ID, $ext = ''){
if(self::isLocked($ID) && !isset($_SESSION['_wpdm_unlocked_'.$ID])) return '#locked';
if ($ext) $ext = '&' . $ext;
$permalink = home_url();
$sap = strpos($permalink, '?')?'&':'?';
return $permalink.$sap."wpdmdl={$ID}{$ext}";
}
To open a download link in a new tab, you need to use following code for download link:
<a href="[download_url]" target="_blank">[link_label]</a>
Doc:
Templates
when you click on the download link (where the file is attached from Amazon S3), WPDM Amazon S3 creates a temporary download link with 30 mins expiration using API and redirect to it to start download. Please let me know where you facing a problem.
in the same browser session, wpdm counts multiple clicks on the same link as one. If every user uses different browser or close browser after use, then it will count every download. However, we shall add an option in the wpdm settings page to skip the situation on need.
This reply has been marked as private.
Yes I have the amazon S3 add-on
If I have an existing page https://www.wpdownloadmanager.com/ and want to make the Download now link be able to access a link inside Amazon S3 that are not public
I want it to open automatically from the link that I insert not bring up a page that I have to click download on. See attached file.
Or be able to have a PDF viewer open the private file that is stored on Amazon
This reply has been marked as private.
I am confused, because I feel like I got this to work a month back and now its not working. How do I link the download link to an external URL? When I place the URL in the URL spot it goes to an internal link directory. I want some of my files to link to a different URL
I am having a little problem while importing with the bulk import tool.
My files are in the WordPress upload folder; when I navigate there, all files have size=0.0000 (see attachment).
I still imported them anyway for testing but, when I click the download link in the page i get a .txt file with “File not found or deleted from server” in it. The audio files previews not working as well.
I tried to set the file sizes manually too, still the same errors.
Any Idea?
Hi,
I see that your package info has been translated here http://officialpartner.provisorio.ws/download/psi-valvulas-vu-s-compactas-vuvg-s-e-robustas-vuvs-s/
Could you please send me a link where translation is missing?
Best Regards.
It is not possible yet. But you can send the download link to the email when using email lock. Also in the latest version of WPDM there is an option in the admin area to send a download link to one or more emails.
https://www.evernote.com/l/AUc0ILxoeahG_ZivdjLvguuydVDquZaEBS4B/image.png
I’ve added an “EMAIL AS ATTACHMENT” button to my custom Page Template. Is there a way to make this button open a new email and automatically attach the referenced file to the new email? I know I can make the button a “mailto:” link to open a new email but I don’t see how I can somehow also download the file and reference it to automatically attach to the same new email.
Hello Shahriar,
We kindly ask you to please have a look at our issue as soon as possible, we are to send out an important newsletter (links are pointing out to our website!) regarding a very important event we will take part to in the following days and we need the plugin to work properly.
Temporary login for you is active (as previously mentioned) and we saw that you already verified issues of other users of this forum for the same plugin in less than 24 hours.
We understand our issue might be more complex for you to sort out but it is extremely vital for us that all works perfectly online as it does locally.
Customers are already writing to us saying they are unable to download our brochures and technical specs (since 3 weeks now, which is awkward).
We are sure that you understand our trouble and we are confident that you will verify and find a solution in the shortest time possible.
Look forward to hear from you.
Thanks!
This reply has been marked as private.
Hi, I just did an update and now I am unable to access via Admin on either the ‘Downloads’ link, ‘All Packages or ‘Add new’ – I just get a ‘Invalid Post Type’ error.
This is also impacting things on my live site where the accordion is no longer working. https://contactcentrecentral.com/contact-centre-white-papers/
Please advise urgently, many thanks, Justin
I have WPDM Pro and Amazon S3 plugin Is there a way to create a link on a page that opens a private document on amazon
Example on your home page https://www.wpdownloadmanager.com/ make the Download now link be able to access a link inside Amazon S3 that are not public
I tested some downloads in your link. All worked fine in my test. Could you please send me a link where you have the download issue?
I tested some downloads in your link. All worked fine in my test. Could you please send me a link where you have the download issue?
1 ) To set Link Template, use template
as parameter instead of link_template
in [wpdm_packages]
shortcode
2 ) Not option in verse theme to sort it by download count
3 ) You can use wpeden_post_thumb(array(400, 400));
inside post loop to show thumbnail. This function prints the thumb image. Adjust the thumb size as you need.
My questions are about the problems I`ve encountered while preparing my home page:
https://dobreprogramy.pro/
1. How can I change the template in shortcode [wpdm_packages] and [wpdm_packages] at home-static.php? The changes that I do in link_template unfortunately do not give results.
2. Is it possible to change the sort order in the “NAJPOPULARNIEJSZE KATEGORIE PLIKÓW” section? I’ve changed it to: ‘orderby’ ► ‘download_count’ but it does not work.
3. Could you help me and tell me how can I put thumbs over blog posts (“AKTUALNOŚCI ZE ŚWIATA TECHNOLOGII” section) on my home page)?
Thank you in advance for your help.
You need Archive Page ( Directory Add-on ) for that. Use TinyMCE add-on to insert archive shortcode. You will find all available options there.
The exact shortcode used on the demo page is the following one,
[wpdm-archive button_style="inverse" link_template="link-template-panel-1-3" order_by="post_title" order="asc" items_per_page="10" cat_view="hidden"]