Version: , by fastforward
Developer Last Online: Nov 2011
Version: 2.2.x
Rating:
Released: 07-11-2001
Last Update: Never
Installs: 25
No support by the author.
Description:
This hack provides a gateway to selected usenet groups. The entire usenet group is mirrored locally. Posts submitted locally to mirrored newsgroups will also be sent out to usenet. A single perl script is executed via cron that collects news and posts any outgoing articles. Incoming messages are parsed against customizable spam filters and threaded correctly before being placed in your forums. By default, no personal information is sent to usenet other than the posters username and whatever you have globally configured as a footer and organization. The option does exist for a user to include a custom email to use for usenet posts. After initial installation (which involves creating some new tables, adding a few columns to existing vB tables, and entering the database connection information to the news script) configuration is completed via the vB control panel.
See it in action at dBforums.com(usenet forums are at the bottom)
The latest version of this hack will always be in this first post of the thread.
Before asking questions in this thread, please read all the posts in this thread. If your question goes unanswered, it will probably be because the question has already been answered countless times in this thread.
This hack was created for use on my forums and will only be supported as time permits.
Below is the error returned when running the newnews.pl file via ssh
Can't locate News/NNTPClient.pm in @INC (@INC contains: /usr/libdata/perl/5.00503/mach /usr/libdata/perl/5.00503 /usr/local/lib/perl5/site_perl/5.005/i386-freebsd /usr/local/lib/perl5/site_perl/5.005 .) at ./newnews.pl line 42.
BEGIN failed--compilation aborted at ./newnews.pl line 42.
The one I use will work also but I do have 1 question, what is this for Franky
>/dev/null 2>&1
That line ensures that the actual newnews.pl output is redirected aswell as the output generated by cron. Remember, cron is just a progam that calls newnews.pl.
Yeah but who want's an e-mail for every cron job? Once I know it's working ok, it's pointless getting, in my case, 6 e-mails an hour telling me the same thing.
How would you know if for some reason it quick working and you go to your forum and find out that it hasn't downloaded for 3 hours. Meanwhile your users are expecting a answer from a post they made. Just wandering, I don't like the emails either, just wandering if you have a way that would tell us when or if it has stopped working. I was hoping you would share with us and I could turn all my emails off.
Well I can't personally see a way via crontab that you could have error reporting, all crontab does is to run the job and e-mail output. There is a possibility that fastforward could build error reporting into the perl script in a future version, therefore eliminating the need for lots of cron e-mails *hint hint*
I post something which is shown below, snipping the irrelvent parts of the original post and quoting the relevent parts I wish to reply to, like below:
--- Begin Example ---
Quote:
quoted text block 1
reply 1
Quote:
quoted text block 2
reply 2
--- End Example ---
In this instance, the post on the newsgroup will read:
---
reply 2
>>quoted text block 1
>reply 1
>>quoted text block 2
---
Am I missing something here? It's completely in the wrong order, and my 1st reply is prefixed by >