Comments Vote Wordpress Plugin January 9, 2009

Posted by Todd Zeigler in Bivings, Open Source, Wordpress

The Bivings Group is proud to announce the release of our first Wordpress plugin, Comments Vote, which is available for download on Wordpress.org.

vote This plug-in enables users of the website to vote comments up or down, in a style similar to Digg.com. The running vote tally can be displayed next to the comment, as a positive or negative number.  The screenshot to the right shows what this looks like. 

In addition, administrators have the ability to set a threshold at which comments are automatically collapsed, meaning users won’t see them unless they specifically opt to.  This feature will make Comment Vote useful plugin for webmasters looking to have their community help them police their comment section for spam, trolls and general unpleasantness.

This release is most definitely a first iteration.  We have plans to make improvements to the user interface of the plugin, with the goal of giving administrators more control of how the buttons/votes are displayed.  We also want the collapsing of comments to work most smoothly.

Comments Vote was original written as a custom plugin for a client project we were working on. It has been cleaned up and made release-worthy by John Bafford, our Director of Programming Services.

This plugin is installed on this blog, so please test out in the comments.  Please leave comments if you have suggestions or find bugs.

Share

Trackbacks/Pings

Comments

  1. +237 Vote -1 Vote +1Todd Zeigler - January 9th, 2009 at 5:33 pm

    This is a test comment to show how it works. Please vote up or down as you see fit. Plugin is set so that -10 votes leads to the comment being hidden.

  2. +101 Vote -1 Vote +1Chuck - January 9th, 2009 at 5:59 pm

    Good job guys.

  3. +53 Vote -1 Vote +1baron - January 9th, 2009 at 6:53 pm

    hi. Thanks for plugin

    perfect.

    Regards

  4. +17 Vote -1 Vote +1Levent - January 10th, 2009 at 2:41 pm

    it doesnt work for me..comments are blank…I dont know why..I have wordpress 2.7 installed…

  5. -102 Vote -1 Vote +1Business Entrepreneur - January 11th, 2009 at 12:14 am

    (click to show comment)

  6. +23 Vote -1 Vote +1brainsolid - January 11th, 2009 at 9:09 am

    Cool plugin!
    Can you tell me, what code i must put in comments.php if i want integrate it manually? I use Brian’s Threaded Comments and your Comments Vote don’t showed…

  7. +16 Vote -1 Vote +1maslo - January 11th, 2009 at 10:13 am

    awesome plugin! thank you very much!

  8. +7 Vote -1 Vote +1John Bafford - January 11th, 2009 at 12:48 pm

    @Levent: Would you be able to tell us what other comment-related plugins you’re using, in case there’s an issue there? Thanks.

    @brainsolid: That’s not possible at the moment, but we’ll take a look at making that possible. You’re not the only person who’s made that request.

  9. +13 Vote -1 Vote +1Jack li - January 11th, 2009 at 1:02 pm

    Am i only having this problem.

    in the setting, i am clicking on “yes to require login”, whenever i am trying to save , its not saving :eek: . though above option display rating yes or no. its working :eek: .
    looking forward for the support,
    Fighting !

  10. -23 Vote -1 Vote +1Levent - January 11th, 2009 at 3:29 pm

    (click to show comment)

  11. +12 Vote -1 Vote +1Levent - January 11th, 2009 at 3:50 pm

    sorry sorry..”top commentators widget” installed.. removed and bingooo.. now it works..thx

  12. +12 Vote -1 Vote +1Sean - January 20th, 2009 at 3:13 am

    Hello! You’re plugin is great. But there’s one thing. Your plugin is not compatible with 2.7’s ‘callback’ comment customization functionality. An easy fix for this would be providing a set of public functions, or re-examining how you apply you’re hook.

  13. +6 Vote -1 Vote +1Suzanne - January 28th, 2009 at 12:40 am

    Hello,

    I am having a problem, I am only getting the negative icon. The up and the name are not displaying.

    Can you please help?

  14. -15 Vote -1 Vote +1Ritaorerlalay - January 30th, 2009 at 4:17 am

    (click to show comment)

  15. -3 Vote -1 Vote +1olov - February 6th, 2009 at 8:34 am

    This is an interesting plugin. I’m acutally looking for a plugin to rate blogroll links, and I’m thinking of hacking this one to do that. Or maybe you would be interested in doing that? If so, please get in touch (I would be willing to discuss some compensation to you for the work).

    Anyway, I’ve found two bugs.
    1. There is a conflict with the Google Analytics for WordPress plugin, http://yoast.com/wordpress/analytics/. I havn’t looked into it, but when both are activated the positive vote button disapears.
    2. There is something wrong with how the ‘$commentsvotePath’ variable is defined on line 50 in commentsvote.php. I’m running WP in a subfolder, and the subfolder is excluded from the path. I tried entering the subdirectory manualy before wp-content in the path and then everything works fine.

  16. +2 Vote -1 Vote +1Kaamajakaaya - February 6th, 2009 at 10:55 pm

    Thank you for your help!

  17. -9 Vote -1 Vote +1SamudraMadhanaya - February 7th, 2009 at 4:10 am

    What is captcha code?, pls provide me captcha code codes or plugin, Thanks in advance.

  18. -13 Vote -1 Vote +1Sridharaya - February 7th, 2009 at 3:01 pm

    (click to show comment)

  19. +1 Vote -1 Vote +1Perry - February 9th, 2009 at 3:11 pm

    Any way we can get this plugin to work with an older version of Wordpress? For various reasons, I cannot upgrade at the moment.

  20. Vote -1 Vote +1Truck campers - February 12th, 2009 at 1:02 am

    Wow..what a great plugin its working great. Do you know how I can add the page number of the comments in the title tag?

  21. +5 Vote -1 Vote +1John Bafford - February 16th, 2009 at 6:33 pm

    @olov:
    The problem with $commentsvotePath is fixed in the current development version. Thanks for pointing that out.

    The conflict with the Google Analytics plugin is because GA is running a filter on the comment author link (to find the url and replace it with its own tracking link). Comments Vote is using that field to display its content, so there’s a conflict between the two. One workaround would be to turn off the “Track outbound clicks & downloads” option in the GA plugin. I am looking into a better solution that doesn’t require that.

    @Suzanne: Are you perhaps having the same problem as olov with the Google Analytics plugin?

    @Perry: Which version of WordPress did you have in mind?

    @Truck campers: No, I don’t. Sorry.

  22. +3 Vote -1 Vote +1Corey - February 22nd, 2009 at 1:40 am

    I really want you use you plugin on my site, but I don’t want the vote up/down to appear in my “Recent Comments” widget. How can I remove that?

  23. Vote -1 Vote +1Billy - February 24th, 2009 at 2:10 am

    @Jack li

    It seems that in the commentsvote_admin.php file around line 70 the makeRadioButtom for require login sets the first option to ‘requrie_login’ instead of ‘require_login’. Making these two changes seemed to work for me.

  24. +2 Vote -1 Vote +1Jon Eland - February 24th, 2009 at 11:40 am

    Hi there – can I second knowing how to hook this into Wordpress if you have moved away from the standard ‘comments.php’ – are you using an ID, html tag or class as a hook?

    Ta

  25. +1 Vote -1 Vote +1John Bafford - February 24th, 2009 at 11:51 am

    @Jack li, @Billy: This has been fixed in the development version. Thank you both for pointing out the problem and the fix.

    @Corey, @Jon Eland: At present, comment votes modifies the display of the author name in order to provide the comment vote and buttons. A future version will make this more configurable so that you’ll have more flexibility in where and how the plugin is displayed.

  26. +2 Vote -1 Vote +1Levani - February 25th, 2009 at 3:07 pm

    Great plugin thanks. Please make some code to insert the voting buttons in theme manually!

    Thanks

  27. +4 Vote -1 Vote +1Brian B. - March 2nd, 2009 at 3:06 am

    Cool plugin. Is the “development version” available somewhere?

    Feature request: a button at the top of the comment stream that would sort the comments by vote, highest to lowest, flat, collapsing whatever threading.

    Thanks,

    B

  28. +7 Vote -1 Vote +1ozkan - March 4th, 2009 at 6:17 pm

    Hello,

    Good plugin.

    In commentsvote.php a small modification should be done to make it work with sub directory installations:

    in commentsvote.php (line 50) find these:

    $commentsvotePath = $wp_object_cache->cache[ 'options' ][ 'alloptions' ][ 'siteurl' ] . ‘/wp-content/plugins/commentsvote’;

    and replace it with this:

    $commentsvotePath = get_bloginfo(‘url’) .”/wp-content/plugins/commentsvote”;

  29. +3 Vote -1 Vote +1yoshi - March 9th, 2009 at 3:30 am

    Thanks for plugin the Comments Vote.

    May i trouble you?

    I am Japanese.

    I want to make .po .mo files( use Poedit something) from Comments Vote.
    And, I want to distribute it.

    1. May I distribute the one that PHP was remodeled?

    or

    2. Do you schedule it corresponding to several languages? (To make .Po file)

    Of course, it introduces this site.

    Thanks

    yoshi

  30. +3 Vote -1 Vote +1Marie - March 13th, 2009 at 11:02 pm

    This is one of the most needed Plugins for Wordpress, but the customisation level is awfully bad so i’m not able to use it with my magazine/blog design/style atm. because i need to change the position from top left to top right and such.

    I hope you guys update it soon with one or two more css options (alignment).

    Best Regards

    ps: this plugin doesn’t work on localhost:xxxx (MAMP).

  31. +6 Vote -1 Vote +1joseph - March 18th, 2009 at 6:05 am

    I installed the plugin, on a fresh WP install. Two errors:
    a) The images don’t turn up.
    b) If I click on the Vote +1 or Vote -1 links, I get an alert that says “Voting error.”

    These could be permissions-related issues, perhaps?

    Browsers: FF, Chrome
    Webhost: NearlyFreeSpeech.net
    WP version: 2.7.1
    Theme: Kubrik

  32. +8 Vote -1 Vote +1Vivek - March 26th, 2009 at 5:39 am

    I am using your plugin on WP 2.7.1 and it’s working fine, except for the fact that the top voted comment is not coming to the top of comments list.. How can I do that ?

  33. -4 Vote -1 Vote +1ghada - March 31st, 2009 at 1:47 am

    Great plugin, opens up so many doors. Looking fwd to giving it a whirl

  34. -10 Vote -1 Vote +1PiterKokoniz - April 7th, 2009 at 6:59 pm

    (click to show comment)

  35. +22 Vote -1 Vote +1germaine - April 11th, 2009 at 7:08 pm

    Joseph: I have the same problem.

    I installed the plugin, on a fresh WP install. Two errors:
    a) The images don’t turn up.
    b) If I click on the Vote +1 or Vote -1 links, I get an alert that says “Voting error.”

    Does anyone know how to fix this?
    Thank you.

About this blog

The Bivings Report (TBR) is a source of news, insight, research, analysis and conversation on web-based communications and its increasingly powerful role in the economy, politics and society. TBR content is created, posted and managed by internet strategists, media/communications analysts, web developers, designers and programmers, all of whom are employees of The Bivings Group.



Email Subscription

Delivered by FeedBurner

Search Site


Archives


Most Popular


Authors


Tags