• It is easy to set and work with it. Slightly I changed under myself: it was necessary for me that evaluate comments only the author of a post could.
    I added to the wp_ulike.php file at line 77:

    //only author
    		if (wp_ulike_get_setting( 'wp_ulike_comments', 'only_registered_users') == '1' && is_user_logged_in()){
    			global $current_user,$post,$comment;
    			if($current_user->data->ID!=$post->post_author){
    				$template = $wp_ulike_class->get_template($CommentID,'likeThisComment',$get_like,1,0);
    				if (wp_ulike_get_setting( 'wp_ulike_general', 'button_type') == 'image') {
    					return '<div id="wp-ulike-comment-'.$CommentID.'" class="wpulike '.$theme_class.'"><div class="counter">' . $template['my_message'] . '</div></div>';
    				}
    
    			}
    		}//end only author

    Thanks

  • The topic ‘Good plugin’ is closed to new replies.