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: V3.5.0Alpha 1 (21 Jul 2005)
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 was originally coded by Gilby for vB2. I modified the hack to work with vB3 and have been maintaining and improving the hack. I have now done the modification for this to work with vB3.5. The very original hack by Gilby can be found here: https://vborg.vbsupport.ru/showthrea...7&page=1&pp=15 The vB3 version can be found here: https://vborg.vbsupport.ru/showthread.php?t=65152 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. No need to manually 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. It is not a must to click "INSTALL" for this hack if you use it, I do try better answering the questions from people who do. Support Please post your support questions to this thread. Please check the FAQ in the second post within this thread first. It may be surprising, but it is possible your question is answered in the adminCP NNTP settings. Please always provide more details about your problem. Examples and debug messages will certainly help. Well, if you don't even try to have some effort to compose your question, the answer you get may also not include much effort. ================== UPDATES ====================== Jul 21 2005 (release version 3.5.0 Alpha 1) AdminCP xml file is written by Kadence.
Quick installation instruction: 1) Upload files to their correct directory 2) Enter AdminCP, click on NNTP Settings once to install/upgrade. Change settings to your like. 3) Click on NNTP Groups once to install/upgrade. 3a) For new install. Run once http://www.yourdomain.com/setlastmsg.php Delete this file afterwards. If you are upgrading from an older version. There is no need to upload this file. Actually this file should not be there except brand new install. 4) Manually run in debug mode: http://forums.yourdomain.com/gateway.php?debug=1 Show Your Support
|
Comments |
#552
|
|||
|
|||
Apart from just Yahoo groups, can you use myspace groups? Any other ideas what other ones you can use?
|
#553
|
|||
|
|||
I am having trouble with scheduling this to run in a standard cron job.
Cron job: Code:
/usr/local/php5/bin/php /home/myuser/mysite.com/forum/gateway.php Code:
// ############################################################################# // fetch the core includes require_once(CWD . '/includes/class_core.php'); // initialize the data registry $vbulletin =& new vB_Registry(); // parse the configuration ini file $vbulletin->fetch_config(); if (CWD == '.') { // getcwd() failed and so we need to be told the full forum path in config.php if (!empty($vbulletin->config['Misc']['forumpath'])) { define('DIR', $vbulletin->config['Misc']['forumpath']); } else { trigger_error('<strong>Configuration</strong>: You must insert a value for <strong>forumpath</strong> in config.php', E_USER_ERROR); } } else { define('DIR', CWD); } if (!empty($vbulletin->config['Misc']['datastorepath'])) { define('DATASTORE', $vbulletin->config['Misc']['datastorepath']); } else { define('DATASTORE', DIR . '/includes/datastore'); } if (!$vbulletin->debug) { set_error_handler('vb_error_handler'); } Error: Code:
Warning: require_once(/home/.saint/user/includes/class_core.php): failed to open stream: No such file or directory in /home/.saint/user/mysite.com/forum/includes/init.php on line 42 Fatal error: require_once(): Failed opening required '/home/.saint/user/includes/class_core.php' (include_path='.:/usr/local/php5/lib/php:/usr/local/lib/php') in /home/.saint/user/mysite.com/forum/includes/init.php on line 42 |
#554
|
|||
|
|||
Hi to all.
I have make some changes and fixes. // Modified by Fabio Dell'Aria on 20-Sep-2007 (fabio.dellaria@gmail.com) // Modified Files: nntp.php, functions_nntp.php // --------------------------------------------------------------------- // Changes: // -------- // 1)...Added the ability to can works with local NNTP servers; // 2)...Added the ability to can avoid duplicated NNTP messages; // 3)...A little NNTP Send speed improvement; // 4)...Increased the Debug details; // 5)...Fix a bug that caused "Invalid From address" NNTP error; // 6)...Fix a bug that caused "Duplicated Message" NNTP error. // --------------------------------------------------------------------- How I can includes them in the OFFICIAL release? |
#555
|
|||
|
|||
hello,
i try to download this newsgroup: nzn.fr.delphi (server server.amis.tv) and i can't !! it's work for some time (sometime i can download 500 messages, sometime 3000), but i always have : Fatal error maximum execution time of 1800 seconds exceeded in nntp.php on line 121 ! where the problem is? what can i do? thanks you by advance ! stéphane |
#556
|
||||
|
||||
Large posts that makes the script time out maybe? I had a similar problem myself on some groups before, and that was unfortunately never solved for me..
|
#557
|
|||
|
|||
yes, but in fact it's impossible to make the script workin ... i always have this error !! this is on the line : $response = trim(fgets($this->fp, 128));
when i check on outlook express, the server work perfectly without any probleme ! you can try : nzn.fr.delphi (server server.amis.tv) |
#558
|
|||
|
|||
Quote:
|
#559
|
|||
|
|||
But now i have a BIG problem! it's sometime crash php-cgi.exe (with big windows error popup) !!!
|
#560
|
||||
|
||||
I am having similar issues, the mod put too much load on the server, i am 2x DualCore Xeon 2.8 with 2GB ram 100mbit.... Cron set to run every 24hrs or midnight ... once the cron run the load shoots up to 6 - 20 till apache crashes....
even now the server is dead slow due the gateway.php cron Code:
xyz 18394 11.2 3.6 86660 74972 ? Ss 00:00 25:39 /usr/bin/php /home/xyz/public_html/forum/gateway.php This is a great hack, but someone need to update and optimize the code. |
#561
|
||||
|
||||
Most likely you're trying to grab too many threads (aka: articles) in one session resulting in the timeout. Before bringing in a new group check to see what the last article ID is and then retrieve only the last hundred or so articles. Do that and add one group at a time and see if there if a difference in your results.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|