The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
NNTP Gateway for Usenet ( Newsgroups ), Mailing Lists Details »» | |||||||||||||||||||||||||||
NNTP Gateway for Usenet ( Newsgroups ), Mailing Lists
Developer Last Online: Nov 2023
The latest version: V2.3.2 (31 Oct 2004)
What is it? This hack provides a gateway from vBulletin forums to the USENET. It allows forum members to read newsgroup messages as well as to send posts to the newsgroups. In a nutshell, it turns vBulletin forums into a basic function news reader. For an added bonus, this package also supports mailing list archive and forum to mailing list gateway. The software retrieves messages from a pop3 account and import them into the forums threaded. It also allows a forums user to send messages to the mailing list by the forum posting interface. Why? The gateway will be appreciated by forum members who do not know how to set up a news reader, or people who do not have port 119 open in their network. A forum interface to read and post news are often considered to be better than a news reader. The gateway adds more contents to your forums and allows the members to interact with wider audience. It is common to see new users signing up to use this feature. History This hack is basically a hacked vB2 NNTP gateway written by Gilby to work with vB3. The original hack can be found here: https://vborg.vbsupport.ru/showthrea...7&page=1&pp=15 Features Some of the features and improvement include:
Future development
What do you need and do not need? You do not need to edit vB php files if you use two bookmarks You need to edit one vB php file to insert two lines of code if you want direct click links within AdminCP. No need to run SQL. Installation Basically the AdminCP interfaces take care of installation as well as upgrade in the background. Back up your database first. The scripts can modify your database without alerting you! Please follow the instructions in the readme.txt file for more details. Support Please post your support questions to this thread. Please check the FAQ in the third post within this thread first. ================== UPDATES ====================== Jul 31 2004 (release version 2.2.0)
Please note, when you manually run the script, you must turn on the debug mode. Otherwise nothing will be displayed on the screen. To run as debug mode: http://forums.yourdomain.com/gateway.php?debug=1 25 Oct 2004
31 Oct 2004 Fixed bugs running the gateway by the vB3 Scheduled Tasks 1 March 2004 Uploaded the new zip file. It contains one or two bug fixes. Show Your Support
|
Comments |
#282
|
||||
|
||||
Quote:
Quote:
|
#283
|
|||
|
|||
awesome! thank you very much
|
#284
|
|||
|
|||
Quote:
http://groups.google.com/groups?dq=&...ing.google.com The quick fix is to limit amount of lines we get from the news server per message. After the line 128 of includes/nntp.php, which reads: PHP Code:
PHP Code:
PHP Code:
PHP Code:
Enjoy |
#285
|
||||
|
||||
A word (title or message) that long will break a fixed width forum. It will even make a liquid layout appear "bad".
The fetch_word_wrapped_string function does not work on long words with periods, commas, special characters. This is a bug that has been reported. Until there's a fix ... you should use the fetch_trimmed_title on titles (showthread/forumdisplay). fetch_trimmed_title function works with the $vboptions[wordwrap] settings. If you do not want to use the fetch_trimmed_title function... I use this on my cms: (mainly for right/left column): Code:
function gtp_strip_title($str, $start, $end) { if (strlen($str) > $start){ $str = substr($str, 0, $end)."..."; } return $str; } All messages with long words (titles) are 100% spam. |
#286
|
|||
|
|||
I am a newbie. With this script I keep hearing people saying to "run a cron job"
1. What is "cron"? I assume it is some type of scheduling task system. 2. What will it do with this script? does it auto-import the posts? |
#287
|
||||
|
||||
A cron is where you go downtown and play the shell game and cron people out of their money...
Just kidding... many providers that offer a Control Panel have some way to setup a cron job. You are right what a cron is... It runs a script or program and a set time. In this case you want it to run the gateway.php script to pick up and send new NNTP messages. You could do this your self by pointing your browser to the gateway.php file... however if you forget or are gone for a few days the new posts will not be updated. Another factor is on large NNTP groups it takes a lot more time if ran once a day rather then every hour. |
#288
|
|||
|
|||
Hello to All
I'm trying to get this hack working on company's web server. Everything was pretty much straight forward till I got to the point of running gateway.php. That's what I get: "...pop3 gateway Gateway version 2.1.0 1 group(s) gatewayed. Bad User Name!Retrieving Protocol E-mails from the 'dl360mail3.yamner.com' pop3 server ..." I tripple checked all settings and everything looks good. User account for pop3 is correct including password. Web server talks to mail via local subnet (no filtering there). Can't figure out why this thing can't log in. any clues? :ermm: |
#289
|
|||
|
|||
Quote:
#telent dl360mail3.yamner.com 110 #USER your-username #PASS your-password #STAT I suspect your pop3 server does not like the pop3 access from a local subnet. You gave a public domain name, yet accessing through a local private net. Either routing or pop3 server's "allowed access" can cause your problem. |
#290
|
|||
|
|||
Ive been testing this for a few days now.
I have found that the script has crashed twice causing the following error Quote:
There also seems an issue with handling possible EOL characters as i got a message like this inserted to the forums. Notice the '=' inserted at the end of a line before a return. Quote:
It should have looked like this, at least this is how outlook displays it in the mail box. Quote:
This was the second message inserted in that batch. The first message is uneffected and was threaded correctly. Is there any compatability issues with mysql or php versions ??? Any help appreciated |
#291
|
|||
|
|||
After looking at the messages retreived from the pop3 mailbox on a different account to the one used for gatweway.php i noticed that there was a few messages originally in HTML and with gif as attachments.
Could the above error be an issue with trying to insert the attachment? Attachments are usually frowned upon on mailing lists which is why I failed to notice it when making my last post. Is there a quick fix to simply drop attachments completely? |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|