Hulp nodig bij een modificaties of op zoek naar een MOD? Bekijk ons archief. Support wordt helaas niet meer verleend.
Forumregels
Sinds 1 januari 2009 wordt phpBB2 niet meer ondersteund.
Onderstaande informatie is verouderd en dient uitsluitend als archief.
-
Xanland
- Berichten: 828
- Lid geworden op: 23 jan 2005, 17:02
- Locatie: Apeldoorn, The Netherlands
-
Contacteer:
Bericht
door Xanland » 11 feb 2006, 18:23
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).
##
##
##############################################################
-
AarClay
- Berichten: 787
- Lid geworden op: 10 feb 2005, 17:12
Bericht
door AarClay » 11 feb 2006, 21:41
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

-
Xanland
- Berichten: 828
- Lid geworden op: 23 jan 2005, 17:02
- Locatie: Apeldoorn, The Netherlands
-
Contacteer:
Bericht
door Xanland » 11 feb 2006, 21:43
Maar hoe en waar moet ik die Author Notes uitvoeren?
-
XP-Rene
- Berichten: 2168
- Lid geworden op: 01 dec 2004, 19:33
- Locatie: Vlissingen
-
Contacteer:
Bericht
door XP-Rene » 11 feb 2006, 21:57
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.
-
Xanland
- Berichten: 828
- Lid geworden op: 23 jan 2005, 17:02
- Locatie: Apeldoorn, The Netherlands
-
Contacteer:
Bericht
door Xanland » 11 feb 2006, 22:36
Maar Diablo Gamer zegt dat je het MOET installeren (die Author Notes dan!)!!
-
Bee
- Berichten: 13403
- Lid geworden op: 29 aug 2004, 10:30
Bericht
door Bee » 11 feb 2006, 22:46
Luister niet altijd naar Diablo Gamer, hij wil het nog wel eens fout hebben. Dat onderdeel is niet verplicht.
... Maar ik modereer (nog) niet.
-
XP-Rene
- Berichten: 2168
- Lid geworden op: 01 dec 2004, 19:33
- Locatie: Vlissingen
-
Contacteer:
Bericht
door XP-Rene » 11 feb 2006, 22:50
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?
-
Xanland
- Berichten: 828
- Lid geworden op: 23 jan 2005, 17:02
- Locatie: Apeldoorn, The Netherlands
-
Contacteer:
Bericht
door Xanland » 11 feb 2006, 22:57
Ja, ik snap het. Alleen heb ik een
nieuw probleem!!!