![]() |
Quote:
|
Quote:
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. |
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. Code:
Gateway version 2.2.1 6 group(s) gatewayed. Regards, |
If posts are moderated, will they still post to the usenet as soon they are approved (the next time gateway.php runs)?
|
Quote:
|
Quote:
|
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
|
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? |
Quote:
Code:
Gateway version 2.2.1 6 group(s) gatewayed. |
Edited the domain name and works now :), answered myself..
Great Addon man.. will soon send you some suggestions for new versions Regards, |
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 |
Wow. This hack sounds very intersting... I am gonna install it tommorow!
|
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: |
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.
|
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, |
Quote:
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? |
Quote:
|
Quote:
As the server says: Article rejected, due to a wrong Message ID (has two @ signs!) |
Quote:
|
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.
|
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" |
I use giganews.com Pretty good.
-Jason |
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 "Tough"' 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? |
Quote:
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.:) |
Quote:
|
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 |
Quote:
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. |
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: |
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. |
Quote:
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 |
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. |
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?
|
Quote:
-Jason |
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 |
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? |
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. |
Quote:
It should be in the format of something like alt.religion.christian or something like that. |
<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. |
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 |
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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|