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 10-04-2004 02:47 AM

Quote:

Originally Posted by SaN-DeeP
Sorry but were do i find those debug messages now ?
i followed the installation files, and did not find anything related to there.

or if i was not able to see them there :S

Thnx.

http://www.yourserver.com/vbdir/gateway.php?debug=1

lierduh 10-04-2004 02:57 AM

Quote:

Originally Posted by wflynn
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 rec.gambling.poker at news.giganews.com:
211 373019 554640 927658 rec.gambling.poker

Posting Message 'Re: Some ammo for you Online is rigged people' from pokerpartys. Result: 500 syntax error or unknown command

It is possible that the server does not allow you to post.

To further debug, with nntp.php file around line 177,
find
$response = trim(fgets($this->fp, 128));

Add a '.' before the '=', ie.

$response .= trim(fgets($this->fp, 128));

Post the debug message again.

SaN-DeeP 10-04-2004 05:53 PM

hi lierduh, I executed the debug as recommended by you.
It asked for file download, saved the file and here are the contents:
Code:

  Gateway version 2.2.1  6 group(s) gatewayed.
Connecting to server, server says: 200 NNTP Service 6.0.3790.1146 Version: 6.0.3790.1146 Posting Allowed
Info for microsoft.public.windowsxp.general at msnews.microsoft.com:
211 82644 1 1134161 microsoft.public.windowsxp.general

Connecting to server, server says: 200 NNTP Service 6.0.3790.1146 Version: 6.0.3790.1146 Posting Allowed
Info for microsoft.public.windowsxp.hardware at msnews.microsoft.com:
211 12198 1 234489 microsoft.public.windowsxp.hardware

Connecting to server, server says: 200 NNTP Service 6.0.3790.1146 Version: 6.0.3790.1146 Posting Allowed
Info for microsoft.public.windowsxp.games at msnews.microsoft.com:
211 1569 61797 63443 microsoft.public.windowsxp.games

Connecting to server, server says: 200 NNTP Service 6.0.3790.1146 Version: 6.0.3790.1146 Posting Allowed
Info for microsoft.public.win98.gen_discussion at msnews.microsoft.com:
211 10033 1 750330 microsoft.public.win98.gen_discussion

Connecting to server, server says: 200 NNTP Service 6.0.3790.1146 Version: 6.0.3790.1146 Posting Allowed
Info for microsoft.public.office.misc at msnews.microsoft.com:
211 6108 154024 160290 microsoft.public.office.misc

Connecting to server, server says: 200 NNTP Service 6.0.3790.1146 Version: 6.0.3790.1146 Posting Allowed
Info for microsoft.public.windows.server.general at msnews.microsoft.com:
211 5688 41878 47717 microsoft.public.windows.server.general

This is the debug message after adding (a '.' before the '=', ie.) as recommended by ya.
Code:

Gateway version 2.2.1  6 group(s) gatewayed.
Connecting to server, server says: 200 NNTP Service 6.0.3790.1146 Version: 6.0.3790.1146 Posting Allowed
Info for microsoft.public.windowsxp.general at msnews.microsoft.com:
211 82653 1 1134172 microsoft.public.windowsxp.general
Getting message number 1134162:
'Re: XP Service Pack 2' from Malke. Thread found by References.
Getting message number 1134163:
'WindowsXP Service Pak2' from . Thread found by References.
Getting message number 1134164:
'Re: Updating to Word 2000' from Malke. Thread found by References.
Getting message number 1134165:
'find a computer name for an ip????' from Blankman. New thread.
Getting message number 1134166:
'Re: Email' from Phil. Thread found by References.
Getting message number 1134167:
'Switching to Outlook vice Outlook Express' from Phil. New thread.
Getting message number 1134168:
'feand5.SYS - bluescreen/crash' from mito koumon. Thread found by References.
Getting message number 1134169:
'problem' from Krishna Prabhu. Thread found by References.
Getting message number 1134170:
'Does Outlook Express honor blocked IP addresses...' from ΤΏ? Mws. New thread.
Getting message number 1134171:
'runas problems' from Jason Dravet. New thread.
Getting message number 1134172:
'Re: find a computer name for an ip????' from David Candy. Thread found by References.
Connecting to server, server says: 200 NNTP Service 6.0.3790.1146 Version: 6.0.3790.1146 Posting Allowed
Info for microsoft.public.windowsxp.hardware at msnews.microsoft.com:
211 12275 1 234491 microsoft.public.windowsxp.hardware
Getting message number 234490:
'After updating Win XP with SP2, CD-R not recording' from Moha Elbitar. New thread.
Getting message number 234491:
'Infrared problem' from tonyhua. New thread.
Connecting to server, server says: 200 NNTP Service 6.0.3790.1146 Version: 6.0.3790.1146 Posting Allowed
Info for microsoft.public.windowsxp.games at msnews.microsoft.com:
211 1541 61797 63443 microsoft.public.windowsxp.games

Connecting to server, server says: 200 NNTP Service 6.0.3790.1146 Version: 6.0.3790.1146 Posting Allowed
Info for microsoft.public.win98.gen_discussion at msnews.microsoft.com:
211 11652 1 750336 microsoft.public.win98.gen_discussion
Getting message number 750331:
'Re: Error that will not go away' from PCR. Thread found by References.
Getting message number 750332:
'Re: BIOS settings' from Gary S. Terhune. Thread found by References.
Getting message number 750333:
'Re: Windows error..@ 0028:C1C25364' from Gary S. Terhune. Thread found by References.
Getting message number 750334:
'Re: Windows error..@ 0028:C1C25364' from Gary S. Terhune. Thread found by References.
Getting message number 750335:
'Re: Explorer causes error and can't load at startup' from Third Planet Main. Thread found by References.
Getting message number 750336:
'Re: How to kill running process?' from Gary S. Terhune. Thread found by References.
Connecting to server, server says: 200 NNTP Service 6.0.3790.1146 Version: 6.0.3790.1146 Posting Allowed
Info for microsoft.public.office.misc at msnews.microsoft.com:
211 5052 155128 160290 microsoft.public.office.misc

Connecting to server, server says: 200 NNTP Service 6.0.3790.1146 Version: 6.0.3790.1146 Posting Allowed
Info for microsoft.public.windows.server.general at msnews.microsoft.com:
211 5770 41879 47719 microsoft.public.windows.server.general
Getting message number 47718:
'Finding what OU an object belongs to.' from ikempls. New thread.
Getting message number 47719:
'Re: News Group service' from Jonathan Maltz [MS-MVP]. Thread found by References.

thnx for your support

Regards,

Andy R 10-05-2004 12:37 AM

If posts are moderated, will they still post to the usenet as soon they are approved (the next time gateway.php runs)?

lierduh 10-05-2004 12:56 AM

Quote:

Originally Posted by organic-hosting
If posts are moderated, will they still post to the usenet as soon they are approved (the next time gateway.php runs)?

I believe the gateway will ignore the moderation (that is your local forums' moderation). If the newsgroup is moderated, than what ever happens after the gateway sending the posts, will depend on the moderation process.

lierduh 10-05-2004 12:57 AM

Quote:

Originally Posted by SaN-DeeP
hi lierduh, I executed the debug as recommended by you.
It asked for file download, saved the file and here are the contents:
Regards,

There is no new posts to be sent according to the debug message.

kkiely 10-05-2004 01:37 AM

is there something special i need to do in order to have the hack work on more than 1 forum? I instaled it on 2 different sites and both sites will only allow me to pull from 1 Usenet group

wflynn 10-05-2004 03:23 AM

Ok I did the special debug you suggested and it appears NNTP posting isn't allowed. I think it's my webhost please take a look at the debug and let me know what you think my options are.

Gateway version 2.2.1 1 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 rec.gambling.poker at news.giganews.com:
211 374481 554640 929120 rec.gambling.poker

Your NNTP server says posting is prohibited!Posting Message '$100 Free - Just For Posting In Our Forums!' from pokerpartys. Result: 440 posting not allowed500 syntax error or unknown command
Posting Message 'Re: $100 Free - Just For Posting In Our Forums!' from pokerpartys. Result: 500 syntax error or unknown command500 syntax error or unknown command
Getting message number 565879:

What do you think my easiest fix is?

SaN-DeeP 10-05-2004 08:59 AM

Quote:

Originally Posted by lierduh
There is no new posts to be sent according to the debug message.

here is another log, requested a few users to post / reply some threads in those forums:
Code:

Gateway version 2.2.1  6 group(s) gatewayed.
Connecting to server, server says: 200 NNTP Service 6.0.3790.1146 Version: 6.0.3790.1146 Posting Allowed
Info for microsoft.public.windowsxp.general at msnews.microsoft.com:
211 84107 1 1134897 microsoft.public.windowsxp.general
Posting Message 'Re: querry about firefox' from sachin21. Result: 340 Continue posting - terminate with period441 (629) Article Rejected -- Ill-formed message id '<sachin21.1dne0o@tech-arena@DoNotSpam.com>' in field 'Message-ID:'
Getting message number 1134890:
'controllers needed for compaq presario SR1000Z' from stijn. New thread.
Getting message number 1134891:
'Re: secedit' from Dservices. Thread found by References.
Getting message number 1134892:
'cd writing' from casbill. New thread.
Getting message number 1134893:
'RE: Can't Print After Windows XP SP2 installation' from juza. New thread.
Getting message number 1134894:
'Re: controllers needed for compaq presario SR1000Z' from Ross Durie. Thread found by References.
Getting message number 1134895:
'Re: Accessing modem after installing XP' from David Litchfield. Thread found by References.
Getting message number 1134896:
'missing module\file' from Q. New thread.
Getting message number 1134897:
'Re: missing module\file' from Will Denny. Thread found by References.
Connecting to server, server says: 200 NNTP Service 6.0.3790.1146 Version: 6.0.3790.1146 Posting Allowed
Info for microsoft.public.windowsxp.hardware at msnews.microsoft.com:
211 12258 1 234587 microsoft.public.windowsxp.hardware
Posting Message 'Re: PC Freezes on dialup' from sachin21. Result: 340 Continue posting - terminate with period441 (629) Article Rejected -- Ill-formed message id '<sachin21.1dne0p@tech-arena@DoNotSpam.com>' in field 'Message-ID:'
Connecting to server, server says: 200 NNTP Service 6.0.3790.1146 Version: 6.0.3790.1146 Posting Allowed
Info for microsoft.public.windowsxp.games at msnews.microsoft.com:
211 1579 61803 63475 microsoft.public.windowsxp.games

Connecting to server, server says: 200 NNTP Service 6.0.3790.1146 Version: 6.0.3790.1146 Posting Allowed
Info for microsoft.public.win98.gen_discussion at msnews.microsoft.com:
211 10131 1 750428 microsoft.public.win98.gen_discussion
Getting message number 750427:
'error message on startup' from casbill. New thread.
Getting message number 750428:
'Re: CABLE Internet' from AlmostBob. Thread found by References.
Connecting to server, server says: 200 NNTP Service 6.0.3790.1146 Version: 6.0.3790.1146 Posting Allowed
Info for microsoft.public.office.misc at msnews.microsoft.com:
211 5109 155153 160338 microsoft.public.office.misc
Getting message number 160336:
'Page scroll is &quot;wavy/ fading&quot;' from kgm. New thread.
Getting message number 160337:
'I cant write any office documents, locked from modification' from Mr. Midgley. New thread.
Getting message number 160338:
'Re: shortcut customisation in Word CTRLLeft+SHIFT' from RLEM. Thread found by References.
Connecting to server, server says: 200 NNTP Service 6.0.3790.1146 Version: 6.0.3790.1146 Posting Allowed
Info for microsoft.public.windows.server.general at msnews.microsoft.com:
211 5785 41932 47776 microsoft.public.windows.server.general


SaN-DeeP 10-05-2004 02:15 PM

Edited the domain name and works now :), answered myself..
Great Addon man.. will soon send you some suggestions for new versions

Regards,

jcrash 10-06-2004 01:28 PM

Hey, I've been using this for a few months and everything was good.

Then about a week ago, I started getting this error message when the import would run:

Getting message number 689792: /home/pokerpla/bin/cron_gateway_script.sh: line 3: 24708 Segmentation fault php gateway.php

Any help is appreciated.

EDIT - I downloaded the new interface and used that to set the max message to 689800. That did NOT fix the problem. Now I just get this from my cron job:

/home/pokerpla/bin/cron_gateway_script.sh: line 3: 32493 Segmentation fault php gateway.php

MORE INFO: If I try to manually run gateway.php?debug=1 I get a blank white page...no error, no text...it just is blank.


Still More info: After Setting the number even higher, it imported a bunch of posts, but my cron email which usually looks like this:

X-Powered-By: PHP/4.3.7
Expires: Mon, 26 Jul 1997 05:00:00 GMT
Last-Modified: Wed, 29 Sep 2004 07:27:01 GMT
Cache-Control: no-store, no-cache, must-revalidate
Cache-Control: private, post-check=0, pre-check=0
Pragma: no-cache
Set-Cookie: bblastvisit=1096442821; expires=Thu, 29-Sep-05 07:27:01 GMT; path=/
Set-Cookie: bblastactivity=1096439221; expires=Thu, 29-Sep-05 07:27:01 GMT; path=/
Content-Type: text/plain

1 group(s) gatewayed.
Logging in to news.athenanews.com, group rec.gambling.poker
Getting message number 689621: Thread found; 'Re: The Empire $500 Bonus....' from Dave L

Instead, looked like this:

Code:

X-Powered-By: PHP/4.3.9
Content-Type: text/plain
Expires: Mon, 26 Jul 1997 05:00:00 GMT
Last-Modified: Wed, 06 Oct 2004 16:27:00 GMT
Cache-Control: no-store, no-cache, must-revalidate
Cache-Control: private, post-check=0, pre-check=0
Pragma: no-cache
Set-Cookie: ; path=/
Set-Cookie: bblastvisit=1097080020; expires=Thu, 06-Oct-05 16:27:00 GMT; path=/
Set-Cookie: bblastactivity=1097080020; expires=Thu, 06-Oct-05 16:27:00 GMT; path=/


                    $c1 = (ord(substr($str[$i],$pos+1,1)) ^ 0x20);
                    $file .= chr(((($c0 - ' ') & 077) << 2) | ((($c1 - ' ') & 077) >> 4));

                }
            }
            $files[] = array('filename' => $filename, 'fileperm' => $fileperm, 'filedata' => $file);
        }

        return $files;
    }


}

/*
 * Local Variables:
 * tab-width: 4
 * c-basic-offset: 4
 * End:
 */

?>
<br />
<b>Warning</b>:  Unknown modifier 'b' in <b>/home/pokerpla/public_html/forums/gateway.php</b> on line <b>346</b><br />
<br />
<b>Warning</b>:  Unknown modifier '>' in <b>/home/pokerpla/public_html/forums/gateway.php</b> on line <b>346</b><br />
<br />
<b>Warning</b>:  Unknown modifier 'a' in <b>/home/pokerpla/public_html/forums/gateway.php</b> on line <b>346</b><br />
/home/pokerpla/bin/cron_gateway_script.sh: line 3:  7348 Killed                  php gateway.php


Lord Brar 10-06-2004 03:41 PM

Wow. This hack sounds very intersting... I am gonna install it tommorow!

jcrash 10-06-2004 06:53 PM

While trying to solve my problem (see above) - I note that I cannot run the gateway from a browser - I just get a blank white page.

Give it a try:

Andy R 10-06-2004 07:41 PM

Did you try to re-upload gateway.php? It seems that it might have gotten corrupted?[QUOTE=jcrash]While trying to solve my problem (see above) - I note that I cannot run the gateway from a browser - I just get a blank white page.

SaN-DeeP 10-06-2004 09:06 PM

lierduh now i am confused, though posting the results above i saw it works, a few of the threads my members are replying to, dont get added to NNTP Server. I cannot get debug logs for same..

Those threads are still present on my forums, but dont appear on USENET. any ideaz ?
this problem was also reported to by few of members who have installed this hack and they gave up its use.. but i want to use the same.. :disappointed:

Regards,

jcrash 10-06-2004 09:52 PM

Quote:

Originally Posted by organic-hosting
Did you try to re-upload gateway.php? It seems that it might have gotten corrupted?


Yes, I HAD tried that, but it didn't work.

However, I just redownloaded the file and reuploaded it and now it works BUT - it still starts the output like this:


$c1 = (ord(substr($str[$i],$pos+1,1)) ^ 0x20);
$file .= chr(((($c0 - ' ') & 077) << 2) | ((($c1 - ' ') & 077) >> 4));

}
}
$files[] = array('filename' => $filename, 'fileperm' => $fileperm, 'filedata' => $file);
}

return $files;
}


}

/*
* Local Variables:
* tab-width: 4
* c-basic-offset: 4
* End:
*/

?>
Gateway version 2.2.1 1 group(s) gatewayed.

Connecting to server, server says: 200 216.128.74.129

Server responded after user name: 381 Helo adx785 password required

Server responded after password: 281 Authorization accepted

Info for rec.gambling.poker at news.athenanews.com:
211 40171 653980 698762 rec.gambling.poker selected

Getting message number 693666:
'Playing Style Favors Limit or No-Limit?' from Jeff Goslin. New thread.


As you can see, it did download files, but that stuff at that top doesn't look like it belongs.

Worse yet, it didn't ask me to login...isn't that bad?

lierduh 10-08-2004 01:57 PM

Quote:

Originally Posted by wflynn
Info for rec.gambling.poker at news.giganews.com:
211 374481 554640 929120 rec.gambling.poker

Your NNTP server says posting is prohibited!Posting Message '$100 Free - Just For Posting In Our Forums!' from pokerpartys. Result: 440 posting not allowed500 syntax error or unknown command

What do you think my easiest fix is?

As you see, the server says posting is prohibited! There is nothing I can help. You may need to pay them to post?

lierduh 10-08-2004 02:01 PM

Quote:

Originally Posted by SaN-DeeP
here is another log, requested a few users to post / reply some threads in those forums:
Code:


Posting Message 'Re: querry about firefox' from sachin21. Result: 340 Continue posting - terminate with period441 (629) Article Rejected -- Ill-formed message id '<sachin21.1dne0o@tech-arena@DoNotSpam.com>' in field 'Message-ID:'



As the server says: Article rejected, due to a wrong Message ID (has two @ signs!)

lierduh 10-08-2004 02:04 PM

Quote:

Originally Posted by jcrash
Yes, I HAD tried that, but it didn't work.

However, I just redownloaded the file and reuploaded it and now it works BUT - it still starts the output like this:


$c1 = (ord(substr($str[$i],$pos+1,1)) ^ 0x20);
$file .= chr(((($c0 - ' ') & 077) << 2) | ((($c1 - ' ') & 077) >> 4));

}
}
$files[] = array('filename' => $filename, 'fileperm' => $fileperm, 'filedata' => $file);
}

return $files;
}


}

/*
* Local Variables:
* tab-width: 4
* c-basic-offset: 4
* End:
*/

?>
Gateway version 2.2.1 1 group(s) gatewayed.

Connecting to server, server says: 200 216.128.74.129

Server responded after user name: 381 Helo adx785 password required

Server responded after password: 281 Authorization accepted

Info for rec.gambling.poker at news.athenanews.com:
211 40171 653980 698762 rec.gambling.poker selected

Getting message number 693666:
'Playing Style Favors Limit or No-Limit?' from Jeff Goslin. New thread.


As you can see, it did download files, but that stuff at that top doesn't look like it belongs.

Worse yet, it didn't ask me to login...isn't that bad?

Have you re-uploaded other files? such as mime.php etc. Or you just uploaded gateway.php again?

lierduh 10-08-2004 02:08 PM

As a common courtesy, please do not ask for private help or support. As most if not all code hackers, I only provide support in the thread when time permits. I am quite busy at the moment, so please understand, do not email me or PM me.

lange 10-08-2004 05:51 PM

I am willing to pay for a NNTP news server. What news server can I use ? Anybody with Usenet.com or Newsfeeds.com ? Or it doesn't matter ? Here is their answer (usenet, newsfeeds):

"You can access the newsgroups through the web to news gateway, but I am not familiar with access through Vbulletin NNTP Gateway. You can give it a try, but as I said I am not familiar with it."

"Hello, You can gain access via web to news gateway. I do not know what vbulletin is. Thank you, Sales"

trackpads 10-08-2004 08:30 PM

I use giganews.com Pretty good.

-Jason

wflynn 10-08-2004 09:31 PM

Probem (1) Everytime I run the gateway it keeps reposting the same messages that already posted to usenet. They are below:

Gateway version 2.2.1 1 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 rec.gambling.poker at news.giganews.com:
211 379884 554640 934523 rec.gambling.poker

Posting Message 'Sorry about duplicate posts' from pokerpartys. Result: 340 send article240 post accepted.
Posting Message 'Re: PartyPoker: Play money tables are gone.' from Tommy21. Result: 340 send article240 post accepted.
Posting Message 'Re: Lost my whole buy in, need some analysis' from pokeranch.com. Result: 340 send article240 post accepted.
Posting Message 'Re: Sorry about duplicate posts' from pokerpartys. Result: 340 send article240 post accepted.
Getting message number 567500:
'Define &quot;Tough&quot;' from Linda K Sherman. New thread.
Getting message number 567501:
'Re: hold em: missed bets?' from Linda K Sherman. Thread found by References.
Getting message number 567503:

Problem (2) - I used the prune option several times for my forums but my sql database size stays the same - isnt that suppose to be pruned also?

lierduh 10-10-2004 04:42 AM

Quote:

Originally Posted by wflynn
Probem (1) Everytime I run the gateway it keeps reposting the same messages that already posted to usenet. They are below:
Problem (2) - I used the prune option several times for my forums but my sql database size stays the same - isnt that suppose to be pruned also?


According to this post:

http://groups.google.com.au/groups?h...okerpartys.com

You modified the script at some stage. You could have stuffed it up. I suggest you to put back the original script before too many abuse emails arrive.:)

lierduh 10-10-2004 04:51 AM

Quote:

Originally Posted by lange
I am willing to pay for a NNTP news server. What news server can I use ? Anybody with Usenet.com or Newsfeeds.com ? Or it doesn't matter ? Here is their answer (usenet, newsfeeds):

"You can access the newsgroups through the web to news gateway, but I am not familiar with access through Vbulletin NNTP Gateway. You can give it a try, but as I said I am not familiar with it."

"Hello, You can gain access via web to news gateway. I do not know what vbulletin is. Thank you, Sales"

The question need to be asked is: can the web server access the news server? It is perhaps easier to use the news server that your web hosting company might have. Failing that, you just need to make sure the web server can access the news server on port 119 using tcp protocol. In a nutshell, the web server which runs this script will act as a news reader, it must be able to read news via port 119 using tcp protocol. You might need to check this with your web host company in case they run outbound firewall on the web server. Some commercial news contents providers let you access news (nntp) through other common ports (eg. port 80) to get around.

trackpads 10-10-2004 05:27 AM

Lierduh,

This has probably been asked but what is the Prefix field for in the newsgroup settings? Will this add text before the title when it is imported?

Thanks again for the great work,

-Jason

lierduh 10-10-2004 08:52 AM

Quote:

Originally Posted by trackpads
Lierduh,

This has probably been asked but what is the Prefix field for in the newsgroup settings? Will this add text before the title when it is imported?

Thanks again for the great work,

-Jason

Prefix is now used for filtering mailing lists. With a single email account subscribed to multiple mailing lists, one group will only import those emails with defined "Prefix" in the subject. eg.

Set:
newbie

as prefix for forum 1.

Set:
develope

as prefix for forum 2.

forum 1 will only import the emails with [newbie] in the subject (newbie as well)

forum 2 will ignore those and only take care of emails with [develope]/develope in the subject.

wflynn 10-10-2004 03:10 PM

Ok I deleted the 2 databases that get created and reinstalled the files again and you were right it now only posts one message. Everything seems to be working great except for my sql database. I pruned even deleted my entive newsgroup forum but the size of my sql database doesnt get smaller? Is this normal? If it is normal how can I safely prune the sql database to throw away all the old garbage?

I appreciate all your help and must applaud you on this great script! :squareeyed:

jcrash 10-11-2004 02:10 PM

Ugg.

Ok, I got everything working.

It was all working fine...cron scheduled hourly and it would run great.

Then, all of a sudden, it just doesn't download (import) any new messages anymore.

So, I posted a message in my forum and ran it manually - that message was exported, but nothing was imported.

So, I check the last post ID variable and found it to be 194025. I set it down to 193000 and reran the gateway (with debug =1). Nothing was imported, however, the last post ID was RESET to 194025.

All I get now is this:

Gateway version 2.2.1 1 group(s) gatewayed.

Connecting to server, server says: 200 216.128.74.129

Server responded after user name: 381 Helo adx785 password required

Server responded after password: 281 Authorization accepted

Info for rec.gambling.poker at news.athenanews.com:
211 45712 653980 704305 rec.gambling.poker selected

Well, I got it working. I had set the Post ID and not the message ID.

The message ID is in the Groups page and the post is in the settings page.

Message is for the usenet number and postid is for the internal (max vbulletin forum post) number.

There must be some messages that cause this script to die. Once I bumped the message number up again, it worked.

lierduh 10-12-2004 03:43 AM

Quote:

Originally Posted by wflynn
Ok I deleted the 2 databases that get created and reinstalled the files again and you were right it now only posts one message. Everything seems to be working great except for my sql database. I pruned even deleted my entive newsgroup forum but the size of my sql database doesnt get smaller? Is this normal? If it is normal how can I safely prune the sql database to throw away all the old garbage?

I appreciate all your help and must applaud you on this great script! :squareeyed:

Not sure what size you are referring to. The raw mysql file size? or the mysqldump file size?

MyISAM tables keep the space after deletion. New records will be inserted into the empty spaces. You might like to search Google for
optimize myisam table
and/or
phpmyadmin overhead optimize

michaelgersitz 10-13-2004 11:40 PM

I really proboally should look for the answer in this thread since it is proboally listed, but I looked through 10 pages and could not see a similar problem.

The USENET posts post only once, but in my statistics box on teh main page, it doubles the amount of posts by all the posts in my rec.gambling.poker forum.

http://www.goodpokerforums.com/ is my forum.

James T Brock 10-15-2004 05:49 AM

Ok, I have everything installed and only need to insert an NNTP server name. I have my own domain and website, how can I find out if my host offers NNTP (without having to email them and ask)? News.domain.com doesn't work, what else should I try?

trackpads 10-17-2004 02:34 PM

Quote:

Originally Posted by James T Brock
Ok, I have everything installed and only need to insert an NNTP server name. I have my own domain and website, how can I find out if my host offers NNTP (without having to email them and ask)? News.domain.com doesn't work, what else should I try?

Go to giganews.com I use them and they are pretty good.

-Jason

trackpads 10-17-2004 02:35 PM

Thanks!

Is there a way to prefix the usenet posts so people can tell which ones are local and which ones arent?

If not no biggie,

Thanks again for all the hard work,

-Jason

James T Brock 10-19-2004 04:21 AM

Ok..this is frustrating, everything is working except now I can import posts fine but none of my posts are being submitted to usenet!

Is there anything I can do to fix this? Maybe something in my settings wasn't done right? For organization I have my domain name and I have this for the email; "no-mx.forums.MyDomain.com"

With MyDomain being my sites real domain. is that corrent, or should the syntax be emailAddress@mydomain.com?

Chadi 10-19-2004 04:44 AM

Pardon me for asking but how would I use the Google news?

I want a Christian based newsgroup from Google which I found but I do not know how the addressing works.

James T Brock 10-19-2004 04:50 AM

Quote:

Originally Posted by chadi
Pardon me for asking but how would I use the Google news?

I want a Christian based newsgroup from Google which I found but I do not know how the addressing works.

When you say "addressing" are you referring to the address of the newsgroup? If you don't mind, post a link to the Google newsgroup and i'll tell you what the address is.

It should be in the format of something like alt.religion.christian or something like that.

Chadi 10-19-2004 04:55 AM

<a href="https://groups.google.com/groups?hl=en&lr=&group=soc.religion.christian" target="_blank">http://groups.google.com/groups?hl=e...gion.christian</a>

example:
soc.religion.christian.bible-study (would this be it?)

I'm 100% new to this.

James T Brock 10-19-2004 04:59 AM

I think soc.religion.christian is the group you want to set as the address, as soc.religion.christian.bible-study is a different group.

So where it says usenet address use this; soc.religion.christian

James T Brock 10-19-2004 05:14 AM

BTW -- if you're new and you're trying to install this, you need to know that in-order to get the news you'll probably need some kind of NNTP news server. I'm using giganews located at http://giganews.com, it's not free though. :)


All times are GMT. The time now is 04:28 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.02492 seconds
  • Memory Usage 1,912KB
  • 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
  • (5)bbcode_code_printable
  • (15)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