voting problem voting problem
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

voting problem

Started by flopi, February 08, 2011, 03:24:13 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

flopi

Hi,

Im new with Coppermine gallery and have to admit I dint search a lot for the solution of the problem since it is quite urgent to solve it ;).

Im running art competition for the primary school children based on the 5 star rating/voting sistem. Well the issue is that someone stareted to give bad points to the best pictures in order that their artwork wins (1 to competition and 5 stars to their work). Anyway i tried to cancel these votes through "Overall stats"/vote detailes by reset selected votes but  pop up alarm "THIS FEATURE HAS NOT BEEN IMPLEMENTED YET!!!!! Are you sure that you want to delete the selected votes? This cannot be undone!" and by presing submit nothing happens. Is there solution to erase these votes somehow? If not, would banning of the user erase his votes?

Thanks in advance

Pozz
Flopi

Αndré

Afaik there's no automated way yet, unfortunately.

flopi

Thanks Andre for urgen response.

And is there a way to delete his ratings when you ban user or is the "manual" removal of ratings too complicated?

Αndré

As I said:
Quote from: Αndré on February 08, 2011, 03:45:57 PM
Afaik there's no automated way

Have a look at Coppermine's database. Coppermines stores the number of votes and the current average rating. If someone votes on a picture, the new average rating will automatically be calculated. So if you want to removes his votes, you have to calculate the votes out of the average rating (which is a number between 1 and 10000).

flopi

Thanks,

Seams to me that Ill have to wait for end of voting process and then make calculation.

What would happend to present votes if i just change it to  1 star rating system? All the pics that had at least one vote will still have vote or this will be erased?


Αndré

Quote from: flopi on February 08, 2011, 04:25:04 PM
All the pics that had at least one vote will still have vote
Correct.

flopi