|
Update Your Pictures Over A 3 Day Period Freeware Version 1.3 Description This is different from my Daily Content Script because this one updates using a set of three days, and also displays the date of each update. The days are today, yesterday - and the day before. So it's got kind of a rolling archive section. The links are always picked at random - so you'd never get say one link showing today that is showing from 2 days ago. The more links you add in - the better. Features • Password protected admin area. • Edit and delete links on line. • Special test mode to test out your rotation. • Specify how many links you want to show at a time. • Built in links rotator. • Easy to set up. • Minimal load on the server (very efficient...) • Best of all - it's FREE! :-) Working Example Let's have a look at the script in action first. This will be the best way to show off what it can do. An example of the script in action... Press reload / refresh a couple of times to test it out. It's in test mode so each time you press reload / refresh, the script will think it's a new day and re-organize the links. Today's links are moved to yesterday's links and so forth. There's a simple admin area here: http://www.tomsnewbiebooster.com/resources/private-tgp-or-link-list/admin.php Enter username as user and password as pass. Have a poke around. It should be pretty straight forward. I've disabled altering anything but you'll be able to see how it all works. :-) When you edit the links, each one must have a blank line in between it. This makes for clearer editing. Download & Installation Download the latest version HERE. This script has a lot of files but don't let that fool you. It's actually pretty easy to get it set up. We'll take it one step at a time - and please post on TNB if you have problems. I'll help you get this beast workin' on your server. ;-) This is a PHP script - so you'll need that on your server. MOST have that - so assume that you do and proceed with the rest of the installation. 1) Download the file (above). 2) Unzip it with something like Winzip. 3) Create a folder on your webspace for this thing to live in. I recommend calling this folder 'fetish-tgp/' or something similar. 4) Open up settings.php in your text editor and change the username and password to something other than user and pass. 5) Upload all of the files to the folder you made earlier. 6) CHMOD the following files to 777: 1.txt 2.txt 3.txt day_number.txt show.txt test_mode.txt remaining.txt 8) You're DONE! Log into the admin.php page and start adding links there. You'll want to go to the edit page and remove the default links first probably. NOTE: Here's a tutorial on CH MOD if you've not done it before... NOTE: On any page where you'd like to include the links (example.html in the case above), you need to put the following SSI line (the page must be able to run SSI). <!--#include virtual="the-links.php" --> You can run this on either .shtml pages, OR add the following line to your htaccess to run it on html pages (as I've done here...) AddHandler server-parsed .html That's about it. Give me a shout if you get stuck OR find any bugs... Version Updates: 1.1 Fixed a bug where newly added links were not showing up in the script. To update an older version, download the zip file (above) and then upload admin.php over the top of the old one on your webspace. 1.2 Fixed a number of bugs which were stopping the entries displaying correctly. You will need to upload all the .php files over the older version - except for settings.php. 1.3 Fixed a bug where links were not showing outside of test mode. And fixed an error where the wrong number of links where showing. You will need to upload all the .php files over the older version - except for settings.php. Enter Tom's Newbie Booster here More tips, scripts and help... |