My counter is working fine, however I would like it to register each time a photo is viewed from the same pc. ideally I would prefer a time delay of maybe ten minutes.
I have spent a number of hours looking for solution in forum using the search facility but cant find the answer
Steve
Such a solution doesn't exist - Coppermine counts unique hits. That's why your search didn't yield any results. If you need this behaviour changed, you'll have to code it.
Could you advise where I should look.
I know your not reccomended to change themes.inc.php
however is it this that needs changing or is it a lot more complicated
// Add 1 to hit counter
if (!USER_IS_ADMIN && !in_array($pid, $USER['liv']) && isset($_COOKIE[$CONFIG['cookie_name'] . '_data'])) {
add_hit($pid);
if (count($USER['liv']) > 4) array_shift($USER['liv']);
array_push($USER['liv'], $pid);
any point in the right direction would be appreciated
OK
Have solved
Thanks
Marking thread accordingly. However, for the benfit of others with similar issues, you should share your insight and post what you did to solve your issue - that's the whole point of a support board: think of it as a knowledge base.