Monday, January 1, 1979

WP Comment Notifier For All

Description : Notify all Wordpress users (and not only the admin) on comment approval. The notification is sent only one time after the comment post approval(not on status update).

Version: 2.2 beta
Download


The developer of this plugin asks that you help support its continued development by making a small contribution.




Admin settings


Enable/Disable for users

17 comments:

  1. Ceci est un grand service. Pouvoir je suggère deux additions. Ce serait grand si vous pourriez choisir tous les utilisateurs dans la fenêtre de "Post Notifier For All". Ce serait utile à avoir la capacité à permettre de l'aux usages pour changer l'option se.

    ReplyDelete
  2. text/plain is available?

    ReplyDelete
  3. Hello.

    I'll write just to let you know about a little change I made to the source of this plugin on our site.

    In the function "cnfa_notification_email" I changed the first "foreach" block so it looks like this:
    foreach($users as $user) {
    if (!$user->isExcluded) {
    if ($user->ID!=$comment->user_id){
    $emails[] = $user->user_email;
    }
    }
    }

    This way the notification email is sent to every user but the user who made the comment (I think he/she already knows that he/she has made the comment without the need of a notification unless he/she make the comment while drunk or the like xD).

    I think this could be added to the plugin if you find it useful, whether on a fixed way or making it depend on a checkbox on the settings.

    Regards.

    ReplyDelete
  4. By the way, may I ask what's the difference between this "WP Comment Notifier For All" and the other plugin "WP Post Notifier For All"? The description on each page is exactly the same...

    ReplyDelete
  5. Hi HAL9000

    Thank you for your idea :) I will commit the change

    PS : You're right again about "WP Post Notifier For All", it wasn't a bad copy past
    With "WP Post Notifier For All", you can notify all WordPress users (and not only the admin) on post publishing

    ReplyDelete
  6. OK, here's another little change I made to the plugin's code to fix a problem we were having.

    The way the plugin is on your current version it notifies all the blog users (but the comment author if you apply my previous change) of either comments made by other blog users or comments made by unregistered users once these comments are approved. It sound correct at first, but it isn't.

    It's leaving out the case where the blog administrator doesn't require the approval of new posts made by unregistered users. In that case the status change is not firing on approval, as the comment is approved from the beginning.

    So I made the following changes to "cnfa_comment_post" function:
    1) change function comment to "//for blog users's comments (or others when no approval is required)"
    2) change the line "if ($comment->user_id != 0) {" to "if ($comment->comment_approved==1 ) {"

    I hope this is right and it doesn't break something elsewhere in the way the plugin works.

    Again if you think the change is good and want to include it on the plugin you're welcome.

    Regards.

    ReplyDelete
  7. Hum... I just noticed that the way I modified the code a user's comment is only notified is it's directly approved from the beginning or if it's approved later. If that's the desirable behavior then the modification is right.

    But if what you intended is that an user's comment is notified when posted even if the comment is pending approval, then the "if" line may combine both conditions like this:
    "if ($comment->user_id != 0 || $comment->comment_approved==1 ) {"

    ReplyDelete
  8. Is it possible to notify the e-mail of the comment_author ? So the other users may know the e-mail of the guy who commented... Thx in advance.

    ReplyDelete
  9. Hello again. I saw you didn't implemented on version 2.3 any of the fixes I commented above.

    That's right as it's your code, but I just want to know if you plan to implement the fixes on a next release, because somebody on our blog updated by mistake to v2.3 and we lost the fixes, so I had to make the changes again, so if you will not implement this then I need to tell everybody to not update the plugin to keep the changes.

    Regards.

    ReplyDelete
  10. Sorry but many of my "old users" want to keep the default behavior so I didn't implemented your suggestion in the "official" plugin.
    Kind regards

    ReplyDelete
  11. Thanks for the reply.

    OK then, I'll tell the staff to not update the plugin unless the changes on the new version justify it, and in any case not until I'm there to re-apply the fixes.

    Anyway if you consider the fixes useful you could add a pair of user configurable settings which makes the plugin works the old or the new way, just leaving the default values for these settings so the plugin works the old way unless the user specifically change it.

    I even can implements the settings myself if you want, but only if you plan to implement this, as I don't need the settings for myself.

    That way users can choose and [selfish mode on]I don't have to re-apply changes on every update[/selfish mode off]. xD

    Regards.

    ReplyDelete
  12. Just lack of time my friend...
    I've lot of things in what I'm working right now...
    Unfortunately I am forced to postpone this update :(

    ReplyDelete
  13. Hi Fay,

    Love the plugin. One thing the [LOGO]http://...[/LOGO] part does not work for my site. Instead the codeis just printed in the email... Any ideas?

    Thanks

    ReplyDelete
  14. Hi
    [LOGO] shortcode is not available anymore, just directly use IMG tag in the email body with the url to your logo as "src" attribute
    Regards

    ReplyDelete
  15. Great Plugin!

    Can you tell me how I can to set the default so that Users do *not* get notifications and that they need to enable it manually?

    ReplyDelete
  16. Is there a way to make the comments that are received by email show the paragraph breaks? Right now, even if the comment includes different "blocks" of text, it is received as just on big, run together block, making it challenging to read.

    Any help would be greatly appreciated! :)

    ReplyDelete
  17. Hi
    A new update is now available
    Kind regards

    ReplyDelete