I was wondering how I would go about creating a field for the "Rank position" of a node that is sorted by the average fivestar results... so lets say my view shows 7 video's, sorted by their average vote value from "most votes" to "least votes", the highest rated video would be Ranked #1, and so on down the line...
Example ::
http://www.reasontovote.com/help/rank-fivestar-views.jpg
the example suggests using the ajax pagination result, but that's not a good resolution because I also want the rank position to be displayed from within the node so when you click on the node you can still see it's rank position, if that makes sense...
Also, I need access to the number of votes, but I can open another issue if you think I should (eg. http://www.reasontovote.com/help/votes-fivestar-views.jpg)
Thanks in advance :)
Comments
Comment #1
virtualdrupal commentedI want to elaborate on what I said above about...
It's equally important for the node view to display the rank position, which i know will complicate things, I assume it would be some sort of view or algorithm that looks at the current nodes taxonomy name and issue, does a query that mimics the front page view and displays that nodes rank position, maybe it could tie into the top right feature displayed in this example below.. I know this is complicated and I assume it's beyond the "out of the box" capabilities of views, fivestar, or voting api. If it has to be a paid feature request then I'm still interested, my budget isn't that high at the moment as this is a personal project, but please still contact me to discuss it, I intend to finish this site no matter what and this feature is crucial to the overall functionality.
example
http://www.reasontovote.com/help/node-view.jpg
Thanks again, and let me know if I should take this issue to the votingapi or views issue queue, the views queue is crazy busy at the moment though, hard to get a word in.
Comment #2
quicksketchSorry this issue was unable to be answered. I'm pruning this issue queue; Please reopen or create a new request if help is still needed on this issue.
Comment #3
beumont commentedI am running in to the same problem, can anyone help?
Comment #4
ericduran commentedFivestar can't provide ranking of a node. If needed you can get the data from votingapi and assigned it a ranking based on that. But is not really a fivestar issue. Checkout the votingapi module for examples on how to query the rating data.
Hope this helps.
Comment #5
beumont commentedThats a starting point, thanks