Advanced search  

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

Pages: [1]   Go Down

Author Topic: [Solved]: Allow Multiple Votes  (Read 4897 times)

0 Members and 1 Guest are viewing this topic.

Davis

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 45
[Solved]: Allow Multiple Votes
« on: February 23, 2008, 05:05:14 pm »

Is there a way to setup CPG voting system so that someone can vote for the same picture more than once? Like once each day?  I know now CPG only allows you to vote once (unless you dump cookies)  

Thanks
« Last Edit: February 05, 2010, 07:41:44 am by Joachim Müller »
Logged

Nibbler

  • Guest
Re: Allow Multiple Votes
« Reply #1 on: February 23, 2008, 05:38:22 pm »

ratepic.php, find

Code: [Select]
$clean_before = $curr_time - $CONFIG['keep_votes_time'] * 86400;

change to the number of days, eg. for 1 day:

Code: [Select]
$clean_before = $curr_time - 1 * 86400;
Logged

Davis

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 45
Re: Allow Multiple Votes
« Reply #2 on: February 23, 2008, 07:49:24 pm »

Thanks for the reply Nibbler.
Logged

alig8r

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
Re: Allow Multiple Votes
« Reply #3 on: February 05, 2010, 12:21:14 am »

Thank you so much for your very prompt response Nibbler  :)
Logged
Pages: [1]   Go Up
 

Page created in 0.017 seconds with 19 queries.