Hi David,
Download Manager cache dir stores the resized thumbnail ( featured image ) previews. These resized previews are created when requested by a link or page template with a defined size.
When a resized preview exists in cache dir WPDM reuses it instead of creating it again which makes the site run faster. If you clear the cache dir all previews will be deleted and previews will be created based on requests.
Hope this helps. Let me know if you have any other question.
Thanks.
How do I setup download manger pro so it looks like and behaves like the free version in terms of frontend layout and function:
– layout frontend downloadLinks should look like default layout on free version
– direct file download on click without having to go to a separate download page to download the files
Thanks
Three things on this,
1. The typed ‘message’ does not show up on the recipients email.
2. The download link image emailed seems to be one I have no control over? Would like to change this.
3. The company logo does not show up on the recipient’s email. I have the logo’s file as part of my ‘media’ files and indicated the url of it on the ’email templates’ settings.
Download Manager Custom link and page templates are saved in the database ( options table ) when you are creating the templates from Downloads Templates page.
So templates can be lost only if the _fm_link_templates and _fm_page_templates options are erased. There is no possibility of this happening without manually deleting all custom templates from Downloads Templates page.
Are your staging and live site identical? I mean did you copy the live site from staging? In that case, you can copy the options from the staging site to bring back custom templates.
How many custom templates did you have? If you have custom templates ID and code it is possible to restore those by editing database. But requires some time to re-create the format.
Please add the following CSS in your theme’s custom CSS option or at the bottom of theme’s style.css file,
.w3eden a { color: #0d23e5; }
This should match the download link color with your usual link color.
This reply has been marked as private.
Hi,
You are using the Free version of Download Manager there. The free version has limited number of templates. It doesn’t have the link-template-panel-1-3 link template. If you purchased the Pro version of plugin please install it to render the Panel template.
Thanks.
Please send me the URL to check. I will suggest required CSS that you can add to change download link color. You can also use Image Button add-on to show beautiful download buttons instead of just links.
Hi Andrew,
PHP is not supported in link/page template. But you don’t need PHP for what you are trying to do. You can hide a custom field when it is empty by adding [hide_empty:template_tag] as a CSS class in wrapping node.
For example,
<tr class="[hide_empty:acf_DownloadFields_title]"><td>ACF Download Fields Title</td><td>[acf_DownloadFields_title]</td></tr>
This table row will be hidden if [acf_DownloadFields_title] value is empty.
Let me know if you any question.
Thanks.
I am using the Divi Template and I changed the theme link color, but the download links are still using the old color. I can’t seem to find a place to change this. Can you help? (I did look through the documentation and the website and was unable to find this information). There must be a way to style links. Do I have to put the html for font color in the actual template? if so, that is kind of gross as I should be able to change the link color in a theme and have all links get updated.
—Andrew
I am new to WordPress and Download Manager. I am creating a link template using custom fields that I want to show up in the template only if the field is not empty. Is there an easy way to do this? I looked through the site and I couldn’t find any examples but it does appear that php is useable, but I can’t seem to get it to work. Can you help?
Here is what I tried:
<?php
if(!empty($[acf_DownloadFields_source]) {$var=”[acf_DownloadFields_title]” . “, [acf_DownloadFields_source]”;}
else {$var=”[acf_DownloadFields_title]”};
if(!empty($[acf_DownloadFields_doc-date]) {$var .= “([acf_DownloadFields_doc-date])”
?>
%%a href=”[download_url]”%%$var%%/a%%
(In the last line, I substituted < and > with %% so the text does not resolve into an actual link)
php is obviously not my language of choice, but I am pretty sure I got the syntax right.
Any suggestions?
—Andrew
Hi,
I have removed the old [wpdm_package_id] input and added a new hidden field with the same default value. Also applied the embedded form ( Used a page template with [download_link_extended] ). Now lock is working.
Thanks.
Hi,
I’m trying to replace the wordpress native author page with this shortcode:
<?php echo do_shortcode('[wpdm_user_profile template="link-template-id" items_per_page=12]'); ?>
I followed all steps mentioned here in your docs, but it seems like the shortcode always points to the current user’s public profile (not the author of the current package). Is there any parameter I can pass to the shortcode to catch the current package’s author?
Thanks.
No need to zip the .eps file before uploading. Just tested a .eps file downloaded by WPDM. Works fine. Could you please send me the original file and the download link?
Hi,
Yes, there is a template tag [pdf_thumb] that shows the PDF thumb ( first page of pdf ). In your link downloads are shown using WPDM link template. Now, to show PDF thumb you have to create a custom link template with this tag [pdf_thumb].
You can create custom link template from Dashboard Downloads Templates page.
Related documentation: https://www.wpdownloadmanager.com/doc/templates/creating-a-new-template/
Please read more about custom templates here https://www.wpdownloadmanager.com/building-a-wordpress-download-manager-link-template-from-scratch/
Thanks.
After a user enters a password (correct or incorrect) the link displays “Processing” and freezes, as per the second screen shot. None of our downloads work any more.
(Ignore the first screen shot)
We want to show all downloads from one category on one page with preview images.
Our downloads are only images (HI-RES) and we want to show our customers the complete category in a table format.
Preview Image, Download Size, Download Button
Thats it.
How do we do this?
I have linked to the category in our main menu, but it does not look nice. I also dont understand how to edit this category view.
Any help would be appreciated.
THX
PS: I have attached a screenshot from our current category view.
Looks like new uploads and newly created packages aren’t allowing file upload at all when looking for the file in FTP.
On this page: https://cls.welsrc.net/download-cls/general-documents/
Now, when adding a NEW file to a download package, both URLS
now appear as FILE-NOT-FOUND.txt (37 bytes)
File added: Purchasing Center Fee Schedule
Backend Link Icon URL –
https://cls.welsrc.net?wpdmdl=3106&ind=1530107725720
Frontend Download button URL –
https://cls.welsrc.net/download-cls/general-documents/?wpdmdl=3106&ind=1530107725720
I cleared cache both WPDM and Server – no difference.
I reset server file permissions – no difference.
Existing file uploads work just fine. Example of…
Exisiting File: Thoughts of Faith Newsletter
Frontend:
https://cls.welsrc.net/download-cls/general-documents/?wpdmdl=3106&ind=1523374274611
Backend:
https://cls.welsrc.net?wpdmdl=3106&ind=1523374274611
Looking at the file via FTP, the file doesn’t exist. I tried uploading a file as admin and it did not upload to the dir /wp-content/uploads/download-manager-files/
The file size is 131 KB and the WPDM Upload Setting limit is 1024KB chunk size.
I tried uploading on one of the other sub sites (technology) and had the same outcome.
Next, I created a new download package and that also had the same outcome.
It is possible to add any custom link in details page using custom template tag. Where do you want the user to go back from details page?
Having problems with DM and Amazon S3.
It seems the add-on has a bug. After linking to S3 when we try to download it throws an fatal error saying Fatal error: Uncaught Error: Class ‘WPDM\libs\DownloadStats’ not found in …/wp-content/plugins/wpdm-amazon-s3/wpdm-amazon-s3.php:392
This reply has been marked as private.
Hi Christine,
Your key is linked to conproco.com If you are having the license issue there, please install the latest version of Download Manager. You can download it here https://www.wpdownloadmanager.com/user-dashboard/?udb_page=purchases
Deactivate and delete the old version before installing the new one. You won’t lose any data.
If you are trying to move the license to another site then I have to unlock it from conproco.com Let me know in that case.
Thanks.
The URL is generated by the [download_url] template tag. But it doesn’t generate the index.html in the download link. wget is setting this name as there is no static file name is URL.
You can modify the tag output if you want using this filter hook, https://www.wpdownloadmanager.com/doc/filter-reference/wdm_before_fetch_template/
1 ) Added a new function wpdm_decrypt_legacy in your theme’s functions.php file.
2 ) Added some custom code in /download-manager/wpdm-start-download.php file.
if( $indfile == '' ){
if (isset($_GET['ind'])) {
$indfile = isset($files[esc_attr($_GET['ind'])]) ? $files[esc_attr($_GET['ind'])] : wpdm_decrypt_legacy(esc_attr($_GET['ind']));
} else if ($fileCount == 1) {
$indfile = array_shift($files);
}
}
https://www.evernote.com/l/AUeFGTYbxM5BgZ9SxlmqrvJ9iq3VYd9Ir20B/image.png
Now old file download links are working too.
Thanks for your reply. The solution your reference is simply to use a cli output option of wget, which is always available to anyone downloading a file from anywhere.
I understand WPDM generates dynamic download links, however, really only the keys are dynamic–the base url is always the same. Can you tell me what piece of code contains the ‘index.html’ static name? At least then I could change it to ‘billybob.zip’, or whatever…
Thanks,
Scott