Experimental project

This is a sandbox project, which contains experimental code for developer use only.

Approving comments can be a big pain, especially if your site allows for anonymous comments. Here's a picture of my technical BLOG's unapproved comments screen. I have over 370 comments to review, and they are mostly spam! If I forget to look at this list for a few weeks, I can easily have a thousand to review!

Over 370 Unapproved Comments (Mostly Spam)

The UI to approve comments allows administrators to select comments to be deleted, but working on several hundred comments can be tedious. The UI does allow for batch approvals and deletions, but only in batches of 50 comments at any one time.

This drush command ('module') makes the comment approval process easy by providing a human-readable file containing the unapproved comments that an administrator can quickly scan. This file can then be processed by drush to quickly delete unwanted comments. The command also allows the deletion of specific comment IDs. The command only works on unapproved comments, so it is safe.

The basic workflow and more advanced usage examples are in Drush topics, available after installing this module by typing "drush topic docs-comments".

Project information

  • Created by rickumali on , updated