Gossamer Forum
Home : Products : Links 2.0 : Customization :

Site of the Day Hack

Quote Reply
Site of the Day Hack
Does anyone have specific instructions to the Site of the Day mod ? As in it works, and for templates version
The one @
http://www.gossamer-threads.com/scripts/forum/resources/Forum3/HTML/000808.html
is kinda too messy for me to see what's right, what's wrong

Thanks
Quote Reply
Re: Site of the Day Hack In reply to
Uh, no. If you read the hack, it will create a new file called site_of_the_day.pl. With my small mod, each time you run this file from your browser (once a day, once an hour, once a week, whatever), it will randomly pick a link from your DB, build the sotd.txt file and tell you which link it picked. You don't have to a thing, except remember to run the .pl file, and I would recommend installing a scheduler program so you don't even have to do that. I personally use JIT Scheduler because it allows web documents to be run, as opposed to Microsoft's built in scheduler.
Quote Reply
Re: Site of the Day Hack In reply to
For UNIX, use Cron.

Regards,

------------------
Eliot Lee
Anthro TECH,L.L.C
www.anthrotech.com
----------------------



Quote Reply
Re: Site of the Day Hack In reply to
Nice web site... follow the initial directions by chrishintz and add my small mod. I've gotten it to work this way.
Quote Reply
Re: Site of the Day Hack In reply to
One thing i wanna make sure before i do the hack, do i have to manually add the site of the day for it to work ???
Quote Reply
Re: Site of the Day Hack In reply to
Yea...USE Cron for UNIX or a Scheduler Program for Windows!

Cron and Scheduler Programs automate scripts, so that you do not have to manually run them.

Regards,

------------------
Eliot Lee
Anthro TECH,L.L.C
www.anthrotech.com
----------------------



Quote Reply
Re: Site of the Day Hack In reply to
I was wondering whether anyone has had come up with a hack to do that automatically, without me even accessing that file ?
Quote Reply
Re: Site of the Day Hack In reply to
Where do i get it ??
Quote Reply
Re: Site of the Day Hack In reply to
Get what? Cron? You might want to consider reading the Frequently Asked Questions for this program! You should find your answer there... <sigh>

------------------
The Immuatable Order of Modding
-=-=-=-=-=-=-=-
1. Read the FAQ, 2. Search the board, 2a. Search the board again, 3. ask the question, 4. back-up, 5. experiment, 6. rephrase question (or better yet, post solution to original question)
Quote Reply
Re: Site of the Day Hack In reply to
Cron is a server package that should already be installed on your server. If the FAQ in the Resource Center does not satisfy you, then I would suggest the following:

1) Pick up a book on administrating web sites on a UNIX server (or Windows depending on what server you are using). (I love the Dummies series of tutorials...they are wonderfully laid out and also very informative.)

2) Pick up a book on UNIX programming.

3) Take some online tutorials about cgi, perl, and UNIX.

4) Contact your Hosting Company for information on Cron.

5) Hire someone else to manage the interactive programming sections (e.g., LINKS) of your site.

Regards,

------------------
Eliot Lee
Anthro TECH,L.L.C
www.anthrotech.com
----------------------



Quote Reply
Re: Site of the Day Hack In reply to
ok guess i'm not 'qualified' to do this hack, forget it then