Action to be triggered on Comment Approval

by Fasal   Last Updated June 01, 2017 10:07 AM

How can add new rule to trigger when a comment approve, in drupal7?

Thanks for your Support...

Answers 3

Currently there is no rules condition to do this but there is a patch in the rules issue queue. You can try using that, and if you do you can report back to that issue and help it get committed to the rules module.

April 22, 2013 10:28 AM

An alternate way, You can use the hook hook_comment_publish in your custom module.


The comment is being published by the moderator.

For eg:

function YOURMODULENAME_comment_publish($comment) {
   //your codes to do task
Anoop Joseph
Anoop Joseph
April 22, 2013 11:05 AM

This way you can achieve with rules

enter image description here

June 01, 2017 09:08 AM

Related Questions