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: Changing View Count  (Read 2494 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.017 seconds with 19 queries.