I have two kinds of users, experts & peers rating is weighted. When a user casts a vote (fivestar) on a node, I compute a weighted average of all the votes based on each user's status - expert/peer. This is saved to the votingapi_cache table with a tag 'fivestar' and function 'weightedAverage'. I do this via a custom module that implements hook_votingapi_results_alter(). I want the article to show this weightedAverage as the current rating for the article, rather than the 'vote' tag & 'average' function that the fivestar module picks up by default. How do I do that? Also,a related question is how can change the default tag for the fivestar module from 'vote' to something else?

Thanks

- ashok

Comments

dbt102’s picture

Issue summary: View changes
Status: Active » Closed (won't fix)

Drupal 6 is now end of life, and is no longer supported. So Drupal 6 issues for Fivestar are being closed as "Closed (won't fix)". However, we don't want users who are porting from Drupal 6 to 7 to feel unwanted, so if you have any migration issues, please open them as Drupal 8 issues.