Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
NNTP Gateway for Usenet ( Newsgroups ), Mailing Lists Details »»
NNTP Gateway for Usenet ( Newsgroups ), Mailing Lists
Mod Version: 2.3.2, by lierduh (Member) lierduh is offline
Developer Last Online: Jul 2012 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.0.5 Rating: (10 votes - 4.80 average) Installs: 187
Released: 15 May 2004 Last Update: 28 Feb 2005 Downloads: 268
Not Supported DB Changes  

The latest version: V2.3.2 (31 Oct 2004)

What is it?

This hack provides a gateway from vBulletin forums to the USENET. It allows forum members to read newsgroup messages as well as to send posts to the newsgroups. In a nutshell, it turns vBulletin forums into a basic function news reader.

For an added bonus, this package also supports mailing list archive and forum to mailing list gateway. The software retrieves messages from a pop3 account and import them into the forums threaded. It also allows a forums user to send messages to the mailing list by the forum posting interface.

Why?

The gateway will be appreciated by forum members who do not know how to set up a news reader, or people who do not have port 119 open in their network. A forum interface to read and post news are often considered to be better than a news reader.

The gateway adds more contents to your forums and allows the members to interact with wider audience. It is common to see new users signing up to use this feature.

History

This hack is basically a hacked vB2 NNTP gateway written by Gilby to work with vB3. The original hack can be found here:

http://www.vbulletin.org/forum/showt...7&page=1&pp=15


Features

Some of the features and improvement include:
  • Handles both newsgroup posts and mailing lists.
  • Handles MIME encoded messages and attachment.
  • Handles UUEncoded messages.
  • Two Admin Control Panels for all settings.
  • Automated installation.
  • Correct thread implementation. All imported messages and posts sent to newsgroups will be threaded correctly according to References and Message-ID headers.
  • Optional setting to thread by subject for mailing lists that strip references header.
  • Supports TABLE_PREFIX.
  • Imported messages will be searchable just like normal forum posts.
  • Similar threads are built when the messages are imported if the system setting is on.
  • Multiple attachments importing.
  • Save attachment to database or file according to vB setting.
  • Thumbnail created while importing image files.
  • Multiple attachment post to newsgroup is also supported.
  • Selectable X-No-Archive header honouring system.
  • Light on system resources.
  • Global Killfile to filter out unwanted messages. Killfiles can have OR and AND effectiveness.
  • Strip footer by setting for incoming messages. Strips out repeated message footers.
  • Built options to disable signatures and footers for out going messages.

Future development
  • AdminCP interfaces. (completed)
  • Installation/upgrade script. (completed, coded into AdminCP)
  • Traditional "> " lead posting interface.

What do you need and do not need?

You do not need to edit vB php files if you use two bookmarks
You need to edit one vB php file to insert two lines of code if you want direct click links within AdminCP.
No need to run SQL.

Installation

Basically the AdminCP interfaces take care of installation as well as upgrade in the background. Back up your database first. The scripts can modify your database without alerting you!

Please follow the instructions in the readme.txt file for more details.

Support

Please post your support questions to this thread. Please check the FAQ in the third post within this thread first.

================== UPDATES ======================
Jul 31 2004 (release version 2.2.0)
  • Provided option of not importing attachments
  • Provided option of pause between messages
  • Provided option of not sending messages to USENET
  • Provided mechanism to skip importing a message if it was crashed on it
  • Provided "Default Footer" option
  • Provided strip_footer function for mailing lists
    (written originally by KevinM)
  • Provided Killfile functions with Header/Body/AND/OR settings
  • Provided ability to thread messages by subject for mailing lists
  • Provided ability to use a single POP3 account for different mailing lists
    (use prefix)
  • Merged KevinM's attachment routine, save thumbnail to hard drive
    as vB3.0.3
  • Official support to have the script run by Scheduled Tasks
  • Many bug fixes

Please note, when you manually run the script, you must turn on the debug mode. Otherwise nothing will be displayed on the screen.

To run as debug mode: http://forums.yourdomain.com/gateway.php?debug=1

25 Oct 2004
  • Provided the option of sending posts using the real email address
  • Provided the option of sending posts using a fixed email address for
    each group.
  • Posts are now held back if they are in the moderating queue
  • Scheduled task log is now working
  • Provided the option of sending the debug messages to the vB3 cron log
  • Bug fixes

31 Oct 2004

Fixed bugs running the gateway by the vB3 Scheduled Tasks

1 March 2004

Uploaded the new zip file. It contains one or two bug fixes.

Download Now

Only licensed members can download files, Click Here for more information.

Screenshots

nntp_groups1.jpg   nntp_settings.jpg   nntp_settings1.jpg   nntp_groups.jpg  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
NNTP Gateway for Usenet ( Newsgroups ), Mailing Lists lierduh vBulletin 3.5 Add-ons 734 04 Feb 2013 06:06
NNTP Gateway (Usenet/Newsgroups) Gilby vBulletin 2.x Full Releases 987 16 Jul 2005 00:01

Comments
  #2  
Old 15 May 2004, 21:29
Intex Intex is offline
 
Join Date: Apr 2002
Very nice work - I'm yet to install, but I'm sure many members will find it useful as with the first version.
Reply With Quote
  #3  
Old 16 May 2004, 01:27
lierduh lierduh is offline
 
Join Date: Jan 2003
I reserve this post position for support FAQ. This way it will be easily found and referred to.

If you have problem retrieving and posting messages, please make sure your web server can access the NNTP server.

If you have shell access to your web server either by telnet or ssh. You can test the server access using:

=============================
First, ssh or telnet to your web server.

Then telnet the news server from your web server. For example:

[ns@mb eyoforums]$ telnet msnews.microsoft.com 119
Trying 207.46.248.16...
Connected to msnews.microsoft.com (207.46.248.16).
Escape character is '^]'.
200 NNTP Service 6.0.3790.1146 Version: 6.0.3790.1146 Posting Allowed
GROUP microsoft.public.access
211 13988 1 86055 microsoft.public.access
ARTICLE 86054
==============================
ie. after telnet to the NNTP server by using "telnet msnews.microsoft.com 119"
type
GROUP group.name
then type
ARTICLE xxxxx

(xxxx is the post number)

You should get the whole article including the header. If the telnet does not even work. There is no point trying to fix the gateway.


You can do other things while you are under the telnet session. Type "help" will get a list of the commands you can use. To quit a telnet session, type push Ctrl key together with "]" without the quotes.

Server Crashed during the creation of gateway tables, now I am getting MySQL errors when open AdminCP interfaces

The best way to do when this happens is to delete both nntp_groups and nntp_settings tables. Open the AdminCP interfaces. These tables will be recreated by the AdminCP interfaces. Tables will also be upgraded to the latest version automatically.

It tries to download instead of displaying the contents on the screen when I run it manually

Please fix the Windows registry following the instruction here:

http://support.microsoft.com/default...&Product=ie600

The gateway retrieves the messages our forums sent

This usually happens if the news server rewrite your Organization header, eg. to insert advertising etc.

Please set the "No Organization Check" to '0' without the quotes.

Which newsgroup providers do other forum owners use?

Please check out this thread:

http://www.vbulletin.org/forum/showthread.php?t=75232

Last edited by lierduh; 29 Jan 2005 at 12:44.
Reply With Quote
  #4  
Old 16 May 2004, 05:05
Erwin's Avatar
Erwin Erwin is offline
 
Join Date: Jan 2002
To upgrade from the beta vB3 version in the vB2 hack thread to this new vB3 version, you need to upload the new files here, and then run these queries before running the new gateway to add the new nntp settings variables:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Otherwise, this new gateway.php won't work with the old settings.
Reply With Quote
  #5  
Old 16 May 2004, 21:53
Cap'n Steve's Avatar
Cap'n Steve Cap'n Steve is offline
 
Join Date: Feb 2004
Cool. Anything's better than google's interface.
Reply With Quote
  #6  
Old 17 May 2004, 00:32
Majikô's Avatar
Majikô Majikô is offline
 
Join Date: Apr 2004
Real name: James
What exactly do I need to be abl to run this? I use SSH to connec tto my Web server and while in the SSH session I tried the command telnet news.swiftel.com.au 119, but got the error bash: telnet: command not found.
Reply With Quote
  #7  
Old 17 May 2004, 01:29
lierduh lierduh is offline
 
Join Date: Jan 2003
Originally Posted by Majikô
What exactly do I need to be abl to run this? I use SSH to connec tto my Web server and while in the SSH session I tried the command telnet news.swiftel.com.au 119, but got the error bash: telnet: command not found.
That means your host has removed telnet program from your server, or disallowed the users to use telnet.

Above steps are only for fault finding. No need to try if you have no problem.

By the way, in the example, I used my own news server. You need to use your own.
Reply With Quote
  #8  
Old 17 May 2004, 11:33
Erwin's Avatar
Erwin Erwin is offline
 
Join Date: Jan 2002
lierduh's upgraded USENET hack seems to work a whole lot better than the old ones. No more blank threads, it actually works faster, and there is less load on the server. Thanks!
Reply With Quote
  #9  
Old 17 May 2004, 13:24
allan grossman allan grossman is offline
 
Join Date: Apr 2003
Hey, lierduh -

Suggestion for a future release:

I've commented out the entire signature routine in gateway.php to keep my users from being flamed hard by real Usenet users - since you have to be pretty durned old to remember when a signature was

<dash><dash><space><cr>
No more than
four
lines of
text

Setting a database field to skip the whole signature routine to keep Usenet neophytes from getting their feelings hurt might be kinda cool - but commenting out the routine doesn't take a whole lot of technical expertise.

Just a thought
Reply With Quote
  #10  
Old 17 May 2004, 14:29
lierduh lierduh is offline
 
Join Date: Jan 2003
Originally Posted by allan grossman
Hey, lierduh -

Suggestion for a future release:

I've commented out the entire signature routine in gateway.php to keep my users from being flamed hard by real Usenet users - since you have to be pretty durned old to remember when a signature was
Just a thought
That should be quite easy to implement. At the moment, the users can uncheck the "Show your signature" when post. I can have a "disable signature" option in the settings table to disable the signature altogether.

Another thing I have on mind is to create a posting interface which behaves just like a news reader. ie. No BB codes available, just the "> > " for quoted text. It will be kind like WYSIWG of a news reader. This way, it will be much easier to trim the quoted text, and it will reduce the chance of forum news posts getting flamed. :devious:

Right now, I just want to get the second part of the Admin CP interface finished.

Last edited by lierduh; 17 May 2004 at 14:46.
Reply With Quote
  #11  
Old 17 May 2004, 14:31
Imhotep Imhotep is offline
 
Join Date: Aug 2002
Angry

I have something to add to this discussion... something I never thought about until someone pointed it out. I have had this hack installed for at least a week and have never been able to get my posts out to Usenet. I just checked with my host and, sure enough, they have outgoing port 119 blocked! :ermm: To make matters worse, they refuse to open it up for my domain.

So, if anyone here is having problems with their posts not showing up, first thing I would do is check to see if your host is blocking outgoing port 119.

I'm screwed unless someone wants to code POP3 to NNTP or something to that effect. :ermm:

this sucks...

To those people who have this thing working, what hosts are you using? Mine is Lunarpages.
Reply With Quote
  #12  
Old 17 May 2004, 14:41
lierduh lierduh is offline
 
Join Date: Jan 2003
Originally Posted by Imhotep
I'm screwed unless someone wants to code POP3 to NNTP or something to that effect. :ermm:
That won't help your situation, your web server needs to talk to a NNTP server on port 119 to send the news to it. pop3 to nntp is used to post news by email instead of vB.

If you can retrieve news but not post, that means the port is open. Does the news server accepts posts? or does the server accepts posts from your web server's IP range?

If you can ssh to your web server, just try to use one of the Unix news readers from the shell. eg. tin. You can even use lynx to read news. Check Google, I can't remember.
Reply With Quote
  #13  
Old 17 May 2004, 14:48
Imhotep Imhotep is offline
 
Join Date: Aug 2002
If you can retrieve news but not post, that means the port is open.
Open for incoming only! The server is firewalled and port 119 outgoing is blocked! From what the support staff has told me, there is no way in hell I am getting anything out 119... ever. This is their reply.

Unfortunately, we will not open port 119. Usenet has had many longstanding
abuse issues, and opening port 119 would open it for anyone on the server,
which could cause many problems. I am sorry we will not be able to accomodate
you.
Reply With Quote
  #14  
Old 17 May 2004, 14:49
allan grossman allan grossman is offline
 
Join Date: Apr 2003
Some news providers will also let you run NNTP on other ports - like port 80. I'd contact my news provider.

At work the NNTP *protocol* is blocked
Reply With Quote
  #15  
Old 17 May 2004, 15:22
Imhotep Imhotep is offline
 
Join Date: Aug 2002
Originally Posted by allan grossman
Some news providers will also let you run NNTP on other ports - like port 80. I'd contact my news provider.

At work the NNTP *protocol* is blocked

Good idea, Allan... I am going to look into it.

thanks!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


New To Site? Need Help?

All times are GMT. The time now is 10:11.

Layout Options | Width: Wide Color: