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)

Marv 03-22-2003 10:12 PM

gopherhockey,

Quote:

I even set it up so posts going to my forums via NNTP are not counted in the rest of my vb systems statistics, so users aren't flooded with usenet garbage when they log in, but only see actual posts from local (registered) users.
can you tell us exactly what you did to stop that ?

JF1980 03-23-2003 03:27 AM

look up

JF1980 03-23-2003 04:57 PM

Im running 2.2.6 (not sure if that matters), I setup a test box and added this hack to it. It sucks posts in ok, but posts made to the newsgroup do not appear on the groups. Is this a knowsn problem, it's making me mad!!!

Take a look, http://jf.myftp.org the forums is called TEST under the General Forums

Gardener 03-23-2003 05:24 PM

After you post the reply, go into your admin control panel and click on "Manual Syncronisation". What does the screen say? Are you getting any error messages? I'm using it on my new site and don't have any problems.

JF1980 03-23-2003 05:29 PM

It says it is posted ok!

Im using ultrafeed news server if that is important...

Gardener 03-23-2003 07:38 PM

I could be the news service you use. I have seen some that will take several hours for a post to show up after it was made.

Gilby set up a test server here that you can use to make sure that everything is working. Try that and see if the posts show up.

MaXxed 03-24-2003 02:06 AM

Ive been having issues with my news provider over spam messages being posted to usenet thru my board. Do you guys moderate your outgoing posts? Does it work well with the hack?

tpearl5 03-24-2003 10:37 PM

I can't get past gateway.php connecting to the server. It doesn't import or export messages at all. I've read throught his thread as much as possible, what can be missing?

Gardener 03-25-2003 09:49 PM

Quote:

Today at 12:37 AM tpearl5 said this in Post #528
I can't get past gateway.php connecting to the server. It doesn't import or export messages at all. I've read throught his thread as much as possible, what can be missing?
What news server are you using? Are you getting any error messages? If you are trying to use your ISP's news server they may have it set so that it will not accept connections from outside the network.

Try the test server posted here and see if you can connect to it. If you can, then it's your news provider.

If you still can't get it working, PM me and I'll see if I can help.

JF1980 03-26-2003 06:22 PM

Ok, I sort of have this working. Few questions:

1. Is there a way of making the reply address the same for any user (e.g. usenet@thrill-seekers.net) and then having a cron job checking this account every x mins and then importing any replies to threads into the newsgroup forum? Im sure someone must have done this already.

2. Have a weird issue, I post to free.teranews.com, in outlook express I can't see my posts on either teranews.com or ultrafeed.com servers but they show up on my ISP's server?!? Can anyone see a post on rec.aviation.hang-gliding ?

3. How regularly can I have a cron job running gateway.php without making the server slow down to a halt and being thrown out by my host (powweb)? 5mins, 10mins? If you want to see the size of the newsgroups I will be using then take a look at http://jf.myftp.org (my test box). I guess I will have about 6-7 other groups on my live site all of similar size.

4. What is the best way to stop my DB going over my 250MB server disk limit? I guess I should clear out posts once they are 30 days old or so, VBAdmin doesn't do this so I guess I will have to run a cron job, are there any good scripts already out there for this purpose?

Thanks.

Justin

SRozhon 03-31-2003 04:15 PM

Gilby, this is so great! Thank you so much for this #1 Hack!!!

SRozhon 04-01-2003 01:55 PM

When I do Manual Sync all goes fine but if put address in browser I get a promt box to save or open gateway.php??? When I say open I get an error and it opens notepad. Why would this be happening?

peterjun 04-08-2003 03:59 AM

So how do you setup the email features? There doesn't appear to be instructions! Thanks!

Quote:

04-04-02 at 11:50 PM Gilby said this in Post #320
That's exactly what it means. It can also send posts to an email address too.

peterjun 04-08-2003 04:22 AM

Now I am getting this issue as well... any help?

Quote:

03-24-02 at 04:29 PM renaud_ said this in Post #282
Hi,

thanks for all,

i can't gateway an POP3 account ...

I can't understand what's the mistake ...

Any idea ?


peterjun 04-08-2003 04:33 AM

Nevermind... I searched in the class.POP3.php3 file for the noop line. There's a sequence that says: Changes are where there are ***.

}
$this->FP = $fp;
$this->BANNER = $this->parse_banner($reply);
$this->RFC1939 = $this->noop();
if($this->RFC1939)
{
$this->ERROR = "POP3: premature NOOP OK, NOT an RFC 19$
*** //$this->quit();
*** return true; }
return true;

MaXxed 04-08-2003 03:34 PM

I have my usenet forums moderated on all posts, yet the script is posting messages to usenet anyway. How can I avoid spamming usenet? I've asked this question before but am now stumped, any help anyone?

peterjun 04-08-2003 05:41 PM

Is there a way to show the poster's email address in the forum post? Perhaps at the start of the message?

"From <email here>"

Thanks!

Also, how do I disable sends from the forum to the newsgroups?

Gardener 04-08-2003 08:49 PM

MaXxed and peterjun,

You might want to look at the usenet hack located at:
https://vborg.vbsupport.ru/showthrea...threadid=22599

It allows you to do what both of you are asking for. It works better for me than this hack does.

mood 04-14-2003 07:24 AM

VB 2.3
When I run gateway.php I'm getting
"Invalid SQL: UPDATE forum SET replycount=replycount+1,threadcount=threadcount+1, lastpost='1046023251',lastpost er='Peter' WHERE forumid IN ()
mysql error: You have an error in your SQL syntax near ')' at line 1
"
heeeeeeeeeeelp
Thanks

Mood

willms_jay 04-25-2003 10:19 AM

does this hack work with

version: 2.3.0

or

version : 2.2.9?

..thanx

jordan willms

Sanjiyan 04-25-2003 10:28 AM

works with both 2.2.9 and 2.3.0

works with both 2.2.9 and 2.3.0

I've been using this nntp hack since gilby originally made it, and its worked with every vbulletin since 2.2.3

Sanjiyan 04-25-2003 10:30 AM

Quote:

04-08-03 at 06:41 PM peterjun said this in Post #537
Is there a way to show the poster's email address in the forum post? Perhaps at the start of the message?

"From <email here>"

Thanks!

Also, how do I disable sends from the forum to the newsgroups?

The email one I dont know, but to stop your board from sending posts onto usenet, just set up the access masks to allow people to view the posts or threads, but not post/reply/create etc.

Sanjiyan 04-25-2003 10:35 AM

Quote:

03-26-03 at 08:22 PM JF1980 said this in Post #530
[B]Ok, I sort of have this working. Few questions:

1. Is there a way of making the reply address the same for any user (e.g. usenet@thrill-seekers.net) and then having a cron job checking this account every x mins and then importing any replies to threads into the newsgroup forum? Im sure someone must have done this already.
For the email you can try this, you need to edit a entry in the database, in the table: nntp_settings

The title is: Email address domain

Change the value: timelimit.yourserver.com
To what ever you need, I dont know if this works 100% but by the look of it, and what the description of it says, it should do.

As for the cron job, I do it a simple way and use MS Task scheduler, just point it to iexplorer.exe (or what ever browser) like this:

"C:\Program Files\Internet Explorer\iexplore.exe" http://theborg.cjb.net/borg/forums/gateway.php

The above is all one line, you can see if it works via wacking it in your RUN command line from the Start Menu (for us Windows users)

Quote:

3. How regularly can I have a cron job running gateway.php without making the server slow down to a halt and being thrown out by my host (powweb)? 5mins, 10mins? If you want to see the size of the newsgroups I will be using then take a look at http://jf.myftp.org (my test box). I guess I will have about 6-7 other groups on my live site all of similar size.
Have it as often as you like, I have it every 20 minutes.

Quote:

4. What is the best way to stop my DB going over my 250MB server disk limit? I guess I should clear out posts once they are 30 days old or so, VBAdmin doesn't do this so I guess I will have to run a cron job, are there any good scripts already out there for this purpose?
Use the Search system


Thanks

Sanjiyan 04-25-2003 10:39 AM

Quote:

04-08-03 at 04:34 PM MaXxed said this in Post #536
I have my usenet forums moderated on all posts, yet the script is posting messages to usenet anyway. How can I avoid spamming usenet? I've asked this question before but am now stumped, any help anyone?

See my post above, or click on this link

https://vborg.vbsupport.ru/showthrea...862#post386862

Sanjiyan 04-25-2003 10:43 AM

Quote:

04-01-03 at 03:55 PM SRozhon said this in Post #532
When I do Manual Sync all goes fine but if put address in browser I get a promt box to save or open gateway.php??? When I say open I get an error and it opens notepad. Why would this be happening?
Its your IE settings you need to reset them and it should work.

peterjun 04-25-2003 01:58 PM

works under 2.3.0 for me.

Sanjiyan 05-03-2003 02:48 AM

I've recently changed servers, and I am now getting this error when I try and pick up POP3 posts:

POP3: premature NOOP OK, NOT an RFC 1939 Compliant server

The only thing that is different is the server environment, ie its a different webserver.

Any ideas on how to fix this, so I can use the POP3 function again and feed my mailing lists to the forums?

Erwin 05-08-2003 11:22 PM

Any tricks or advice regarding avoiding the gateway.php from timing out when importing a large amount of posts?

I notice that some users have figured a way to do this. Any suggestions?

Sanjiyan 05-13-2003 06:14 PM

increasin the timeout in php.ini ?

Erwin 05-14-2003 01:31 AM

It's okay, I got around it by using another news server. :)

Erwin 05-14-2003 01:32 AM

It's okay, I got around it by using another news server. :)

DaveG 05-15-2003 01:03 PM

It seems as if every 3 months my newsgroup gateway blows up on me. It has something to do with my news server rejecting the post, but it ACTUALLY accepts it. Well because on my end it thinks the message was rejected, it sends it again with the next newsgroup sync. And over and over again. with each new message. The only fix for this is to DELETE the newsgroup forum and recreate it from scratch, re-importing all the messages. Then a few months later the same thing happens.

Any idea how to stop this? The people in the newsgroup get REAL mad when it happens because the newsgroup gets flooded with massive duplicate posts.

Sanjiyan 05-15-2003 09:22 PM

Anyone found the solution to the:
POP3: premature NOOP OK, NOT an RFC 1939 Compliant server

because I cant use this hack till I get this resolved... which is a shame, because I like it to pull the email from a email mailing list.

ScubaClicks 05-28-2003 02:52 PM

Great hack and it's downloading the messages from the newsgroups just fine however I'm having problems with posts and replys.

When someone posts or replies it functions normally on the vbulletin side but the posting never seems to make it to the newsgroup itself..

Any ideas or am I missing something?

We cron the group every 10 minutes..

limey 05-28-2003 05:25 PM

Quote:

Today at 04:52 PM ScubaClicks said this in Post #554
Great hack and it's downloading the messages from the newsgroups just fine however I'm having problems with posts and replys.

When someone posts or replies it functions normally on the vbulletin side but the posting never seems to make it to the newsgroup itself..

Any ideas or am I missing something?

We cron the group every 10 minutes..


I pretty much have the same problem.

Depends on the newserver, but I've tried like 5 and no dice.

limey 05-28-2003 09:09 PM

Ok one worked, don't know which one now.

Can we change the output on the newsgroup page? Like this message was posted with or by or from?

I'm leaving my post as is, so others may find the answer. The solution is in this thread

groovesalad 06-02-2003 05:47 PM

oops, no I didn't. I uploaded it and it says this

Quote:

1 group(s) gatewayed.
Logging in to news.comcast.giganews.com, group alt.music.dave-matthews
but nothing shows up in the forum

limey 06-03-2003 08:38 PM

Does anyone have this hack installed as well as vbHome Lite? If so are the new posts from the newsgroups being updated on the front page?

limey 06-03-2003 08:40 PM

Does anyone have this hack installed as well as vbHome Lite? If so are the new posts from the newsgroups being updated on the front page?

groovesalad 06-05-2003 10:23 PM

So, no one knows why it doesn't get past the gateway section and not post on the board?


All times are GMT. The time now is 09:12 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.01840 seconds
  • Memory Usage 1,832KB
  • 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
  • (12)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
  • (40)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