Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By drupalina on
Hi,
One of the maintainers of a website that I've built is receiving an increasing number of comments. The policy of their webite is that the comments are moderated, so it is becoming an increasingly labourous job to read through each and every comment before approval.
He asked me if there is a solution in Drupal similar to that of Wordpress, whereby if a comment from an anonymous person has been approved previously, then his next comment will be auto-published automatically??? I know that Wordpress has such a feature.
Any suggestions?
Comments
Try the Mollom service +
Try the Mollom service + module
Also the regular Captcha module has an option "Omit challenges for a form once the user has successfully responded to a challenge for that form"
Hi, I already have
Hi,
I already have Mollom.
The reason why they want to have pre-moderatio is not because they are worried about "spam". They just want to prevent comments with hate-speech and swearwords etc.
So choosing a Captcha is not a solution here either.
Subscribing
Subscribing
assign role to this user
1) When you approve the first comment from an user, you can just assign a role this user(let's call it "approved").
2) Now, configure permissions for the "approved" role so that their comments are NOT moderated.
-Babu
Drupal Projects showcase: http://paramprojects.com/website/drupal-servicesprojects
Promote Drupal with Tshirts/merchandise: http://paramprojects.com/drupalstore
Hi, That's an interesting
Hi,
That's an interesting solution.
But I'm confused as to how I'm going to assign a role to an anonymous user?
On this site average readers can't create their own accounts. So I still need a solution for anonymous users who comment a lot.
_
The ip is stored with the comment, so you might be able to use rules to run a php condition that checks the current ip with the comments table looking for other approved comments from that ip. Though there's no guarantee the current anonymous user submitting from that ip is the same as any other using submitting from that ip.
You might be able to do something with a cookie on the user's pc, like storing an 'approved_commenter' status or something, but i have no clue how.
Can anyone verify this approach?
Interesting approach. I'm looking into this functionality as well. Has anyone had success with this approach of using the Rules module to check the current IP with the comments table to see if there are other approved comments from that IP?
It can also be done with a custom module.
Solution on Drupal Answers.