Please confirm how often a user can rate a pic Please confirm how often a user can rate a pic
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Please confirm how often a user can rate a pic

Started by alig8r, February 04, 2010, 11:15:41 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

alig8r

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.

Nibbler

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

alig8r

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

Joachim Müller

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

alig8r

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/


Joachim Müller


alig8r

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

Joachim Müller

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.