Modify the ratings system Modify the ratings system
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Modify the ratings system

Started by Skallywag, May 29, 2006, 01:06:28 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Skallywag

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