AnythingRating, an Ajax dynamic star rating widget for MODx.

Partly based on Ajax Dynamic Star Rating 1.6 by Jordan Boesch (www.boedesign.com)


Version 1.1 coming soon. See the forecasted features here

As First demonstrations find a Travel photography contest, build with Maxigallery (images gallery), Jot (comments) and AnythingRating snippets. In english with a white background color. And a second demonstration, in French, with a black background color: Portrait photography contest. The "How to" menu tab give informations on the integration of these snippets for this type of example.

The second demonstration is a short travelbook review build with Ditto (blog), Jot (comments) and AnythingRating snippets. Look also at the top rated results. In english. The "How to" menu tab give informations on the integration of these snippets for this type of example.

As example, to vote for travelbooks you need to be logged in, for that use, arating as username and anythingrating as password.

Snippet description - Version 1.0:


  • Uses AJAX Post (simple js script, no JS library like mootools needed)
  • Unobtrusive (works with javascript disabled)
  • Use as many rating group you want
  • Rate as many items you want without any TV definition
  • Checks not only against IP upon vote but includes also a cookie check
  • Precise rating to a 2 decimal place
  • Pre-loads common images
  • Multi-languages (French, English, ...)
  • Tested in IE 7, Firefox 2.x, Opera and Safari

  • Rating group - Define your rating group once only per page:
    • Choose the number of "stars" (or any other image)
    • Define an end date for the contest
    • Style the rating information you want with the template
    • eg: 3.25/5 stars 65% (205 votes)
    • Change the "star" image by changing the css style sheet
    • Precise the number of IP addresses stored. Store the more recent addresses
    • Decide if multi-vote is allowed or not
    • Choose if only registered users could vote or not
  • Rate anything you want with a unique id :
    • Link your rated item to a rating group for contest
    • Ability to set 'novote' option to not allow users to vote for this item
    • Initialize the first rating from a named Template Variable of a document
  • Display top rated items of a rating group:
    • Choose the number of top rated items
    • Choose to display the "best" or the "worst"
    • Define the linked information (title, description, image and link) from an other table
    • Style the top rated results you want with the template
    • Display as many you want your top rated lists

Weary of your contest ? Simply drop the rating group table!