Can non-admin users delete comments?
I just checked our access control settings, and it did not appear that I can grant a non-admin user the privilege to delete comments. (I want to allow members of our staff to delete spam comments).
Which privilege, if any, corresponds to the ability to delete a comment? (As admin, I get a delete link on the page where the comment appears - this is how I routinely access and delete inappropriate comments). (We are using 4.6 and our spam comments are not at an unmanageable level yet).
Thanks.
Comments
"administer comments"
The "administer comments" permission is required to delete comments.
Another Comment Question
Is there an accessible archive of comments? (e.g. acme.com/comments)
We are getting more comments and it would be great to have a permanent link to an archive-well of some kind that shows past comments.
Thanks.
Comments Page
<pre><?php
$nlimit = 100;
$result = db_query("SELECT c.*
FROM comments c WHERE c.status = 0
ORDER BY c.timestamp DESC LIMIT %d", $nlimit);
while ($comment = db_fetch_object($result)) {
$nresult = db_query("SELECT n.nid, n.title FROM node n WHERE n.nid = %d", $comment->nid);
$node = db_fetch_object($nresult);
$output .= '<h4> Comment posted to "' . l($node->title, 'node/' . $node->nid) . '"</h4>';
$comment = drupal_unpack($comment);
$comment->name = $comment->uid ? $comment->registered_name : $comment->name;
$output .= theme('comment_view', $comment);
}
print $output;
?>
</pre>