Comment Rating 2.6.0 Beta Available
Sep 20th, 2009 by Bob King
Many of you asked for features for better, more flexible presentation. So you shall get them, in version 2.6.
I’ve substantially improved the Comment Rating’s look and feel. These features include:
- Mouseover effect on images to entice voting
- Choice of images and image size.
- Configurable display of two vote numbers, a combined one or three numbers.
- Styling of the vote numbers differently.
I now have a framework to add more images of choice. If you have some good GPL-distributable icons, please send them my way. The icons need to be in set of 4: thumb-up/down and grayed out ones, ideally in 14/16/20px.
The changes in version 2.6 are pretty extensive. I’ve touched every file of the plugin. Although it’s well tested and many were squashed, potentially bugs may still survive and are at large. I’d appreciate some beta testing and early feedback. The beta release (2.6.0B) can be downloaded from Wordpress.org.
Do let me know what you think.
i assume the image size change on mouse over is intentional? An option to turn this off would be handy as i don’t think this will be for everyone.
Possible to keep the tick on there to the person who voted once page is refreshed? Good to see the pop up window removed but now tick should stay on i think. Also should consider some title=”" for each state now, so hover over the positive image should show something like “vote up”, and “vote down” for other. Then once voted both switch to “You’ve already voted”. Not sure how you’d manage this as i’ve noticed it isn’t different html once voted, just the images change, but should not be too hard to do?
Looking good though, the next thing i’d love to see is the changing of the “Words before the rating images:” for positive and negative vote thresholds
Would just like to thank you for working so hard on this plug, it’s a one of a kind now, easily the best rating systemfor WP by a mile.
Well-loved. Like or Dislike:
7
2
[Reply]
Bob King
wealthynetizen.com Reply:
September 21st, 2009 at 7:48 am
Jim,
The tick is only shown when a vote is cast, by javascript. Refreshing the page loses them. It’s possible to search through the IP addr to figure out where to place the ticks based on what you had voted for, but it’ll be incredibly inefficient, bogging down every blog.
The alt text had been set to “Thumb up/down”. Somehow img alt disappears. Does anyone know why?
Like or Dislike:
0
1
[Reply]
Jim
Reply:
September 21st, 2009 at 11:05 am
Bob,
alt tag is for when an image is not being displayed (either by accident, or by using a text based browser) – it’ll show this text instead. title is for when you hover over the image.
Like or Dislike:
0
2
[Reply]
Bob King
wealthynetizen.com Reply:
September 21st, 2009 at 12:04 pm
There’s always something to learn to relearn. Thanks Jim. I’ve added title attributes and they work like a charm.
Like or Dislike:
0
0
[Reply]
it´s so nice to see this continuous work. I´ll give this version a try as soon as I get home. (is there a way to change votes being an admin?)
Like or Dislike:
2
3
[Reply]
Bob King
wealthynetizen.com Reply:
September 22nd, 2009 at 9:28 am
If we allow admin to override votes, we are losing the spirit of use-regulated commenting. Tricky! Eh!
I’d think preventing voting fraud is the right away dealing with it.
Like or Dislike:
0
0
[Reply]
tricky
Reply:
September 22nd, 2009 at 4:12 pm
You are right, but what if someone from a college for example (several computers with different IPs) wants to troll something? But that is a rare case, and Jim’s solution would work then.
p.s.: as the tables looks the same, this would be compatible with the old ck-karma plugin? (if i want to upgrade to your plugin ?)
Like or Dislike:
0
0
[Reply]
Bob King
Reply:
September 22nd, 2009 at 7:00 pm
No, Comment Rating is not DB-level compatible to Comment Karma. A few changes to index to make the DB more efficient. There’s also a new field to store two votes.
If you have an established site, you’ll need to find a way to copy the data. Perhaps comparing the SQL in the install function will help.
Like or Dislike:
0
0
[Reply]
Jim
Reply:
September 22nd, 2009 at 12:34 pm
there is a brute force way to change votes, i use it for testing. use phpmyadmin, go to table “wp_comment_rating”. Click “browse” and change the values “ck_rating_up” and “ck_rating_down”for the correct comment id.
Like or Dislike:
2
0
[Reply]
Nice extensions. Keep up the awesome work. If a comment is hidden, there is the javascript link “Click here to see”. If it is clicked for viewing tell it e.g. “Click here to hide”. So, if it is a hidden comment, the link should named like “Click here to show” and “Click here to hide”
Like or Dislike:
2
0
[Reply]
Bob King
wealthynetizen.com Reply:
September 22nd, 2009 at 9:26 am
This is hard. The “click-to-see” is a fix point in the changing comment display. Most reader won’t want to close it anyway.
Like or Dislike:
0
1
[Reply]
Hi Bob,
I assume this is a lightweight plugin for my shared hosting account. I am going to use the latest beta on the new website we are creating. Is there any chance the beta release will harm the database that can’t be undone with next release?
Like or Dislike:
0
1
[Reply]
Bob King
Reply:
September 23rd, 2009 at 5:51 am
Yes, this plugin is very lightweight. Sites running shared hosting don’t experience any slow down.
2.6.0Beta turns out to rather stable. I’ll put a 2.6.1 to fix a minor bug.
Like or Dislike:
0
0
[Reply]
Hi Bob, I have another query. Does this plugin affect the way my comments are seen by search engines? Thanks.
Like or Dislike:
0
0
[Reply]
Bob King
Reply:
September 23rd, 2009 at 6:03 am
No it won’t.
Like or Dislike:
0
0
[Reply]
Just gave this new version a try, but it doesn´t seem to be working. I wonder if it’s a javascript related issue? Clicking on the vote buttons doesn´t do anything… not even give me an alter that I already voted:
http://www.plataformaurbana.cl/archive/2009/09/22/el-nuevo-simbolo-xl-del-barrio-universitario-¿juan-pablo-ii-en-bellavista/#comments
Like or Dislike:
0
0
[Reply]
Bob King
Reply:
September 24th, 2009 at 9:40 am
Tricky,
It appears to be the wpurl issue. the voting number changes but the checkmark image is not accessible to javascript.
I’ve fixed the wpurl issue in 2.6.2, which some new features. Do you care to play with it a bit?
http://wealthynetizen.com/wp-content/uploads/comment-rating.2.6.2.zip
Like or Dislike:
0
0
[Reply]
Bob King
Reply:
September 24th, 2009 at 9:42 am
Also please load the default options before customizing
Like or Dislike:
0
0
[Reply]
Bob,
Just installed v2.6.2 and it does not work (same url, cleared cache).
Like or Dislike:
1
0
[Reply]
Bob King
Reply:
September 24th, 2009 at 11:32 am
Very interesting. Everything seems right on source. The javascript cannot access the images. So the alt text is shown. Please see if you have 1_14_checkmark.png and 1_14_gray_*.png. under “images” dir. Pls do two things:
1. look at the log to see which image files the javascript is trying to load
2. Please let me know what you set WordPress address (URL) (under Settings -> General)
Like or Dislike:
0
0
[Reply]
Bob,
I do have http://www.plataformaurbana.cl set s the URl in Settings->General.
And this is what the plugin is loading:
http://www.plataformaurbana.cl/wp-content/plugins/comment-rating/ck-karma.js?ver=2.8.4
http://www.plataformaurbana.cl/wp-content/plugins/comment-rating/images/1_14_down.png
http://www.plataformaurbana.cl/wp-content/plugins/comment-rating/images/1_14_up.png
Like or Dislike:
0
0
[Reply]
Is there anyway for the plugin to hide the website and name also? As of now it only hides the message body if there are to many negative links.
Basicly Im looking to hide the entire comment.
Like or Dislike:
0
0
[Reply]
Bob King
Reply:
October 9th, 2009 at 1:17 pm
You can do it by modifying your theme to skip the comment. But as a plugin, no it’s not possible.
Like or Dislike:
0
0
[Reply]
Bob King
Reply:
October 12th, 2009 at 7:30 pm
If you’re not comfortable with the modification yourself, I’d be glad to help out. http://wealthynetizen.com/donate/customize-your-theme/
Like or Dislike:
0
0
[Reply]