Pagina 1 van 1

Author Notes Uitvoeren

Geplaatst: 11 feb 2006, 18:23
door Xanland
Support template:
  • 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.
Overige opmerkingen:
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).
##
##
############################################################## 

Re: Author Notes Uitvoeren

Geplaatst: 11 feb 2006, 21:41
door AarClay
Xanland schreef:Support template:
  • 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.
Overige opmerkingen:
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).
##
##
############################################################## 
Wordt gedaan, d.m.v. ee cronjob of een geplannede taak :)

Geplaatst: 11 feb 2006, 21:43
door Xanland
Maar hoe en waar moet ik die Author Notes uitvoeren?

Geplaatst: 11 feb 2006, 21:57
door XP-Rene
Die mod moet je dus gewoon installeren, de newsfeeds via je ACP toevoegen, en eventueel, als je de mogelijkheid hebt, kun je je newsfeeds geautomatiseerd laten toevoegen door een cronjob, heb je geen cron, dan moet je elke keer op de knop "Get Newsfeed" klikken om het nieuws op je forum te krijgen.

Geplaatst: 11 feb 2006, 22:36
door Xanland
Maar Diablo Gamer zegt dat je het MOET installeren (die Author Notes dan!)!!

Geplaatst: 11 feb 2006, 22:46
door Bee
Luister niet altijd naar Diablo Gamer, hij wil het nog wel eens fout hebben. Dat onderdeel is niet verplicht.

Geplaatst: 11 feb 2006, 22:50
door XP-Rene
Die Author Notes zijn niks meer dan extra aanwijzingen om de mod geautomatiseert te laten werken.
De auteur wil hier enkel mee aangeven dat een script nodig is om alles automatisch te laten doen, zonder tussenkomst van een moderator/admin.

Je bent niet verplicht om deze Author Notes uit te voeren, nadeel is alleen dat je je News Feeds elke keer handmatig moet laten bijwerken door in je Admin paneel op "Get Newsfeed" te klikken.

De mod op zich werkt dus ook zonder die extra toevoeging om de boel te automatiseren.
Snap je het nog een beetje?

Geplaatst: 11 feb 2006, 22:57
door Xanland
Ja, ik snap het. Alleen heb ik een nieuw probleem!!!