WordPress.org

Support

Support » Plugins and Hacks » AWeber Web Form Plugin » [Resolved] I want to add auto comment signup checkbox.

[Resolved] I want to add auto comment signup checkbox.

Viewing 4 replies - 1 through 4 (of 4 total)
  • edit aweber_webform_plugin.php and look for

    [ Moderator Note: Please post code or markup snippets between backticks or use the code button, not the blockquote. ]

    function add_checkbox()
        {
            $options = get_option($this->widgetOptionsName);
            ?>
            <p>
            <input value="1" id="aweber_checkbox" type="checkbox" style="width:inherit;" name="aweber_signup_checkbox"  />
                <label for="aweber_checkbox">
                <?php echo $options['create_subscriber_signup_text'];?>
                </label>
            </p>
            </br>
            <?php
        }

    add the following inside

    <input />
    
    checked="checked"

    so it looks like

    function add_checkbox()
        {
            $options = get_option($this->widgetOptionsName);
            ?>
            <p>
            <input value="1" id="aweber_checkbox" type="checkbox" style="width:inherit;" name="aweber_signup_checkbox" checked="checked" />
                <label for="aweber_checkbox">
                <?php echo $options['create_subscriber_signup_text'];?>
                </label>
            </p>
            </br>
            <?php
        }

    please check the screenshot.

    http://www.diigo.com/item/image/3hup3/pnd6

    I have implemented the code but still not working.

    paste the entire plugin code so i can see if you did it right

    MrFent37, Thanks a lot for your help.

    My Issue got resolved as I bought premium plugin (Subscribers Magnet) for this task.

    PS: Your code was also working fine later. I am using CDN on my blog so changes were not reflected at that time.

    You help was much appreciated.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Resolved] I want to add auto comment signup checkbox.’ is closed to new replies.
Skip to toolbar