Advanced search  

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]

Pages: [1]   Go Down

Author Topic: Modify the ratings system  (Read 3786 times)

0 Members and 1 Guest are viewing this topic.

Skallywag

  • Coppermine newbie
  • Offline Offline
  • Posts: 1
Modify the ratings system
« 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
Logged
Pages: [1]   Go Up
 

Page created in 0.039 seconds with 19 queries.