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

Home » FUDforum » How To » Newsgroup Manager query.
Show: Today's Messages :: Unread Messages :: Show Polls :: Message Navigator
| Subscribe to topic | Bookmark topic 
Switch to threaded view of this topic Create a new topic Submit Reply
Newsgroup Manager query. [message #161744] Tue, 02 February 2010 09:26 Go to next message
newbie.john is currently offline  newbie.john
Messages: 45
Registered: January 2010
Karma: 0
Member
add to buddy list
ignore all messages by this user
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 09:43 Go to previous messageGo to next message
naudefj is currently offline  naudefj   South Africa
Messages: 3632
Registered: December 2004
Karma: 17
Senior Member
Administrator
Core Developer
add to buddy list
ignore all messages by this user
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 16:53 Go to previous messageGo to next message
newbie.john is currently offline  newbie.john
Messages: 45
Registered: January 2010
Karma: 0
Member
add to buddy list
ignore all messages by this user
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 01:11 Go to previous message
naudefj is currently offline  naudefj   South Africa
Messages: 3632
Registered: December 2004
Karma: 17
Senior Member
Administrator
Core Developer
add to buddy list
ignore all messages by this user
Yes. The format is explained here.
Quick Reply
Formatting Tools:   
  Switch to threaded view of this topic Create a new topic
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: Thu Dec 14 08:20:29 EST 2017

Total time taken to generate the page: 0.02153 seconds