Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases

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

Version: 3.0.5 Rating:
Released: 05-14-2004 Last Update: 02-27-2005 Installs: 186
DB Changes
 
No support by the author.

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:

https://vborg.vbsupport.ru/showthrea...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.

Show Your Support

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

Comments
  #752  
Old 01-23-2005, 09:01 PM
cyc cyc is offline
 
Join Date: Nov 2002
Posts: 48
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi

I have noticed if we get the error "Could not connect to NNTP-server" the script still tries to post to the newsgroup. Would it be possible to edit the script so it doesnt try to post if it doesnt get a successful connection to the news server?

cheers
Reply With Quote
  #753  
Old 01-24-2005, 03:46 PM
Izze_de Izze_de is offline
 
Join Date: Jan 2005
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hi,

i have the problem that i set up one newsgroup in one forum for testing.

it works fine now it dont stop importing the news.
first i set the newgroup to inactive.
then i deleted the group.
then i delted the cronjob in crontab.

nothing works it is still importing like hell.
and it has still the same time. this time is hours ago.
looks like a nevernding poll of the gateway.php because the time didnt change. it is still the time when i started this the first time.

what can i do to stop this ?

thx

EDIT

all right, it seems that i found how to stop it.

i restarted apache2 webserver and now it stopped.

strange... :ermm:
Reply With Quote
  #754  
Old 01-24-2005, 06:05 PM
Izze_de Izze_de is offline
 
Join Date: Jan 2005
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by journey
I have the script up and running on a new vB3.03 install. It seems as though when I d/l posts/threads (from usenet) that my overall post/thread count statistics increment at a 2:1 ratio (the main forums view stats to the right of the individual forums seem normal though). ie, if I were to have downloaded 10k posts my overall post stats would read 20k. Why would posts / threads be double counted in the overall stats (but not on the individual stats)?

This happened both when I initially downloaded threads as well as everytime I d/l additonal posts when the cron job runs.

oh yeah, and non-usenet forums that are strictly local do correctly update the overall and forum specific post/thread count at a 1:1 ratio.

irate:
exactly same problem for me.
all newsgroups are counted double.
normal forum threads just once.

and this is a clear, just one testpost, user- and hackfree (except this one) forum.
brand new installed.
Reply With Quote
  #755  
Old 01-25-2005, 08:42 AM
Marv Marv is offline
 
Join Date: Jun 2002
Location: Germany
Posts: 372
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there another way to exclude the usenet-posts from getnew instead of changing the getnew-param to
PHP Code:
/search.php?do=getnew&exclude=120,121,122,123,124,125,126,127,128,129,130,131,132,133 
? We were informed by some users that they?ve encountered errorscausetheir browsers can?t handle the long version where everysingleforum-id is listed :ermm:

We import about 50 newsgroups in our forums and I would like tohavethem excluded like
PHP Code:
/search.php?do=getnew&exclude=120-140 
but the string"...&exclude=120-140" won?t work. Anyone who couldshow me a quick?ndirty workaround ?

Any help appreciated.
Reply With Quote
  #756  
Old 01-26-2005, 09:07 PM
ART's Avatar
ART ART is offline
 
Join Date: Feb 2002
Location: Opole, Poland
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've been using the Usenet gateway on my vb2 forums - last sunday I did an update to vb306 at last. now i wanted to update the gateway hack too - and now I have a question - can I use this hack on existing usenet-forums within my site? Will the new hack recognize the posts and threads that are already stored on my usenet-forums and won't try to resend it to usenet groups?
Reply With Quote
  #757  
Old 01-27-2005, 02:06 PM
Bro_Joey_Gowdy's Avatar
Bro_Joey_Gowdy Bro_Joey_Gowdy is offline
 
Join Date: May 2002
Location: Hickory Flat MS 38633
Posts: 364
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I was curious as to how many different usenet newsgroup providers there were and how much they cost, so, Ive started a thread in the lounge entitled :

"What "Usenet" newsgroup provider do you use ?"

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

It would have been nice to have seen this question / link in the F.A.Q. post of this thread.
Reply With Quote
  #758  
Old 01-29-2005, 11:38 AM
lierduh lierduh is offline
 
Join Date: Jan 2003
Location: Sydney, Australia
Posts: 459
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ART
I've been using the Usenet gateway on my vb2 forums - last sunday I did an update to vb306 at last. now i wanted to update the gateway hack too - and now I have a question - can I use this hack on existing usenet-forums within my site? Will the new hack recognize the posts and threads that are already stored on my usenet-forums and won't try to resend it to usenet groups?
You should be able to upgrade from v2 version automatically by opening up the two control panel pages once.

No the posts already exported will not be exported again.
Reply With Quote
  #759  
Old 01-29-2005, 11:41 AM
lierduh lierduh is offline
 
Join Date: Jan 2003
Location: Sydney, Australia
Posts: 459
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Bro_Joey_Gowdy
I was curious as to how many different usenet newsgroup providers there were and how much they cost, so, Ive started a thread in the lounge entitled :

"What "Usenet" newsgroup provider do you use ?"

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

It would have been nice to have seen this question / link in the F.A.Q. post of this thread.
Will include the link in the FAQ post. Perhaps you need to make it more clear about the usage of newsgroup provider, ie. using it with a forum gateway and link back to this thread. So that people know it is not just for private access.
Reply With Quote
  #760  
Old 01-29-2005, 11:51 AM
lierduh lierduh is offline
 
Join Date: Jan 2003
Location: Sydney, Australia
Posts: 459
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If you have many newsgroup forums. You can put all your local forums under one main forum. Then you can use the main forum id in the URL just as we have done for the NNTP forums.

/search.php?do=getnew&forumid=1
(1 is the main forum id for all your local forums)

Quote:
Originally Posted by Marv
Is there another way to exclude the usenet-posts from getnew instead of changing the getnew-param to
PHP Code:
/search.php?do=getnew&exclude=120,121,122,123,124,125,126,127,128,129,130,131,132,133 
? We were informed by some users that they?ve encountered errorscausetheir browsers can?t handle the long version where everysingleforum-id is listed :ermm:

We import about 50 newsgroups in our forums and I would like tohavethem excluded like
PHP Code:
/search.php?do=getnew&exclude=120-140 
but the string"...&exclude=120-140" won?t work. Anyone who couldshow me a quick?ndirty workaround ?

Any help appreciated.
Reply With Quote
  #761  
Old 02-05-2005, 08:40 AM
infiniterb infiniterb is offline
 
Join Date: Apr 2003
Posts: 25
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

lierduh,

I'm still having my issue that I posted above. I can get posts to show up on my forums, and I can successfully post. I am using the Scheduled Tasks in vb and it works fine. However, all is working fine for only the first forum in the list. I'm currently using the following groups in this order:

24hoursupport.helpdesk
alt.privacy.spyware
microsoft.public.security
microsoft.public.windows.inetexplorer.ie6.browser
microsoft.public.windowsxp.basics
microsoft.public.windowsxp.general
microsoft.public.windowsxp.help_and_support
microsoft.public.windowsxp.security_admin

All groups are enabled, and are using a personal newshosting.com account I have set up with posting access. When gateway.php runs via the scheduled tasks, it hits the first group on the list, and updates it with the new posts from the NG. I have gateway.php set to hit the groups listed above every 15 min (I've played with different times, and nothing seems to work).

Any idea why only the first group in my list will update? I've even set the first group to disabled, which allows the 2nd group to update just fine and allow posting, however the 3rd group on down are not updated. It'd be a real pain to have to enable/disable groups manually.
Reply With Quote
Reply

Thread Tools

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 01:54 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.05094 seconds
  • Memory Usage 2,337KB
  • 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
  • (4)bbcode_php
  • (4)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
  • (3)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