vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   NNTP Gateway (Usenet/Newsgroups) (https://vborg.vbsupport.ru/showthread.php?t=35247)

Gardener 09-11-2003 06:14 PM

Quote:

Originally Posted by csimo
I'm running VB3. Has anyone tried this on vB3? Will it work, should I try?

Sounds like great work so far!

Been there, tried that, it doesn't work. :ermm:

petertdavis 09-11-2003 06:49 PM

Does anyone have a forum with this hack working? I'd like to see it in action.

allan grossman 09-11-2003 07:41 PM

Quote:

Originally Posted by petertdavis
Does anyone have a forum with this hack working? I'd like to see it in action.

I do.

http://pointbeing.com

allan grossman 09-11-2003 10:58 PM

Got it threading properly thanks to lierduh's fix.

One small thing, though - look at his code. There are about four instances of

"allowsmili e,showsignature"

and the extra spaces will throw SQL errors if you don't catch them all. I missed two of them and had to go back and edit stuff again but once I got that fixed I replied to a couple posts and checked the threads with Agent - and they showed up in the right spots.

Thanks again, lierduh - I've always liked this hack and you just made it better.

There's only one other problem I've seen and I mentioned it before but the non-RFC-compliant signature separator causes problems for some newsreaders - some of them won't strip the signature out of quoted text because the signature separator isn't quite legal.

If someone is interested in fixing that small issue for their own Usenet gateway, an RFC-compliant signature separator is <linefeed><dash><dash><space><linefeed>

Here's the fix if anyone's interested:

In gateway.php, find both instances of

$signature = "\n--\n";

(line 542 and line 554), and replace with

$signature = "\n-- \n";

Now that I've got those two things fixed the hack's gone from great to awesome. Thanks, gents!

petertdavis 09-12-2003 01:10 AM

Quote:

Originally Posted by allan grossman

Very nice, the usenet posts look like every other post in your forum. Now, how to get it working in version 3. :)

lierduh 09-12-2003 01:43 PM

Quote:

Originally Posted by allan grossman
Got it threading properly thanks to lierduh's fix.

One small thing, though - look at his code. There are about four instances of

"allowsmili e,showsignature"

and the extra spaces will throw SQL errors if you don't catch them all. I missed

Looks like the forum has added the extra spaces. When I tried to edit my post and remove the space, they are not there. :ermm:

allan grossman 09-12-2003 01:53 PM

Weird.

I didn't think maybe it could be the forum. Sorry about blaming your code, lierduh.

BTW - thanks for fixing things. This hack is a lot better now that it threads properly :)

megarry 09-13-2003 12:17 PM

I thried this hack sometime ago and I decided against using it because it setup a new user account for each post received from the NNTP gateway. Does this hack still do that?

If so, is there a way to not setup accounts for each post? I would much rather have the messages come in without user accounts, makes maintaining my user database a bit of a nightmare with thousands of unused accounts.

Dennis

allan grossman 09-13-2003 12:37 PM

Quote:

Originally Posted by megarry
I thried this hack sometime ago and I decided against using it because it setup a new user account for each post received from the NNTP gateway. Does this hack still do that?

If so, is there a way to not setup accounts for each post? I would much rather have the messages come in without user accounts, makes maintaining my user database a bit of a nightmare with thousands of unused accounts.

Dennis

It doesn't do that now, Dennis. Usenet posts come in under a guest account.

SRozhon 09-14-2003 08:09 PM

I can't find the answer to this...
Quote:

Originally Posted by Dmitriy
I wonder how I can I exclude the posts in the usenet forusm from being included in the detnew and getdaily searches.

This script downloads a lot of posts from usenet and it confuses many of my members when they want to see new posts since last visit or new posts in the past 24 hours.

Can someone suggest how to hack the search.php to exclude certain forums from being counted towards the latest posts?

Found it! Thank you patvdv on page 23 of this thread


All times are GMT. The time now is 01:15 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.02910 seconds
  • Memory Usage 1,746KB
  • 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
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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