Author Notes Uitvoeren
Geplaatst: 11 feb 2006, 18:23
Support template:
Author Notes Stukje:
- Wat is het probleem? Ik snap niet hoe ik de author notes moet uitvoeren!
Wanneer ontstond het probleem? Na installatie mod.
Adres van je forum: http://nieuwsforum.byethost24.com/index.php
Geïnstalleerde mods: Deze.
Huidige template: subSilver
phpBB versie: 2.0.19
Host: http://www.byethost24.com/
Heb je onlangs een mod of stijl geïnstalleerd? Ja, deze!
Heb je gezocht naar een antwoord? Ja.
Author Notes Stukje:
Code: Selecteer alles
##############################################################
## Author Notes:
##
## Requires you to be able to setup a script to run as a cron job (or similar).
## Includes addition of 1 table to your database and 1 insert into config table.
##
## IMPORTANT!!
##
## Step 1 : Follow the instructions below.
## Step 2 : Browse to your Admin Control Panel and configure the Newsfeeds.
## Step 3 : Perform news insert by clicking the 'Get News Now' button.
##
## Ensure everything works as expected before setting up the automation in step 4.
##
## If you do not have access to any automation tools then you will have to stop at
## this point and regularly run the news insert script manually from the newsfeed admin page.
##
## Step 4 : Finally, set up an automated task to run the news insert automatically.
##
## LINUX SYSTEMS
## -------------
## Set up a cron job (I use a quarter daily cron job) containing the following...
## (if anyone knows a better way of doing this, please let me know!)
##
## get all - GET http://www.YOURDOMAIN.com/YOURFORUMS/news_insert.php > /dev/null
## get 1 - GET http://www.YOURDOMAIN.com/YOURFORUMS/news_insert.php?n=1 > /dev/null
## get multiple - GET http://www.YOURDOMAIN.com/YOURFORUMS/news_insert.php?n=1,2,3 > /dev/null
##
## beginners guide to cron - http://www.unixgeeks.org/security/newbie/unix/cron-1.html
##
##
## WINDOWS SYSTEMS
## ---------------
## Create a batch (.bat) file containging the following...
##
## YOUR_PATH_TO_PHP -q YOUR_PATH_TO_NEWS_INSERT.php
##
## Set up a windows system task as follows...
##
## [*] open Windows Task Scheduler
## [*] create a new task
## [*] enter YOUR_PATH_BAT_FILE (with the quotes!)
## [*] give it a scheduled time to run
## [*] on the settings tab, check the Stop the task box and set the value to 0 hrs 1 minute
## (this should be plenty long enough and is probably longer than your php timeout setting).
##
##
##############################################################