Advanced search  

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

Pages: [1]   Go Down

Author Topic: Be able to set 'file view count' to a particular value  (Read 4203 times)

0 Members and 1 Guest are viewing this topic.

mr5

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 49
Be able to set 'file view count' to a particular value
« on: August 24, 2011, 08:02:55 pm »

I have replaced the existing pictures with the same pictures of better quality (deleted the old and updated the album with new ones). I would like to keep the count of views for each new picture (be able to set it to the old value) and do not start with zero counter.  Thanks.
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Be able to set 'file view count' to a particular value
« Reply #1 on: August 30, 2011, 04:41:58 pm »

To replace existing files you might want to use this plugin: http://forum.coppermine-gallery.net/index.php/topic,60499.0.html

I'm no fan of manipulating data. So that feature probably won't be in a future version. If you need to adjust the counter anyway, you can do this with the database manipulation tool of your choice (e.g. phpMyAdmin).
Logged
Pages: [1]   Go Up
 

Page created in 0.017 seconds with 20 queries.