Advanced search  

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]

Pages: [1]   Go Down

Author Topic: Be able to set 'file view count' to a particular value  (Read 4205 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.02 seconds with 19 queries.