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 |
#822
|
|||
|
|||
Quote:
|
#823
|
|||
|
|||
Quote:
|
#824
|
|||
|
|||
Quote:
|
#825
|
|||
|
|||
Quote:
Please check functions_nntp.php, around line 68, you should have: $parsed_body .= "\n\n"; |
#826
|
|||
|
|||
I have a big problem here, many posts are imported twice (some even 3+), causing me a maintenance nightmare with some bigger newsgroups.
I see that at least another member experienced this, has this bug been fixed yet? Anyway, kudos for this wonderful hack! |
#827
|
|||
|
|||
Quote:
The scripts has the ability to detect if there is another instance of script already running, but only if the other script was started to run less than 1/2 hour ago. As the initial importation may take well over 1/2hour. Two scripts could have run side by side causing double messages. |
#828
|
||||
|
||||
Lierduh, thanks for your time, one more question...
gateway.php starts to work when i... delete these line: Code:
require_once('include/functions.php'); Code:
Gateway version 2.3.2 1 group(s) gatewayed. Connecting to server, server says: 200 NNTP Service 6.0.3790.206 Version: 6.0.3790.206 Posting Allowed Info for microsoft.public.access at msnews.microsoft.com: 211 15392 1 139321 microsoft.public.access Getting message number 2: So, could you please what exactly functions from functions.php you use in this hack? It will be easier to find the reason... :| Thx, Szy. |
#829
|
|||
|
|||
Quote:
|
#830
|
||||
|
||||
In PHP error log:
Code:
[Wed Apr 27 11:16:26 2005] [error] PHP Fatal error: Cannot redeclare construct_phrase() in ./includes/functions.php on line 36 Code:
function construct_phrase() { static $argpad; $args = func_get_args(); $numargs = sizeof($args); // if we have only one argument, just return the argument if ($numargs < 2) { return $args[0]; } else { // call sprintf() on the first argument of this function $phrase = @call_user_func_array('sprintf', $args); if ($phrase !== false) { return $phrase; } else { // if that failed, add some extra arguments for debugging for ($i = $numargs; $i < 10; $i++) { $args["$i"] = "[ARG:$i UNDEFINED]"; } if ($phrase = @call_user_func_array('sprintf', $args)) { return $phrase; } // if it still doesn't work, just return the un-parsed text else { return $args[0]; } } } } Szy. |
#831
|
|||
|
|||
This error means that the function "construct_phrase" is being defined for the second time. This can have different causes:
- Your custom script defines a function with the same name before calling functions.php. - You made an edit somehow duplicating that function in functions.php - You are using a "include" or "require" of functions.php instead of "include_once" or "require_once" making the functions.php to be loaded twice. And probably some more i didn't think of now. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|