Closed (duplicate)
Project:
Vote Up/Down
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
31 Jan 2009 at 02:23 UTC
Updated:
11 Jan 2010 at 16:48 UTC
what would it take to keep track of and display the total number of +1 votes and the total number of -1 votes rather than the single sum of both?
take a look at this: http://www.urbandictionary.com/ that little unobtrusive but very informative little thumbs up / thumbs down and qty display is exactly what i was hoping this module would do.
Comments
Comment #1
sziggle commented-oops, i got the title confused with an issue i was posting to a different (related) module. sorry about that.
Comment #2
fumbling commentedI need this feature as well. Any chance this will be added?
Comment #3
fumbling commentedDid you have any success figuring out how to tally and surface both up votes and down votes? This is a feature I need to add asap as well.
Comment #4
Equ commentedsubscribing.
Comment #5
neoliminal commentedYou may want to consider using the Flag module (http://drupal.org/project/flag) to track up and down votes. Set one flag for up and another for down. You'll have to work some php to get the totals or percentages, but until this module can do it you'd have to make it work here anyway.
Comment #6
fumbling commentedThanks, will look into flag.
Comment #7
tommytom commentedI created a similar issue. Didn't see this.
Does anybody have some news about this issue ?
Can one show both counts with the flag module ?
Comment #8
tommytom commentedany ideas ?
Comment #9
mcload commentedThis would be a nice feature. subscribing.
Comment #10
tommytom commentedyeah this would be a very nice feature.
lut4rp can you help us ?
Comment #11
totaldrupal commentedany news on this feature yet, it would be great addition
Comment #12
tommytom commentedcheck this out
http://drupal.org/node/413980#comment-1570788
Comment #13
ingo86 commentedComment #14
HunterElliott commentedThe easiest way I've found to implement this is to use the Nero Rating System from polldaddy.com. You will need to sign up for an account there, but you can do this with the basic/free account.
Just log in to your acct at polldaddy.com. Under the Account tab, there will be an item called "Ratings" (at this point in time, it has a 'beta' label on it). Click on Ratings and then click on the button that says Create New Rating. Choose a "Nero" style for thumbs up/down. Give the rating a name that you'll remember - you do NOT need to create a separate rating for everything on your site, you only need to create one, really.
Once you create a rating, it will give you some embed code for your site. Copy this code and put it in your relevant .tpl file. The DIV in the code will have an ID in it - keep the ID, but you may want to give it a CLASS for your own styling. The only line you *really* need to change here is the line that has the Unique ID; here I just plopped in the Node ID for it, but you can put something else text-wise at the front/end/both of it to make sure: "unique_id" : " (use the php tags around the following) $node->nid; "
If you want different images for the thumbs, polldaddy.com gives you the option list an image of your own (you'll need to host the image on your site).
(and no, I am in no way affiliated with polldaddy - just letting people know about it as so many people want to use this kind of thing)