Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
This release fixes Drupal 10 requirements, improves the Fivestar widget functionality, the usage of rate widgets for comments and in views etc. For details refer to the issue list below. Happy New Year!
Users of the 8.x-1.0 branch are further encouraged to upgrade to 3.x as soon as possible. The 8.x-1.0 branch is not supported, will not get further development, and may not get future security updates.
Please keep in mind that dev releases are the product of patches coming from the issue queue. As such, do not rely on a dev release being stable until its commits are all bundled in a real release.
Multiple rate widgets on a single entity or single widget on multiple entities. Rating of comments. Customizable rating buttons, labels, descriptions and result summary. Easy Views integration. Voting rollover and voting deadline. New API functions.
In 8.x-1.x it is only possible to have one rate widget per node (or entity).
This brings a lot of limitations when using the module and is also too far from the way the D7 version of Rate behaved.
In the D7 module the rate widgets were stored as configuration entities under admin/structure/rate.
You could easily define custom widgets, such as 10-star rating, emotions (angry, mad etc.), but also customize the appearance of the widget - label position, result function to be used etc. The options of each widget were also easily customizable (label, value to store etc.)
This is mainly a bugfix release. The only functional addition is that Rate is now able to delete votes from bots in cron. Upgrading is highly recommended if you are using 1.4, since many people have reported problems since javascript have been moved to footer. This change is reverted in the 1.5 release.
This is a bugfix release for D7. Only one minor feature was introduced in this release (#1224150).
Issue #1224150 by rocketeerbkw, emergencyofstate: Add criteria to context for votingapi_set_votes to allow it to be overridden via hook_rate_vote_alter().
Issue #1200354 by noyz, tordenalf, greggles: Update paths in readme file.
Issue #1362100, #1304102: Fix display of custom rate widget (only first char of rate text was displayed)
Issue #1337010: Fix rate_expiration settings not saving.
Important note: There are a lot of changes on the theming of the rate widgets (including custom widgets). The most important change is that the rate buttons are now inside <ul> tags to comply with the WCAG guidelines. This affects all custom theming for rate widgets!
Changes since 6.x-1.1:
Issue #1042216: Rewrite CSS
Issue #1004000 by mmilo: Add Javascript eventBeforeRate and eventAfterRate hooks
Issue #1042068 by attiks: Add just_rated variable to template
by mauritsl: Changes for better fivestar widget:
Add theme preprocess to better separation between theming and code.
Add support for template specific javascript.
Rewrite fivestar HTML output to a list to conform to the WCAG guidelines
by mauritsl: Move PHP code from templates to preprocess functions in module file
by mauritsl: Add rate-widget-templatename class to rate-widget div
by mauritsl: Add rate-fivestar-N class to fivestar rate buttons
by patrickkraaij: Update theming for default templates including fivestar interaction.
Issue #1049496 by mauritsl: Add display options for better interaction.
Issue #1059924 by mauritsl: Make content_type and content_id available in template.
First official release of the Drupal 7.x port of Rate 6.x-1.0.
Known issues:
The charts functionality under the "Vote results" tab is missing. Charts are removed since there is not a reliable chart module available voor D7 yet.
An anonymous user is not getting a message when he does not have the permission to vote, and when the option "Behaviour when user has no permission to vote" is set to "Redirect to login and show message".
Rate Expiration module added. This module allows you to disable voting on a configurable period after node creation.
Only one anonymous visitor was able to vote, because the IP address was missing in the criteria when selecting the user vote (only the uid, which is 0 for all anonymous visitors). This issue was fixed in this release.
by mauritsl: Add several docblocks in code
#844194 by mauritsl: Provide a readme file
#844180 by bertboerland: Add package = Voting in .info file
Initial commit of rate module. This module provides flexible voting widgets for nodes and comments.