FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » How To » Newsgroup Manager query.
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
Newsgroup Manager query. [message #161744] Tue, 02 February 2010 14:26 Go to next message
newbie.john is currently offline  newbie.john
Messages: 45
Registered: January 2010
Karma: 0
Member
I am wanting to mirror FUD forum posts to/from a newsgroup. The Newsgroup Manager suggests that posting to/from an NNTP server requires one to have..

(1)a PHP binary (cgi/cli).

How do I find out if I have that ? Surely I must have a PHP binary if I installed FUD ?

(2)..a crontab that will import messages...

It looks like I can setup a cron job in cPanel. Am I right in thinking that I need to create a file and have it accessed by the cron command every "x" minutes ? The file being called nntp.php and be placed in the /home/user/fudforum/scripts/ directory ?

Regards, John.

Re: Newsgroup Manager query. [message #161745 is a reply to message #161744] Tue, 02 February 2010 14:43 Go to previous messageGo to next message
naudefj is currently offline  naudefj   South Africa
Messages: 3771
Registered: December 2004
Karma: 28
Senior Member
Administrator
Core Developer
1) You need to ask your hosting provider if it's installed and if so, in what directory.

2) nntp.php is already in the forum's scripts directory. CRON is just a scheduler that will periodically run it.
Re: Newsgroup Manager query. [message #161750 is a reply to message #161745] Tue, 02 February 2010 21:53 Go to previous messageGo to next message
newbie.john is currently offline  newbie.john
Messages: 45
Registered: January 2010
Karma: 0
Member
naudefj wrote on Tue, 02 February 2010 09:43
1) You need to ask your hosting provider if it's installed and if so, in what directory.


Okay. Thank you. I will do that. Smile


naudefj wrote on Tue, 02 February 2010 09:43

2) nntp.php is already in the forum's scripts directory. CRON is just a scheduler that will periodically run it.


The file is there ? Great ? That makes things much easier. All I need is to put the path in a cron job ? Eg.

http://mydomain/forum/fudforum/scripts ?

or something like..

*/2 * * * * /home/forum/forum/scripts/nntp.php 1 ?

I don't know what */2, or the asterisks are for, or why there is the number "1" at the end

Regards, John.

Re: Newsgroup Manager query. [message #161759 is a reply to message #161750] Wed, 03 February 2010 06:11 Go to previous message
naudefj is currently offline  naudefj   South Africa
Messages: 3771
Registered: December 2004
Karma: 28
Senior Member
Administrator
Core Developer
Yes. The format is explained here.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Mailing List Manager query.
Next Topic: Is there a way to make the RSS feeds for private forums unavailable to non-members
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Wed Nov 27 15:43:10 GMT 2024

Total time taken to generate the page: 0.03447 seconds