Hi!!

i am looking for a thumbs up/down module, as in http://www.seomoz.org/blog/unwritten-google-webmaster-guideline-dont-end...
There should be numbers for the ups and downs, as in the example.

I have been looking for a while now, so please any ideas?

Comments

Sborsody’s picture

Try this http://drupal.org/node/216695

Fivestar - Thumbs Up Icons 16px x 16px

Drupalace-1’s picture

So, the recommendation would be to use Fivestar, set to use only two stars, and appropriate graphics. Sounds like it'd work to me - except for the counting mechanism. If I'm not mistaken, Fivestar can return an average of the results (based on, I'd guess, 1 for thumbs down, 2 for thumbs up), but not a count like "20 thumbs down, 38 thumbs up".

Anyone else have thoughts on implementing thumbs with a count?

--------
Easy Drupal Admin Manual, Drupal questions, other stuff for the newbie: http://www.drupalace.com

SpriteGF’s picture

The (badly-named) "Extra Voting API" module has a way to do thumbs up/down (you can customize its arrows or +/– graphics) but unfortunately it doesn't maintain separate counts; it only adds them all together into one number.

Drupalace-1’s picture

Thanks, I have a feeling that's going to come in handy some day!

--------
Easy Drupal Admin Manual, Drupal questions, other stuff for the newbie: http://www.drupalace.com

secgeek’s picture

not to worry,
check newskicks.com i coded it entirely in drupal.i have released its code at sourceforge.u can get it there :)
www.secgeeks.com
www.newskicks.com

fumbling’s picture

I'm also looking for this. I tried using fivestar, but one problem is that even if you reduce the number of stars to 2, and replace the two icons with a thumbs up and thumbs down, then choosing thumbs down is the same as choosing two stars, or really the same as choosing thumbs up and thumbs down together.

Any other thoughts on how to do this?

WorldFallz’s picture

See:

===
"Give a man a fish and you feed him for a day. Teach a man to fish and you feed him for a lifetime." - Lao Tzu
"God helps those who help themselves." - Ben Franklin
"Search is your best friend." - Worldfallz

fumbling’s picture

Thanks. Went with vote up/down

ddubbua’s picture

I wanted to have a simple thumbs up or down and ran into the same issue because the class of "on" is added. I changed to fivestar.js using this code:

 if (currentValue > 99) {
			  $('.fivestar-widget').addClass('like');
			  }
			  else {
				 $('.fivestar-widget').removeClass('like');  
			  }

before:

  if (percent > 0) {
                $stars.eq(Math.floor(starValue)).addClass('on').children('a').css('width', percent + "%").end().end();
              }

and before the comment "Inform a user that his vote is being processed."

This makes it so that the class of like is always added when the second "star" is clicked and you can style the CSS accordingly to make it work. The bottom of this page is a good example of what you'll get: http://www.monkeybarstorage.com/consider-garage-storage