vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   NNTP Gateway for Usenet ( Newsgroups ), Mailing Lists (https://vborg.vbsupport.ru/showthread.php?t=65152)

lierduh 08-08-2004 05:43 AM

Quote:

Originally Posted by john_rsd
lierduh
Post http://proteluser.com/bbs3/showthread.php?t=2262 has had the "Re:" placed after the mailing list name between the []'s, I cannot even guess how that happened but i suspect it was down to the authors email client.

I guess the Re: has to be the first characters in the string to work?

It means the post was not sent as a follow up.(possibly no reference in the header. The mailing list does not know it is a reply, so made it a new post.

lierduh 08-08-2004 05:50 AM

Quote:

Originally Posted by xb_
lierduh,
I'm also having alot of work merging replies to excisting threads, for some reason alot of the emails aren't glued together in the correct thread. I would apreciate it if it can be improved.

regards

If you can list the examples and the original message's subject. I will find the reason.

Basically the thread by subject works by:

1) The message needs to have Re: in the beginning of the subject before the script even starts to worry about finding a thread.
2) "Re: asdf" will match thread's title with
asdf
Re: asdf

"Re: Re: asdf" will match thread's title with
asdf
Re: asdf
Re: Re: asdf

"Re: Re: Re: asdf" will match

Re: asdf
Re: Re: asdf
Re: Re: asdf
Re: Re: Re: asdf
(not match with asdf)

It will find the oldest thread, and will use the newest post as the parent message id (only used when the forum reader uses non-inline display mode).

lierduh 08-08-2004 06:18 AM

Quote:

Originally Posted by princeton
It's been a while since I used this ... please verify.
If is_running is set to 1 it WILL CHECK if another instance is running?

Should be left at 0.

Princeton 08-08-2004 02:04 PM

Quote:

Originally Posted by lierduh
Should be left at 0.

thank you lierduh - I did look into the files and found it. :)

Default = 0. Set to 0 : Check if another instance of gateway.php is running. Set to 1 : Do not check.

movielad 08-09-2004 12:02 PM

I'm using the NNTP gateway script to provide users access to our internal news server. As such, I'm creating user accounts under vBulletin which matches the LHS of their email address (i.e. anything before the @ sign). When posting to the news server, I'm getting a copy of the message ID as the From: header. I want to be able to post with a legitimate email address.

For example:

xxxxxxx.rrrrr@domain.name

(where xxxxxxxx is the normal LHS email name and rrrrr is the message ID)

whereas I'd like it to just be:

xxxxxxx@domain.name

Is there an easy way of doing this/changing the current gateway.php file to handle this?

Regards,

MArtyn

allan grossman 08-09-2004 02:02 PM

Hey, lierduh -

Is there a reason why the nntp_groups table is ISAM instead of MyISAM? I know if you convert the table to MyISAM the script fails - and since it's usually a tiny table it probably wouldn't benefit much from optimizing, but having to deselect it when optimizing the forum database might be something to look at.

cheers -

allan

john_rsd 08-09-2004 10:04 PM

lierduh

Is there a limitation on the subject line size?

I received some messages (all via the same mailserver) as follows

Original message http://proteluser.com/bbs3/showpost....63&postcount=1

Original subject line [dxp] A rule for allowing two components on top of each other?

Then I seen a reply which was not threaded

Reply http://proteluser.com/bbs3/showpost....17&postcount=1

Subject line Re: [dxp] A rule for allowing two components on top of eachother?

Notice the space is missing between the last 2 words "each other" is now "eachother". Hence the reason for none threading.

But the reply as i see it in my mailbox, from the same email server (the same message), is actually correct and does read Re: [dxp] A rule for allowing two components on top of each other?

So the originating message was actually correct, it was not edited by the user. But i did notice that the subject line was wrapped to a new line between these words in the actual header. Perhaps related to the issues with the strange end of line characters in some posts?

Any information appreciated.

I forward a copy of the message headers for this non threaded reply to the mailbox i set up for you (same mail server again)

lierduh 08-10-2004 02:15 AM

Quote:

Originally Posted by allan grossman
Hey, lierduh -

Is there a reason why the nntp_groups table is ISAM instead of MyISAM? I know if you convert the table to MyISAM the script fails - and since it's usually a tiny table it probably wouldn't benefit much from optimizing, but having to deselect it when optimizing the forum database might be something to look at.

cheers -

allan

allan, you are using the very original table created by Gilby's original hack. I remember in that SQL, the tables were created as ISAM.

If someone started new with the vB3 hack, the tables will be created using MyISAM table type.

I can't see the reason why MyISAM will cause the script to fail. Both of my nntp tables are MyISAM.

xb_ 08-10-2004 08:34 AM

Quote:

Originally Posted by lierduh
If you can list the examples and the original message's subject. I will find the reason.

I've set you up an account, details are in pm. There are only a few examples at this moment, since most of them i had already merged manually.

[edit] ok by now there are plenty examples :D[/edit]

Marv 08-10-2004 08:39 AM

Hi lierduh,

if possible, could you tell me what I have to do to make gateway.php pause between connecting to different ng?s ?
I guess it?s the same function like this:

PHP Code:

  if ($nntp_settings['pause_seconds'])
          {
              
sleep ($nntp_settings['pause_seconds']);
          } 

Should only be another table-name and selectable value. Some newsservers are blocking the script in case the gateway is way to fast for an old and slow newsserver. (Err-Msg: "Too many connections. Your IP is temporarly blocked.")

TIA,
Marv.


All times are GMT. The time now is 02:44 AM.

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.02014 seconds
  • Memory Usage 1,756KB
  • 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_php_printable
  • (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