Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases

Reply
 
Thread Tools
Details »»

Version: 1.00, by Gilby Gilby is offline
Developer Last Online: Apr 2013 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 02-19-2002 Last Update: Never Installs: 71
 
No support by the author.

This hack provides a gateway to any NNTP newsgroup such as those from Usenet and other newsgroup servers. Selected newsgroups are imported from your news server and post on the forum are sent out to the newsgroup. This hack was greatly inspired by fastforward's usenet gateway hack. This one is a complete rewrite of that hack written in PHP and works with vB 2.2.2.

Installation:
Installation is pretty simple. No modifications to the vB php files are needed and it simply consists of dropping in the files to your forums directory, running the SQL modifications, and modifying the newsgroup settings for your desired newsgroups. For the complete installation details, read the readme.txt file.

Here are some of the features:
  • Real cool vbcode to text conversion!
  • All posts are inserted, even if parent thread cannot be found for replies
  • Guests posts also get sent to the newsgroup.
  • Importing of attachments from the newsgroup
  • Poll info sent to newsgroup
  • Attachment link sent to newsgroup
  • Supports unlimited newsgroups and servers.
  • email notification of new replies, just like regular forum posts
  • Can import HTML messages and convert to limited vb code.

For control panel integration, please check out GameCrash's Graphical Interface addition.

What's not in it that was in fastforward's usenet gateway hack:
  • No control panel integration at the moment. (Available separately)
  • Does not support separate footers
  • Does not allow custom email address to be used via the users option
  • No spam control or string replacement support.
  • No purging or autoexpire.

There is still lots that I'd like to add to it, but this is competely functional for basic newsgroup gateway support. It is most likely not free of bugs. If you have questions, suggestions or annoyances, please post in this thread.

vb3 support
lierduh modified this to provide support for the beta versions of vb3. When the release candidates of vb3 come out, I plan to add support for vb3 and add other features to this hack. If you have suggestions for new features, let me know.

E-mail gateway support
New in this version, you can now gateway with an email list. This will fetch emails from a POP email account and send via php's mail function to the mailing list's email address. To set up the list, in the newsgroup field, enter in the email address to send outgoing posts to. In the server field, enter in the pop3 server, and in the username and password fields enter in, you guessed it, the username and password to your pop account. Note: the email gateway capabilities has not been fully tested, so it might not work with your POP server. Also, it does not work in combo with a news<->forum gateway in the same forum (you can use either kind though in differnet forums within your forums).

Show Your Support

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

Comments
  #542  
Old 04-25-2003, 10:28 AM
Sanjiyan's Avatar
Sanjiyan Sanjiyan is offline
 
Join Date: Jan 2002
Posts: 133
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

works with both 2.2.9 and 2.3.0

works with both 2.2.9 and 2.3.0

I've been using this nntp hack since gilby originally made it, and its worked with every vbulletin since 2.2.3
Reply With Quote
  #543  
Old 04-25-2003, 10:30 AM
Sanjiyan's Avatar
Sanjiyan Sanjiyan is offline
 
Join Date: Jan 2002
Posts: 133
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
04-08-03 at 06:41 PM peterjun said this in Post #537
Is there a way to show the poster's email address in the forum post? Perhaps at the start of the message?

"From <email here>"

Thanks!

Also, how do I disable sends from the forum to the newsgroups?
The email one I dont know, but to stop your board from sending posts onto usenet, just set up the access masks to allow people to view the posts or threads, but not post/reply/create etc.
Reply With Quote
  #544  
Old 04-25-2003, 10:35 AM
Sanjiyan's Avatar
Sanjiyan Sanjiyan is offline
 
Join Date: Jan 2002
Posts: 133
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
03-26-03 at 08:22 PM JF1980 said this in Post #530
[B]Ok, I sort of have this working. Few questions:

1. Is there a way of making the reply address the same for any user (e.g. usenet@thrill-seekers.net) and then having a cron job checking this account every x mins and then importing any replies to threads into the newsgroup forum? Im sure someone must have done this already.
For the email you can try this, you need to edit a entry in the database, in the table: nntp_settings

The title is: Email address domain

Change the value: timelimit.yourserver.com
To what ever you need, I dont know if this works 100% but by the look of it, and what the description of it says, it should do.

As for the cron job, I do it a simple way and use MS Task scheduler, just point it to iexplorer.exe (or what ever browser) like this:

"C:\Program Files\Internet Explorer\iexplore.exe" http://theborg.cjb.net/borg/forums/gateway.php

The above is all one line, you can see if it works via wacking it in your RUN command line from the Start Menu (for us Windows users)

Quote:
3. How regularly can I have a cron job running gateway.php without making the server slow down to a halt and being thrown out by my host (powweb)? 5mins, 10mins? If you want to see the size of the newsgroups I will be using then take a look at http://jf.myftp.org (my test box). I guess I will have about 6-7 other groups on my live site all of similar size.
Have it as often as you like, I have it every 20 minutes.

Quote:
4. What is the best way to stop my DB going over my 250MB server disk limit? I guess I should clear out posts once they are 30 days old or so, VBAdmin doesn't do this so I guess I will have to run a cron job, are there any good scripts already out there for this purpose?
Use the Search system


Thanks
Reply With Quote
  #545  
Old 04-25-2003, 10:39 AM
Sanjiyan's Avatar
Sanjiyan Sanjiyan is offline
 
Join Date: Jan 2002
Posts: 133
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
04-08-03 at 04:34 PM MaXxed said this in Post #536
I have my usenet forums moderated on all posts, yet the script is posting messages to usenet anyway. How can I avoid spamming usenet? I've asked this question before but am now stumped, any help anyone?

See my post above, or click on this link

https://vborg.vbsupport.ru/showthrea...862#post386862
Reply With Quote
  #546  
Old 04-25-2003, 10:43 AM
Sanjiyan's Avatar
Sanjiyan Sanjiyan is offline
 
Join Date: Jan 2002
Posts: 133
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
04-01-03 at 03:55 PM SRozhon said this in Post #532
When I do Manual Sync all goes fine but if put address in browser I get a promt box to save or open gateway.php??? When I say open I get an error and it opens notepad. Why would this be happening?
Its your IE settings you need to reset them and it should work.
Reply With Quote
  #547  
Old 04-25-2003, 01:58 PM
peterjun peterjun is offline
 
Join Date: Apr 2003
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

works under 2.3.0 for me.
Reply With Quote
  #548  
Old 05-03-2003, 02:48 AM
Sanjiyan's Avatar
Sanjiyan Sanjiyan is offline
 
Join Date: Jan 2002
Posts: 133
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've recently changed servers, and I am now getting this error when I try and pick up POP3 posts:

POP3: premature NOOP OK, NOT an RFC 1939 Compliant server

The only thing that is different is the server environment, ie its a different webserver.

Any ideas on how to fix this, so I can use the POP3 function again and feed my mailing lists to the forums?
Reply With Quote
  #549  
Old 05-08-2003, 11:22 PM
Erwin's Avatar
Erwin Erwin is offline
 
Join Date: Jan 2002
Posts: 7,604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Any tricks or advice regarding avoiding the gateway.php from timing out when importing a large amount of posts?

I notice that some users have figured a way to do this. Any suggestions?
Reply With Quote
  #550  
Old 05-13-2003, 06:14 PM
Sanjiyan's Avatar
Sanjiyan Sanjiyan is offline
 
Join Date: Jan 2002
Posts: 133
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

increasin the timeout in php.ini ?
Reply With Quote
  #551  
Old 05-14-2003, 01:31 AM
Erwin's Avatar
Erwin Erwin is offline
 
Join Date: Jan 2002
Posts: 7,604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It's okay, I got around it by using another news server.
Reply With Quote
Reply

Thread Tools

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:30 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.05334 seconds
  • Memory Usage 2,312KB
  • 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
  • (6)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
  • (3)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