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
  #422  
Old 12-27-2006, 02:36 AM
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

Quote:
Originally Posted by KW802 View Post
For the most part. The only problem I have yet is where if a new thread arrives with a subject of something like "RE: Whatever..." and "Whatever..." doesn't already exist then it seems like it keeps creating new "RE: Whatever..." threads with each import (as opposed to keeping them all together). I haven't looked at the code lately in an attempt to fix it.
Thanks for the feedback.

Regarding the "Re: " problem, I have that too. But I've been running a query against our forums after each mail exchange to remove the "Re: " in current vb thread titles before the next NNTP mail exchange. It seems to help somewhat in this respect, but not 100%.

If I get to understand PHP coding better, I'd like to alter the mod to remove the "Re: " part from all incoming titles as vb doesn't need them (and it looks better without them).

Thanks. -- Rik
Reply With Quote
  #423  
Old 12-28-2006, 06:18 PM
kjhkjh's Avatar
kjhkjh kjhkjh is offline
 
Join Date: Jul 2005
Posts: 77
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Rik Brown View Post
Donnacha:

I just upgraded to vb 3.6.4 and exported messages in debug mode. It showed the messages being exported to my newsgroup server. I also logged onto the newsgroup server with my newsgroup reader and confirmed that my messages were there and that nothing looked strange in the headers, etc. Hopefully, it was just a temporary glitch for you?

Regards. -- Rik
Have other people found this easy to install and get working with vb 3.6.4?

I think that I'm gonna try it now. Is it just the same file that I have to use as the 3.5 that is downloable from the top post?

Thanks.
Reply With Quote
  #424  
Old 12-29-2006, 10:09 AM
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

Quote:
Originally Posted by kjhkjh View Post
Have other people found this easy to install and get working with vb 3.6.4?

I think that I'm gonna try it now. Is it just the same file that I have to use as the 3.5 that is downloable from the top post?

Thanks.
It is easy to install. However, there are many mods that have been applied to this mod since the last release. You will likely want to go through the notes in this thread and apply most of the mods created by dkendall and a few others as well. It may well be that people here are operating many different versions of this mod.

As for vb 3.6.4, this mod basically works well for me but I only exchange Usenet newsgroups and do not utilize features for binary files or maillists. Others would have to give you feedback there.

Regards. -- Rik

ps: Its definitely worth the effort to get it going. We went from a few thousand messages to 450,000 online in one month.
Reply With Quote
  #425  
Old 01-02-2007, 02:00 PM
LPH2004 LPH2004 is offline
 
Join Date: Feb 2004
Posts: 47
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If I use vbulletin cron then the scheduled tasks stop but using the plesk interface to setup the job fails with errors from line 1-6 about files not existing. I can manually run the gateway.php file from the browser and there is an import.

Any thoughts on the matter?

Update: The error messages:

full/path/of//gateway.php: line 1:
?php: No such file or directory
full/path/of//gateway.php: line 2: :
command not found
full/path/of//gateway.php: line 3: P:
command not found
full/path/of//gateway.php: line 4:
Release: command not found
full/path/of//gateway.php: line 5:
*/: No such file or directory
full/path/of//gateway.php: line 6:
/********************************************: No such file or directory
full/path/of//gateway.php: line 7:
syntax error near unexpected token `Usenet/Newsgroup'
full/path/of//gateway.php: line 7: `
NNTP (Usenet/Newsgroup) Gateway 1.9'

Update In Case Others See This:

The first line comes from <?php ...
The other lines are from comments in the gateway.php script. But the script does not seem to run so there must be something that I set wrong in the plesk interface.
Reply With Quote
  #426  
Old 01-02-2007, 03:25 PM
woodp woodp is offline
 
Join Date: Feb 2004
Location: California, USA
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by LPH2004 View Post
full/path/of//gateway.php: line 1:
?php: No such file or directory
That sure doesn't look like a proper path ...

Shouldn't it be more like ./gateway.php assuming you dropped the scripts in your /forum/ subdirectory?
Reply With Quote
  #427  
Old 01-02-2007, 03:41 PM
LPH2004 LPH2004 is offline
 
Join Date: Feb 2004
Posts: 47
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The cronjob is definitely running every 15 minutes but with the errors and so the php file does not execute. I updated my message with the ideas that the comments in the gateway.php file are causing the error. I just removed those comments from the file and will see what the next run through says. This is what was entered into the plesk interace. Do I also need to tell it about php?

0,15,30,45 * * * * /full/path/gateway.php

Thanks for the help.

Update: OK. After removing the comments from the script ... these are the 'new' errors

full/path/of//gateway.php: line 1:
?php: No such file or directory
full/path/of//gateway.php: line 2: :
command not found
full/path/of//gateway.php: line 3:
syntax error near unexpected token `E_ALL'
full/path/of//gateway.php: line 3:
`error_reporting(E_ALL & ~E_NOTICE);'

So - the php being interpretted. Hmm. Google search time
Reply With Quote
  #428  
Old 01-02-2007, 03:48 PM
woodp woodp is offline
 
Join Date: Feb 2004
Location: California, USA
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by LPH2004 View Post
0,15,30,45 * * * * /full/path/gateway.php
Nope, there's no way a normal UNIX setup is going to place files at /full/path - Just ain't gonna happen.

Please provide the full path to your forums and the full path to your gateway.php script. If you can telnet, simply type 'pwd' from the forum subdirectory.

I'm guessing it's something like /home/{youruserid}/public_html/forum ...
Reply With Quote
  #429  
Old 01-02-2007, 04:20 PM
LPH2004 LPH2004 is offline
 
Join Date: Feb 2004
Posts: 47
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you. I figured out the correct line now. The php interpreter does need to be stated prior.

0,15,30,45 * * * * /full/path/to/php /full/path/gateway.php

The space between is important. Another way would be for the user to add the information into the gateway.php script. Something like

#!/usr/local/bin/php

as the first line.

Now, I am a happy camper :glasses:

Thank you for all of your help.

Oh - additional instructions in case someone else trips over this post...

If you need to find the path of your php interpreter then use the php info in the admincp.
Reply With Quote
  #430  
Old 01-04-2007, 03:41 PM
bashy bashy is offline
 
Join Date: Nov 2005
Posts: 2,544
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi

What do i need to have this up and running, Does it have to be used for posting, can it just be used for downloading the binaries?

I am a little baffled with regards to setup requiering email addresses as so on...

In the server setup side of it, what do i put in here "Newsgroup/Mailing list E-mail" please?

Can i use NTL's free server for this news.ntlworld.com?
Reply With Quote
  #431  
Old 01-05-2007, 08:04 PM
growler growler is offline
 
Join Date: Jan 2007
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm running 3.6.4,

What file do I add the two (construct_nav_option) lines from the installation instructions to? I've looked in a few files and don't see:

Edit ./admincp/index.php file

construct_nav_option($vbphrase['vbulletin_options'], 'options.php?null=0', '<br />');

-Thank you,
Growler
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 12:32 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.05566 seconds
  • Memory Usage 2,329KB
  • Queries Executed 25 (?)
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
  • (5)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
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (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_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
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete