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
  #132  
Old 08-04-2001, 01:23 PM
george_proost george_proost is offline
 
Join Date: Nov 2001
Posts: 69
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hmmm...

looking at the changes.... lottasa work I think.

I got some the basics working, will wait for the upgrade notes.
Soooo many hacks to apply..
Reply With Quote
  #133  
Old 08-04-2001, 01:37 PM
webhost's Avatar
webhost webhost is offline
 
Join Date: Oct 2001
Location: St. Louis
Posts: 577
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

A lot of work, the main thing they just about gutted showthread.php and moved everything to functions.php
Reply With Quote
  #134  
Old 08-04-2001, 01:45 PM
fastforward fastforward is offline
 
Join Date: Oct 2001
Location: NC, USA
Posts: 399
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by webhost
A lot of work, the main thing they just about gutted showthread.php and moved everything to functions.php
Don't panic. It will all be done within the next few days.

If you've already upgraded your board, the best bet is to install the hack with no code changes (exept control panel access) and set the usenet groups to read only temporarily.
Reply With Quote
  #135  
Old 08-04-2001, 11:40 PM
DarkReaper DarkReaper is offline
 
Join Date: Oct 2001
Posts: 429
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Problem with 2.0.3:

I restored everything from a backup, and got most of it installed ok, until I got to this:

Quote:
4) Allow access to nntp posting date from templates

showthread.php - line 348

OLD CODE
--------
NO CODE TO REPLACE. Add the following lines directly below the line that currently reads: ' $post[posttime]=vbdate($timeformat,$post[dateline]); '

NEW CODE
--------
// START USENET HACK
$post[nntppostdate]=vbdate($dateformat,$post[nntpdateline]);
$post[nntpposttime]=vbdate($timeformat,$post[nntpdateline]);
// END USENET HACK
I couldn't find the line that reads "$post[posttime]=vbdate($timeformat,$post[dateline]);"
Reply With Quote
  #136  
Old 08-05-2001, 07:33 AM
Stephan Whelan's Avatar
Stephan Whelan Stephan Whelan is offline
 
Join Date: Oct 2001
Posts: 53
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've been using the hack for ages now and it's been working fine.

Saying that (always a but in there somewhere) I recently upgraded to the latest version 20010721 and everything continued to work fine.

Today (after it working for a while) I went in to my database to check the usenet tables as I wanted to make sure it was all setup and optimised (as i've been upgraded since some of the early versions) and found that I was missing a couple of indexes which I added...apart from in usenet_ref table...

msgid and key are supposed to be a Primary Keys, yet I seem to have duplicates in there so cannot add it as a primary key. I'm unclear as to what the table actually does and how having duplicate entries in the msgid and key fields will affect the performance of the news pull script.

Any help here would be greatly appreciated.
Reply With Quote
  #137  
Old 08-05-2001, 07:48 AM
NgtCrwlr's Avatar
NgtCrwlr NgtCrwlr is offline
 
Join Date: Jan 2002
Location: Fort Myers, FL, USA
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

functions.php

Around line 80 find:

$post[postdate]=vbdate($dateformat,$post[dateline]);
$post[posttime]=vbdate($timeformat,$post[dateline]);

ADD:

$post[nntppostdate]=vbdate($dateformat,$post[nntpdateline]);
$post[nntpposttime]=vbdate($timeformat,$post[nntpdateline]);

Make sure you add the other functions.php usenet hacks also. If I remember correctly this is the only one that had to be moved

Last night I upgraded from vB 2.0.1 to 2.0.3 and managed to get usenet hack v20010714 (for vB 2.01) installed. I ran newnews.pl without problem, however, I did not test posting.

Tonight I'll tackle the latest usenet hack upgrade, with fingers crossed.

Good luck DarkReaper
Reply With Quote
  #138  
Old 08-05-2001, 09:19 AM
Pie'oh'pah
Guest
 
Posts: n/a
Default

regarding the SQL Error of mine... just forget it!

It was all my fault, since i routed the group to the wrong forum! D'oh....

Sorry 4 makin any trouble
Reply With Quote
  #139  
Old 08-05-2001, 12:14 PM
fastforward fastforward is offline
 
Join Date: Oct 2001
Location: NC, USA
Posts: 399
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Stephan Whelan
I've been using the hack for ages now and it's been working fine.

Saying that (always a but in there somewhere) I recently upgraded to the latest version 20010721 and everything continued to work fine.

Today (after it working for a while) I went in to my database to check the usenet tables as I wanted to make sure it was all setup and optimised (as i've been upgraded since some of the early versions) and found that I was missing a couple of indexes which I added...apart from in usenet_ref table...

msgid and key are supposed to be a Primary Keys, yet I seem to have duplicates in there so cannot add it as a primary key. I'm unclear as to what the table actually does and how having duplicate entries in the msgid and key fields will affect the performance of the news pull script.

Any help here would be greatly appreciated.
This is not good. It will definately hurt performance during news loads. It won't cause duplicates in the forums though as outer joins used prior to the load prevent this.
Run the following commands:
Code:
CREATE TABLE tmp_usenet_ref AS SELECT * FROM usenet_ref;
TRUNCATE TABLE usenet_ref;
ALTER TABLE usenet_ref add PRIMARY KEY (msgid,ref);
INSERT IGNORE INTO usenet_ref select * FROM tmp_usenet_ref;
DROP TABLE tmp_usenet_ref;
PS: The latest version is usenet_gateway_v20010729__201. It looks like I forgot to update the first post in this thread last time. Sorry.
Reply With Quote
  #140  
Old 08-05-2001, 01:14 PM
webhost's Avatar
webhost webhost is offline
 
Join Date: Oct 2001
Location: St. Louis
Posts: 577
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

got any idea what this is?

NNTPERROR: 421 No Next Article
ignoring text in character set `ISO-2022-JP'
at /home/realweb/newnews.pl line 306
Reply With Quote
  #141  
Old 08-05-2001, 11:55 PM
fastforward fastforward is offline
 
Join Date: Oct 2001
Location: NC, USA
Posts: 399
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by webhost
got any idea what this is?

NNTPERROR: 421 No Next Article
ignoring text in character set `ISO-2022-JP'
at /home/realweb/newnews.pl line 306
I can see we need an FAQ here

The first line is NOT an error. The second line is doing exactly what it's telling you. It's ignoring that particular character set because it's not what you have set in your control panel. It will still be processed by the rest of the script, but it won't have MIME conversion done on it.
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 06:33 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.05388 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
  • (1)bbcode_code
  • (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
  • (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