Comment Rating Pro
Dec 30th, 2009 by BoB
Comment Rating Pro WordPress plugin is the advanced version of the popular Comment Rating plugin. The Pro version was created to help those demanding for more features and customization flexibility. It has all the functionality of the standard version, and the following features.
- Styling comment image and text with a CSS class
- Voting by logged-in users only. This gives you the capability of running Comment Rating on a membership-based site. Non-logged-in visitors always see a gray icons and a message reminding them to log in or register.
- Voting fraud detection by user ID. This is the strictest form of voting fraud prevention. Only logged in users can vote and one vote per user ID.
- Voting fraud detection by cookie. Votes are counted per cookie. This solves the problem that most of your readers are behind a NAT firewall. Cookie expiration can be set to a fix date or by days.
- Disabling voting restrictions, i.e. disabling one-vote-per-IP-address and allow unrestricted voting.
- Control where to insert comment rating images: Posts, Pages or both, or on selected post IDs.
- Additional functions to retrieve comments ordered by their ratings
- Additional icons to make your blog unique
For the same reasons, I also created Comment Rating Widget Pro with the feature:
- Allows ordering comments by Comment Rating in the last X days on a sidebar.
To obtain both Comment Rating Pro and Comment Rating Widget Pro plugins, please donate $20. After donation, please follow the Paypal link returning to my site for the download page.
The Pro version option page can be seen here.
- Comment Rating Pro: standard options
- Comment Rating Pro Advanced options
- Comment Rating Widget Pro option page
Comment Rating Pro Customization Guide
This is a brief guide to customize using the Comment Rating Pro’s internal functions. These functions are accessible globaly as soon as the plugin is enabled.
CSS based styling
If you want to style the comment images and text, you can define a CSS class in your theme style file (style.css) with “CommentRating” class. For example, the following will show the comment rating images and text on the right.
.CommentRating {
text-align: right;
float: right;
}
To access the ratings of a comment
To avoid duplicated database access, Comment Rating use an cache “$ck_cache” hash array, defined as,
$ck_cache = array('ck_ips'=>"",
'ck_comment_id'=>0,
'ck_rating_up'=>0,
'ck_rating_down'=>0);
You should use it as a global variable. Here’s the sample code.
global $ck_cache;
ckrating_get_rating($comment_ID);
Then, all the related content will be accessible.
$ck_cache['ck_comment_id']
$ck_cache['ck_ips']
$ck_cache['ck_rating_up']
$ck_cache['ck_rating_down']
Tight integration
If you want to do tight integration with your theme in placement and style, you will need to insert the following line into your theme “comments.php” file within the comment loop.
<?php if(function_exists(ckrating_display_karma))
{ ckrating_display_karma(); } ?>
Order comments by their ratings
If you want to be adventurous in displaying comments in a post, you can use comment rating value to order the comments. This is done sorting based on the “comment_karma” field in the Wordpress “comment” table. Two things need to be done.
- Choose the comment rating value. The value for “comment_karma” field can take three options, i.e. Likes, Dislikes or Both. This is configured in “Comment Rating Pro Options” page, “Advanced Options”.
- Modify your theme’s “comments.php” file to change how comments are sorted.
If your theme uses the new wp_list_comments() function (see this post to understand what wp_list_comments() do), use the following code.
if (function_exists(ckrating_get_comments)) {
$post_id = $post->ID;
$mycomments = ckrating_get_comments(
"post_id=$post_id&status=approve&
orderby=comment_karma&order=DESC");
}
else
$mycomments = null;
wp_list_comments(array(), $mycomments);
If your theme uses the old comment loop, then use the Comment Rating Pro’s function ckrating_get_comment() to retrieve comments in a certain sorting order for the current post.
$post_id = $post->ID;
if (function_exists(ckrating_get_comments))
$comments = ckrating_get_comments(
"post_id=$post_id&status=approve&
orderby=comment_karma&order=DESC");
else
$comments = get_comments(
"post_id=$post_id&status=approve&
order=DESC");
foreach($comments as $comm) :
// Now display the comment detail. Here in a grossly simplified way echo($comm->comment_author);
echo($comm->comment_time);
echo($comm->comment_content);
// etc. etc. ...
endforeach;
If your theme uses wp_list_comments(), I haven’t figure out how to modify it. The flexibility offered by wp_list_comments() is too limited to allow customization.



[...] Allow customizing the CSS tags around the voting image/ratings. Done in the Pro version [...]
Well-loved. Like or Dislike:
190
61
How do you add comment numbers like you did on captionwit? I managed to order the comments by karma by editing comment-template in includes dir.
Well-loved. Like or Dislike:
95
45
[Reply]
BoB
Reply:
January 26th, 2010 at 12:34 pm
Hi there, thanks for your donation.
Captionwit.com has the what I call tight integration, where you disable the auto-insertion and place the function call in your theme. Please refer to the “Tight integration” section here: http://wealthynetizen.com/comment-rating-pro/
Well-loved. Like or Dislike:
67
27
[Reply]
SO
Reply:
January 26th, 2010 at 11:20 pm
Thanks for the reply. I was talking about the number in front of the comments that tell you what place each comment is ranked. The 1, 2, 3, 4…
Well-loved. Like or Dislike:
45
18
[Reply]
I have a large site with lots of users commenting on posts. I was looking for a plugin like this. Made my life a bit easier. Thanks.
Well-loved. Like or Dislike:
32
17
[Reply]
When you say “Styling comment image” what exactly do you mean? I thought it would let me style the voting icon but it seems to be rendering the same way the standard plugin did. It uses an image with a bunch of inline styles that makes it almost impossible to style. What is the best path for completely changing the icon style? Is there a way to get the plugin to spit out a link (which could then be styled) instead of an inline image?
Well-loved. Like or Dislike:
30
12
[Reply]
Clark
androidandme.com Reply:
March 30th, 2010 at 7:42 pm
Right now the best way I can figure to style them is to replace the icons with something transparent, then use CSS to set a background image on the actual, transparent image. Which seems a bit like a hassle.
Well-loved. Like or Dislike:
30
8
[Reply]
BoB
Reply:
March 30th, 2010 at 10:31 pm
Hi Clark,
Thanks for your support.
What do you want to do in styling images? We can figure out the most convenient way together.
BoB
Poorly-rated. Like or Dislike:
14
26
[Reply]
Clark
androidandme.com Reply:
March 31st, 2010 at 7:53 am
In the past I’d have to overwrite the images included with the plugin (which made updating a hassle). Is there a way you could include a CSS class or a wrapper (an anchor would be perfect) for each voting image?
Well-loved. Like or Dislike:
20
16
[Reply]
Can you tell me if the 5 Star voting system (ala People of Walmart) is part of your Comment system, or a different plugin or widget?
Tx Jeff
Hot debate. What do you think?
12
12
[Reply]
BoB
Reply:
April 3rd, 2010 at 4:19 pm
No the 5 star voting is not part of Comment RAting.
Hot debate. What do you think?
16
13
[Reply]
Hi. For some reason it’s showing comments that have no votes at all here: http://oneword.com/staging/favorites/ Please advise.
Well-loved. Like or Dislike:
14
9
[Reply]
I’m thinking of getting the Pro version, just installed your free version and love it. but one thing I was hoping to find that I don’t see is a simple selection to let only registered users vote. By the way I’d also to see a fine tuning of that option that allows me to see that anyone can vote up, but only registered users can down down. An easier was to do this would be to hae two options: 1) Level required to vote up and 2) Level required to vote down. Then I could set it to 0 if I want to allow everyone to vote, 1 if I want any registered user only to vote, etc.
See, I run a high traffic political website and it just takes a handful of visitors “from the other side” to gang together and down vote every comment and really screw me.
If you can do that really soon, I’ll pay you double for the Pro, I promise.
Hot debate. What do you think?
6
4
[Reply]
BoB
Reply:
May 10th, 2010 at 10:39 pm
Mark,
Thanks so much for your support.
I can add the feature that only logged in user can vote . It’s a little harder to restrict user’s capability to vote up or down based on whether they’re logged in or not.
I’d suggest that you allow democracy on your site. You can always change the positive/negative threshold to change the appearance of comments.
It’d be interesting to observe the social dynamics there.
Hot debate. What do you think?
4
4
[Reply]
Mark
Reply:
May 10th, 2010 at 10:58 pm
I’m not sure what democracy is? I see there is a plugin, but that is for polls.
BTW, I sent the donation off a few hours ago. Happy to do it. But do I get a download link in an email?
Hot debate. What do you think?
5
3
[Reply]
Okay, I’ll just buy the Pro as is…payment coming.
Hot debate. What do you think?
5
3
[Reply]
I’ve been using the free comment rating on a client site for a couple of weeks now, and they wanted to turn off the IP screening. So I’ve donated and got Pro set up, but it no longer works. Everything shows up, but I can’t seem to register any ratings.
A second potential issue–will the Pro plugin preserve the ratings that were made by the original plugin? The client would prefer not to go back to zero. In fact, this is probably a deal-breaker if it doesn’t preserve the old ratings.
Like or Dislike:
3
3
[Reply]
BoB
Reply:
June 3rd, 2010 at 1:23 pm
The Pro version preserves all the previous data.
I assume that you have disable the standard version, and then enable the Pro version. You cannot have both version enabled.
If this is not the problem, let me know the url. I’ll take a look
Hot debate. What do you think?
3
5
[Reply]
Mark
Reply:
June 3rd, 2010 at 2:16 pm
Thanks Bob. With the assurance that previous data would be preserved, I went ahead, and it’s working great.
My problem getting it to work before was, I think, related to the fact that my test install was on a local server. When I shifted everything to a remote, public server, it worked just great.
Just my $.02, but it seems like it would be better to do some other anti-spam check rather than IP. I changed this because the client’s internal people were getting upset because they couldn’t rate comments–they all have the same outgoing IP. Perhaps a session or cookie would be a better strategy so people with shared connections (the majority of office workers) can still rate comments.
Like or Dislike:
2
2
[Reply]
Mark
Reply:
June 3rd, 2010 at 2:40 pm
I’ve upgraded to the Pro version, but sadly I’m still waiting for a fix on the Pro Widget.
Well-loved. Like or Dislike:
6
0
[Reply]
BoB
Reply:
June 3rd, 2010 at 3:24 pm
Sorry, could you pls fill me in with the context?
Poorly-rated. Like or Dislike:
2
6
[Reply]
Mark
Reply:
June 3rd, 2010 at 5:12 pm
You and I had been working on this via email, and I have not received a reply from you in some time on it. Remember, plugin install failed.
Like or Dislike:
2
4
BoB
Reply:
June 3rd, 2010 at 7:35 pm
Did we fix the problem in the Thesis 1.7 theme? I don’t have any problem with either Comment Rating Widget Pro nor the standard, with the fixed Thesis 1.7 theme.
Do you encounter something else?
Like or Dislike:
2
2
BoB
Reply:
June 3rd, 2010 at 3:08 pm
I’m glad it worked smoothly. It’s the design intent. You’re right the IP based checking is rather rudimentary. I’ll add more capability later on.
Like or Dislike:
2
1
[Reply]
“Did we fix the problem in the Thesis 1.7 theme? I don’t have any problem with either Comment Rating Widget Pro nor the standard, with the fixed Thesis 1.7 theme.”
It doesn’t work on Thesis 1.6, WP 2.9.2. We had a long discussion on this via email, and you’ll see my last email to you on may 27.
Like or Dislike:
1
1
[Reply]
Hey Bob,
I am planning on donating to get the pro-version. But have a quick question I am hoping could be answered first. Is it possible to allow ONLY logged in users to rate comments – and do it only once per comment? So they can’t change their vote once it is cast?
Like or Dislike:
1
3
[Reply]
BoB
Reply:
June 10th, 2010 at 10:14 am
No this feature is on my next to-do list. I’ll let you know as soon as it’s done.
Like or Dislike:
1
2
[Reply]
My blog have a lot of comments (+250.000) and this plugin is taking a lot of resources in the database. Is there any way to optimize the database for this plugin? (Creating index or similar)
Like or Dislike:
3
1
[Reply]
BoB
Reply:
June 10th, 2010 at 2:35 pm
I’m glad to know your blog can have so many comments. Performance was a key consideration of the Coimment Rating design. If you look at the wp_comment_rating table, there’s an index on ck_comment_id. All search is based on ck_comment_id. I have also used DB caching to reduce duplicated DB queries to 0.
If you can let me know more about why you think Comment RAting takes a lot of resource in DB, I can have another look.
Like or Dislike:
4
3
[Reply]
hello,
i all ready bought the pro plugin, but now i want to sort the comments based on rating. i allready spend like 2.5 hours tryin to fix it, can i send you my comments.php file? thx
Well-loved. Like or Dislike:
7
1
[Reply]
I’m very interested in donating to the project, however was really hoping for the require-login to vote functionality. Also, any way you can lend a hand to us who, like the above poster want to sort comments by rating? Any idea when at least the register to vote option is going to be built in? Thanks!
Like or Dislike:
0
1
[Reply]
BoB
Reply:
July 11th, 2010 at 11:25 pm
It’s very close to completion. You know the Word Cup delays everything.
I’ve got the beta ready and doing some thorough testing. It’ll be available in a few days. Please check back again.
Like or Dislike:
1
3
[Reply]
BoB
Reply:
July 13th, 2010 at 9:46 pm
Ty, the vote by logged-in users only feature is done. http://wealthynetizen.com/comment-rating-pro-version-2-12-1/
Like or Dislike:
3
3
[Reply]
ty
Reply:
July 13th, 2010 at 10:00 pm
Woohoo, thanks!
Like or Dislike:
3
2
[Reply]
Excellent thanks! If you can throw auto-sort in there on refresh – you’ll be our hero.
Like or Dislike:
2
3
[Reply]
Bob,
I just got the pro-version. If I select the cookie based tracking the voting behaves how it should. However, if the ip-based tracking is selected, all buttons turn gray – even for the comments that have not been rated yet.
Like or Dislike:
3
1
[Reply]
Hidden due to low comment rating. Click here to see.
Poorly-rated. Like or Dislike:
0
3
[Reply]
Urban
Reply:
September 7th, 2010 at 9:58 am
Edit: But when I use this:
I get an alert with : “fatal html error
Like or Dislike:
1
1
[Reply]
Urban
Reply:
September 7th, 2010 at 9:58 am
Sorry: the editor doesn’t like the php tags:
if(function_exists(ckrating_display_karma))
{ ckrating_display_karma(); }
Like or Dislike:
1
1
[Reply]
BoB
Reply:
September 7th, 2010 at 2:15 pm
Did you deactivate the standard version and activate the pro version?
Like or Dislike:
0
2
[Reply]
Urban
Reply:
September 7th, 2010 at 2:36 pm
Oh, thanks for the quick answer. My post became confusing but I guess you understood my problem. (Can’t integrate the rating code in my comment loop, using the loop with ckrating_get_comments and not wp_list_comments)
Yes, I only have the Comment Rating Pro-plugin activated
Like or Dislike:
2
2
[Reply]
BoB
Reply:
September 7th, 2010 at 2:41 pm
I’m a bit in the dark. There should not be any syntax error in the code bits. Pls send me the comment.php file and I can have a look
Like or Dislike:
1
3
Hi BoB, this is my comment.php in this current project. Simple but i get the “fatal html error” when clicking the thumbs.
$post_id = $post->ID;
$comments = ckrating_get_comments(
“post_id=$post_id&orderby=comment_karma&order=DESC”);
foreach($comments as $comm) :
echo($comm->comment_author);
echo($comm->comment_content);
if(function_exists(ckrating_display_karma))
{ ckrating_display_karma(); }
endforeach;
Like or Dislike:
1
2
[Reply]
Urban
Reply:
September 8th, 2010 at 3:21 am
by the way, in your description above on the ckrating_get_comments the $comm->comment_text should be $comm->comment_content
Like or Dislike:
1
2
[Reply]
BoB
Reply:
September 8th, 2010 at 7:54 am
Thanks for the correction.
Like or Dislike:
2
1
[Reply]
BoB
Reply:
September 8th, 2010 at 7:54 am
So the display of thumbs is fine, but when you click the thumbs you get “fatal html error”. This error means that you have invalid HTML tags in your page. The Javascript searches through the html tags for the vote number to update, and it runs into problem parsing the page.
Like or Dislike:
1
1
[Reply]
Urban Svensson
Reply:
September 8th, 2010 at 11:02 am
Yes, what html structure is valid, or how should my comment html tags be formatted right? Must be in a -style maybe?
Like or Dislike:
1
0
[Reply]
Urban Svensson
Reply:
September 8th, 2010 at 11:02 am
Must be in ul/li-style maybe?
Like or Dislike:
1
1
[Reply]
BoB
Reply:
September 8th, 2010 at 2:22 pm
You can try to use a different theme to verify this. The old default theme Kubrick is simple and straightforward to play with. The new 2010 theme is fine too.
Like or Dislike:
1
0
[Reply]
tried with ul/li-lists with li id=”comment-x” but still get fatal html error
Like or Dislike:
2
1
[Reply]
Hi BoB, I have purchased your plugin and currently using it. I got a problem with the moderated comments, they are displayed. Do you have any idea why?
I added this to my comments.php:
$post_id = $post->ID;
if(function_exists(‘ckrating_get_comments’))
$comments = ckrating_get_comments(“post_id=$post_id&orderby=comment_karma&order=DESC”);
Thanks.
Like or Dislike:
0
1
[Reply]
BoB
Reply:
September 17th, 2010 at 2:53 pm
Thanks for reporting the bug. I’ve never seen this problem. I’ll put your patch into the next release.
Like or Dislike:
4
1
[Reply]
Mar
Reply:
September 19th, 2010 at 8:19 am
Thanks BoB,
Like or Dislike:
1
2
[Reply]
Hidden due to low comment rating. Click here to see.
Poorly-rated. Like or Dislike:
0
4
[Reply]
BoB
Reply:
September 23rd, 2010 at 7:32 am
Can simply overwrite any set of the images.
Like or Dislike:
2
2
[Reply]
Hello,
i hvae an error… th images are not in the correct size… how can i change this? the numbers are not correct high???
http://img215.imageshack.us/img215/697/unbenanntxyq.png
Like or Dislike:
3
2
[Reply]
Dave
Reply:
September 29th, 2010 at 1:19 pm
can anyone help me with this? the images dont in the correct position to the text
Like or Dislike:
1
1
[Reply]
BoB
Reply:
September 29th, 2010 at 1:26 pm
Let me know your url and I can have a look
Like or Dislike:
1
2
[Reply]
Dave
Reply:
October 4th, 2010 at 10:24 am
http://www.zockah.de
Like or Dislike:
2
1
[Reply]
Dave
Reply:
October 6th, 2010 at 1:09 pm
u dont know?
Like or Dislike:
1
2
[Reply]
BoB
Reply:
October 7th, 2010 at 8:35 am
I cannot get under your screen popup and see the content. There seem to be no way to close the pop-up.
It’s not good user experience.
Poorly-rated. Like or Dislike:
1
4
i just purchased Pro and commenters can rapid fire the mouse and leave endless thumbs up/down, even though I have it set up for use cookie! Advice??
Like or Dislike:
2
1
[Reply]
kerre
Reply:
October 21st, 2010 at 11:57 pm
I set it to One vote per IP and I think it stopped.
Like or Dislike:
1
1
[Reply]
pixelpusher
Reply:
February 17th, 2011 at 1:50 pm
I have the same problem. I have to use cookie (not IP) so every user in our office may vote (shared IP). Seems to be possible to rapid click on browsers in osx (tried safari, firefox) and on iphone/ipad. Any solution?
Like or Dislike:
2
0
[Reply]
Thank you for the plugin! It’s great!
I have one question… I have Comment Rating Pro installed and figured out how to do custom comment templates with the callback function.
What I want to do is allow voting for ONLY an original comment, not any replies. Is there a way I can edit this in the comment loop? I’m using WP 3.0.1
Like or Dislike:
1
0
[Reply]
BoB
Reply:
November 19th, 2010 at 10:23 am
This is definitely doable. In your comments.php loop, you need to identify “reply” comments and avoid calling
This way, no voting images and ratings will be shown in the replies.
Like or Dislike:
2
3
[Reply]
Jason
thejasonmurphyshow.com Reply:
November 20th, 2010 at 12:17 am
Thanks for the response Bob.
I’m looking for a way to identify a reply and just can not find it. Is it a filter? Have you tried anything like this?
Like or Dislike:
3
2
[Reply]
BoB
Reply:
November 20th, 2010 at 8:59 am
No I haven’t tried threaded comments, but I’m sure there’s a way, just looking at the threaded comments here. I cannot see anything in the DB schema either.
I’d be interested if you find out.
Like or Dislike:
4
1
[Reply]
Hi, I use the Pro-version but would like to have the users vote one time per day and ip, so that they can vote one time every day so to speak. Can I modify the plugin that way?
Like or Dislike:
3
1
[Reply]
Hello,
when i buy the pro version… can i set a own css-style for the vote pictures… and a own style for numbers?
i have a wordpress picture css but for the rating plugin i need a own and not the standard from wordpress.
Like or Dislike:
1
2
[Reply]
How can I include a link in the ‘have to be logged in’ or you can’t vote section. I tried entering html link code, but that didn’t work. Hope you can help.
Thanks!
Like or Dislike:
1
1
[Reply]
BoB
Reply:
January 15th, 2011 at 2:06 am
This is a bug in html special char encoding. It’s now fixed in Pro version 2.12.4. Please use the old download link to get the latest version.
Like or Dislike:
1
0
[Reply]
hi
I dont know why this plugin doesnt work on my site. it shows the rating but it doesnt work. when I click fore rating, nothing happens
please help me
Like or Dislike:
2
1
[Reply]
can anyone help me?
az you can see. commenters cant rate the comments
Like or Dislike:
2
1
[Reply]
Hi there!
I donated and downloaded the pro version. Only thing is, Wordpress doesn’t seem to recognise it as a plugin. It doesn’t show up in the admin for plugins. So I can’t activate it!! Any ideas?…
Like or Dislike:
1
0
[Reply]
BoB
Reply:
February 19th, 2011 at 2:46 pm
I assume that you have uploaded the pro version to your plug-in directory. You need to deactivate the standard version and then you can enable the pro version.
Like or Dislike:
2
0
[Reply]
Grant
Reply:
March 7th, 2011 at 7:56 am
For some reason I wasn’t ablr to activate the plugin when working with MAMP as a local server. It worked on a live site online though. Not sure why this would be!…
Like or Dislike:
0
0
[Reply]
BoB
Reply:
March 7th, 2011 at 8:02 pm
Any error messages?
Like or Dislike:
0
0
[Reply]
Grant
Reply:
March 7th, 2011 at 8:38 pm
No. There where no Error messages. The plugin didn’t show up in the plugin admin at all. And this was after I deactived the standard versions and completely removed them from the directory.
Like or Dislike:
0
0
[Reply]
BoB
Reply:
March 7th, 2011 at 8:57 pm
Please check if the pro version is unzipped and unziped to a proper directory.
Like or Dislike:
0
0
[Reply]
Grant
Reply:
March 7th, 2011 at 9:06 pm
It was definitely unzipped and in the correct directory. It just wouldn’t show up for some reason.
I have it working on a live site as I said, but it just wouldn’t work on my local server (MAMP).
After much head scratching I gave up.
If you want to recreate the scenario and test for problems then feel free
I have OSX 10.6.6, MAMP PRO 1.9.4 running PHP Version 5.3.2., and the latest Wordpress then was 3.0.5.
Thanks for the help!
Like or Dislike:
1
0
BoB
Reply:
March 7th, 2011 at 9:12 pm
That’s rather puzzling. I don’t have your working environment and cannot do any test. Nevertheless, as long as the live site is working, we can leave that problem behind.
Like or Dislike:
0
0
Grant
Reply:
March 7th, 2011 at 9:14 pm
Thanks for your replies!
Great plugin btw!
Like or Dislike:
1
0
[Reply]
Hey there Bob, found this to be a great plugin so i’ve donated to get the Pro version., having one slight issue with it though, both the free version and pro version work perfectly fine, they just dont automatically update, if someone votes the vote does not show until the page is refreshed, the images remain as if the vote was never made, then show up as they should after a refresh.
Any ideas?
Like or Dislike:
1
0
[Reply]
Nevada
nyleveia.com Reply:
February 27th, 2011 at 1:26 am
Okay I’ve tracked it down to being subdomains, i currently section parts of the site to specific subdomains, if i remove the subdomain from url (eg, sub.domain.com to http://www.domain.com) and attempt to click the icon it operates fine, (changes to tick and shows the vote), but having a subdomain instead of www results in the click failing to show a visual confirmation (though it does count the vote anyway, just needs to be refreshed).
Is there a way around this?
Like or Dislike:
2
0
[Reply]
Considering the pro-upgrade, but I have a quick question. Does the pro version have a way of tracking what IP clicked which button? I’m not interested in making users log in to vote, but I do have a grumpy troll. Oh, the Internet!
Thanks for an awesome plugin all around!
Like or Dislike:
0
0
[Reply]
BoB
Reply:
March 28th, 2011 at 8:40 pm
All the IP addresses are stored in the database. You can manually add or remove IP addresses, if you are comfortable with mysql.
Like or Dislike:
0
0
[Reply]
COOL
Like or Dislike:
0
0
[Reply]
Love your plugin. Something is not working now though. Comments with over X number of votes down are no longer hidden. WP 3.1. Thesis. 1.8. Comment Rating 2.9.26.
Example: http://tinyurl.com/3pnwnbd
Like or Dislike:
0
0
[Reply]
BoB
Reply:
April 3rd, 2011 at 3:43 pm
What’s your threshold for hidden comments?
Like or Dislike:
0
0
[Reply]
Mark
ihatethemedia.com Reply:
April 3rd, 2011 at 4:13 pm
Here’s a screenshot:
http://i782.photobucket.com/albums/yy107/hyperbolemedia/comments_rating.jpg
Like or Dislike:
0
0
[Reply]
Threshold is 3.
Like or Dislike:
0
0
[Reply]
BoB
Reply:
April 3rd, 2011 at 4:51 pm
It appears it’s the poorly rated replies to a comment will not be hidden. I don’t see the code of hiding the comment in place. It’s like a Thesis bug/feature which disabled comment rating filter.
Like or Dislike:
0
0
[Reply]
Mark
ihatethemedia.com Reply:
April 3rd, 2011 at 5:20 pm
I have not updated Thesis in a long time (they are slow on releases) , and the comment hiding was working until recently, so it’s not a Thesis update that did it.
Like or Dislike:
1
0
[Reply]
Mark
ihatethemedia.com Reply:
April 3rd, 2011 at 5:28 pm
I’m getting somewhere! I just put in the “echo” fix for thesis in comments.php. I used to have it in there, and now I remember I did reupload the Thesis files a month ago or so, which must have wiped out the previous fix. However, now it’s doing something else weird. It’s showing the “poorly rated” message twice sometimes and some other weird things are happening. Could you look at this article and you can see it on the comments, starting with the one at the top of the page, and others.
http://www.ihatethemedia.com/obama-energy-security-blueprint-no-energy-no-security-but-a-very-pretty-blueprint
Like or Dislike:
0
0
[Reply]
BoB
Reply:
April 3rd, 2011 at 5:39 pm
Mark, you just fixed the problem.
The multiple showing of “Like or dislike” is due to the hidden comment.
Like or Dislike:
0
0
[Reply]
Mark
ihatethemedia.com Reply:
April 3rd, 2011 at 5:47 pm
The fix caused my “Ajax Edit Comments” to screw up, Now it shows twice.
Like or Dislike:
1
0
[Reply]
Mark
ihatethemedia.com Reply:
April 3rd, 2011 at 5:57 pm
I’m sorry, you can’t see the line I’m seeing, only admins do.
Thanks for your prompt Sunday morning support.
Like or Dislike:
0
0
[Reply]
I’m having an issue at the moment. Firstly, there is only one image option for thumbsup/down and the color is way off. Looking at the screenshots of this plugin, there shows to be a few different image options. Can I add my own, and how do I add them?
Also, when I click on the thumbs up or down image, it reverts to text instead. Doesn’t look right when that one is text and the rest are images.
Like or Dislike:
0
0
[Reply]
Can you help me please?
i can not put in “auto-insert” the rankings and my comments.php is rare, do not have any code you say for the “manual-insert” of the plugin.
can you help me please?
you can se the code here:
http://pastebin.com/YFcNu79D
Like or Dislike:
0
1
[Reply]
Hi there,
thank for your support. I’m currently travelling out of the country and don’t have a stable internet connection.
There’s a readme regarding how to customize your theme in the Pro files. Most people sorted out their customization by reading it. If you still have problem, I’ll be back to Canada early May.
Like or Dislike:
2
1
[Reply]
I am thinking about buying this pro version. But I am hesitating is when I a commenter uses my name, then this plugin treats as me (admin) without checking email or userID. So that I cannot configure only for my (admin’s) comment to behave differently with provided options. That means if a commenter uses my name then the plugin treats that commenter as admin. Please advise if there is a known issue. Thanks.
Like or Dislike:
0
0
[Reply]
BoB
Reply:
May 23rd, 2011 at 8:34 pm
This is a feature in Wordpress using cookies. It’s not a problem with comment rating.
Like or Dislike:
0
0
[Reply]
I was thinking of donating for the Pro version as my readers seem to love this plugin and 1. I want to support the dev and 2. TOTALLY want the cookie function and the added features. WOuld donating now mean I have to wait for the Pro version? If so, how long before you;re home? I wanna give you money.
Like or Dislike:
2
0
[Reply]
On my website I have a profile page for each user. Is it possible to display the total positive votes a user received from all the comments in the blog? i.e. “Andy – XX votes received”. Thanks
Like or Dislike:
2
0
[Reply]
Andy
Reply:
May 8th, 2011 at 12:01 am
And, is it possible to hide the comment rating on threaded comments? i.e show the rating buttons only on comments 1,2,3,etc… and not 1.1,1.2,1.3, etc….
Like or Dislike:
0
1
[Reply]
Andy
Reply:
May 8th, 2011 at 10:08 am
I managed to do that with some jquery, but maybe this could be a feature. Now, I’m using a custom callback for comments, I have tried your code to order posts by karma, but is not working for my setup: comments are not sorted and rating buttons disappeared. I want to buy the pro version but I need to know if sorting is working on my comments template (voting is working without problems). Please let me know, thanks!
Like or Dislike:
0
1
[Reply]
BoB
Reply:
May 23rd, 2011 at 8:07 pm
Are you using the Pro version?
Like or Dislike:
0
0
[Reply]
BoB
Reply:
May 23rd, 2011 at 8:36 pm
Not this doens’t work yet. I’ll add it to the todo list.
Like or Dislike:
1
0
[Reply]
Hey Bob! Just purchased and installed the pro version and for some reason nothing displays on thesis 1.8. Any ideas / known issues? Feel free to contact me via email.
Like or Dislike:
3
0
[Reply]
i am using your standard like/dislike plugin for my blog. the only other feature that i want is the ability to remove voting fraud prevention (or change it). i don’t need or want any other feature from the pro version (or the widget altogether). can i pay a smaller price just for that feature?
Like or Dislike:
0
0
[Reply]
BoB
Reply:
May 27th, 2011 at 2:09 pm
Sure. It’s a donation, not a price. Please send your donation to Paypal: bob.king at wealthynetizen.com
Like or Dislike:
0
0
[Reply]
Max
Reply:
June 27th, 2011 at 8:26 pm
Can I know is it your Plugin compatible with Thesis Themes? is it I have to customized and add any code? Can you guide. Interested to get your pro plugin
Like or Dislike:
0
0
[Reply]
BoB
Reply:
June 27th, 2011 at 9:04 pm
Thesis theme from version 1.6 has a bug which disables all comment related plugin. You have to fix the bug yourselves.
Like or Dislike:
0
1
[Reply]
Hi, what is the latest version?
Like or Dislike:
0
0
[Reply]
BoB
Reply:
July 4th, 2011 at 2:59 pm
Version 3.1.5 is the latest
Like or Dislike:
0
0
[Reply]
Hello,
I’m using the pro version and I’m experiencing problems with voting. when users vote nothing changes at first site. Only when you F5 the webpage you can see you’ve voted.
It’s a wordpress 3.2.1 on IIS 6. I hope someone can help me.
Like or Dislike:
0
0
[Reply]
BoB
Reply:
August 16th, 2011 at 1:55 pm
If the vote numbers are not updating, it’s because your page contains html errors. Comment Rating Pro javascript parse the page to find the right number to change. When parsing error happens, numbers won’t be changed.
Run a HTML checker to see where the problem is. If it worked before, then you last change to the theme or new plugins are most likely to blaim
Like or Dislike:
0
1
[Reply]
Bob,
I did a html validation on http://validator.w3.org and I got 6 errors, but they are all non issues.
My vote numbers never updated right away, always after refresh of the page.
Maybe I need a different webpage checker……any suggestions? Or a javascript web page validator..
Like or Dislike:
2
0
[Reply]
BoB
Reply:
August 17th, 2011 at 12:02 pm
Did you try the WP default theme to see if the votes update? The w3.org validator is very good.
Like or Dislike:
0
0
[Reply]
Frederick
Reply:
September 5th, 2011 at 12:03 am
I have the exact same issue, even though I got 0 errors in the W3C Validator. I tried using the WP default theme (Twenty Eleven 1.2), but the problem persists.
Like or Dislike:
0
0
[Reply]
BoB
Reply:
September 5th, 2011 at 12:06 am
Can you let me know your url and I can have a look?
Like or Dislike:
1
0
[Reply]
Frederick
Reply:
September 5th, 2011 at 12:18 am
Thanks for your quick reply!
Try this one: http://www.beatrijs.com/borstvoeding/
Like or Dislike:
0
0
[Reply]
Hey Mate, thanks for the plugin – got pro and love it.
I was wondering if you know of a way to show the highest rated comment per post underneath the posts on the homepage. I currently have it set up to order by comment_karma im just having difficultly on order by comment_karma based on the post and then limited to 1 comment.
Cheers in Advanced.
Like or Dislike:
0
0
[Reply]
BoB
Reply:
September 29th, 2011 at 1:26 pm
You can do so by modifying your theme. ckrating_get_comment() can retrieve a list of comments ordered by comment_karma. You can then pick the top X to display.
Like or Dislike:
0
0
[Reply]
Hi BoB!
I’d like to ask, whether the cache plugins related code changes recently introduced in the non-pro version 2.9.30 will also be applied to the Pro version sometime?
I’ve made the donation yesterday for the Pro version after I’ve found, that (non-pro) version 2.9.30 introduced changes and now works with caching plugins. I use W3 Total Cache and it works with it flawlessly. Unfortunately it seems, that the Pro version not yet received this patch and doesn’t play W3 Total Cache. So my not logged in visitors who get cached pages don’t see the changes in the ratings until page cache rebuilds.
Like or Dislike:
0
0
[Reply]
BoB
Reply:
October 21st, 2011 at 4:45 pm
Sorry the fix is now in the pro version. Thanks for letting me know.
Like or Dislike:
0
0
[Reply]
Hey! I purchased the Pro plugin yesterday since I needed the order by “rating” portion. I’m using the Mystique theme, and they don’t use “comments.php” for comments. After hours of searching and trying to figure out where the code for the loop is, I found what seems to be it in “AtomObjectPost.php” in the “core” sub-folder. For those who have this theme change the following line:
$query = $wpdb->prepare(“SELECT * FROM {$wpdb->comments} WHERE comment_post_ID = %d {$filter} ORDER BY comment_date_gmt”, $this->data->ID);
To this :
$query = $wpdb->prepare(“SELECT * FROM {$wpdb->comments} WHERE comment_post_ID = %d {$filter} ORDER BY comment_karma DESC”, $this->data->ID);
That’s it! Everything works great.
Like or Dislike:
0
1
[Reply]
BoB
Reply:
October 21st, 2011 at 4:32 pm
Thanks for the tip. I’d stay away from non-standard themes without strong support.
Like or Dislike:
1
0
[Reply]
I can’t tell by the screenshots, but do you have the ability built in to allow voting only on custom post types? I’m experimenting with a custom post type on my site and only want those comments votable, but it appears your options here cover Posts and Pages, but not custom types. Am I wrong about that?
Like or Dislike:
0
0
[Reply]
BoB
Reply:
October 28th, 2011 at 8:37 am
Do you mean categories? No it cannot yet. But I’ll add this to the feature request and get on it when I have time.
Like or Dislike:
0
0
[Reply]
Keith
Reply:
October 28th, 2011 at 8:50 am
No, custom post types. You can register them within Wordpress. For example, I will have post types called “Polls” and only want those to be votable:
http://codex.wordpress.org/Post_Types
Should be not too difficult to implement. Heck I could do it for a free copy
http://codex.wordpress.org/Function_Reference/get_post_types
Like or Dislike:
0
0
[Reply]
I have the pro version of ratings and the widget, but when I try to save/update the widget settings, I get a “You do not have sufficient permissions to access this page.” message. Help?
Like or Dislike:
1
1
[Reply]
BoB
Reply:
November 8th, 2011 at 10:58 pm
Not sure what the problem is. But it appears your hosting had a file permission issue. How did you upload the plugin? Uploading from within the Wordpress dashboard usually works better.
Like or Dislike:
1
0
[Reply]
Bill
Reply:
November 8th, 2011 at 11:10 pm
Uploaded via FTP as I’ve encountered errors with other plugins when trying to upload from within wordpress. Would it be a file permission with a specific file?
Like or Dislike:
1
0
[Reply]
BoB
Reply:
November 8th, 2011 at 11:13 pm
That’s what the message means. Wordpress works better than FTP, because you won’t have a permission problem.
Like or Dislike:
2
0
[Reply]
OK, tried that … uninstalled, re-installed. Same issue. Then thought it might be something to do with multisite … which I think it is. When I Network Activate, I can save the settings, but the links to the admin functions take me to the root blog. When I only activate for an individual blog … I get the error again.
Is there a config option for multi-site?
Like or Dislike:
3
1
[Reply]
BoB
Reply:
November 9th, 2011 at 9:04 am
I don’t know any incompatibility with multisite. Do you have similar problem with other plug-in?
Well-loved. Like or Dislike:
8
1
[Reply]
BoB,
I bought and installed Comment Rating Pro for a political website I’m relaunching on Wednesday. I’m wondering if there is a way to hide any comments that get over 5 bad ratings. Thank you.
Like or Dislike:
0
0
[Reply]
BoB
Reply:
January 25th, 2012 at 8:12 am
Brian,
The current Pro version doesn’t support that yet. But I can make a special version for you to do so.
Like or Dislike:
1
0
[Reply]
I’m thinking about the Pro version, and I’d like to know that after download I can use it for only one site, or for any number of sites that I will create.
Like or Dislike:
0
0
[Reply]
BoB
Reply:
January 25th, 2012 at 8:09 am
You can use it on multiple sites.
Like or Dislike:
0
0
[Reply]