Reset view counters Reset view counters
 

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

Reset view counters

Started by Invalid ID, February 21, 2007, 10:39:29 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Invalid ID

Just did the worst thing. I didn't know how but I didn't notice that the option "Reset view counters (1)" is ticked by default and I accidentally clicked on "Submit".

And then noticed all the 1,50000 views had gone and now the statics is showing zero as file views.

Is there a possibility I can bring my lost counts? 

Nibbler

If you have a backup you can, otherwise no, sorry.

Invalid ID

As I mentioned I didn't notice this option is ticked by default, so I had no reason to make a backup before doing it.

I wonder how come such option is on ... gone my data gathered in 3 years.

Nibbler

It's been discussed already and changed for the next version. Always keep regular backups.

Invalid ID

Too late. I will always wonder why this option was there ticked and who would like to lose the image views anyway.

Thanks

Invalid ID

Is there anyway I can increase total image views using phpMyadmin?

Nibbler

Yes, you can specify whatever hits you like if you edit the database.

imatrljan

What table is holding all the viewcounts ? I can't find the real one! ???

Nibbler

It's the `hits` field in the picture table.

imatrljan

is this ok?

  `hits` int(10) NOT NULL default '0',

i change to

  `hits` int(10) NOT NULL default '10000',

or? Thanks

Nibbler

That would give all new files 10000 views. If that is what you want then do that.