• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

Download Monitor & Manager Plugin

Simple Download Monitor & Manager for WordPress

  • Home
  • Documentation
  • Addons/Extensions
  • Login
    • Sign In
    • Edit Profile
    • My Downloads
  • Support
    • Tutorials
    • Forum
    • Forum Search
    • Forum Login
    • Forum Registration
  • Contact Us
You are here: Home

admin

  • Profile
  • Topics Started
  • Replies Created
  • Engagements
  • Favorites

Forum Replies Created

Viewing 15 posts - 121 through 135 (of 269 total)
← 1 2 3 … 8 9 10 … 16 17 18 →
  • Author
    Posts
  • April 21, 2020 at 7:03 am in reply to: Hidden download plugin problem #1538
    admin
    Keymaster

    Maybe 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.

    April 20, 2020 at 1:43 am in reply to: Hidden download plugin problem #1535
    admin
    Keymaster

    Lets 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.

    April 20, 2020 at 1:17 am in reply to: Hidden download plugin problem #1532
    admin
    Keymaster

    It 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.php

    It 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.

    April 18, 2020 at 12:37 am in reply to: How to change Squeeze Form background color? #1530
    admin
    Keymaster

    At 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;
    }

    April 16, 2020 at 12:57 am in reply to: Error update and duplicate download posts #1527
    admin
    Keymaster

    Do 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).

    April 16, 2020 at 12:28 am in reply to: How to change Squeeze Form background color? #1526
    admin
    Keymaster

    Looks like you are using W3 Cache plugin. So definitely try to empty the cache first then check it again.

    April 15, 2020 at 2:16 am in reply to: How to change Squeeze Form background color? #1521
    admin
    Keymaster

    Try 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
    
    April 14, 2020 at 3:24 am in reply to: How to change Squeeze Form background color? #1519
    admin
    Keymaster

    What color do you want to change it to? I can then give you the necessary CSS tweaks for it.

    April 11, 2020 at 11:58 pm in reply to: Squeeze form not working after the plugin update #1506
    admin
    Keymaster

    Did you do any customization (like added some custom code to the plugin)? That custom code may have gotten deleted? The squeeze form addon never did anything with the following shortcode:

    [sdm_show_dl_from_category category_slug=”test” fancy=”2″]

    April 11, 2020 at 11:46 pm in reply to: Error update and duplicate download posts #1505
    admin
    Keymaster

    That is weird. Can you please deactivate and delete the plugin and then re-download and activate it?

    You won’t lose any data that you have saved within this plugin. So it is safe to delete and re-add the plugin.

    April 11, 2020 at 1:39 am in reply to: Squeeze form not working after the plugin update #1502
    admin
    Keymaster

    The squeeze form and the other shortcode are TWO complete different things. The purchase is different for those two different features.

    The squeeze form ONLY does the squeeze form with the shortcode given here:

    Squeeze Form Addon for Simple Download Monitor

    The squeeze form won’t do anything other than what is explained in the above page. So the squeeze form shortcodes will need to be put on that page.

    The category shortcode you are referencing is a different shortcode for download now buttons only (not squeeze form). So I don’t think it will do what you are after maybe.

    April 1, 2020 at 2:43 am in reply to: Squeeze form not working after the plugin update #1495
    admin
    Keymaster

    Both of them are showing an output to me (both shortcodes). So it looks okay to me. You will need to specify a thumbnail image for the download item if you want the fancy 2 to show the item nicely (as shown in our example).

    March 26, 2020 at 12:03 am in reply to: Squeeze form not working after the plugin update #1491
    admin
    Keymaster

    Thank you. The plugin looks to be upto date so that is good.

    I am not seeing any squeeze form shortcode on that page. I am only seeing the normal download now button shortcode there.

    Which shortcode from the following page are you using?

    Squeeze Form Addon for Simple Download Monitor

    Copy and paste the shortcode that you are using so I can inspect the shortcode you are using.

    March 24, 2020 at 11:31 pm in reply to: Squeeze form not working after the plugin update #1484
    admin
    Keymaster

    Did you update the main plugin or just the squeeze form? Can you please make sure that both the main plugin and the squeeze form addon is updated. Then empty your cache.

    Do you get any particular error? If you do, what is the error message?

    March 23, 2020 at 1:13 am in reply to: Export to CSV in Squeeze form is not working #1482
    admin
    Keymaster

    Do you have some entries selected from the list when you are clicking the bulk action operation?

    Check a few entries then click on the bulk operation to see if that works better.

  • Author
    Posts
Viewing 15 posts - 121 through 135 (of 269 total)
← 1 2 3 … 8 9 10 … 16 17 18 →

Primary Sidebar

Featured Addons

  • Squeeze Form Addon
  • Hidden Downloads Addon
  • Amazon S3 Integration

Support Links

  • Support Forum

Search

Featured Plugin

WP Express Checkout Plugin

Start managing and tracking your file downloads with the simple download monitor plugin. Download Now

Copyright © 2025 | Simple Download Monitor | A member of the Tips and Tricks HQ family.