what is the mission of Cpg11d_votes table? what is the mission of Cpg11d_votes table?
 

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

what is the mission of Cpg11d_votes table?

Started by epsilon, January 23, 2004, 03:13:26 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

epsilon

I empty it, because it was 3.2MB size, and all in the gallery is the same, the votes are in the gallery. I would like to know what is the mission of the table, thank.

hyperion

The mission of Cpg11d_votes, should it choose to accept it, is to maintain the integrity of Coppermine's voting system.  Should it fail in this mission, the Secretary of State will disavow all knowledge of its activities. This post will self destruct in 5 seconds . . .  :D

It tracks who voted for what, and it keeps them from voting twice on the same picture.  To keep DB overhead down, the total number of votes is stored in the picture table, so you can empty it without visually affecting CPG.  However, your users will now be able to vote on pictures again.
"Then, Fletch," that bright creature said to him, and the voice was very kind, "let's begin with level flight . . . ."

-Richard Bach, Jonathan Livingston Seagull

(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fwww.mozilla.org%2Fproducts%2Ffirefox%2Fbuttons%2Fgetfirefox_small.png&hash=9f6d645801cbc882a52f0ee76cfeda02625fc537)

epsilon

Cool ! Thanks for the info, now i must go to a new mission xDDD Bye!