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
  #312  
Old 10-08-2001, 11:44 PM
YourHostSucks
Guest
 
Posts: n/a
Default

Ok it sems to not feel like working...

I get this

quote:
--------------------------------------------------------------------------------

Connecting to news.*****.***... Connected

Pulling alt.php... No new messages.

--------------------------------------------------------------------------------

It is not getting anything...... ;(

Any Ideas
Reply With Quote
  #313  
Old 10-11-2001, 01:25 AM
YourHostSucks
Guest
 
Posts: n/a
Default

*bump* Thanks....
Reply With Quote
  #314  
Old 10-11-2001, 01:30 AM
hacker
Guest
 
Posts: n/a
Default

Quote:
Originally posted by YourHostSucks
*bump* Thanks....
go to www.dyne.com/forums and look for kilobits. He helped me set it up and is very helpful. *nix and Cisco Guru. Say Hacker recommended him!
Reply With Quote
  #315  
Old 10-13-2001, 03:40 AM
Shaman Shaman is offline
 
Join Date: Nov 2001
Location: Kingston, ON
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Code:
telamon# diff /opt/apache/bin/newnews.pl newnews.pl
1c1
< #!/usr/local/bin/perl
---
> #!/usr/bin/perl
5c5
< # $Id: newnews.pl,v 20010820 2001-08-20 23:56:21-05 paul Exp $
---
> # $Id: newnews.pl,v 20010815 2001-08-15 19:15:23-05 paul Exp $
26,29c26,29
< my $db="netforum";                  # mysql database name
< my $db_host="xxx";               # mysql host
< my $db_username="xxx";                # mysql username
< my $db_password="xxx";                    # mysql password
---
> my $db="database_name";                 # mysql database name
> my $db_host="localhost";               # mysql host
> my $db_username="username";                # mysql username
> my $db_password="pasword";                    # mysql password
95c95
< # loop through newsgroup and do the business
---
> # loop through newsgroups and do the business
160d159
< db_execute("TRUNCATE TABLE usenet_article_loader");
162a162
> db_execute("TRUNCATE TABLE usenet_article_loader");
168a169,171
>
>
>
1029c1032
<                push(@article,"  > $q\n\n");
---
>                push(@article,"  > $q\n");
1033c1036
<       push(@article,"$fbody\n");
---
>       push(@article,"\n$fbody\n");
1107c1110
<       my $threads = db_fetch("SELECT threadid FROM thread WHERE forumid=$forum
id AND dateline < $purge".(!$config{auto_purge_reg}?" AND regpost = 0":""));
---
>       my $threads = db_fetch("SELECT threadid FROM thread WHERE forumid=$forum
id AND isusenetpost <> 0 AND dateline < $purge".(!$config{auto_purge_reg}?" AND
regpost = 0":""));
1114c1117
<             if($#post_batch > 500) {
---
>             if($#post_batch > 1000) {
Reply With Quote
  #316  
Old 10-16-2001, 12:32 AM
DarkReaper DarkReaper is offline
 
Join Date: Oct 2001
Posts: 429
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I just noticed I have a lot of orphan replies...how does a reply get "lost" and how can I prevent this from happening?
Reply With Quote
  #317  
Old 10-17-2001, 01:53 AM
fastforward fastforward is offline
 
Join Date: Oct 2001
Location: NC, USA
Posts: 399
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by DarkReaper
I just noticed I have a lot of orphan replies...how does a reply get "lost" and how can I prevent this from happening?
This happens when a post is pulled from the news server that is in reply to a post that either:

a) no longer exists on the news server
b) was rejected by the news server for spam or something
c) was rejected by your spam settings
d) was rejected by your message length settings
e) contained no body
f) some other unexplained reason
Reply With Quote
  #318  
Old 10-17-2001, 09:30 PM
DarkReaper DarkReaper is offline
 
Join Date: Oct 2001
Posts: 429
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

There's one other problem: It doesn't work with the "who's posted" feature. When I click on the reply count for a thread it says the thread starter has all the posts!
Reply With Quote
  #319  
Old 10-17-2001, 09:41 PM
fastforward fastforward is offline
 
Join Date: Oct 2001
Location: NC, USA
Posts: 399
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by DarkReaper
There's one other problem: It doesn't work with the "who's posted" feature. When I click on the reply count for a thread it says the thread starter has all the posts!
Does that feature work with any posts made by guests? The userid of all usenet posts are set to 0, ie. Guest.
Reply With Quote
  #320  
Old 10-17-2001, 09:42 PM
DarkReaper DarkReaper is offline
 
Join Date: Oct 2001
Posts: 429
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I guess that would make sense. I don't allow guest posting so I didn't know
Reply With Quote
  #321  
Old 10-18-2001, 11:28 PM
DarkReaper DarkReaper is offline
 
Join Date: Oct 2001
Posts: 429
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I remember something about allowing users to have a different Usenet signature, but can't find this in the install files...
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:10 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.04955 seconds
  • Memory Usage 2,313KB
  • 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
  • (1)bbcode_code
  • (3)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
  • (8)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