Most viewed pictures Most viewed pictures
 

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

Main Menu

Most viewed pictures

Started by whisky, December 25, 2005, 08:37:03 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

whisky

This is kinda dumb, but lately people have been getting their images to be the most viewed by clearing their cache and history and re-viewing their pictures. That's just one or two of the guys who've got this trick. What I want to do is bring them back to a specific number of views. So is there any way to increase or decrease the views of an image?

Tranz

CPG 1.4x will let you reset the view counter. Don't know about 1.3. If you want to change it to a specific number of views, you'd need to use a database editor like phpmyadmin. But if you reset the views to 0, that would likely deter those pranksters from doing it again in the future.

whisky

Thanks for the information. Oh, and what database do I edit using phpmyadmin ?

whisky

The database I need to edit? Anyone?

Nibbler

The database you installed Coppermine into.

whisky

Yes, but under what table? I don't see anything that seems to be responsible for the number of views of the image  :(

Nibbler

Looks at the 'hits' field of the prefix_pictures table

whisky

Solved! Thhank you very much  :)