• Resolved mv018

    (@mv018)


    Hi! When posting in the front and back end, all users are receiving duplicate email notifications.

    I used this code, here, since I wanted users to be able to post in the front-end and have email notifications sent out. However when I placed that code, it worked but it also sent out duplicate emails. Without that code, only users who have admin access and post on the back end will be able to successfully have their post sent out an email notification.

    Any help is greatly appreciated. Thanks!

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author bnfw

    (@voltronik)

    Hi @mv018,
    Thanks for your message.

    A couple of questions:

    1. What plugin are you using to post via the front-end?
    2. Are you posting via the WP Admin and via a front-end form or just via one or the other?
    Thread Starter mv018

    (@mv018)

    1. I believe it is Ninja Forms
    2. Users post via front-end, admin posts either one

    Plugin Author bnfw

    (@voltronik)

    Hi @mv018,
    Ah, I see.

    Currently there’s no way of fixing this but i’m always looking at ways of making this better. I’d really love to find a good way to make this work but for now, the code snippet is the best solution available. As such, the only recommendation I can make is to ensure either everything is published via the WP Admin OR via the front-end, but not both. Not ideal, I know but it’s all I can suggest for now.

    Thread Starter mv018

    (@mv018)

    Hi,

    Say if I post only the front-end, it’s not going to send out duplicate email notifications, right? Also should I continue to use this code here in the functions.php? Thank you!

    nightowlaz

    (@nightowlaz)

    FYI…here is a similar post on this issue. Others are experiencing the same issue.

    nightowlaz

    (@nightowlaz)

    I have the code installed in Functions.php to update the status as well, but when I use that code, the notification recipients get a notification when ANY type of edit occurs on a post (ie: it is edited, someone leaves a comment, someone leaves a reply comment). My users are getting very tired of all the emails so I had to turn the notifications off.

    Plugin Author bnfw

    (@voltronik)

    Hi @mv018 and @nightowlaz,
    Firstly, I just want to say that this is an incredibly complicated issue which is exasperated by plugins that don’t conform to WordPress standards of coding. The code snippets that provide support for front-end forms work a lot of the time, but not all the time. I am always looking for new and better ways to account for the times it doesn’t work however, for now, it’s the only solution that I have. If I have any more information, I will update any relevant threads and issue an update to the plugin.

    David

    (@dsanney)

    I am only writing posts from the back-end but all my readers are receiving duplicate post notifications. Any reason why this may be occurring?

    Thanks

    Plugin Author bnfw

    (@voltronik)

    Hi @dsanney,
    Please can you start a new support thread about this as I believe your issue is different to the above.

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