WordPress.org

Ready to get started?Download WordPress

Forums

Subscribe2
[resolved] Send Email - no button on 'Are you sure you want to do this?' (13 posts)

  1. lake15
    Member
    Posted 2 years ago #

    So, when I try to send an email, I enter a subject and some content and when I hit either Preview or Send I get a screen that says:

    "Are you sure you want to do this?"

    However, there is no Yes button or OK button or anything. The HTML source code ends with:

    <div class="contextual-help-tabs-wrap">
    		</div>
    			</div>
    			 </div>
    			 </div>
    			<p>Are you sure you want to do this?</p></body>
    </html>

    Any idea what is causing this? I've tried three different browsers.

    I have two active subscribers.

    Gordon

    http://wordpress.org/extend/plugins/subscribe2/

  2. BrianH2
    Member
    Posted 2 years ago #

    I have the exact same issue.

  3. BrianH2
    Member
    Posted 2 years ago #

  4. BrianH2
    Member
    Posted 2 years ago #

    Yep - works for me:

    There was no error for me as the comma ',' error slipped into the development code but was not on my own sites.

    I've found a second glitch of the same type at line 56. Replace:
    wp_nonce_field('subscribe2-write_subscribers', $s2nonce);
    With:
    wp_nonce_field('subscribe2-write_subscribers' . $s2nonce);

    Reverting these two commas to periods / fullstops '.' would make your send_mail.php file identical to mine and mine works fine.

  5. mattyrob
    Member
    Plugin Contributor

    Posted 2 years ago #

    @BrianH2,

    Thanks for linking this back to the solution - it's patched ready for the next version but I need to thoroughly test some other patches first.

  6. lake15
    Member
    Posted 2 years ago #

    Thank you. This solved my/your issue!

    Appreciated!

  7. BrianH2
    Member
    Posted 2 years ago #

    @MattyRob
    I love this plugin but I am so frustrated with it right now. I can make a donation, but I need some help. I can't seem to get the plugin to send a digest of all the topics on my blog, and it is driving me crazy. Any links or help would be greatly appreciated.

    Thanks!
    Brian

  8. mattyrob
    Member
    Plugin Contributor

    Posted 2 years ago #

    @Brian,

    Given that you issue has no relevance to the title of this thread please can you open a new topic and we can go from there.

  9. fcl33@yahoo.com
    Member
    Posted 2 years ago #

    I have the same issue. But don't know where that code is to make the change. How do I get there? Thanks!

  10. mattyrob
    Member
    Plugin Contributor

    Posted 2 years ago #

    @fcl33@yahoo.com,

    You need to edit a file on your server. Use FTP software or the WordPress plugin editor if it's available.

    Look for the wp-content/plugins/subscribe2/admin folder.

    In there you'll find a file called send_email.php, make the 2 edits in there changing:
    check_admin_referer('subscribe2-write_subscribers', $s2nonce);
    To:
    check_admin_referer('subscribe2-write_subscribers' . $s2nonce);

    And changing:
    wp_nonce_field('subscribe2-write_subscribers', $s2nonce);
    To:
    wp_nonce_field('subscribe2-write_subscribers' . $s2nonce);

  11. blackdogman
    Member
    Posted 2 years ago #

    Thanks for that!

    This is a great plugin but I'd been tearing my hair out over this!

  12. BrianH2
    Member
    Posted 2 years ago #

    @MattyRob is there a way to direct message you?

  13. mattyrob
    Member
    Plugin Contributor

    Posted 2 years ago #

    @BrianH2,

    Try here.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic