I need someone to help me customize fivestars to show "helpful and not helpful" right below comment text - popsci style.

Go to http://www.popsci.com/entertainment-amp-gaming/article/2009-01/golf-sport to view demo.

Thanks

Comments

vm’s picture

to me it looks like its a simple two star on coments and instead of stars helpful - not helpful images are being used.

egenius’s picture

Its just the count where it says x number of people out of y found this helpful that I can't get to work.

Any suggestions? :)

stephthegeek’s picture

Check out the Fivestar Extra module: http://drupal.org/project/fivestarextra

___________________________________________________________________________

{ Drupal Themes by TopNotchThemes }
Gorgeous, 100% original themes for Drupal 5 & 6, plus Ubercart themes

egenius’s picture

How would I show the text saying how many people voted what? Thats all I really want to do.

Thanks

johnhanley’s picture

Use the Five Star module and limit the selection to two stars. Replace the star graphics with thumbs up/thumb down icons. You should be able to expose the rating counts to calculate the percentages.

-------------------------------------------------------

"If you don't read the newspaper you are uninformed;
if you do read the newspaper you are misinformed."
-- Mark Twain

egenius’s picture

That is the part I was hoping someone would be able to help me out with. I'll give it a try. Thanks :)

johnhanley’s picture

It's possible the rating count values are already passed to the theme function. You can then add both ratings together and calculate the "helpful" (1 star, thumbs-up) and "unhelpful" (2 star, thumbs-down) percentages and output them next to each graphic.

See how far you can get and report back.

-------------------------------------------------------

"If you don't read the newspaper you are uninformed;
if you do read the newspaper you are misinformed."
-- Mark Twain

egenius’s picture

I give up...

egenius’s picture

Did not really get anywhere... Had the same thing working in wp in less than 2 hours.

Do you think you can help me out here?

Thanks

egenius’s picture

Is there no one here that can help me with this?

I will pay obviously :).