Need help with PHP script (wussa.com) not a big deal

Discussion in 'PHP' started by Sizzerb, Apr 21, 2010.

  1. #1
    Hope someone can help me.
    well im using the wussa image hosting script for my site,
    and i gotta admit that the admin panel is just poor.. not much options, besides approving/deleting uploaded images.

    what i want to do is reset the views count of ALL images to 0 (every month)
    is this possible by editing one of the PHP files?

    if you need to see all the files before being able to help me, just pm me and i will send the download link to you.

    thanks
     
    Sizzerb, Apr 21, 2010 IP
  2. Sizzerb

    Sizzerb Greenhorn

    Messages:
    12
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    11
    #2
    nvm i figured it out myself, i just needed to edit the 'views' field in phpmyadmin
     
    Sizzerb, Apr 21, 2010 IP
  3. Cloud Computing Forum

    Cloud Computing Forum Guest

    Messages:
    55
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    You could write a script to update the views field for you each month and run it on a cronjob, so you don't forget.
     
    Cloud Computing Forum, Apr 21, 2010 IP