Support » Plugin: Optin Comment Notifications » Add option to other users' profiles

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Scott Reilly

    (@coffee2code)

    WordPress & Plugin Developer

    Hi @swinggraphics:

    Thanks for the suggestion! Your example code is no longer available, but I implemented the feature in v1.2 of Optin Comment Notifications, so you shouldn’t need to run a custom version for this functionality any longer.

    Cheers!

    Sorry about the broken link, and thanks for the update!

    After activation I have created few comments, but didn’t receive any emails about them in the test user account. Than I put a check mark in the site settings for “Email me whenever Anyone posts a comment”. After this action the plugin start to email comments to the users.
    What if I, as administrator, do not want to get those emails? Is this a bug or that’s how the plugin works?
    Thanks.
    Ash

    • This reply was modified 6 months, 3 weeks ago by  Ashod.
    Plugin Author Scott Reilly

    (@coffee2code)

    WordPress & Plugin Developer

    Hi @ashmtl,

    The setting for getting notifications (as added by this plugin) is a per-user setting. Each user must go into their profile and check “Email me whenever a comment is submitted to the site.” By default this is not checked. Once checked, the plugin will only email a notification to users who have that setting checked.

    Even as an administrator, this plugin won’t email you unless you have checked the setting’s checkbox. If you don’t want the emails, then uncheck the setting.

    Is it behaving differently for you?

    Note: put a checkmark in the checkbox for one user does not affect other users, so your statement “[a]fter this action the plugin start to email comments to the users” should only make sense if you mean after the action (you putting a checkmark in the setting) then you personally (via the email address for your user account) started getting emails.

    Hi Scott,
    maybe I wasn’t clear in my first post.
    I was talking about the site settings, not the user profile.
    If you login as administrator and go to Settings>Discussions, under Discussion settings heading there is a section like this:
    Email me whenever [] Email me whenever Anyone posts a comment
    [] A comment is held for moderation
    I had a check-mark for “A comment is held for moderation” only and the plugin wasn’t sending emails to the test user that I have created to test the comment notification functionality. Created few comments and got no email notifications.
    Then I put a check-mark for “Email me whenever Anyone posts a comment” and the test user (along with the administrator) start getting emails.
    I thought it could be a coincidence (maybe server was busy…). Removed the check from “Email me whenever Anyone posts a comment” and the emails stopped coming in. Put it back again and all is good.
    So my original question was what if the administrator doesn’t want to see the email notifications, because in his profile there is no check-mark for “New Comment Emails [] Email me whenever a comment is submitted to the site.”
    The way the plugin works now is only if the “Email me whenever Anyone posts a comment” option is checked in the site discussions settings.

    Plugin Author Scott Reilly

    (@coffee2code)

    WordPress & Plugin Developer

    Ashod,

    The email option provided by the plugin is completely separate from the email options provided by WordPress itself.

    The email settings on the Settings > Discussions admin page, consisting of the two checkbox options in the “Email me whenever” section (“Anyone posts a comment” and “A comment is held for moderation”) are provided by WordPress and are unrelated to anything handled by the plugin. Those options are provided even if the plugin is not installed, and are not affected by the plugin when it is installed.

    The plugin only provides the option “Email me whenever a comment is submitted to the site.” in a user’s profile (in the section “New Comment Emails”).

    If you want the test user to receive email notifications for new comments, the user must visit their own profile (or you as the administrator need to edit their profile) to check the “Email me whenever a comment is submitted to the site.” setting.

    The Settings > Discussions admin page only relate to the designated admin email address getting email notifications. (Which, again, is separate from anything this plugin handles.)

    Does that help clarify things?

    Thank you Scott for fast reply. The sad part is that I know all what you just explained. But the fact is that on my site the users that have their “Email me whenever a comment is submitted to the site.” checked will not receive the comments if the email settings on the Settings > Discussions admin page are not checked. Maybe this is a conflict between the plugins I have on my site, but I have replicated the behavior more than one time.
    I will install your plugin in one of my other sites that has less plugins and will let you know.

    OK. Have tried on a site that I am not using yet. The same result. Maybe the problem is in the version 4.7.3 of wordpress. I can give access to my site so you can experiment if you wish.
    The sites have different themes, so I exclude the theme part.

    • This reply was modified 6 months, 2 weeks ago by  Ashod.
Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Add option to other users' profiles’ is closed to new replies.