vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   NNTP Gateway for Usenet ( Newsgroups ), Mailing Lists (https://vborg.vbsupport.ru/showthread.php?t=92588)

kgroneman 01-26-2012 04:01 PM

We've got it working very nicely, but have had to modify the code a bit to get it working right. If anyone wants it, I'll send you the files I have. Currently running on 4.1.9 PL1 without problems at http://forums.novell.com and http://forums.opensuse.org (nntp servers: forums.novell.com and forums.opensuse.org) Email me at kgronemanREMOVE@REMOVEnovell.com (sentient beings will know what to take out of that email address to make it work) We're still playing trying to get the NNTP cancel command to work, but we'll figure it out. Cancel was working but with one of the recent forum upgrades, it stopped so we'll have to find out what changed.

TMM-TT 02-01-2012 11:38 AM

Quote:

Originally Posted by Rik Brown (Post 2255041)
After upgrading from vb 4.1.6 to 4.1.7, I got the following error:

PHP Fatal error: Call to undefined function build_post_index() in /home/www/html/subs/forums/includes/functions_nntp.php on line 623

What I found is that in the forum's /include directory there is a file named functions_databuild.php that holds the build_post_index function. I see in the 4.1.6 code that the build_post_index function has all the code between the initiation of the function and the end of the function commented out. In 4.1.7, the function has been totally removed from the functions_databuild.php file.

Since the mod worked fine with vb 4.1.6, this would indicate that the function wasn't being utilized by this mod at all. So I commented out the call to the build_post_index function from within functions_nntp.php. And, as far as I can tell, that gets the mod back up and running again with vb 4.1.7.

I'd rather patch that one, for "compatibility":

PHP Code:

        // Index post for searching
        
if (function_exists('build_post_index')) build_post_index($postid$foruminfo); 


toibs 04-05-2012 04:17 PM

Strange,
For some reason cant seem to re-install this on 3.8.5 - i know ive had this working on this version before...

Anyhow, getting the following :

Code:

Invalid SQL:

                        INSERT INTO nntp_groups
                        (newsgroup, forum, prefix, lastmsg, server, username, password, sender, checkuser, enabled)
                        VALUES
                        ('ukpinball', 4, '[ukpinball]',
                        0, 'text1', 'text2',
                        'pass1', '', 0, 1);

MySQL Error  : Unknown column 'checkuser' in 'field list'
Error Number  : 1054
Request Date  : Thursday, April 5th 2012 @ 05:42:03 PM
Error Date    : Thursday, April 5th 2012 @ 05:42:03 PM
Script        : http://www.name.com/community/admincp/nntp_groups.php?do=insert
Referrer      : http://www.name.com/community/admincp/nntp_groups.php?do=add
IP Address    : 82.69.165.76
Username      : Paul
Classname    : vB_Database
MySQL Version : 5.1.60-rel13.1

Erm ... Help?!?!!

Cheers
Paul

Rik Brown 05-22-2012 02:23 PM

Planning to change Usenet providers. Any recommendation for a good/inexpensive provider that works well with this mod?

Thanks. -- Rik

TMM-TT 05-23-2012 07:18 AM

Quote:

Originally Posted by Rik Brown (Post 2331571)
Planning to change Usenet providers. Any recommendation for a good/inexpensive provider that works well with this mod?

Thanks. -- Rik

All providers theoretically works, but many of them only allows one user per account. The problem is to find which provider that allows multiple users to send posts via their services.

news.tornevall.net is unfortunately down for the moment (I'm working on it) - that service allowed this.

donholloway 06-26-2012 10:49 AM

I am using Usenetserver.com and they seem to be pretty responsive. They have a 24x7 online chat, also respond to email.

Thanks to everyone here for contributing, it took me much longer than I would have liked to get things working again. I had used the mod before, had mail servers working, but was struggling with Usenet.

My shared hosting provider had blocked port 119, found that they and my news provider were both supporting port 25, then spent many hours trying to find the port references in the php files. I found one in gateway.php, one in nntp.php, and setlastmsp.php. Still couldn't connect and was getting a timeout and it wouldn't connect.

Finally overnight, my ISP relented and unblocked port 119. I went to Tornevall's files that he posted on his webpage a couple of years ago (Tack för utstationering på engelska), made one edit to change for my host and it is now connecting and working.

I have that nice rush that you briefly have when you finally solve a tough one.

It was brief enough, the test post that downloaded was yEnc encoded and looks like gibberish. On to the next challenge. Thanks to everyone for supporting this. I will try to help improve the documentation a little bit.

Will try to share my experiences as I encounter the next challenge.

toibs 09-06-2012 12:58 PM

Donholloway,

Any chance you could share your changes in total? I'm about to move back to vB and would love to be able to re-install this again with minimal pain :)

or that applies to anyone - would anyone be willing to share their files with all the edits and changes rather than go through it all again?

Cheers
Paul

Rik Brown 09-15-2012 10:00 PM

Would love to hear feedback on whether the mod works with vb5 as soon as someone has tested it.

toibs 09-15-2012 10:11 PM

I will as soon as they get their fingers out and make it easy to upgrade from 3.x to 5... :( Cant do it online... and i havent had chance to call them...

tpearl5 10-19-2012 08:37 PM

FYI, Mine was getting an error when there was an apostrophe in the e-mail.

I added
PHP Code:

//remove apostrophe from email
$from_email preg_replace('/\'/'''$from_email); 

before

//Check if the sender is a user

which simply strips an apostrophe if present

tpearl5 10-19-2012 09:17 PM

Also, since I can't get the attachment stuff to work anyway (it's looking for the old functions_images.php vbulletin file) I just disabled attachments all together by commenting out the first call to process_attachments($date, $postid, $threadid, $forumid); in functions_nntp.php

Most of the files posted on newsgroups is junk/viruses anyway.

SamirDarji 10-20-2012 03:28 AM

Awesome notes on the install tpearl5. Thank you! I've yet to fully play with my install, and I'm sure these notes will come in handy. :)

tpearl5 10-22-2012 01:41 PM

Welcome - fyi, I was using the file provided by Aylwin above. More thanks should go to Aylwin and others for providing various fixes.

tpearl5 01-15-2013 03:53 PM

Also, on another install of this I was getting a mySQL error when running gateway.php. I had to update the query in that matches posts to existing threads to this:
PHP Code:

WHERE p.msgid '".$db->escape_string($msgid)."' 

note the p. in front of msgid.

Hossam Hossny 02-04-2013 06:06 AM

Can anyone here post his working version? There are many great contributors to this Mod but no one has actually posted a patched working version. I wonder why.

Thanks for everyone who has supported this mod that I know of since 2005. Back then I had it on 3.x but I wish I can know if it would work on latest 4.2.

Cheers,
Hossam


All times are GMT. The time now is 01:37 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02416 seconds
  • Memory Usage 1,766KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (3)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (15)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete