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: Voting logic  (Read 4713 times)

0 Members and 1 Guest are viewing this topic.

Burpee

  • Contributor
  • Coppermine regular visitor
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 71
    • Vuurwerklook.com
Voting logic
« on: October 16, 2004, 04:45:57 pm »

Okay, just commenting on this, I know it's probably not that important...
In the "Top Rated" view, the rating is given on the amount of votes and the final vote...
However, if a picture has 2 votes for 0 it has a higher rating than when it has 1 vote for 0... which is not very logical, because 2 votes means that people really hated it twice, not just once, and thus makes the picture belong at the lowest possible spot :P ...
« Last Edit: December 16, 2004, 07:49:56 am by GauGau »
Logged

panwac

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Gender: Male
  • Posts: 52
Re: Voting logic
« Reply #1 on: December 12, 2004, 01:53:09 pm »

Not only... If a picture has final votes f.e. 4,6 (5 votes) it has a higher rating than when it has 2 votes for 5...
For a few days it's possible to check it on a test site: www.foto-harce.net/cpg132/
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Re: Voting logic
« Reply #2 on: December 12, 2004, 02:08:52 pm »

Logged
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

panwac

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Gender: Male
  • Posts: 52
Re: Voting logic
« Reply #3 on: December 15, 2004, 07:52:48 pm »

Thanks!
I see, changes would be implemented in new version - great! ;)
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Re: Voting logic
« Reply #4 on: December 15, 2004, 08:00:43 pm »

Yes, but you can apply the change to your functions.inc.php yourself now
Logged
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

panwac

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Gender: Male
  • Posts: 52
Re: Voting logic
« Reply #5 on: December 16, 2004, 12:35:31 am »

I did it. ;)
Logged
Pages: [1]   Go Up
 

Page created in 0.026 seconds with 20 queries.