Is it possible to order the nodes in the category view or anywhere based on their five star rating?

Comments

quicksketch’s picture

JubW’s picture

Is there support for multi-axis right now? I read some other posts in support but I don't understand them

JubW’s picture

And also what modules is this site using. I know its using five star for the rating but what about the reviews?

http://www.adoptionagencyratings.com/aaaa-adoption-attorneys-joel-steve-...

quicksketch’s picture

Multiaxis voting is possible, but each widget has to be added to the page manually. In other words, the API is in place but the UI is not. The site you referenced uses the included "Fivestar Comment" module to add ratings to comments (essentially creating reviews). It is an extremely easy and quick solution. If you need multiaxis rating as part of reviews, see the Fivestar handbook pages on some setups of this: http://drupal.org/handbook/modules/fivestar

quicksketch’s picture

I didn't mention, the "Fivestar Comment" module is included with the normal installation of Fivestar. So if you have Fivestar you should have this module already.

JubW’s picture

Ok, Thanks for all of the help

quicksketch’s picture

Status: Active » Fixed
nvl.sateesh’s picture

Status: Fixed » Postponed (maintainer needs more info)

hi... i want to know if i can use a nested query on node table and votingapi_vote or something to order nodes by value... i did not see the connection between node nid and votes? what am i missing? I don't want to use views as i want to display the output in a custom location in the module i am writing.. any help is greatly appreciated.... thanx.... btw, i changed the status of the message to active (need more info). is that okay?

JubW’s picture

Do I have to use the Node Comments plugin to use multi axe? I didn't understand the first page.

quicksketch’s picture

There currently is no UI for multi-axis configuration. I would not suggest attempting it currently if the instructions in the Fivestar handbook are not suitable.

sateeshNVL, Fivestar uses VotingAPI for all it's records, so you'll need to query on the votingapi_cache table to get the results for nodes.

nvl.sateesh’s picture

Thanks quicksketch.... I have been away from office for a long time..... sorry if i sound dumb.... i am writing a code snippet where I want to list all the nodes that belong to one particular taxonomy term, and then be able to sort within them by "most rated".... so, views module is ruled out in my case. so, I am trying to use something like ORDER BY vote_average DESC..... or something like that... can you tell me how i can do this? :-(

thanks again.....

quicksketch’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)

Sorry I'm not able to help with custom coding, it's outside the scope of help provided in the Fivestar issue queue. Closing as I've answered JubW's question.