• Resolved cynthia554

    (@cynthia554)


    I am using BNFW in conjunction with the Directories Pro plugin. Every time a directory listing is submitted, duplicate emails are sent to the admin and the customer. Can you please advise ASAP? Below is a list of some other plugins I am using on the site in case you can identify a compatibility issue:

    Comet Cache
    Contact Form 7
    Custom Post Type UI
    Jetpack
    Share Buttons by Add This
    Woocommerce
    Wordfence
    Yoast
    Shortpixel

Viewing 15 replies - 1 through 15 (of 18 total)
  • Kaely

    (@kaelylinker)

    I am also having this trouble with a very similar setup. I’m using the Directories Pro Plugin which has been set up with BNFW but my users get 2-3 emails everytime a notification is sent. I have followed the general instructions for troubleshooting this without success. Thanks for your help!

    Plugin Author bnfw

    (@voltronik)

    Hi @cynthia554,
    Thanks for your message.

    Are listings being submitted via the front-end or the WP Admin?
    Have you seen this help article: https://betternotificationsforwp.com/documentation/compatibility/support-plugins-front-end-forms/

    Thread Starter cynthia554

    (@cynthia554)

    They are being submitted via the front-end form.

    Plugin Author bnfw

    (@voltronik)

    Hi @cynthia554,
    Ok, thanks. This is most likely the issue.

    Did the article I linked to above help at all?

    Kaely

    (@kaelylinker)

    I’m also using the front-end submit, but adding that code in the article you linked did not seem to resolve the issue. I get 2 emails to my admins letting them know the post was submitted and 3 emails to the author that submitted the post letting them know it was published.

    I also set up an SMTP plugin which did not resolve the issue either.

    Plugin Author bnfw

    (@voltronik)

    Hi @kaelylinker,
    Did the code do anything at all or did the number of notifications remain the same?

    Kaely

    (@kaelylinker)

    Hi @voltronik,

    It stayed the same. : /

    Plugin Author bnfw

    (@voltronik)

    Hi @kaelylinker,
    If you post via the WP Admin, do you get the correct number of notifications?
    If not, can you test with and without the code snippet that you added from the support document above?

    Also, do you have any control over the front-end form at all, such as what post type or status it posts to?

    Hi @voltronik
    As I mentioned in my previous post I have the same problem.
    As you indicated, I did a back-end test and everything seems to work correctly! I received only one notification!

    Kaely

    (@kaelylinker)

    If I post through the back end, I still get duplicate notifications with or without the code.

    I don’t believe we have any control over the front end form. I do know it was developed specifically to work with BNFW. https://directoriespro.com/documentation/additional-features-and-settings/notifications.html

    Plugin Author bnfw

    (@voltronik)

    Hi @kaelylinker,
    Ok, thanks for reporting.

    I’m going to reach out to Directory Pro directly and see if they can help – looks like a great plugin!

    Same issue with a front-end form created with ACF. The form creates a custom post and saves to pending, which triggers the notification email.

    If I input the form through the back-end admin and save as pending, I only get 1 email. If through the front-end, I get 2 notifications.

    I’ve tried the suggestions here, https://betternotificationsforwp.com/documentation/compatibility/support-themes-front-end-forms/
    but nothing has yet worked.

    Here is the code that saves the form as pending:

    <?php acf_form(array(
        'post_id'		=> 'new_post',
        'id' => 'training-submission-form',
        'new_post'		=> array(
            'post_type'		=> 'trainings',
            'post_status'		=> 'pending',
            
        ),
        'post_title' => true,
        'instruction_placement' => 'fields',
        'honeypot' => true,
        'return' => '/thank-you',
        'html_submit_spinner'	=> '<span class="acf-spinner"></span>',
        'submit_value'		=> 'Submit'
    )); ?>

    Any feedback would be appreciated. Thanks.

    Plugin Author bnfw

    (@voltronik)

    @cynthia554 and @kaelylinker,
    The author of directories Pro and I have been in touch and this should be fixed via an update to the Directories Pro plugin soon.

    Hi @michaelware1205,
    Thanks for your message.

    This is actually a separate issue and one i’m trying to resolve at the moment by publishing a working code snippet on the BNFW site. I’m still working on it and ironing out some issues but once this snippet is available, it should be easier to trigger a notification properly using BNFW and a front-end form.

    Kaely

    (@kaelylinker)

    Hi @voltronik!

    Thanks so much for your help!

    Ditto @voltronik, thank you for all your work!

Viewing 15 replies - 1 through 15 (of 18 total)
  • The topic ‘Duplicate Notifications’ is closed to new replies.