Fivestar
Drupal 7 will no longer be supported after January 5, 2025. Learn more and find resources for Drupal 7 sites
The Five Star voting module adds a clean, attractive voting widget to nodes. It features:
- jQuery rollover effects and AJAX no-reload voting
- Customizable star sets
- Graceful degradation to an HTML rating form when JavaScript is turned off
- Per-nodetype configurability
- Support for anonymous voters
- Spam protection to keep users from filling your DB with bogus votes
- Easy-to-use integration with Views module for lists sorted by rating, or filtered by min/max ratings
- A Fivestar CCK field for use in custom node types
- An easy-to-use Form API element type for use in other modules
Fivestar was designed by Nate Haug and Jeff Eaton.
Dependencies
Fivestar also provides additional features for both the CCK and Views modules.
Install
Installing the Five Star voting module is simple:
- Copy the fivestar folder to the modules folder in your installation.
- Enable the module using Administer -> Modules (/admin/build/modules)
Note: Aggressive caching will complain that Fivestar doesn't work, but it actually causes no problems. To improve performance, the module implements
hook_init() -- and the caching advisor screen uses that as the only metric to determine whether a module will work with the caching system. Activate it without fear, friends -- Fivestar will continue to hum happily along.
Screenshot
Contributing
Have a sweet set of stars you'd like to contribute to the Fivestar module?
Post them to the Fivestar issue queue: http://drupal.org/project/issues/fivestar
Support
If you experience a problem with Fivestar or have a problem, file a
request or issue on the Fivestar queue at
http://drupal.org/project/issues/fivestar. DO NOT POST IN THE FORUMS. Posting in the issue queues is a direct line of communication with the module authors.
Troubleshooting & Testing
For testing, by default, you cannot vote on your own content. You must enable 'Allow users to vote on their own content' under the field settings.
Help improve this page
You can:
- Log in, click Edit, and edit this page
- Log in, click Discuss, update the Page status value, and suggest an improvement
- Log in and create a Documentation issue with your suggestion