Content last modified Tuesday 24 August 2021
hop to #bottom
Author:
Current version:
0.2
About It:
Get it:
Rate it:
  • Helpful?
  • 0 Yes
  • 0 No
Flag it:

If you'd like to provide updated information and do not have access to directly edit, please contact the site admin; thanks!

kuo_star_rating

The plugin has three files:

  1. kuo_star_rating_v0.2.txt
    • The actual Textpattern plugin
  2. kuo_star_rating.js
    • JavaScript for handling clicks and showing the interactive star rating
    • Has a few settings for modifying the outlook, and localization
  3. kuo_star_rating.php
    • Stores clicks to a database table, also fetches existing star ratings

The JavaScript and PHP file should be placed at the website’s root.

  • The plugin requires jQuery.
  • All ratings have fixed scale between 1–5 stars.
  • Minimum rating is 1 star. Maximum is 5 stars.
  • Votes are per IP address. An IP address can vote once the same star rating.
  • After vote is submitted, it’s saved to database. Voter’s IP address is saved in ip2long format.

Screenshots

In English with light theme:
Rating: 3.13 out of 15, based on 15 vote(s). You haven't voted yet.

In Finnish with dark theme:
Arvosana: 4/5. Perustuu 1 arvosteluun. Et ole vielä arvostellut.

Article Request Count:
Keywords/tags:
Initially released:
May 2017
Posted here:
24 Aug 2021

You know you want to visit the Archives.
Published with Textpattern