Documentation of the Drupal rating system module
Be warned! This module is under development and things can change. If you have good ideas or bugs please create issues in the queue.
Description
The rating system module provides a framework and user interface for creating rating algorithms. The great thing of the rating system module is that you can change the algorithm and recalculate it.
We have build this module because we could not do that with userpoints or the voting framework.
Along with the core rating system module come three submodules and an example feature.
One for registering dynamic actions and one for calculation static cck values.
All rating system configurations are exportable through features.
So what does the Rating system core module?
The core let's you create rating groups. A rating group is an entity that holds the total points of all nodes belonging to that rating group. The core also provides rating group tokens so you can re-use the score of a node. There are some API calls which let you get the score of a node. It is also rendered for use on your node.tpl.php
rating_system_calculate($rating_group, $node, $update = FALSE, $long_route = FALSE, $route_data = NULL)
Check rating_system.module line 171 for more info.