• Currently, WordPress allows commenting to be totally blocked, to be moderated, and to be allowed be all registered or unregistered users.

    Is there any way to get WordPress to block ALL commenting EXCEPT that which is allowed on a “safe list”?

    For example, A has a blog that is public, but he only ever wants to see what his friends B and C have to say about posts. Assume they are all on the same server and have admin rights to each other, but each maintain their own seperate blog.

    Thanks.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Get Owen Winkler role manager plugin and set up a new capability called “Can Comment” Then get the people you wish to comment to signup and then set there accounts with “Can Comment”

    Then edit the comment.php template to only allow people with “Can Comment” capability to be the only people to show the comment form too

    Thread Starter oce

    (@josepo)

    Much appreciated!

    Thread Starter oce

    (@josepo)

    Erm, actually, I am not seeing where in wp-comments-post.php I am supposed to edit; nor am I sure how to get a user’s “Role.” I believe that I can just wrap the comments form over an if statement, but would it be something like
    if $comment_author->capability(‘Can Comment’) ?

    Thanks, sorry for the trouble.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Deny comments to all but some?’ is closed to new replies.