Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Details »»

Version: , by fastforward fastforward is offline
Developer Last Online: Nov 2011 Show Printable Version Email this Page

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)
  • Download latest version for vB 2.2.4

Current version is 20020323 for vB2.xx

Current feature list:
  • correct threading of outgoing posts on usenet
  • full control panel integration
  • email notification to usenet replies
  • emoticon translation into vb icons
  • vb code removal or conversion prior to posting to usenet
  • hyperlinked urls in messages
  • color coded, italicized & indented quotes
  • vB style quote to usenet style quote conversions for outgoing posts
  • logging of outgoing posts
  • support for multiple news servers
  • support for seperate footers per forum in outgoing posts
  • multi-language (selectable) handling of quoted MIME printable headers (for all those funny foreign characters)
  • handling of mailing archive groups
  • flexible spam control and replacement variable options for incoming and outgoing messages
  • configurable auto-expire option
  • option for users to show email address in their outgoing usenet posts (may be different than normal one in profile
  • option to enable/disable user signatures on outgoing posts.
  • fully compatible with vB moderation functions
Still to be done:
  • canceling of messages after they have been sent to usenet via control message in accordance with RFC1036.
  • binary attachment support
  • email to PM gateway
Screeshots:
Main Options
More Options
Configuration of Newsgroups
Add New Newsgroups
Spam Control
What an imported usenet article looks like in vB

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.


Links to required Perl Modules

Show Your Support

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

Comments
  #282  
Old 09-18-2001, 07:56 PM
AJR's Avatar
AJR AJR is offline
 
Join Date: Jan 2002
Location: Sacramento, CA
Posts: 55
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The problem I have above is with the 'TRUNCATE' MySQL command. If I try and run the command 'TRUNCATE TABLE usenet_article_loader' it comes back with a MySQL error. Is this a valid command for MySQL? If so, what version of MySQL supports it? I've been to the MySQL manual website and from what I understand, TRUNCATE basically drops and re-creates a table wiping out all data in that table but keeping the table structure. It's supposed to be more efficient than deleting each record individually.

My question is since the 'TRUNCATE TABLE usenet_article_loader' doesn't work on my server(s) that I've tested it on, will the 'DELETE FROM usenet_article_loader' do the same thing? Can I change the queries in the newnews.pl file from TRUNCATE TABLE' to 'DELETE FROM' ??

Right now what I'm doing is I remmed out the 'TRUNCATE TABLE' command from the newnews.pl file so it doesn't error out when running from the telnet command. After each group of messages is received (500 at a time), I'm going into phpMyAdmin and Emptying the usenet_article_loader table, then running the next batch of 500.

Also one other question... when the newnews.pl file gets run, I have set it to pull articles with less than 100 lines for right now. How long should it be taking to pull 500 messages? It seems REALLY slow (15 seconds/article). I use mammothnews.net and in my Agent Newsreader, it pulls 1500 article headers in about 20 seconds! So I know it's not the mammoth server. It did run a lot faster on Friday when I first got the TRUNCATE error (2 seconds/article). I have 11,000 articles to pull and it will take a really long time to get my news up to date!

Any help is appreciated...I would like to get this hack working completely and running on my site.
Reply With Quote
  #283  
Old 09-18-2001, 08:49 PM
fastforward fastforward is offline
 
Join Date: Oct 2001
Location: NC, USA
Posts: 399
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You can replace TRUNCATE with DELETE. There won't be any problems (except slight speed impact).

As for the speed of articles being pulled; you should be getting between 1 and 3 articles per second. If you are sure it's not your news server, then it's probably something to do with the combinations of version of Perl and the modules. Not much you can do if you don't have full control over which versions you can install.
Reply With Quote
  #284  
Old 09-19-2001, 07:19 AM
KimG KimG is offline
 
Join Date: Feb 2002
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi,
I have just installed this great hack; after waiting many months for my host to switch me to my own server, and then install the modules!

Seems to work fine. I just have a couple of questions:

1) Spam control. Is it possible to only retrieve messages if they contain a certain word? How would I do this?

2) I have noticed that dbforums and other sites running this hack have the section of the vbulletin home page layout differently to other sections - ie. no moderators and differnt styles. How do you do this. Please could you just point me in the right direction!

Great hack - you should have charged

Kim
Reply With Quote
  #285  
Old 09-19-2001, 07:26 AM
AJR's Avatar
AJR AJR is offline
 
Join Date: Jan 2002
Location: Sacramento, CA
Posts: 55
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

KimG... I'm working on changing the layout for my usenet group forums to be different than the normal forums. You have to add a new Style and Template set (I called them 'usenet'). Then change the style to use the 'usenet' templates. Then modify the forums to use the 'usenet' style. Hope this helps!
Reply With Quote
  #286  
Old 09-19-2001, 10:27 AM
KimG KimG is offline
 
Join Date: Feb 2002
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by AJR
KimG... I'm working on changing the layout for my usenet group forums to be different than the normal forums. You have to add a new Style and Template set (I called them 'usenet'). Then change the style to use the 'usenet' templates. Then modify the forums to use the 'usenet' style. Hope this helps!
Thanks - would that alter the way that the newsgroups are displayed on the main forums page though. I just want a section at the bottom of my forums homepage (index.php) which list the newsgroups, maybe without the moderator columns etc.
Reply With Quote
  #287  
Old 09-19-2001, 11:01 AM
bitbender's Avatar
bitbender bitbender is offline
 
Join Date: Jan 2002
Location: Sorta near Dallas, Texas
Posts: 166
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by bitbender
I have some questions:
  1. The expiration routines. How do they work? Under what criteria do they expire threads ?
  2. Should usenet posts be threaded into forums of the same name for easy segmentation? (like COMP.OS.LINUX.SETUP)
  3. If I start a thread in one of the segregated usenet groups, will it thread it out to the named usenet group for reply ??

Thanks!

???
Reply With Quote
  #288  
Old 09-19-2001, 01:43 PM
fastforward fastforward is offline
 
Join Date: Oct 2001
Location: NC, USA
Posts: 399
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by bitbender

The expiration routines. How do they work? Under what criteria do they expire threads ?

Should usenet posts be threaded into forums of the same name for easy segmentation? (like COMP.OS.LINUX.SETUP)

If I start a thread in one of the segregated usenet groups, will it thread it out to the named usenet group for reply ??
The expire is done on 'number of days old', configurable via control panel.

You don't have to name the forum the same as the newsgroup. The mapping is done via the control panel. You can assign any forum to contain usenet posts.
Reply With Quote
  #289  
Old 09-19-2001, 01:44 PM
fastforward fastforward is offline
 
Join Date: Oct 2001
Location: NC, USA
Posts: 399
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by KimG
1) Spam control. Is it possible to only retrieve messages if they contain a certain word? How would I do this?
No, not possible and there are no plans to add it.
Reply With Quote
  #290  
Old 09-19-2001, 02:18 PM
fastforward fastforward is offline
 
Join Date: Oct 2001
Location: NC, USA
Posts: 399
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by fastforward

No, not possible and there are no plans to add it.
Actually, you can do it. Just create a regular expression that rejects everything except the ones you want. You'll need to read up on regular expressions to get it right.
Reply With Quote
  #291  
Old 09-19-2001, 08:22 PM
Lee Herron
Guest
 
Posts: n/a
Default

Is there a simple test to confirm if you have nntp installed on your box or not? Would prefer to know before I attempt to install one.

Man, a thread search would be nice on a thread this long uh?
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 11:21 AM.


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.06288 seconds
  • Memory Usage 2,320KB
  • 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
  • (10)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