The idea would be to give to moderators the possibility to decide, for each node they are moderating, if they want to send an email notification or not. For that purpose, a "send email notification" checkbox would be added below the "ops" section of every node teaser, in the "Moderated content" page (see snapshots in attachement). This checkbox would replace the current "send / not send emails" checkboxes that are found in the module settings part.

I had to implement that feature for a customer, and I'm proposing my changes here. Here's what is included in the patch:

- A checkbox is added for each node to be moderated, in the Moderated content page (see picture number 1);
- When the checkbox is not checked, then a javascript function is responsible for greying out the "note to author" section (see picture number 2);
- A css file is also included which contains some statements needed for the greyed out part;
- In the module settings page, the 3 checkboxes responsible for deciding if notifications are sent for "approve / deny / noact" have been removed. They have been replaced by a single checkbox. This new checkbox decides what will be the default value for all the "send email" checkboxes found in the Moderated content page.

Let me know if you have questions or comments.

Thanks,

jf

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Jason Ruyle’s picture

I applied the patch and it works great. I recommend this feature.

Summit’s picture

Hi,
Will this be committed please? Seems a nice add on functionality?

greetings,
Martijn

pwolanin’s picture

@Summit - have you tested it?

Does this work sensibly without javascript?

GeekyLass’s picture

A user of my site suggested maybe having the modr8 system send a private message instead of an e-mail. Users don't like to receive a lot of e-mail from sites and this might be a good method of informing the author a node has been deleted, accepted, or non-actioned.