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)

BustaCap 06-24-2004 12:19 PM

That's what my posts looked like before I applied Kevin's hack. Double check your gateway.php file and make sure you followed the directions exactly. Also, run gateway.php manually, copy and paste what the screen log shows, and post it here.

Princeton 06-24-2004 01:24 PM

Quote:

Originally Posted by Cold Steel
What is the point of having newsgroups in the forums, then? Just another content source?

Some of the information in mlist is very valuable; however, if you or a member does something wrong you can be removed/banned. I would like the option to prevent posting to mlist for this very reason. A forum member will always be able to post to the forum - it just won't be sent to the public mlist.

ARCHIVE - for information only; some of the content found in newsgroup/mlist can answer posted questions on forum (similar threads)

KevinM 06-24-2004 01:51 PM

Quote:

Originally Posted by princeton
I'll look again ... it was working before.

If you still can't get it working, post the 10 lines from gateway.php just before this mini-hack and I'll have a look.

KevinM 06-24-2004 01:56 PM

Quote:

Originally Posted by john_rsd
I applied Kevins mod, but it seems erratic. As the mail list is not public and the posts spread reasonably evenly across the day I do not think its a server issue.

From your screenshot, that is exactly the problem that this mini-hack fixes. It picks these up by their subject title and threads correctly where the reference in the email header is missing.

Like BustaCap say, check the installation in gateway.php, and if you still have problems post the output here.

Princeton 06-24-2004 02:39 PM

I got it working ... thank you. :up:

Princeton 06-24-2004 07:19 PM

Kevin,
I never get this error when I call the file directly. However, I do occasionally get this error when Schedule Task runs the file.
[sql]Invalid SQL: INSERT INTO post
(postid, threadid, title, username, userid, dateline,
pagetext, allowsmilie, showsignature, ipaddress,

iconid, visible, isusenetpost, msgid, ref, parentid)
VALUES (NULL, ,
'',
'', 0,
'',
'', 1, 0,
'', 0, 1, 1,
'',
'',
+ 0)
mysql error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '
'',
'', 0,
'',
'', 1, 0,
'', 0, 1, 1[/sql]
(I direct this to you (kevin) because it only happens when I use your mini hack.)

john_rsd 06-24-2004 08:31 PM

Kevin

Today it was working and I have not changed the gateway.php file.

Output from running from inside AdminCP

Quote:

Gateway version 2.1.0 1 group(s) gatewayed. Successfully connected to the 'mail.rsdtv.com' pop3 server Retrieving 6 E-mails from the 'mail.rsdtv.com' pop3 server Getting message number 1: '[dxp] OT: Differential Stripline Impedance' from Jason Morgan. New thread. Getting message number 2: 'Re: [dxp] show footprint on schematic' from Don Lucas. Thread found by Subject Title. Getting message number 3: 'Re: [dxp] [dxp]: Junction Printing Error' from Don Lucas. Thread found by Subject Title. Getting message number 4: 'Re: [dxp] PCB manufacturing via internet?' from Don Lucas. Thread found by Subject Title. Getting message number 5: 'Re: [dxp] PCB manufacturing via internet?' from Richard Pender. Thread found by Subject Title. Getting message number 6: 'Re: [dxp] PCB manufacturing via internet?' from Don Lucas. Thread found by Subject Title.
I set this up as a scheduled task in the AdminCP to run every 15 minutes but it seems to have no effect, I have to push it manually to run. If I tried to run it directly from the browser I got an error that it was already running so I have set the check in AdminCP to 1 now.

However it seems the ones before failed to match (title '2004 simulator ops') see attachment

KevinM 06-24-2004 09:10 PM

Quote:

Originally Posted by john_rsd
However it seems the ones before failed to match (title '2004 simulator ops') see attachment

It looks to be working correctly. The thread that you mention looks like a duplicate post (it has no "Re: " in the title), so the correct action is to start a new thread.

It will only search for a match by subject title under the following circumstances:

1. There are no references in the header that match an exisiting thread

AND

2. There is at least one "Re: " in the subject title, which gives an indication that there should be a parent thread for this post.

The output from gateway.php which you have shown also indicates that it is working correctly.

KevinM 06-24-2004 09:21 PM

Quote:

Originally Posted by princeton
(I direct this to you (kevin) because it only happens when I use your mini hack.)

It's hard to tell from the sql query what is causing it to fail. If it ever happens when you are running gateway manually, make a copy & post the output which was running at the time.

Are you running the 'threading by subject' hack? There was an error in my first release which caused the $parentid not to generate, which would produce a error like the one you have. It was corrected with this version shortly afterwards:https://vborg.vbsupport.ru/showpost....&postcount=181

john_rsd 06-24-2004 09:26 PM

Kevin

Could it be that some users have just removed the subject prefix (or their mail clients have not added one?) . I have not used any other mail clients except Eudora or Outlook and these both addd it.

So in order for the threading function to be initiated it checks the first chars of the subject feild for matches on 'RE' ? Then parses an subject index for a match?

Guess its not case sensitive?

BTW, thanks for this really cool mod :)


All times are GMT. The time now is 07:42 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.01413 seconds
  • Memory Usage 1,747KB
  • 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