Download & Extend

notification of unapprouved comments...

Project:Notify
Version:6.x-1.0
Component:Code
Category:feature request
Priority:normal
Assigned:matt2000
Status:closed (fixed)

Issue Summary

Hi,

it would be very useful to have an option to also get notified of comments that still need to be approved.

Cheers, Fons.

Comments

#1

Yes indeed, i got confused. I was expecting to receive notification for new comments just like contents but i didn't!. So how can i know when someone posts a new comment on my personal site that needs my approval?

#2

#3

Thanks @slovak,
I created a patch out of the Quick fix and also added a condition.
Current patch sends notification for unapproved comments only when the user has "administer comments" permission.

AttachmentSize
notify_for_unapproved_comments.patch 1.3 KB

#4

Status:active» needs review

#5

Status:needs review» needs work

Thanks for the patch! However, I really think we need to designate in the out which comments are published & which are not, like we do with nodes (see line 479 ff.)

#6

IMHO administrators should receive notification for all comments, because they can also see unapproved comments. I don't think there is any administrator who does not want to receive notification for unapproved comments.
What do you have in mind? if there was any discussion about nodes before can you send me its link?

#7

No, I just mean that the in the email that gets sent, it should say 'UNPUBLISHED' next to unapproved comments so the admin can tell the difference. Especially important for sites with multiple admins. Again, look at the code, see how it's done with nodes.

#8

Ah, i see your point now. I'm preparing the second patch.

#9

Patch update to cover comment #7 suggestion.
It appears like this on email now:

1 new comment attached to Research posted by admin: Healthy food
   1. [Unpublished] afdas saf saf sa by Ahmad
     http://sina.salek.ws/content/healthy-food#comment-199
AttachmentSize
notify_for_unapproved_comments.patch 2.35 KB

#10

Status:needs work» needs review

#11

I thinck this guide will help:
http://www.jasonhooker.com/configure-drupal-notification-on-new-comments

So it helped me with unpublished comments notify

#12

@matt2000 waiting for your respond

#13

Assigned to:Anonymous» matt2000

New dev release has a possible solution for this feature request. There's no UI or optional settings; it simply includes unpublished comments for users with 'administer comments' permission. Please test.

#14

Status:needs review» fixed

Debugged the code from #9, and prepped for upcoming release.

#16

Status:fixed» closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

nobody click here