-
Search Results
-
Topic: Document Link Format
In v3 the download link format was http://website.com/?wpdmdl=nnnn
In v5 the format is now http://website.com/wpdm-package/document-name?wpdmdl=nnnn&refresh=masterkey
However, the v3 format still works. My client wants to use the v3 format in their templates. Is this possible?
If the package-id could be made a template tag I think I could generate the links myself in the template, but I couldn’t find this option in your documentation.
Whenever I email a link to download a package, the end user gets the following 2 errors:
Warning: include([my website directory]/wp-content/plugins/download-manager/tpls//download-page-clean.php): failed to open stream: No such file or directory in /home/mytabtim/public_html/ameritechds.com/wp-content/plugins/download-manager/libs/class.Apply.php on line 1170 Warning: include(): Failed opening '[my website directory]/wp-content/plugins/download-manager/tpls//download-page-clean.php' for inclusion (include_path='.:/usr/local/php71/pear') in /home/mytabtim/public_html/ameritechds.com/wp-content/plugins/download-manager/libs/class.Apply.php on line 1170Note: “[my website directory]” replaced the real directory path for security purposes.
The first thing that jumps out at me is the double slash in the directory path. Not sure if this is intentional.
I am using the “Email Download Link” button from the All Packages page of the admin to send a link. The end user is receiving the message, but the page they land on displays the error above.
The error is also displayed if I use the “Download Page” link in the “Generate Download Link” overlay from the same page.
I can view the package page directly at https://ameritechds.com/download/epm-reporting-2020/.
I’m opening the page in the latest version of Chrome on Mac OS Mojave.
Thanks for any help you can provide. I’m trying to launch this feature for my client this week.
Hello,
The shortcode below does not show me the download elements:
[wpdm-archive cat_view=”compact” button_style=”secondary” link_template=”link-template-panel” order_by=”post_title” order=”asc” items_per_page=”10″ cols=”3″]
Browser console tool don’t show error
REgards
Topic: expression error
The expression on the main page has the letter “s” indicating how many times the file was downloaded. How do I resolve this error? Can you help me?
link showing the error:: https://i.hizliresim.com/LvLYEb.png
Topic: Custom Link Templates Broken
Since the recent updates, our Custom Link templates have broken. We are using Default Values as well. We have the template setup so that clicking on the Button and the Title of the download should automatically download the file without showing the Download Page. This has now stopped working.
This is the template code:
<div class=”well c2a3″>
<div class=”media”>
<div class=”mr-3″ align=”left”>
[icon]
</div>
<div class=”media-body”>
<h3 class=”media-heading” style=”padding-top: 0px;border:0px;margin: 0 0 5px 0;font-size:12pt;”>
[title]
<span style=”font-size:8pt;font-weight:300″ class=”text-muted ml-4″>
<i class=”fa fa-hdd mr-1″></i> [file_size]
<i class=”ml-3 fa fa-arrow-alt-circle-down mr-1″></i> [download_count] downloads
</span>
</h3>
[excerpt_80]
</div>
<div class=”ml-3″ align=”right”>
[download_link]
</div>
</div></div>
<style>
.well.c2a3 .btn {
padding: 11px 30px;
font-size: 11pt;
}.well.c2a3 .media-body {
font-size: 11pt;
}.well.c2a3 .wpdm_icon {
height: 42px;
width: auto;
}</style>Website (one of many where it is now not working!) https://trinitybuckshaw.lancs.sch.uk/news-events/newsletters/
Hi there,
this might be a request for the Pro version, let’s see.
Let’s assume I have a dozens of packages with dozens of files included.
General purpose: Download Area for a mid-sized PC/Laptop manufacturer. Each package is one individual PC/Laptop-Model.The files have generic filenames like “myfile.zip”.
A lot of the dozens (if not hundreds) of packages link to the same files, becaus some drivers are generic and compatible with a wide range of models.
But some of them link to others, less generic, more specialized ones. The logic, which package links to which files, is exclusively represented in the backend configuration of each package. For the purpose of understanding the usage scenario, let’s say: 80% of the files in each package links to generic files and 20% link to specialized, unique files.Now in the FTP, I might replace the generic “myfile.zip” with an updated version, but without changing the filename. (No version numbers in filenames)
This is cool, because with this single action I have automatically updated the content of dozens (if not hundreds) of packages without having to click around the backend for hours.
Problem: the end-user does not see that an update has taken place. When looking at a specific package, the user does not see the upload date (last modified date) for each individual file.
*** Proposal: the frontend should be able to display the ‘last modified date’ for each individual file. ***
This could be done in 2 ways:
Solution A) Real-time query
When the frontend is building a the page for a package for the end-user, it could use some scripting to query the real URL location of each file to read the “Last modified date” for it. This should be possible via “HTTP HEAD” request as outlined here:
https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Last-ModifiedThis real-time query should be optional because it might slightly slow down the parsing of the frontend page.
Solution B) Additional SQL column and Index re-build function
The “Last Modified Date” for each file could be stored in a SQL column. This way it would be quick and easy to parse during the end-user loading of the Package.
But if I replace a file on the FTP server (without changing the filename), the WordPress Plugin and SQL database will not take note of that change. Thus, you need a “Rebuild Index” or “Re-query last modified date” function in the backend. This could be a sample button that re-queries every currently known link (as in every unique wpdmdl=abc&ind=xyz combination), reads the “last modified date” for each file from the server and writes it into the SQL field for each such link. This query might take a few seconds and should probably only be done during low load time or maintanance.*** Final thoughts ***
I have thought about this problem a lot and I’m 99% sure that my proposal is the only viable solution. The fact that this plugin currently cannot easily display the “last modified date” of individual files (without long, convoluted clicking through the backend for hours) is a big oversight in this otherwise extremely useful and highly functional wordpress plugin.
Please let me know what you think or if you have any questions. Thank you!
Best Regards,
Tom Fichtner, GermanyTopic: Invalid Download Link Error
Hi!
The “Invalid Download Link” error just started a week or so ago. No rhyme or reason to the users that are experiencing it.
Attaching wp-login info via PM.

