Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
NNTP Gateway for Usenet ( Newsgroups ), Mailing Lists Details »»
NNTP Gateway for Usenet ( Newsgroups ), Mailing Lists
Version: 3.5.0Alpha, by lierduh lierduh is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Version: 3.5.0 Rating:
Released: 07-20-2005 Last Update: Never Installs: 271
DB Changes
Additional Files Is in Beta Stage  
No support by the author.

The latest version: V3.5.0Alpha 1 (21 Jul 2005)

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 was originally coded by Gilby for vB2. I modified the hack to work with vB3 and have been maintaining and improving the hack. I have now done the modification for this to work with vB3.5.

The very original hack by Gilby can be found here:

https://vborg.vbsupport.ru/showthrea...7&page=1&pp=15

The vB3 version can be found here:

https://vborg.vbsupport.ru/showthread.php?t=65152

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.
  • 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
  • Traditional "> " lead posting interface.

What do you need and do not need?

You do not need to edit vB php files.
No need to manually 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.

It is not a must to click "INSTALL" for this hack if you use it, I do try better answering the questions from people who do.

Support

Please post your support questions to this thread. Please check the FAQ in the second post within this thread first. It may be surprising, but it is possible your question is answered in the adminCP NNTP settings.

Please always provide more details about your problem. Examples and debug messages will certainly help. Well, if you don't even try to have some effort to compose your question, the answer you get may also not include much effort.

================== UPDATES ======================
Jul 21 2005 (release version 3.5.0 Alpha 1)

AdminCP xml file is written by Kadence.
  • Ported to work with vB3.5.
  • Existing bug fixes.
  • Debug message can be sent by email or logged in vB Tast Scheduler.
  • Known problem: image attachment thumb nail creation still needs work.
  • Needs to be done: Documentation.

Quick installation instruction:
1) Upload files to their correct directory
2) Enter AdminCP, click on NNTP Settings once to install/upgrade. Change settings to your like.
3) Click on NNTP Groups once to install/upgrade.
3a) For new install. Run once
http://www.yourdomain.com/setlastmsg.php

Delete this file afterwards.
If you are upgrading from an older version. There is no need to upload this file. Actually this file should not be there except brand new install.

4)
Manually run in debug mode: http://forums.yourdomain.com/gateway.php?debug=1

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #722  
Old 01-26-2012, 04:01 PM
kgroneman's Avatar
kgroneman kgroneman is offline
 
Join Date: Aug 2007
Posts: 27
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

We've got it working very nicely, but have had to modify the code a bit to get it working right. If anyone wants it, I'll send you the files I have. Currently running on 4.1.9 PL1 without problems at http://forums.novell.com and http://forums.opensuse.org (nntp servers: forums.novell.com and forums.opensuse.org) Email me at kgronemanREMOVE@REMOVEnovell.com (sentient beings will know what to take out of that email address to make it work) We're still playing trying to get the NNTP cancel command to work, but we'll figure it out. Cancel was working but with one of the recent forum upgrades, it stopped so we'll have to find out what changed.
Reply With Quote
  #723  
Old 02-01-2012, 11:38 AM
TMM-TT's Avatar
TMM-TT TMM-TT is offline
 
Join Date: Jun 2005
Location: Sweden
Posts: 212
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Rik Brown View Post
After upgrading from vb 4.1.6 to 4.1.7, I got the following error:

PHP Fatal error: Call to undefined function build_post_index() in /home/www/html/subs/forums/includes/functions_nntp.php on line 623

What I found is that in the forum's /include directory there is a file named functions_databuild.php that holds the build_post_index function. I see in the 4.1.6 code that the build_post_index function has all the code between the initiation of the function and the end of the function commented out. In 4.1.7, the function has been totally removed from the functions_databuild.php file.

Since the mod worked fine with vb 4.1.6, this would indicate that the function wasn't being utilized by this mod at all. So I commented out the call to the build_post_index function from within functions_nntp.php. And, as far as I can tell, that gets the mod back up and running again with vb 4.1.7.
I'd rather patch that one, for "compatibility":

PHP Code:
        // Index post for searching
        
if (function_exists('build_post_index')) build_post_index($postid$foruminfo); 
Reply With Quote
  #724  
Old 04-05-2012, 04:17 PM
toibs toibs is offline
 
Join Date: Nov 2001
Location: Birmingham, UK
Posts: 55
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Strange,
For some reason cant seem to re-install this on 3.8.5 - i know ive had this working on this version before...

Anyhow, getting the following :

Code:
Invalid SQL:

			INSERT INTO nntp_groups
			(newsgroup, forum, prefix, lastmsg, server, username, password, sender, checkuser, enabled)
			VALUES
			('ukpinball', 4, '[ukpinball]',
			0, 'text1', 'text2',
			'pass1', '', 0, 1);

MySQL Error   : Unknown column 'checkuser' in 'field list'
Error Number  : 1054
Request Date  : Thursday, April 5th 2012 @ 05:42:03 PM
Error Date    : Thursday, April 5th 2012 @ 05:42:03 PM
Script        : http://www.name.com/community/admincp/nntp_groups.php?do=insert
Referrer      : http://www.name.com/community/admincp/nntp_groups.php?do=add
IP Address    : 82.69.165.76
Username      : Paul
Classname     : vB_Database
MySQL Version : 5.1.60-rel13.1
Erm ... Help?!?!!

Cheers
Paul
Reply With Quote
  #725  
Old 05-22-2012, 02:23 PM
Rik Brown's Avatar
Rik Brown Rik Brown is offline
 
Join Date: Nov 2005
Location: St. Louis, Missouri, USA
Posts: 132
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Planning to change Usenet providers. Any recommendation for a good/inexpensive provider that works well with this mod?

Thanks. -- Rik
Reply With Quote
  #726  
Old 05-23-2012, 07:18 AM
TMM-TT's Avatar
TMM-TT TMM-TT is offline
 
Join Date: Jun 2005
Location: Sweden
Posts: 212
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Rik Brown View Post
Planning to change Usenet providers. Any recommendation for a good/inexpensive provider that works well with this mod?

Thanks. -- Rik
All providers theoretically works, but many of them only allows one user per account. The problem is to find which provider that allows multiple users to send posts via their services.

news.tornevall.net is unfortunately down for the moment (I'm working on it) - that service allowed this.
Reply With Quote
  #727  
Old 06-26-2012, 10:49 AM
donholloway donholloway is offline
 
Join Date: Oct 2007
Location: Bucks County, PA
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am using Usenetserver.com and they seem to be pretty responsive. They have a 24x7 online chat, also respond to email.

Thanks to everyone here for contributing, it took me much longer than I would have liked to get things working again. I had used the mod before, had mail servers working, but was struggling with Usenet.

My shared hosting provider had blocked port 119, found that they and my news provider were both supporting port 25, then spent many hours trying to find the port references in the php files. I found one in gateway.php, one in nntp.php, and setlastmsp.php. Still couldn't connect and was getting a timeout and it wouldn't connect.

Finally overnight, my ISP relented and unblocked port 119. I went to Tornevall's files that he posted on his webpage a couple of years ago (Tack för utstationering på engelska), made one edit to change for my host and it is now connecting and working.

I have that nice rush that you briefly have when you finally solve a tough one.

It was brief enough, the test post that downloaded was yEnc encoded and looks like gibberish. On to the next challenge. Thanks to everyone for supporting this. I will try to help improve the documentation a little bit.

Will try to share my experiences as I encounter the next challenge.
Reply With Quote
  #728  
Old 09-06-2012, 12:58 PM
toibs toibs is offline
 
Join Date: Nov 2001
Location: Birmingham, UK
Posts: 55
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Donholloway,

Any chance you could share your changes in total? I'm about to move back to vB and would love to be able to re-install this again with minimal pain

or that applies to anyone - would anyone be willing to share their files with all the edits and changes rather than go through it all again?

Cheers
Paul
Reply With Quote
  #729  
Old 09-15-2012, 10:00 PM
Rik Brown's Avatar
Rik Brown Rik Brown is offline
 
Join Date: Nov 2005
Location: St. Louis, Missouri, USA
Posts: 132
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Would love to hear feedback on whether the mod works with vb5 as soon as someone has tested it.
Reply With Quote
  #730  
Old 09-15-2012, 10:11 PM
toibs toibs is offline
 
Join Date: Nov 2001
Location: Birmingham, UK
Posts: 55
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I will as soon as they get their fingers out and make it easy to upgrade from 3.x to 5... Cant do it online... and i havent had chance to call them...
Reply With Quote
Благодарность от:
mpascal
  #731  
Old 10-19-2012, 08:37 PM
tpearl5's Avatar
tpearl5 tpearl5 is offline
 
Join Date: Nov 2001
Location: PA
Posts: 1,014
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

FYI, Mine was getting an error when there was an apostrophe in the e-mail.

I added
PHP Code:
//remove apostrophe from email
$from_email preg_replace('/\'/'''$from_email); 
before

//Check if the sender is a user

which simply strips an apostrophe if present
Reply With Quote
Reply


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


All times are GMT. The time now is 07:56 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.12042 seconds
  • Memory Usage 2,333KB
  • Queries Executed 27 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_code
  • (2)bbcode_php
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (1)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete