James Mowery of TechInDemand.com got in touch with me a few weeks ago and wondered which plugin sites like Engadget and Autoblogs were using that allowed for comment rating. I digged into the source code for those websites and couldn’t figure it out. Today, I have finally discovered which plugin those guys are using and figured I would share it here.
Its called, Comment Karma. Comment Karma is a plugin you can use to allow your visitors to rate each others comments. Like Digg, you can click a thumbs up or thumbs down icon which will give that comment either a positive or negative number.
This plugin was created in 2006 so I’m not sure how it will work with WordPress 2.3 but it’s worth a shot. One thing worth noting is that, the rating cache is set to 120 seconds.
If you’re using WP-Cache or similar the icons will not show up gray, nor will the numbers be updated if you reload the page until the page expires. However if a user votes again it will throw them an error. I’ve worked around this by setting the cache for 120 seconds. That way the server doesn’t get hammered with SQL queries, but you still see the comments being moderated in almost real time.
There is a similar service in SezWho, but by using this plugin, you can keep the comment ratings local to your WordPress install which may improve loading times for your site. I may install this plugin in place of SezWho just for that reason alone. If you’re interested in using this plugin, check out the official Comment Karma plugin page for directions on how to install it into your blog.
Jeff, thanks for the mention of Sezwho…What kind of performance characteristics are you seeing with SezWho…Typically we should not have more than a 200-300ms (depending on the cache status) impact on the page load because of the js (size : 12k)…Check out another discussion at
http://www.sigmundvoid.com/?p=110
Please let me know if we can help in any way?
thanks, Jitendra
@Jitendra Actually, I have yet to have a problem with the SezWho plugin. So far, that particular service has worked out rather well. Every now and then, the sezwho plugin will take a few extra seconds to load but thats about it.