coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: alig8r on February 04, 2010, 11:15:41 PM

Title: Please confirm how often a user can rate a pic
Post by: alig8r 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.
Title: Re: Please confirm how often a user can rate a pic
Post by: Nibbler 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
Title: Re: Please confirm how often a user can rate a pic
Post by: alig8r 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
Title: Re: Please confirm how often a user can rate a pic
Post by: Joachim Müller 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 (http://forum.coppermine-gallery.net/index.php/topic,55415.0.html).
Title: Re: Please confirm how often a user can rate a pic
Post by: alig8r 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/ (http://www.beltdrivebetty.com/cpg14x/)

Title: Re: Please confirm how often a user can rate a pic
Post by: Joachim Müller on February 06, 2010, 05:22:57 PM
And what is the benefit of this?
Title: Re: Please confirm how often a user can rate a pic
Post by: alig8r on February 06, 2010, 09:13:08 PM
My issue is resolved no need for further response.  Thank you so much for your help.
Title: Re: Please confirm how often a user can rate a pic
Post by: Joachim Müller on February 08, 2010, 08:18:59 AM
Well, then please respect board rules and resolve your thread (http://forum.coppermine-gallery.net/index.php/topic,55415.msg270631.html#msg270631) by

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.