|
Re: newsgroups!?! [message #14562 is a reply to message #14558] |
Mon, 17 November 2003 18:26 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
try news.php.net news server. Also, be sure to unlock the forum before trying to import any new messages.
FUDforum Core Developer
|
|
|
|
Re: newsgroups!?! [message #14569 is a reply to message #14565] |
Mon, 17 November 2003 19:40 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
The admin control panel "Unlock Forum files".
FUDforum Core Developer
|
|
|
Re: newsgroups!?! [message #14570 is a reply to message #14558] |
Mon, 17 November 2003 19:50 |
|
It's quite easy and is detailed in the documentation.
http://fud.prohost.org/doc/d/html/admin.newsgroup.manager.html
Create one forum per newsgroup. Then use Newsgroup Manger to fill in the information, most of which is exactly what you would put into a newsreader. Once it is created, look at the bottom for "Exec Line". This tells you what to feed the php executable to import messages. Where the php executable is depends on how your web server is setup (try "which php" if you have shell access). You will need that location to verify or fix the first line of:
[FUDdata_dir]\scripts\nntp.php
Note that by default FUD's nntp import script tries to bring in all messages available. If you want to start at a particular spot you'll need to put the starting post's number in the file:
[FUDdata_dir]\errors\.nntp\[news_server_name]-[group_name]
You can find that number using your news reader and looking at the headers (typically the Xref header) or by telneting to port 119 on the news server (if you feel comfortable using a telnet interface).
If you want to only import X number of messages each time the nntp.php script is run, you will need to modify:
[FUDdata_dir]\include\nntp.inc
If your web host limits the amount of time a script can run (30 seconds for me), limiting the number of messages it imports at one time or having it write the current message id as it goes (so the place it is on isn't lost) is the best strategy I have found. If you need help with either of those I can give you what I have done, but can't say it is the best way to do it.. just what works for me.
Once the initial import is complete you will need to setup a cron job to run the script at specified intervals. I think it is best to run the inital import by hand, via telnet or ssh if you don't have the server locally available and do have shell access, if possible. Example:
/[path]/[to]/php /[path]/[to]/[FUDdata]/scripts/nntp.php 1
Then you know exactly what to use for the cron job. Note that the cron job is only for import of new messages not posted via the forum and that anything posted via the forum will go directly to the news server as soon as it is posted, if "Synchronize Forum Posts to Newsgroup" is "Yes" and "Moderate Posts" is "No". If you are only making an archive and do not need to keep looking for new posts, then the cron job is not needed or only needed once.
|
|
|
|
Re: newsgroups!?! [message #15104 is a reply to message #15100] |
Tue, 02 December 2003 15:41 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
In order for the forum to import messages from newsgroups (NNTP) it needs to connect to a working NNTP server with messages. How you get that server is up to you, however you do not need to run a NNTP server of your own for this.
FUDforum Core Developer
|
|
|
|
Re: newsgroups!?! [message #18445 is a reply to message #18442] |
Sun, 23 May 2004 16:38 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
Try running the script like this:
php /home/virtual/site10/fst/var/www/html/forum/scripts/nntp.php 1
FUDforum Core Developer
|
|
|
|
|
Re: newsgroups!?! [message #18846 is a reply to message #18842] |
Sun, 13 June 2004 15:23 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
Sounds like your import rule is broken or your entering the wrong id of the import rule.
FUDforum Core Developer
|
|
|
|
Re: newsgroups!?! [message #18856 is a reply to message #18852] |
Mon, 14 June 2004 12:43 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
You need to edit the existing import rule or create a new one.
FUDforum Core Developer
|
|
|
|
Re: newsgroups!?! [message #18949 is a reply to message #18942] |
Fri, 18 June 2004 13:23 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
Well, there is clearly a problem with your import rule as it cannot find the forum.
FUDforum Core Developer
|
|
|