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: Number of views  (Read 2422 times)

0 Members and 1 Guest are viewing this topic.

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Number of views
« on: November 03, 2004, 09:12:48 pm »

When you delete a picture, the number of views of this pictures, are also deleted and also subtracted of the total of views.
Is it possible that the subtraction of the total of views is not done? So that it only adds the number of views and don't subtracts the views of deleted pictures.

Tx

Peter
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Number of views
« Reply #1 on: November 04, 2004, 10:22:11 am »

the total number of views is being calculated by summing up the views of the individual files. If you delete a file from the database, it's view counter is gone as well. No way around this, and the way you want it is just plain wrong. Sounds like you want to impress your site visitors with high numbers of views. If you actually want to "cheat", manually increase the counters...

Joachim
Logged
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 19 queries.