Hi, I love this voting plugin but I need to force people to login or at least leave their email/age. Any tips?
Thanks!
(also, when I select the require login feature and save, it auto reverts to no)
]]>Is there a way to make voting not appear in the recent comments widget?
]]>Hiya,
I’ve just upgraded to 3.1.2 and now voting on comments is giving “you already voted” messages incorrectly.
I’m getting reports from several users using several different browsers and I can replicate this myself.
You’re welcome to check it out yourself at https://thelichfieldblog.co.uk
Cheers!
Phil
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.
]]>