WordPress.org

Support

Support » Plugins and Hacks » [Plugin: Email Before Download] Uncheck download items default option?

[Plugin: Email Before Download] Uncheck download items default option?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Have you found a solution for this? I am wondering the same thing. I wish there was an option to choose whether the boxes for multiple downloads are pre-checked or empty.

    No unfortunately I never heard back and left these boxes checked. Maybe there is a way to modify the code but I did not have time to go through and work on that for the project. The client didn’t mind in the end which is good. Still would have been nice to have that option, I agree.

    Plugin Author mandsconsulting

    @mandsconsulting

    Hi ozman2182 and caroldtg,

    Sorry for the late response. We appreciate your suggestion. Currently multi-downloads are checked by default, but we plan to incorporate a setting in the Admin Panel to allow you to override the default to unchecked in an upcoming release.

    Seniah

    @barbarahaines

    Is there a way to change the default to unchecked? I’m not seeing an unchecked option in the Admin Panel yet.

    Thank you for a very helpful plugin.

    Seniah

    @barbarahaines

    This comment led me to a solution which means going into the plugin files…but this worked for me. I removed the checked attribute from the email-before-download-php
    ____________
    If you specify checked, then it is checked; it doesn’t matter if you say checked=”false”, checked=”true”, checked=”checked” or just plain checked.

    If you don’t want it checked, then do not include the checked attribute.

    <input type=”checkbox” />

    See: http://www.w3schools.com/tags/tryit.asp?filename=tryhtml_input_checked

    Pretty simple change to the email-before-download.php file. Find the line:

    $chekboxes .= '<br />' . $d->title. ' <input type="checkbox" checked="true" name="ebd_downloads[]" value="'. $dl_id . '"/>';

    Remove the checked="true" part. You’re done!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Plugin: Email Before Download] Uncheck download items default option?’ is closed to new replies.