• If, like me, you’re using the P2 theme (optional) and all of your comments are hidden (even though they have no ratings), here’s a simple fix:

    1. Open the commentsvote.php file and go to the “commentsvoteContent” function (line ~147).

    2. Paste this: $votes = CVGetCommentVote($comment->comment_ID); just after the function was declared (so on the first lines of the “commentsvoteContent” function).

    3. 2-3 lines of code below, you’ll notice the declaration of the “$hidecomment” variable, like so:

    $hideComment = ($commentsvoteOptions[ 'threshold' ] > 0 && ( $comment->_cv_vote <= -$commentsvoteOptions[ 'threshold' ] ) );

    Change the $comment->_cv_vote for $votes so this line should look like this:

    $hideComment = ($commentsvoteOptions[ 'threshold' ] > 0 && ( $votes <= -$commentsvoteOptions[ 'threshold' ] ) );

    Hope this helps.

  • The topic ‘[Plugin: Comments Vote] All comments are hidden [ How to fix ]’ is closed to new replies.