‘Comment Rankings’ WordPress plugin

Posted by Gary King on April 18, 2007
Categories: programming

I quickly whipped up a WordPress plugin to do something that I wanted, which was to display stars in a post’s comments next to the comment’s author. Each star represented 10 comments that the author had made on the blog so far; I find it interesting to see how many people in the, say, top 10 people that comment on a blog make up a large percentage of the total comments on a blog. (For those who are wondering, the top 10 commenters on my blog make up 67% of all the comments.)

Screenshot

You can see the plugin in action by simply looking at any of the comments on this blog. Here’s a screenshot, as well, just in case I ever decide to remove it from my blog:

screenshot.png

Download the plugin

Click here to download the plugin. Download, extract, and upload the entire folder to your /wp-contents/plugins/ folder (so the final path should be /wp-contents/plugins/comment_rankings/) and activate it.

This plugin is also listed in the official WordPress Plugins database.

Now, back to our regularly scheduled programming.

Popularity: 25% [?]

Trackbacks

Use this link to trackback from your own site.

Comments

Leave a response

  1. Small Business SEM Thursday, April 19 2007 at 1:55 am CDT #

    links from Technoratispamming the comments in favor of letting those of you who comment here regularly get some “link love” in the process. If I end up spending all my time deleting/editing comments, I’ll obviously need to reconsider. 2.) I’ve installed the Comment Rankings plugin by Gary King. This one rewards frequent commenters with stars next to your name, like this:

  2. Michael Petrov Wednesday, April 18 2007 at 10:56 am CDT #

    Nice work Gary!

    What about adding a feature that will assign stars based on the relative ranking of comments? Would be something like: select users->comment counts, sort by counts, find the position of the user in that list, and find in what percentile they fall relative to the other users (each 10% gets a star)?

  3. Gary King Wednesday, April 18 2007 at 11:14 am CDT #

    Michael,

    I think that would confuse visitors because they would see a certain number of stars in one post, and a different number in another post. Consistency and simplicity is best :) Also, it makes it easier to try and achieve a certain number of stars :P

  4. Michael Petrov Wednesday, April 18 2007 at 12:05 pm CDT #

    Actually not quite – I’m talking about summarizing all the comments, not just a single post – therefore the amount of stars should be consistent for the user. however it brings in a competition element, since a new poster who posts a lot becomes a threat for the established posters :) .

    Note to self: keep commenting to get that first star!

  5. Anonymous Wednesday, April 18 2007 at 12:22 pm CDT #

    I think that using stars is a bad idea. To most every user, stars brings to mind “quality”, not quantity, so it seems like you’re rating yourself a full 10 stars of quality. I see your post up there and see 8 stars and think it was rated an 80%. Your blog readers aren’t necessarily going to read how each of your features work (like this entry), so they will assume the same.
    I think a percentage bar would be better if you want to reward users (or simply show statistics) based on number of posts. I think stars should be reserved for an average rating of a comment or an entry. So, a crappy comment gets 1 star and an insightful one gets 10. That way, your users won’t see crappy comments with 10 stars just because someone posts a lot of comments. They’ll think, “Who is the audience and why did that post get such a high rating?”
    Also, requiring e-mail is a bit unfriendly.

  6. [...] Comment Rankings displays stars in a post’s comments next to the comment’s author. Each star represented 10 comments that the author had made on the blog so far. [...]

  7. radiohode Wednesday, April 18 2007 at 4:06 pm CDT #

    Nice plugin. I would like not to show any stars next to my name, since I “answer” all my comments. Can I exclude myself in any way?

  8. David Wednesday, April 18 2007 at 4:09 pm CDT #

    I see a problem with the star system. If someone comments enough, e.g. you, eventually there will be rows upon rows of stars.

    One more comment till my next star!

  9. [...] more info and download…. [...]

  10. Comment Ranking Wednesday, April 18 2007 at 8:25 pm CDT #

    [...] ມື້ນີ້ລົງປລັກອິນໃຫມ່ Comment Ranking ໃຊ້ໄວ້ສຳຫລັບຕິດດາວໄວ້ຫລັງຊື່ ຂອງຄົນທີ່ໂພສຕ໌ໃນບລັອກຫລາຍ ​ໆ ເຊິ່ງ 10 ໂພສຕ໌ຈະນັບເປັນ 1 ດາວ ມີທັງຫມົດ 5 ດາວເປັນຈຳນວນສູງສຸດ ໂຫລດມາຈາກບລັອກນີ້ [...]

  11. Plugin pour Wordpress — Comment Rankings Wednesday, April 18 2007 at 8:53 pm CDT #

    [...] installé un peu plus tôt aujourd’hui le plugin pour Wordpress Comment Rankings. Il s’agit d’un plugin tout simple qui ajoute une étoile à nos lecteurs qui ont plus de 10 [...]

  12. ~TheAngel~ Wednesday, April 18 2007 at 11:53 pm CDT #

    Thanks for the plugin!

  13. cofano Thursday, April 19 2007 at 4:55 am CDT #

    Hi, your plugin is really nice but I think you should add a feature to disable displaying stars for some users (at least for the owner of the blog, that usaually is the greats commenter): I left 1092 comments on my blog, that means showing 5 rows of stars.

  14. CLASSIFICA COMMENTI UTENTI | WordPress ITALIA Thursday, April 19 2007 at 5:35 am CDT #

    [...] Plugin Home | Download [...]

  15. Wordpress Plugin: Comment Rankings Thursday, April 19 2007 at 1:14 pm CDT #

    [...] King has created a new plugin called Comment Rankings which displays stars in a post’s comments next to the authors name. The stars correspond to [...]

  16. [...] Comment Rankings displays stars in a post’s comments next to the comment’s author. Each star represented 10 comments that the author had made on the blog so far. [...]

  17. Is Google working correctly? | King Gary Saturday, April 21 2007 at 2:28 am CDT #

    [...] a quick update on my ‘Comment Rankings’ WordPress plugin that I released 2 days ago. It looks like my plugin is the #1 hit when searching [...]

  18. [...] Comment Rankings despliega estrellas en el comentario de una entrada próxima al autor del comentario. Cada estrella representa 10 comentarios que el autor haya dejado hasta ese momento. [...]

  19. Prof Kienstra’s Vision | stars in comments? Sunday, April 22 2007 at 3:59 pm CDT #

    [...] This is done by the Comments ranking plugin [...]

  20. Listado de plugins del dia at Escuela De Blogs Tuesday, April 24 2007 at 3:28 am CDT #

    [...] Comment Rankings despliega estrellas en el comentario de una entrada próxima al autor del comentario. Cada estrella representa 10 comentarios que el autor haya dejado hasta ese momento. [...]

  21. [...] Comment Rankings displays stars in a post’s comments next to the comment’s author. Each star represented 10 comments that the author had made on the blog so far. [...]

  22. daysies.nu » Wordpress plugins i use Wednesday, June 13 2007 at 7:22 pm CDT #

    Kramer auto Pingback[...] – the best spam blocker Categorical Links Page Comment Rankings – you get more stars the more you comment.  Double-Space It – adds 2 spaces after a period. [...]

  23. rd Limosin Friday, June 15 2007 at 10:39 am CDT #

    Great job garry. I put it in my blog now!! THX!

  24. Affenheimtheaterbesitzer Monday, June 25 2007 at 5:22 pm CDT #

    Very nice idea for a plugin!
    I’m currently using a heavily modified version that shows different stars (1-49 comments = no stars, 50-249 = white stars, 250-499 = light-blue stars, 500 and more comments = dark blue stars) and ignores comments made by the entry_author.

  25. [...] Anzahl an Kommentaren neben dem Namen des Kommentatoren anzeigen lassen und bin dabei auf das Comment Rankings Plugin von Gary King gestoßen. Da mir die vorgegebene Sternchenverteilung nicht genug war, habe ich das Plugin so [...]

  26. WP Plugins DB » Plugin Details » Comment Rankings Thursday, July 12 2007 at 6:59 am CDT #

    [...] Visit [...]

  27. Gaje Master Friday, July 13 2007 at 2:11 pm CDT #

    thanks, I was looking for something simular to this. I like it. I am going to add this to my blog. Keep up the good work.

  28. [...] Comment Rankings uses a star ranking system to rank those who make the most comments. The number of stars will correspond with the number of comments made. [...]

  29. macreloaded[dot]com - Blog Archive » Stars 4 You Saturday, August 18 2007 at 11:57 am CDT #

    [...] viel Platz weggenommen und ich habe auch eigentlich gar keine Verdient. Wovon ich spreche ist das “Comment Rankings Plugin”, was für eure Sternchen neben den Kommentaren verantwortlich ist. Denn nun ist endlich Schluss mit [...]

  30. jameswillisisthebest Saturday, September 8 2007 at 4:49 pm CDT #

    This is my first post
    just saying HI

  31. dada Sunday, September 16 2007 at 7:33 am CDT #
  32. westerblog » Blog Archive » DragonTrain! Thursday, September 20 2007 at 1:04 am CDT #
  33. [...] Plugin Home | Download [...]

  34. [...] Comment Rankings : plugin qui permet d’associer à chaque commentateur un nombre d’étoile dépendant du nombre de commentaires qu’il a posté. Très bonne idée, mais pas complètement réalisée : en effet, le nombre d’étoile n’est pas paramétrable ! On ne choisit pas la relation entre le nombre de commentaires et le nombre d’étoiles. Conclusion : l’admin (vous) vous retrouvez avec trois lignes d’étoiles, ce qui est moche, et pas utile. Une bonne idée pour ceux qui aiment la programmation : améliorer le code de ce plugin, pour un faire un best-seller ! [...]

  35. next billionaire blog | Tentang Tautan di Blog ini Saturday, November 10 2007 at 11:15 am CST #

    [...] Sesudah Tulisan… Trims untuk Raffa yang memberitahukan saya link untuk mendownload plugins Comment Rangkings [...]

  36. Idetrorce Saturday, December 15 2007 at 10:13 am CST #

    very interesting, but I don’t agree with you
    Idetrorce

  37. Eklog Sunday, December 16 2007 at 10:30 am CST #

    links from TechnoratiCommunity Post rating plugin: Allow visitors to rate a post. (doesn’t work with this theme):Comment Rankings’ plugin: gives a visual display of how many comments any subscriber has made.

  38. Tahun Baru, Wajah Baru | shiva is back v2.1 Wednesday, January 2 2008 at 6:36 am CST #

    Kramer auto Pingback[...] @Aditya Wirawan : masih liburan ya? @n1ghtfly3r : namanya Comment Ranking, bisa cari di sini [...]

  39. Полезни плъгини зa Wordpress Tuesday, June 10 2008 at 9:11 am CDT #

    [...]  Comment Rankings 1.0 [...]

  40. [...] Comment Rankings 1.0 [...]

  41. [...] Comment Rankings показва звездички до потребителя в зависимост от броя на коментарите публикувани от него [...]

  42. [...] Comment Rankings vous permet d’afficher une étoile aux auteurs des commentaires sur votre blog. Chaque étoile correspond à 10 commentaires poster sur votre blog. [...]

  43. links from TechnoratiComment Rankings WordPress plugin | King GaryThe web from a younger perspective I quickly whipped up a WordPress plugin to do something that I wanted, which was to display stars in a post s comments next to the comment

  44. links from TechnoratiIl Filosofo WordPress Comments Preview Plugin A blog about philosophy, Christianity, web development and whatever else I feel like writing about.Comment Rankings WordPress plugin | King GaryThe web from a younger perspective I quickly whipped up a WordPress plugin to do something that I wanted, which was to display stars in a post s comments next to the comment

  45. Kramer auto Pingback[...] de vanne tssssPour complter le plugin cit ci-avant, j’ai aussi celui ci….. juste au cas o….http://www.kinggary.com/archives/commen … ss-plugin/Ceci te permettra d’encourager les tires au flancs en donnant un aperu du [...]

  46. TechNald Tuesday, December 9 2008 at 2:26 pm CST #

    loved this comment plugin. thanks!

  47. Niels Friday, December 19 2008 at 11:49 am CST #

    Gary,

    I’ve been using your plugin for a while now. Recently I upgraded to WordPress 2.7 and now I can’t seem to get it to work anymore. Have you (or someone else) tested it with 2.7?

    It did work up to WordPress 2.7 BETA2.
    Any plans to make the plugin ready for 2.7?

    Thanks for any respons in advance.

    Cheers,
    Niels

  48. gogeta Sunday, March 22 2009 at 2:48 am CDT #

    Is it possible that if a person gets 10 stars that you reset them back to just 1 star or 0 stars?

Comments