• I have 12 different regular contributors on my site, each overseeing two categories. Is there a hack or plug-in that would allow them to see and moderate only the comments for the posts in their categories or the posts they authored? Otherwise, they have to sort through a million comments to find the ones they need to moderate. I’ve searched around and haven’t found anything yet to do this.

    They are logged in with “author” priviledges.

    It is possible using CSS ? What?

    thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter mauriciomesquita

    (@mauriciomesquita)

    on the theme function.php

    function esconde_no_autor_comentarios_admin(){
    	global $user_identity, $user_level;
    
    	$nome = strtolower(str_replace(' ','-', $user_identity)); 
    
    	if (current_user_can('edit_themes')) {
    		return false;
    
    	} else {
    	echo "
    	<style type=\"text/css\">
    		#the-comment-list .comment-item{display:none;}
    		#the-comment-list .comment-author-".$nome."{display:inherit;}
    	</style>\n";
    	}
    }
    add_action('admin_head', 'esconde_no_autor_comentarios_admin');

    Logged in as administrator everything is OK, it displays all the comments. Now logged in as “author ” or “editor” does not display anything. No comment, nor those made in his posts, nor made by others.

    The username of the author was “Vinicius Guerreiro, ” switched to “guerreiro ” Remained the same. Using the Ghrome, tested in Internet Explorer and also does not display.

    Photo illustration

    really appreciate any help

    Thread Starter mauriciomesquita

    (@mauriciomesquita)

    Can hide the authors’ comments. The script
    adds the name of the author css class, but only when the
    author makes a comment in your own post, the
    comments by others not named after the author until
    not always because the user must be logged in to
    comment.

    I am not able to identify who created the
    comment_class post to handle.

    If anyone has an idea how to get the author’s name
    you can finish doing this function, using. css. But unfortunately our ideas exhausted.

    If anyone knows help…
    thanks

    Thread Starter mauriciomesquita

    (@mauriciomesquita)

    up

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to moderate comments by author or category’ is closed to new replies.