Picture of the week script

agroup

New Member
Messages
190
Reaction score
0
Points
0
Hi

I need some kind of the Picture of THe Week Script for my uploading site http://filetube.info.

Please i Need this script as soon as possible. I can give credits for this . :cool:

Thankyou
 

Scoochi2

New Member
Messages
185
Reaction score
0
Points
0
Does your host allow you to use cronjobs?
If so, set one up for a weekly run. If not, we'll have to use a pseudo-cron :)

The script you want to run will be fairly simple and will do a small number of things:
  1. Look for the highest rated image file, depending on how the site works (do people vote for files, do you record how frequently files are downloaded?).
    The file should not be flagged as having already been picture of the week.
    If there are two or more with the highest rating, choose one at random.
  2. In your database, add a flag to that file saying that it's already been 'picture of the week'.
  3. Set another database key to the location or ID of that file. Use this key in the future to find out what the current picture of the week is.
Does all that make sense to you?
In order for us to actually create the script, we'll need to know the particulars of how your site works... such as the workings of your database, the way files are rated and so on.
 

agroup

New Member
Messages
190
Reaction score
0
Points
0
I will check for cornjobs

i have a upload image site and going to announce a competition of the picture of the week.
So i need the script for that.
you visited my site?
 
Last edited:

xav0989

Community Public Relation
Community Support
Messages
4,467
Reaction score
95
Points
0
I've visited it. Basically you need a script to put the best rated picture as picture of the week.

If so, well to build a script, we need access to your webspace (FTP) and to you database (PHPMyAdmin).
 
Top