WordPress.org

Ready to get started?Download WordPress

Forums

Only author posts approve comments (6 posts)

  1. Firkraag85
    Member
    Posted 4 years ago #

    Hi,

    I have a multi-author blog and have two problem that there are a lot of pending comments, and the other one is that other ppl approve comments.

    Can you tell me please how can I do for authors sees only their comments? and can approve it?

    Thanks and sorry my horrible english, hope your help :)

  2. Jonas Grumby
    Member
    Posted 4 years ago #

    Admins and Editors can moderate comments. Authors and below can't. I don't think WordPress allows comment moderation only on one's own posts or pages but there may be a plugin for that.

  3. Firkraag85
    Member
    Posted 4 years ago #

    Now I understand how works moderation, I didn't test enough before.

    Do you know a way for authors only sees their own posts comments and not the entire list?

    Thanks you.

  4. fvl2000
    Member
    Posted 3 years ago #


  5. trivum
    Member
    Posted 3 years ago #

    I'm also looking for this -- authors see comments to THEIR OWN POST ONLY when they go to moderate comments.

    I notice that now when an author goes to "Posts," the default is a "Mine" section. Seems comments could be handled the same way.

    Anyone know of a solution?

  6. trivum
    Member
    Posted 3 years ago #

    I found a very simple plugin that says it will do this for posts, so I was wondering if a slight change to this plugin will do this for comments (show only the comments related to posts of that particular author).

    By the way, I'm not sure if this plugin actually works for posts or not, but maybe someone with PHP knowledge can look at it, and it will spark an answer.

    Found the plugin here: http://code.mincus.com/41/manage-your-posts-only-in-wordpress/

    This is the code:

    <?php
    
    function mypo_parse_query_useronly( $wp_query ) {
        if ( strpos( $_SERVER[ 'REQUEST_URI' ], '/wp-admin/edit.php' ) !== false ) {
            if ( !current_user_can( 'level_10' ) ) {
                global $current_user;
                $wp_query->set( 'author', $current_user->id );
            }
        }
    }
    
    add_filter('parse_query', 'mypo_parse_query_useronly' );
    ?>

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags