WordPress.org

Support

Support » Plugins and Hacks » [Resolved] Email notification to certain users – problem with configuration

[Resolved] Email notification to certain users – problem with configuration

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Chip Bennett

    @chipbennett

    Theme Review Admin

    Hi Francois,

    I think you should be fine if you just use the user-profile setting for the two users you want to receive email notification.

    Please let me know if it doesn’t work as expected.

    Thanks for using the Plugin!

    Hi Chip,

    Unfortunately, things stopped to work with your new version. Maybe there a conflict with one of the plugins I’m using.

    Thanks for your response.

    Plugin Author Chip Bennett

    @chipbennett

    Theme Review Admin

    Hi Francois,

    Can you provide more detail? What stopped working?

    Hi Chip,

    On your other version (1.1.2), there was the list of the users of the website and I was only selecting the ones I wanted to receive email notification for comments. The two or three selected were receiving notifications. Now, since the new version, even if I check that box on the user profile page, nothing happen. No one receiving notification anymore.

    There might be something I’m doing wrong, but I don’t know what.

    Thanks,

    Plugin Author Chip Bennett

    @chipbennett

    Theme Review Admin

    Francois,

    Thanks for the explanation. Let me take a look, and do some testing. It was working for me before I released, but maybe something changed?

    Plugin Author Chip Bennett

    @chipbennett

    Theme Review Admin

    Francois,

    I just tested it on my development install, and it works just fine for me: I set an arbitrary user to receive email notifications, then posted a test comment. That user received the email notification, in addition to the post author receiving the email.

    What other Plugins do you have installed/active, that might be interfering with the email notification?

    Note that I’m now overriding the wp_notify_postauthor() pluggable core function, so if another Plugin is also overriding that function, that may be the problem.

    Chip

    Ok, I use many plugins on that site and I decided to check the code for some of them (the ones related to comments). I found one that was using wp_notify_postauthor() and removed it. It was the old ‘Clean Notifications’ http://wordpress.org/extend/plugins/clean-notifications/

    Even after that there is still something blocking that function. I checked in my theme, in some plugins but can’t find a way to make notifications happen.

    So, for now I took the decision to put back your latest working version (on my site), the 1.1.2 and it still do the job.

    I will continue to test your next version.

    Thanks a bunch for your help,

    François

    Plugin Author Chip Bennett

    @chipbennett

    Theme Review Admin

    Hi Francois,

    The reason that the older version works is that it unhooks wp_notify_postauthor(), and calls its own function. If it still works, that’s great. But it is very old, and fairly bad, code. 🙂

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘[Resolved] Email notification to certain users – problem with configuration’ is closed to new replies.