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: Please confirm how often a user can rate a pic  (Read 3743 times)

0 Members and 1 Guest are viewing this topic.

alig8r

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
Please confirm how often a user can rate a pic
« on: February 04, 2010, 11:15:41 pm »

It is correct to say that a user can rate a pic once every 24 hours?  I have searched for the most detailed information on how the rating system works but cannot find. Thank you for your time.
Logged

Nibbler

  • Guest
Re: Please confirm how often a user can rate a pic
« Reply #1 on: February 04, 2010, 11:25:40 pm »

You have the source code - that should be detailed enough :)

Users can rate a pic once every month (30 days).

See also http://forum.coppermine-gallery.net/index.php/topic,50650.0.html
Logged

alig8r

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
Re: Please confirm how often a user can rate a pic
« Reply #2 on: February 05, 2010, 01:07:17 am »

thank you so much for your prompt response Nibbler.  I have made the code change as per your link and I have the permissions set so both registered users and guests can rate. 

However I need to confirm.

This means that all users and guests can rate their own pics, plus all the pics in the album once every 24 hours. Please confirm this for me as I have to get back to the client with the specific answer.  THANKS AGAIN
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Please confirm how often a user can rate a pic
« Reply #3 on: February 05, 2010, 07:40:36 am »

We can't confirm anything if you fail to post your modifications and a link to your gallery. Please read up board rules.
Logged

alig8r

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
Re: Please confirm how often a user can rate a pic
« Reply #4 on: February 05, 2010, 08:17:43 pm »

In ratepic.php

I changed this:

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


to This

$clean_before = $curr_time - 1 * 86400;

Here is my gallery link:

http://www.beltdrivebetty.com/cpg14x/

Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Please confirm how often a user can rate a pic
« Reply #5 on: February 06, 2010, 05:22:57 pm »

And what is the benefit of this?
Logged

alig8r

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
Re: Please confirm how often a user can rate a pic
« Reply #6 on: February 06, 2010, 09:13:08 pm »

My issue is resolved no need for further response.  Thank you so much for your help.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Please confirm how often a user can rate a pic
« Reply #7 on: February 08, 2010, 08:18:59 am »

Well, then please respect board rules and resolve your thread by
  • Marking the thread as solved by clicking the little checkmark icon in your initial posting
  • Saying what you actually did for the benefit of others with similar issues

That's why I asked what the benefit of your edit is supposed to be: I wanted to understand what you did for the benefit of others.
Logged
Pages: [1]   Go Up
 

Page created in 0.031 seconds with 20 queries.