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)

Deepdog009 03-22-2006 09:17 PM

By george i C it now, tricky aint it

Keep up the good work:banana:

hostingforum-it 03-28-2006 04:54 PM

"dkendall" can you tell me please wich of your BugFix will fixe the double posting (double message count) ? I have running this script in a subforum and it double all the post (and counts) to the main forum.

Thanks

hostingforum-it 03-28-2006 10:24 PM

ok forget what i wrote below.... it works!!!. The newsserver nedded a few mins to show the new posts.
But i have a question:
How to modify the attached message that will be send to the newsgroup It currently send this:
----------
uername Profile: http://forums.yourdomain.com.au/member.php?userid=34
View this thread: http://forums.yourdomain.com.au/showthread.php?t=3247
----------





just curiouse... how does the script post to newsgroups? it seems to post on forum but Not to the newsgroup.
The news server i use allow to post (i are able to send mails via outlook express to the newsgroup)
Thanks

athloni 04-01-2006 01:59 AM

I installed this hack and I am currently getting this error (using GigaNews)

Code:

Gateway version 2.3.2  1 group(s) gatewayed.
Could not connect to NNTP-server. (Connection timed out (110))

Not connected
Not connected


athloni 04-01-2006 07:12 PM

Someone please, I need some help. I have had some smart people look at my install and no one knows what is going on.

I am hosted at Asmallorange.com in shared hosting.



I have had a ticket escalated all the way to the admin:

Quote:

I tested this out and it appears to be working. Although, I'm unfamiliar with this script. If you can do some more testing and also contact the developers of it to see what could be wrong with the server, we'd be more than happy to resolve this for you.

Regards,
Ryan


I am trying to connect to GigaNews. I have tried editing nttp.php several times to change the port to 23, 80, and 119, all of which GigaNews accepts. All of them returned the same error:

Quote:

Gateway version 2.3.2 1 group(s) gatewayed.
Could not connect to NNTP-server. (Connection timed out (110))

Not connected
Not connected

hostingforum-it 04-02-2006 07:59 PM

are you able to connect to the news server though another newsreader (eg. outlook express)?

athloni 04-02-2006 10:34 PM

Quote:

Originally Posted by hostingforum-it
are you able to connect to the news server though another newsreader (eg. outlook express)?



Yes.


and actually the thing 'magically' started working. Importing topics STILL :D

Fantastic hack.

dkendall 04-04-2006 05:45 PM

We found that some articles posted in vBulletin were not showing up in the NNTP newsgroups, and the following error was logged:

Posting Message 'Re: blah blah blah' from testuser. Result: 441 (615) Article Rejected -- Duplicate Message-ID <testuser.25r4mk@ultrasoft.com> (GLE=0)

This error is caused by the following code in sendnews in functions_nntp.php:
Code:

$msgid = $u . '.' . base_convert ($msgid_date, 10, 36) . '@'.$nntp_settings['email'];
$msgid_date++;

Note that $msgid_date is a local variable, initialized from the global $nntp['msgid_date']. The next time this function is called, it uses the same value of $nntp['msgid_date'].

Consequently, if the same user posts twice (or more) all their messages get the same Message-ID.

The fix is simple. Use the global variable instead, as follows:
Code:

$msgid = $u . '.' . base_convert ($nntp['msgid_date'], 10, 36) . '@'.$nntp_settings['email'];
$nntp['msgid_date']++;

You can also get rid of the earlier initialization of the $msgid_date local variable, as it's no longer needed.

While we don't use moderation, a similar bug would seem to be the cause of the problem Deepdog009 reported with moderated posts getting left behind when non-moderated posts are replicated (causing the last_postid to get incremented).

Again in function sendnews in functions_nntp.php, the $good_to_set_postid variable is local in scope. When a moderated post is replicated, the local variable is set to zero (false), rather than the $nntp['good_to_set_postid'] global variable.

Having done these fixes, I found an additional problem whereby replies to the posts that had failed to replicate were themselves being rejected (because their parent posts were missing in NNTP).

I worked around this by setting the last_postid value in the NNTP Gateway Settings page to zero, then re-running the gateway. It won't duplicate posts because those already sent to NNTP are flagged in the database.

Regards,
David

athloni 04-06-2006 02:50 PM

I the forums are updating at around 1 post per second. Is the the normal rate that everyone else is getting?

It seems like downloading a few hundred MB of text should take minutes... not a week. Is it because it has to put into the db and posted?

newmomsforum 04-08-2006 06:23 AM

Hey Guys, having some frustrating times with this, the latest posts are being pulled down and sync'd with my forum fine, however when I post I'm getting a 441 posting failed error:

The Full text from gateway.php?debug=1 is:

Quote:

Gateway version 2.3.2 2 group(s) gatewayed.

Connecting to server, server says: 200 News.GigaNews.Com

Server responded after user name: 381 more authentication required

Server responded after password: 281 News.GigaNews.Com

Info for misc.kids.pregnancy at news.giganews.com: 211 146164 682173 828336 misc.kids.pregnancy

Can we post? server responded: 340 send article
Posting Message 'Re: Andrea update' from Claire. Result: 441 posting failed
Any ideas where I can start to look to get this sorted?

Thanks in advance

Claire.


All times are GMT. The time now is 02:03 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.01583 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
  • (3)bbcode_code_printable
  • (4)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