Forum Replies Created
-
AuthorPosts
-
admin
KeymasterThe following “email notification on download” addon is the one that deals with admin notification:
Email Notification on Download Addon for the Simple Download Monitor Plugin
Perhaps I can add an option in that addon so some download items can be “excluded” from the email notification. Will that be helpful for you?
admin
KeymasterThank you for the update. Glad to hear that.
admin
KeymasterDid you add the shortcode that is explained on the following page?
Please copy and paste the shortcode that you are using so I can check it to see if there is any typo. Also, post the URL of the page where you have it so I can inspect it.
admin
KeymasterFor the user or for site admin? The site admin can view all all the data with the squeeze form submissions in the “Squeeze Form Submissions” interface of your admin dashboard.
The squeeze form is an open form that any visitor can fill out. So it can be abused a little bit sometimes. Sending an email to admin for every submission can generate excessive amount of emails which can then trigger the server to start to block emails from that site and so on.
admin
KeymasterThe count comes from the logs. It is likely the log entries are messed up on this site. Try resetting the logs from the “Logs” menu. Then check to see how the count works after that.
admin
KeymasterLooks to be a CSS issue with the theme or another contact form plugin you have. This other source is apply a global width to checkboxes which is causing the issue on your site. You can do the following test to see what I mean:
Test for Plugin and Theme Conflict Before Posting an Issue or a Bug
admin
KeymasterIt doesn’t have a MailerLite integration at this stage. We will look at adding an option for it in the future.
admin
KeymasterYou can download it from the following page:
Also, I sent you a copy just now to your email address (the address that you used to register for this forum)
admin
KeymasterMaybe hardcode the name like the following (so it always appends .zip to the file name).
$file_name = basename($file_path); $file_name = $file_name . '.zip';
Does that make any difference?
Regarding the 502 error, you need to look at the server’s error log to see what exactly is triggering that. The error log will have clue as to what specific function call is failing on this site.
admin
KeymasterLets try a little test with some PHP code tweaks to see if it works. We can then add a filter in the addon so it can be customized without modifying the core addon’s code in the future.
1) Open the following file of this addon:
sdm-hidden-downloads/sdm-hd-download-handler.php
2) Find the following line of code in that file:
$file_name = basename($file_path);
3) Replace it with something like the following:
$file_name = basename($file_path); $file_parts = pathinfo($file_path); if (empty($file_parts['extension'])){ //Missing extension. Manually force it to have .zip extension $file_name = $file_name . '.zip'; }
Please note that I have written this code from the top of my head. It hasn’t been tested. So make sure to change this code via FTP so you can revert the changes (by replacing with the original file) easily if something goes wrong.
admin
KeymasterIt tries to read the filename by using the PHP basename() function. So it needs a direct link to the static file (not to another script which will manage the file):
https://www.php.net/manual/en/function.basename.phpIt is likely that function is failing to read the file name. The setup you explained is not a standard one for handling download via PHP system so I am not 100% sure if it will work but it is worth trying the different download method settings offered in the hidden downloads addon. Go to the “Hidden Download” menu in your WP Admin interface. Then try the different URL conversion and download method options to see if it can handle the download better.
admin
KeymasterAt least the CSS is showing there now (in the HTML code) so the caching issue is gone. Now, the CSS you entered has an error which needs to be corrected.
You have the “!important” tag AFTER the semi-colon which is wrong. The correct syntax is the following. So update your CSS code with the following.
.sdm_sf_tpl_0_form {
background-color: #b2b2b2 !important;
border-color: #b2b2b2 !important;
}admin
KeymasterDo you have any offset count set for that download? Edit that download item and check the offset count value to see if you have a number entered in there (which will offset the total count).
admin
KeymasterLooks like you are using W3 Cache plugin. So definitely try to empty the cache first then check it again.
admin
KeymasterTry the following CSS tweak:
.sdm_sf_tpl_0_form {
background-color: #b2b2b2;
border-color: #b2b2b2;
}You can add this custom CSS code in the following interface of your site:
Appearance -> Customize -> Additional CSS
-
AuthorPosts