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
  #32  
Old 07-17-2001, 11:45 AM
captnroger
Guest
 
Posts: n/a
Default

So what's the preferred news feed source for use with this hack?
Reply With Quote
  #33  
Old 07-17-2001, 12:54 PM
fastforward fastforward is offline
 
Join Date: Oct 2001
Location: NC, USA
Posts: 399
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by v0n
I'm still trying to work out solution to posts being loaded with threadid 0 and bodies not showing up under threads ( I know it's boring). By now I tried three perl versions on two machines with same effect.
Yet I know it worked, I had it running till last rc of vbb2.0. Then on some point it just stopped. Even if i do a fresh install of vbb 2.0.1 and install snapshots from my data the usenet posts still get inserted with thread = 0. There must be some method to this madness.
Is there any possiblity that this bug is caused not by perl version or DBI DBD modules but by database structure? Maybe my base vbb is missing something, some index or row? Is there any tool to compare structure with original vbb setup?
It's not the database structure. As you know the problem is that the mysql_insertid() function is not returning a threadid, postid or whatever id it asks for. The problem could be either in Perl, MySQL, or most likely, a combination of both due to a version mismatch.

The reason it seemed to suddenly 'stop' working is that previous versions of the script checked to see if the id was NULL and if it was, it would re-query the table to find it. This was only in place until we determined what the problem was with mysql_insertid. It added a lot of overhead and made the script almost unusable when the function wasn't working.

I have the latest version of MySQL, Perl 5.0053 and the latest version of the modules. This works.
Reply With Quote
  #34  
Old 07-17-2001, 04:00 PM
Shaman Shaman is offline
 
Join Date: Nov 2001
Location: Kingston, ON
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Mine was failing with:

---

Query failed:
INSERT LOW_PRIORITY INTO post (title,allowsmilie,threadid,dateline,nntpdateline, pagetext,visible,msgid,ord,username,userid,nntpfro m,ipaddress,isusenetpost) VALUES ('wanted',1,,995388228,945544816,'Need somebody to clean apartment.\n\ncgardner@home.com\n','1','<Q7R64.138 66$TT4.520532@news1.rdc2.on.home.com>','0','C. Gardner',0,'&quot;C. Gardner&quot; &lt;cgardner@nospam.home.com&gt;',0,1)

DBD::mysql::db do failed: You have an error in your SQL syntax near '995388228,945544816,'Need somebody to clean apartment.\n\ncgardner@home.com\n','' at line 1 [for statement ``SELECT a.nntpposter, a.forum, a.msgid, a.dtm, a.subject, a.poster, a.email, a.body, a.ord, a.threadid, a.postid FROM usenet_article AS a LEFT OUTER JOIN post AS b on (a.msgid=b.msgid) WHERE a.forum = 26 AND b.msgid is null AND (refs = '' OR refs is NULL OR refs = '(none)') AND LEFT(subject,3) <> 'Re:' ORDER BY dtm'']) at ./newnews.pl line 594, <SOCK1> line 11165.

---

This was with DBI v1.16 and MySQL module v1.21xx

Note that threadid was nonexistant (which is the error in the query).

Now it is working perfectly with:

MySQL v 3.23.36
Perl 5.6.1
DBI v1.18
MySQL module from Msql-Mysqjl-Modules v1.2216
Reply With Quote
  #35  
Old 07-18-2001, 01:30 AM
v0n
Guest
 
Posts: n/a
Default

Quote:
Originally posted by fastforward
I have the latest version of MySQL, Perl 5.0053 and the latest version of the modules. This works.
Separate installation of 5.0053 saved the day. Strangely enough when modules were installed from MCPAN -shell it behaved just like before. Reinstalled again with all modules (especially DBD-mysql-2.0902) compiled "by hand" and posts have threadid again.
I'm still having a bit of a problem with indexing (maybe due to posts indexed before, I will see tomorrow with indexing on fresh posts).

fastforward - let God reward you with Mercedes Benz for this mod.
Reply With Quote
  #36  
Old 07-18-2001, 03:39 AM
fastforward fastforward is offline
 
Join Date: Oct 2001
Location: NC, USA
Posts: 399
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by v0n
fastforward - let God reward you with Mercedes Benz for this mod.
Yeasss... A 500SL convertible would do nicely thank you


That reminds me of a great signature I saw on usenet:
Quote:
There are a number of mechanical devices which increase sexual arousal, particularly in women. Chief among them is the Mercedes-Benz 380SL convertible.
Reply With Quote
  #37  
Old 07-18-2001, 06:07 AM
george_proost george_proost is offline
 
Join Date: Nov 2001
Posts: 69
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes, all is working.

Thanks all for your help. Yip, FF you deserve your Merc.
Now only my DNS woes!
Reply With Quote
  #38  
Old 07-18-2001, 06:09 AM
orca's Avatar
orca orca is offline
 
Join Date: Oct 2001
Location: Switzerland
Posts: 183
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by captnroger
So what's the preferred news feed source for use with this hack?
Well, that depends on you. Make a search on google or so for free newsserver.
Reply With Quote
  #39  
Old 07-18-2001, 12:53 PM
andy_C
Guest
 
Posts: n/a
Default

usenetserver.com seem good. Haven't had much experience with them, but they seem professional and cheap.
Reply With Quote
  #40  
Old 07-18-2001, 01:33 PM
orca's Avatar
orca orca is offline
 
Join Date: Oct 2001
Location: Switzerland
Posts: 183
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have missing posts in the thread (from Usenet). Is this also related to the version problem?
Reply With Quote
  #41  
Old 07-18-2001, 01:36 PM
andy_C
Guest
 
Posts: n/a
Default

I think that it is definitely possible. It's one of the errors that clears when you upgrade away from a free server.
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 04:06 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.04961 seconds
  • Memory Usage 2,308KB
  • 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
  • (7)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