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: Changing View Count  (Read 2500 times)

0 Members and 1 Guest are viewing this topic.

Toddyuk

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Changing View Count
« on: March 24, 2007, 05:03:25 pm »

Hi i was wondering if its possible to manually change the view count for each pic ?

Reason iam asking is , I accidentally dropped the coppermine Tables (Doh!) , I can upload all the pics again no prob , But can i adjust the count views back up etc ?

Thanks for any help

Todd
Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: Changing View Count
« Reply #1 on: March 24, 2007, 05:57:50 pm »

you need to edit the mysql pictures table with a tool l ike phpmyadmin (backing up the db before you do so is recommended)

Toddyuk

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: Changing View Count
« Reply #2 on: March 24, 2007, 11:33:17 pm »

Could you tell which table exactley plz, as i cant find it .

Thanks for your help

Todd
Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: Changing View Count
« Reply #3 on: March 25, 2007, 10:56:00 am »

look into the database you created (you should know how you named it), then find a table with the name CPG_pictures (replace CPG with the prefix you entered whilst the setup). In that table the field 'hits' stores the 'viewcount'
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 19 queries.