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)

mattpark 10-17-2006 12:34 AM

Hello all.

Im having a problem with this mod at the moment.

Followed setup instructions to the T.

Ran the script.

All imported off the newsgroup, great!

A few hours later i go and setup the cron to run every 15mins.

It runs, and abou 95% of the messages are re-downloaded!

I've tried so many differnt ways of fixing this, but every time, when the script runs again after the initial sync it downloads most the messages again!

No errors, just hundreds of duplicates!

Stupmed? You can see for youself here - http://ukvoiptalk.com/forum/uk-telecom-voip/

Please help.

Matt

EDIT: Just an update to show you what my cron output was.

Quote:

X-Powered-By: PHP/4.4.3
Content-Type: text/plain
Set-Cookie: bbsessionhash=0935c3032697dfb066954e0d894d42fa; path=/; HttpOnly
Set-Cookie: bblastvisit=1161047701; expires=Wed, 17 Oct 2007 01:15:01 GMT; path=/
Set-Cookie: bblastactivity=0; expires=Wed, 17 Oct 2007 01:15:01 GMT; path=/

mattpark 10-17-2006 08:44 PM

Pretty please guys, can someone give me a had with this?

Thanks
Matt

mattpark 10-20-2006 09:28 AM

Yep, still looking for a little pointer for this one if anyone is willing!?

Aylwin 10-20-2006 09:44 AM

Sorry, I have no idea what might cause this. Seeing as there are no replies so far, I'm guessing no one else has any idea either.

One thing you can check though. If you check NNTP Gateway Newsgroups from Admin Control Panel, what value do you have under Last Message? It should be the same as the last message you imported.

mattpark 10-20-2006 10:47 AM

yeah it is.

Well i deleted the forum and removed all synced posts.
Setup a new forum. Went in to admin CP and set the last post at 12000.

If i run gatway.php it starts importing from 0, and then sets the last imported post correctly. However, if i then run it again, it starts from 0 again even though the last post is incremented!

Thanks for you suggestion bud, but looks like im still stuck.

Matt

Rik Brown 10-26-2006 05:26 PM

Our killfile very often ends up killing the first message in a thread. In those cases, successive messages which have a "Re: " in the message title create new threads such as "Re: Here is my message...".

However, if there is no prior "Here is my message..." message on my system, I would rather NNTP_GW remove the "Re: " and just make the first message "Here is my message..." to which successive replies would append.

Has anyone already written a routine to accomplish this (I assume it would only take 5-10 lines of code) or is there an experienced PHP programmer willing to write it out in a few minutes time?

Thanks. -- Rik

PS:

Frankly, I would just assume remove the "Re: " from all messages as its not necessary for vb. One only needs it when replying back to Usenet.

Update: If you wish to remove the "Re: " from post titles and thread titles, below is a thread at vbulletin.com that shows how to accomplish this retroactively by updating the forum mysql database (backup first, of course):

http://www.vbulletin.com/forum/showthread.php?t=206982

Of course, if someone could adjust gateway.php to accomplish this during the import phase, that would be a better solution.

babulgogoi 11-01-2006 04:13 AM

Hi, am getting this error while running : gateway.php (I run it manually):

http://asiasrc.org/forum3.5/gateway.php

<br /><strong>Warning</strong>: fsockopen() [<a href='function.fsockopen'>function.fsockopen</a>]: php_network_getaddresses: getaddrinfo failed: Name or service not known in <strong>/includes/pop.php</strong> on line <strong>40</strong><br /><br /><strong>Warning</strong>: fsockopen() [<a href='function.fsockopen'>function.fsockopen</a>]: unable to connect to asiasrc.org:110 in <strong>/includes/pop.php</strong> on line <strong>40</strong><br />Success (0)
<br /><strong>Warning</strong>: fwrite(): supplied argument is not a valid stream resource in <strong>/includes/pop.php</strong> on line <strong>107</strong><br /><br /><strong>Warning</strong>: fgets(): supplied argument is not a valid stream resource in <strong>/includes/pop.php</strong> on line <strong>99</strong><br /><br /><strong>Warning</strong>: fwrite(): supplied argument is not a valid stream resource in <strong>/includes/pop.php</strong> on line <strong>107</strong><br /><br /><strong>Warning</strong>: fgets(): supplied argument is not a valid stream resource in <strong>/includes/pop.php</strong> on line <strong>99</strong><br />

any idea.. pls help.

hostingforum-it 11-03-2006 09:26 PM

hmm it stopped to work rgabbig fro newsgroup. If i try to run manyally
the getaway (as thi first time) it ask me to download the file...:alien:
Anyone know what happens?

chris1979 11-04-2006 10:23 PM

Does this work with version 3.6.2 or does anything similar exist for 3.6.2?

ullo 11-05-2006 01:23 PM

Quote:

Originally Posted by chris1979
Does this work with version 3.6.2 or does anything similar exist for 3.6.2?

It work for me. A part allegated that not work for nothing (disable allegated)


All times are GMT. The time now is 07:46 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.01468 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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