coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Miscellaneous => Topic started by: sonic22 on March 25, 2005, 04:07:21 PM

Title: Changing the "viewed" counters
Post by: sonic22 on March 25, 2005, 04:07:21 PM
Hi,

Every picture has a counter which counts the times it was viewed.
Is there any option to change the counters?
I've looking for help in the "FAQ" pages but I didn't find any help there.

Hope there is a solution,

Many thanks,
Sonic22
Title: Re: Changing the "viewed" counters
Post by: Tranz on March 25, 2005, 06:19:13 PM
Do not cross post. It results in more work for supporters. Both in cleaning up the posts and/or replying to questions that have already been answered.
Title: Re: Changing the "viewed" counters
Post by: Nibbler on March 25, 2005, 06:28:10 PM
You can only change that in the database directly.
Title: Re: Changing the "viewed" counters
Post by: sonic22 on March 25, 2005, 07:11:04 PM
and how do I reach to this directory?

p.s.: cpg132/include/edit
is locked. I can't get into it , for some reason.
Title: Re: Changing the "viewed" counters
Post by: Nibbler on March 25, 2005, 07:58:58 PM
It's in the database - use phpmyadmin or equivalent, cpg_pictures table, 'hits' field. Make a backup first if you don't know what you're doing.