Hi,
Link and Page templates are stored in wp_options
table as _fm_link_templates
and _fm_page_templates
. In most cases, changes of these records are made by a plugin that does backup/restore or bulk DB changes ( search& replace etc ). Please check if these options exist in the DB and let me know. We can recover custom templates in that case.
Now to avoid similar situations again, the best option is creating template files for your custom link/page templates. You have to put the files in /active-theme/download-manager/page-templates/
and /active-theme/download-manager/link-templates/
directory. The file name will be the same as the template id, i.e. 5aafb49c1b0c2.php
. And you have to set a template name at the top of the file. Please check any existing template file from /download-manager/tpls/link-templates/
directory for naming convention.
Thanks.
Actually there is an option to send download link via email. Enable it from File Cart settings.
https://drive.google.com/uc?id=1xi8uHQN1sGnpKk_MttxZgpUBcDu523-w
All emaillock-link result in a critical error and no page ist visible:
Warning: include([mypagepath]/wp-content/plugins/download-manager/tpls//download-page-clean.php): failed to open stream: No such file or directory in [mypagepath]/wp-content/plugins/download-manager/libs/class.Apply.php on line 1170
That’s because tpls//download-page-clean.php does not exists. Only tpls3/download-page-clean.php
Please fix it as soon as possible
Hi,
We are receiving this error message on the screen when trying to download a package.
Can you please help us fix this? We are using mail lock.
Our url is http://www.dragoman.ist, pakcages publications) are on this link
https://www.dragoman.ist/tr/ceviri_kaynaklari/
Error message:
Warning: include(/home/customer/www/dragoman.ist/public_html/wp-content/plugins/download-manager/tpls//download-page-clean.php): failed to open stream: No such file or directory in /home/customer/www/dragoman.ist/public_html/wp-content/plugins/download-manager/libs/class.Apply.php on line 1170
Warning: include(): Failed opening ‘/home/customer/www/dragoman.ist/public_html/wp-content/plugins/download-manager/tpls//download-page-clean.php’ for inclusion (include_path=’.:/usr/local/php71/pear’) in /home/customer/www/dragoman.ist/public_html/wp-content/plugins/download-manager/libs/class.Apply.php on line 1170
We have a site that has over 1000 different downloads, some direct and some via dropbox
Since the 5.0.3 update a specific section of them stopped working, when the download button was clicked nothing happened.
In the packages and settings we cold not see any difference between the ones working and those not but via a number of “try and see” test we (by luck) worked out that if the permalink started with a number it did not work, but if it started with a letter then it worked fine
For example: 2019-ita-3 did not work but ita-2019-3 worked fine
This is fine going forward as we will change the naming system for 2020 onwards BUT the area affected is based on years so all the packages start with a year (2011, 2012 …… 2019) – its something like 600 packages and we really don’t want to have to manually change all the permalinks
Any fixes?
Is there anyway to modify the featured image or templates during bulk import, via changing values in the CSV?
I need to add multiple images that already exist on the server, and so have the URL for the download link as well as what I would like to use for the featured image.
I have attempted to mass change templates via the CSV import method but there is no field for featured image URL.
Thanks
Nope, no plugin files have been touched.
Hmm. This is a WPMU site, so the plugin editor is in a different area. I changed the permissions. Here’s a link: https://new.synthetex.com/wp-admin/network/plugin-editor.php?plugin=download-manager%2Fdownload-manager.php&Submit=Select
Hi, Got only one email and the download link was functional. Could you please try again?
Hi !
I’m having a weird problem : some of my documents correctly download when I press the download icon. Some others redirect my browser on the download page template. How can I fix this ?
1) Thanks, that works!
2) Well, the download starts, but the problems with the “double submit” of the form then is still the same. After “click” the page/form gets submitted again (but empty) and then you get all the form-errors (Empty fields and so on). Another solution could be, to send the download link via Mail, but “download link via email” doesn’t work with form lock and file cart. How can I solve the problem?
Thanks and best regards
This is on the admin side. The download link for the free file does not work (likely due to the fact that it is adding that additional directory to the URL when attaching the free file to the package). Please advise.
Hi,
I use wpdownloadmanager on pesnetwork.eu and in the console I discovered the following error in the console:
GET https://www.pesnetwork.eu9999999999/?ver=5.3 net::ERR_ABORTED 404 (Not Found)
After digging further, I found that this is caused by wpdm-css:
<link rel=’stylesheet’ id=’wpdm-front4-css’ href=’https://www.pesnetwork.eu9999999999?ver=5.3′ type=’text/css’ media=’all’ />
Any idea why this happens and how this can be fixed?
thx,
Robert
Yes, it is possible. Actually, that’s the default behavior of the WPDM when user login is required to download the file. Instead of showing the download button it shows a login button that takes the user to the login page and after login redirect the user to the package page.
Does it act differently on your site? Which page/link template are you using there?
This reply has been marked as private.
How do you override the 128X128 Thumbnail image size in a custom Link Template.
Here’s my code:
<div class=”panel panel-default c2a4″ style=”margin-top: 15px; margin-right: 150px; margin-bottom: 15px; margin-left: 150px;background: #f5f7f9″>
<div class=”panel-body text-center” style=”padding-bottom: 20px”>
<div class=”text-center wicon”>
[thumb_384x384]
</div>
<h3 style=”padding: 0;margin: 0;margin-bottom: 5px”>[title]</h3>
<div class=”panel-footer text-center” style=”background: #fcfcfc”>
View More
<div class=”d-button d-inline-block”>[download_link]</div>
</div>
</div>
<style>
.w3eden .text-small{ font-size: 10px; }
.w3eden .c2a4 .wpdm_icon{ height: 64px !important; width: auto; } .well.c2a4 .media-body{ font-size: 11pt; }
.w3eden .c2a4 .wicon img{ border-radius: 2px; max-width: 20px;margin: 15px auto 25px !important; }
.w3eden .c2a4 .btn{ border-radius: 20px; margin: 0 3px; padding: 0 25px !important; height: 36px !important; line-height: 36px !important; font-size: 12px; font-weight: 800; }
</style>
Hi,
I have two downloads with this issue. It is strange I have over 300 download and only having issues with those two.
I don’t have the option to make this post private yet, I will send you login and the links with issues.
I have found an old ticket where you requested to add this scroll to top feature. Here is the ticket link https://www.wpdownloadmanager.com/support/topic/questions-about-pagination/
You have to remove the custom code to stop the scroll 🙂
Hi Marko,
The download link in the email is working now. I activated Bootstrap 3 from Downloads > Settings > User Interface as this is related to a Bootstrap 4 template.
Thanks.
Since the update to version 5.03 my website has lost its look and feel. The alignment of the PDF icon with the link text is bunched together on the left instead of in a clean, straight line. How do I modify this so that it goes back to the way it was before? Perhaps you should include more control over these elements in the User Interface section of the piece. I could change the colour of the download icon, but that’s pretty much it. Not too happy about the way this impacted my website. Please provide a workaround.If I modify one of the templates, do I have control over these issues? How do I modify a link template to reflect my site’s theme?
Ok, thanks. But in that file there’s only a shortcode [download_link_popup] present. How do I get access to change the actual html for the modal popup?
Hello Shahriar,
now I was able to set it up..basically it is working like intended.
I’m having a few problems, maybe you can help:
1. File Cart not showing file-title, only file-name.
The line <?php echo isset($fileinfo[$file])?$fileinfo[$file]['title']:''; ?><?php echo basename($file); ?>
only echoes the basename. $file
is not giving an ID, it’s giving 56982356filename.pdf
. This way $fileinfo[$file]['title']
doesn’t work, because the $fileinfo
array has (in this example) 56982356
as identifier. This seems to be an bug in the add-on.
Could you offer me a solution for that?
2. When ajax submitting a CF7 form, the “successfully sent” message will contain the download button for the package. If you click that button, the ZIP is downloaded, but the page/form gets “submitted” again and then you get many “field required”.
Is there a way to redirect the form to a “Thank you” page, and then show the download link there (or automatically start the download after submitting the form)?
Thank you for the help.
Best regards,
Tim
The download popup modal is using /download-manager/tpls/link-templates/link-template-button-popup.php
template. To customize this template, make a copy and place it in /active-theme/download-manager/link-templates/link-template-button-popup.php
location. Then add your customization in this new template.
Now, this new template will override the default one. As the file is outside the plugin directory, your customizations won’t be lost during the plugin update.
-
This reply was modified 5 years, 9 months ago by
Abdus Sattar.
Please download the plugin from this link https://downloads.wordpress.org/plugin/download-manager.zip and then install it by uploading from Plugins > Add New page.