Hi,
I'm using Views 2/Voting API/Fivestar, and i'm trying to display in another field the number of votes for a particular user and also display the fivestar rating.
I can't get a field with only the number of votes, how can I get it ?
Thanks,
Hi,
I'm using Views 2/Voting API/Fivestar, and i'm trying to display in another field the number of votes for a particular user and also display the fivestar rating.
I can't get a field with only the number of votes, how can I get it ?
Thanks,
Comments
Comment #1
eaton commentedWhen you say 'the number of votes for a particular user', do you mean the number of things that a given user has voted on? AFAIK, that information isn't being stored or generated automatically and can't be done just with the Views integration. You'd need to write your own SQL query against the votingapi tables to determine that information.
Comment #2
ChrisRut commentedHave a look at this step-by-step instructional videocast on lullabot: Building Views with Fivestar and VotingAPI
Should get you started.
Comment #3
ChrisRut commentedComment #5
AntiNSA commentedThis video is blocked in China. Can anyone help me out with this?
Comment #6
jacobpov commentedtrying to accomplish something a bit different, I need a total amount of votes user has recieved
Comment #7
legolasboDrupal 6 is no longer supported. Closing old issues to clean up the issue queue.
Please reopen and update this issue if this is still an issue in the D7 or D8 version.