Download & Extend

Highhest average and rating is there any way?

Project:Fivestar
Version:6.x-1.19
Component:Code
Category:support request
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

Is there anyway to check if a node has won in the sense of getting the highest votes and the highest average? Is there any way to make a views integration with fivestar. I would like to hold a competition where people vote on nodes and the ones with the highest percentage and highest rating wins. Is there any way for me to do this

Comments

#1

Either you've already figured out how to do this, or you should watch this:

http://www.lullabot.com/node/425/play

Pretty much step by step screencast to accomplish exactly what you are asking for.

#2

Cool I saw the screencast and it's exactly what I'm looking for thanks allot

#3

However, I am having a very hard time trying to create a list of highest average nodes containing a selected taxonomy term.

For instance I have:
Node A
Taxonomy Category 1
Term "A"
Node B
Taxonomy Category 1
Term "A"
Node C
Taxonomy Category 1
Term "B"
Node D
Taxonomy Category 1
Term "B"

I am trying to create a block which rates by Ascending or Descending Average vote of a Taxonomy category:

For Example:
Taxonomy Category 1 Leader board
All of Nodes which contain Taxonomy Category 1 Term A which have been voted for Total Average - Example: Total Voted average 80%
All of Nodes which contain Taxonomy Category 2 Term B which have been voted for Total Average - Example: Total Voted average 70%

Right now the best I can o is Get this:
Category 1
Term A Average 70%
Term A Average 60%
Term B Average 40%
Term B Average 30%

I can see the terms repeated and the individuals node containing that terms average. I need to have the total of each node containing the selected Taxonomys Category Term added together and created an averaged, then sorted by ascending or descending. I have tried for many hours in veiews to do this but I cant figure it out. If someone could elp me I would really appreciate it.

So to summerize I am trying to get

Taxonomy Category 1 Leaderboard
Term A Average (ie. 70%) + Term A Average (ie. 60%) = Term A total voted Average
Term B Average (ie 40%) + Term B Average (ie, 30%) = Term B Total voted Average

Thank you so much for any help you can give me

#4

Does this really do what you need? If I understand your question correctly, it's the same as mine - and isn't answered in the videocast. I'm looking for a list not of the content by average rating (decending), but of "highest" rating (average rating x # of votes cast).

I don't think that the latter is actually possible at this time w/ the stable release of FiveStar. If I'm wrong, it'd be great if someone could give me the heads up.

Cheers,
S

#5

I havent figured it out yet... I am doing other development , but I know I will come back to this issue. If I find out how I will let you know

#6

I cant watch the video becuase it is blocked in China : ( . Can anyone help me out? I am trying to count total votes in views and its kicking my ass.

#7

http://drupal.org/node/357212#comment-2981254 is how I figured it out. censorship sucks

#9

Version:6.x-1.18» 6.x-1.19

Thanks for the video link, Mixologic (#1)

This tutorial demonstrates how to create a view that averages node ratings. However, my users are rating content via CCK fields, they are not rating the nodes.

Thus, isn't there a way to create a view that averages cck Fivestar Rating Type content? How do I make the necessary changes in my view compared to what's in the video.

Example:

I go to "Relationships" but instead of clicking Node: Vote Results - - - - I should be able to click Content: XYZ content..... (as that is a fivestar field type which I created within a node that users have rated out of 5 stars)

but that option doesn't exist. I can create node ratings results but cannot for the life of me figure out how to create cck fivestar rating type field results. Anyone know how?

UPDATE: I'm going to follow instructions at this link and see if I can't get what i'm looking for: http://drupal.org/node/457886

#10

Subscribing, having highest score, but not the highest amount of scores on top yet.
greetings, Martijn

#11

Category:feature request» support request

(If this is actually a feature request, it should be filed for 7.x now.)

#12

Status:active» fixed

I'm marking this support request as fixed. The simple answer is sadly no this can't be done like you wish.

Maybe in future version but is definitely not going to get in on the 6.x-1.x branch. Patches are always welcome ;)

#13

Status:fixed» closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.