Support » Plugin: Contact Form 7 Response Message Popup » SENDS TWICE 2x E-Mail????

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author prince374

    (@prince374)

    1. 2X email is a bug for this plugin. i know about it but haven’t get enough time to fix it. will fix it in future version.

    2. try this
    on_sent_ok: “setTimeout(function(){ location = ‘http://YourDomainName.com/’; }, 3000);”

    Thanks

    Really liked this plugin because I needed manualy to control in wich forms to poup response & in wich don’t. But disapointed by this double email bug.

    So I fixed it a bit, here is my solution:

    <script type="text/javascript">
            jQuery(document).ready(function() {
    			jQuery('div.wpcf7-response-output').wrap("<div class='response-wrap'></div>");
    
                jQuery('.wpcf7 form<?php if ( $popup !== 'true' ) { ?>.cf7-rmp<?php } ?> .wpcf7-submit').click(function(event) {
    				response = jQuery(this).closest(".wpcf7 form").find(".wpcf7-response-output");
    				jQuery(document).ajaxComplete(function() {
    					jQuery.fancybox({
    						'overlayColor'		: '#000',
    						'padding'			: 15,
    						'centerOnScroll'	: true,
    						'content'			: response.html(),
    					});
    				});
                });
            });
        </script>

    Put this in “contact-form-7-response-message-popup.php” replacing lines 73-100 with this code above.

    Plugin Author prince374

    (@prince374)

    thanks. i will test and update soon.

    thank you ! i had the same problem and your fix did the job !!!

    thank you..
    Fix it

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘SENDS TWICE 2x E-Mail????’ is closed to new replies.