forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: Skallywag on May 29, 2006, 01:06:28 pm

Title: Modify the ratings system
Post by: Skallywag on May 29, 2006, 01:06:28 pm
Can anyone recommend some code to modify the rating system, I want to retain the 5 star system , would like it to work as follows:-

Each star is worth 5 points

i.e. 1 star = 5 points, 2 stars = 10 points, 3 stars =15 points, 4 stars = 20 points and 5 stars = 25 points.

Therefore, when an image in the gallery recieve 5 votes of 4 stars it's points total = 100 points which would rate it above an image which has recieved 3 votes of 5 stars (which currently doesn't happen)

Many thanks in advance for your help