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
  #502  
Old 10-22-2002, 04:15 AM
JoshFink JoshFink is offline
 
Join Date: Nov 2001
Posts: 207
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I did try that as well and got another error (what a pain). I'm sure it's just server config, so I'm trying to work around it.

Here is the error I got

Quote:
Can't locate MIME/Base64.pm in @INC (@INC contains: /usr/local/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/5.6.0/i386-linux /usr/lib/perl5/5.6.0 /usr/lib/perl5/site_perl/5.6.0/i386-linux /usr/lib/perl5/site_perl/5.6.0 /usr/lib/perl5/site_perl .) at /usr/local/lib/perl5/site_perl/5.8.0/MIME/Words.pm line 85.
BEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/5.8.0/MIME/Words.pm line 85.
Compilation failed in require at /usr/local/lib/perl5/site_perl/5.8.0/MIME/WordDecoder.pm line 77.
BEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/5.8.0/MIME/WordDecoder.pm line 77.
Compilation failed in require at ./newnews.pl line 45.
BEGIN failed--compilation aborted at ./newnews.pl line 45.
Thanks

Josh
Reply With Quote
  #503  
Old 10-23-2002, 02:11 AM
Cyburbia's Avatar
Cyburbia Cyburbia is offline
 
Join Date: Feb 2002
Location: Ithaca, New York USA
Posts: 159
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Outstanding script! Thanks for all your hard work.

I have to report an error, though. I have all the perl modules, and the MySQL database was properly reconfigured using the provided SQL queries, but some error prevents downloaded messages from being inserted into my database.



bash-2.05$ perl newnews.pl


Connecting to news.freenet.de:119... Connected

Pulling alt.planning.urban...
-> fetching articles 68845 to 68895...
-> fetching 68846... OK
-> fetching 68847... OK
-> fetching 68848... OK
(snip)
-> fetching 68893... OK
-> fetching 68894... OK
-> fetching 68895... OK
-> processing article batch...
-> requested 50 messages... 0 not available or rejected.
-> inserting new threads from alt.planning.urban

Query failed:
UPDATE forum SET replycount=replycount+1, threadcount=threadcount+1 ,lastpost=1026222245,lastposter='Fallwater',lastac tivethread='seeking list of founding dates of m...' WHERE forumid IN ()

DBD::mysql::db do failed: You have an error in your SQL syntax near ')' at line 1 at newnews.pl line 748, <SOCK1> line 3818.


Thanks!
Reply With Quote
  #504  
Old 10-23-2002, 10:09 AM
jOOPeON jOOPeON is offline
 
Join Date: Mar 2002
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Cyburbia
Outstanding script! Thanks for all your hard work.

Query failed:
UPDATE forum SET replycount=replycount+1, threadcount=threadcount+1 ,lastpost=1026222245,lastposter='Fallwater',lastac tivethread='seeking list of founding dates of m...' WHERE forumid IN ()

DBD::mysql::db do failed: You have an error in your SQL syntax near ')' at line 1 at newnews.pl line 748, <SOCK1> line 3818.
[/font]

Thanks!
Verify your newsgroup and forum lists in admin. If newsgroup exists and right forum is missing/deleted, that hapens...

-jOOP
Reply With Quote
  #505  
Old 10-23-2002, 12:17 PM
Cyburbia's Avatar
Cyburbia Cyburbia is offline
 
Join Date: Feb 2002
Location: Ithaca, New York USA
Posts: 159
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Okay ... the sub-forum exists.

http://www.cyburbia.org/forums/forum...?s=&forumid=38

The newsgroup definitely exists, and the hack is set up so newsgroup messages will be dumped into the existing subforum.



Let's re-run, judt for kicks.


-> fetching 68517... OK
-> fetching 68518... OK
-> fetching 68519... OK
-> fetching 68520... OK
-> processing article batch...
-> requested 100 messages... 0 not available or rejected.
-> inserting new threads from alt.planning.urban
-> inserted 14 threads
-> finding replies...
-> loading 33 replies...

Clean disconnection from news.freenet.de:119

Expiring usenet articles older than 120 days...
-> alt.planning.urban... OK
Expire completed.
bash-2.05$


Okay ... strange. It says that there's posts in the group.

http://www.cyburbia.org/forums/forum...?s=&forumid=33

But go to the group, and there's nothing.

http://www.cyburbia.org/forums/forum...?s=&forumid=38

Strangely, you can search for text from Usenet threads, and they're there. The threads just aren't visible from the sub-forum page.
Reply With Quote
  #506  
Old 10-23-2002, 02:55 PM
jOOPeON jOOPeON is offline
 
Join Date: Mar 2002
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Cyburbia
Okay ... the sub-forum exists.


Okay ... strange. It says that there's posts in the group.

http://www.cyburbia.org/forums/forum...?s=&forumid=33

But go to the group, and there's nothing.

http://www.cyburbia.org/forums/forum...?s=&forumid=38

Strangely, you can search for text from Usenet threads, and they're there. The threads just aren't visible from the sub-forum page.
You have been sucking old messages first. If you change to "show 60 days" in your forum, you can see there is a lot of messages. Just keep on sucking or increase the batch number (or go to group with newsreader, check message id from "not so old" message and update that to last message numger in groups.

Check the dates below....

-jOOP

<clipeti clip >
Tony Champion Goran Juki? 0 2 2002-09-11 7:53 PM
by Goran Juki?

East Side (Seattle)...WATCH OUT!! makemyday 17 3 2002-09-11 7:19 PM
by Bobb

A moral dimension? ( 1 2 3 ) Matthew Talbot 68 1 2002-09-11 5:26 PM
by Tom Loach

WENDELL COX IS NOT MEDIOCRE -- HE'S JUST AVERAGE - I ( 1 2 ) Cabalmaster 36 0 2002-09-10 5:09 AM
by Michael G. Koerner

Robert Cote is Not Real...or Is He Mark Gibson? ( 1 2 3 ) Cabalmaster 57 0 2002-09-10 3:09 AM
by Mark Gibson

Westside LRT Congrats! Baxter 0 0 2002-09-09 8:43 PM
by Baxter

USC Administers Black Eye to Dr. Peter Gordon, Outspoken Anti-Rail Academic Cabalmaster 0 0 2002-09-09 6:49 PM
by Cabalmaster

wheel clamping signs Quoi 0 0 2002-09-06 9:15 PM
by Quoi

TransitCabal Anthem, Verses 1, 2 and 3 Cabalmaster 1 0 2002-09-06 3:39 PM
by Robert Cot?

If you built it, Will they come? William Placid 20 0 2002-09-06 1:22 AM
by Baxter

Watch it!!! Ciccio 0 0 2002-09-02 9:32 PM
by Ciccio
Reply With Quote
  #507  
Old 10-23-2002, 04:06 PM
Cyburbia's Avatar
Cyburbia Cyburbia is offline
 
Join Date: Feb 2002
Location: Ithaca, New York USA
Posts: 159
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

D'oh! That did it! Thanks!

And ... thanks again for a fantastic hack.
Reply With Quote
  #508  
Old 10-23-2002, 09:41 PM
jOOPeON jOOPeON is offline
 
Join Date: Mar 2002
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Help please!

My users notced, that my board doesn't thread messages correctly to usenet server! I'm using Vb 2.7 and all code changes are made.

If I look the html source from newreply, I can see the inreplyto value, but in database inreplyto fields are empty??

Could this be the reason? Everything used to be ok, but I had to reinstall everything during server change.

Any ideas?

-jOOP
Reply With Quote
  #509  
Old 10-23-2002, 09:44 PM
JoshFink JoshFink is offline
 
Join Date: Nov 2001
Posts: 207
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I did try that as well and got another error (what a pain). I'm sure it's just server config, so I'm trying to work around it.

Here is the error I got

Quote:
Can't locate MIME/Base64.pm in @INC (@INC contains: /usr/local/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/5.6.0/i386-linux /usr/lib/perl5/5.6.0 /usr/lib/perl5/site_perl/5.6.0/i386-linux /usr/lib/perl5/site_perl/5.6.0 /usr/lib/perl5/site_perl .) at /usr/local/lib/perl5/site_perl/5.8.0/MIME/Words.pm line 85.
BEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/5.8.0/MIME/Words.pm line 85.
Compilation failed in require at /usr/local/lib/perl5/site_perl/5.8.0/MIME/WordDecoder.pm line 77.
BEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/5.8.0/MIME/WordDecoder.pm line 77.
Compilation failed in require at ./newnews.pl line 45.
BEGIN failed--compilation aborted at ./newnews.pl line 45.
Thanks

Josh
Reply With Quote
  #510  
Old 10-23-2002, 10:20 PM
jOOPeON jOOPeON is offline
 
Join Date: Mar 2002
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by jOOPeON
Help please!

My users notced, that my board doesn't thread messages correctly to usenet server! I'm using Vb 2.7 and all code changes are made.

If I look the html source from newreply, I can see the inreplyto value, but in database inreplyto fields are empty??

Could this be the reason? Everything used to be ok, but I had to reinstall everything during server change.

Any ideas?

-jOOP
Found a bug!

When replying to the message WITHOUT preview, code gives a inreplyto value.
When using preview reply, value goes blank!

How we can fix this?

Thanks,

jOOP
Reply With Quote
  #511  
Old 10-24-2002, 01:30 AM
Cyburbia's Avatar
Cyburbia Cyburbia is offline
 
Join Date: Feb 2002
Location: Ithaca, New York USA
Posts: 159
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Although the templates need some fine-tuning, here's my implementation.

http://www.cyburbia.org/forums/forum...?s=&forumid=41

The newsgroups are still filling up ... the newnews.pl script puts a beating on my host, so I'm running it in nice mode.

Again, great hack.
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:06 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.09451 seconds
  • Memory Usage 2,327KB
  • 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
  • (1)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