Page 4 of 38

Posted: Wed Mar 12, 2003 2:51 pm
by kolczyk
working great!!

how about to use multiple news servers? (not only one)

working towards a beta 3

Posted: Wed Mar 12, 2003 3:06 pm
by wineknow
thanks for all the feedback folks.
as for my comments to it:
- multiple newsservers - I'll look into it, the nntp code is *mostly* a big, black box -- I just don't want to break it...
- the alternative email address stuff would be pretty easy to add
- quotes/bbcode should be stripped/replaced with something useful -- good idea, I'll look into it
- checking to make sure that an syncing instance is not already running, as well as, a maximum timeout - is something that must be done
- if anyone has a better way to deal with the email address, feel free to post code, the xxx@xxx.NOSPAM.com is something that is used frequently on usenet as it still enables folks to reply to sender quite easily

- let me know if you have any other problems
-kevin

strange bug

Posted: Wed Mar 12, 2003 3:09 pm
by wineknow
Legolas-ga wrote: Strange bug I think... I have alt.test setup to sync, and the phpBB board shows that there are 24 pages of posts.. But, when I go beyond page 4 or so, it tells me there are no more posts.. So, it's not updating the number of posts, or the post_id's correctly somewhere.. Sorry, I'll try to track it down better shortly...


I ran into this a few times myself. I thought that the I fixed it in beta 2.
Did you purge your phpBB forum when upgrading to beta 2?

Regardless run:
php -q newssync.php NEWSPURGE=alt.test
then run it again w/o the NEWSPURGE and see if it comes back...

-k

Re: strange bug

Posted: Wed Mar 12, 2003 3:12 pm
by wineknow
Whoops! I just checked my alt.test forum and well, I have the same problem. So it's not fixed. I'll track it down.
-k
wineknow wrote:
Legolas-ga wrote:Strange bug I think... I have alt.test setup to sync, and the phpBB board shows that there are 24 pages of posts.. But, when I go beyond page 4 or so, it tells me there are no more posts.. So, it's not updating the number of posts, or the post_id's correctly somewhere.. Sorry, I'll try to track it down better shortly...


I ran into this a few times myself. I thought that the I fixed it in beta 2.
Did you purge your phpBB forum when upgrading to beta 2?

Regardless run:
php -q newssync.php NEWSPURGE=alt.test
then run it again w/o the NEWSPURGE and see if it comes back...

-k

Posted: Wed Mar 12, 2003 3:40 pm
by kolczyk
I have following error when messages are sending to news server

-- no new topics or replys for pl.misc.elektronika
* Looking for messages to export...
-- Error sending message: 500 What?

or another:

* Looking for messages to export...
-- Error sending message: 441 You are not allowed to post to pl.misc.elektronika
-- 1 new phpBB replys in forum pl.misc.elektronika

Posted: Wed Mar 12, 2003 3:56 pm
by modaco
Another weird one...

My forum is in GMT, but people in the NG are posting from different time zones - hence threads in the phpBB quite often look really weird!

Is there a way to convert post times to GMT on import, hence resolving this problem?

Keep up the EXCELLENT work :)

P

nntp error

Posted: Wed Mar 12, 2003 4:10 pm
by wineknow
kolczyk wrote: I have following error when messages are sending to news server

-- no new topics or replys for pl.misc.elektronika
* Looking for messages to export...
-- Error sending message: 500 What?

or another:

* Looking for messages to export...
-- Error sending message: 441 You are not allowed to post to pl.misc.elektronika
-- 1 new phpBB replys in forum pl.misc.elektronika


* this is an error from your news-server. -- your account may need a userid/passwd -- connect via a usenet client, and try to send a message...

Posted: Wed Mar 12, 2003 4:13 pm
by kolczyk
when I use client Outlook or Hammer everything working fine (messages are allowed)

weird time

Posted: Wed Mar 12, 2003 4:14 pm
by wineknow
I'll look into it.
I am using the php function strtotime() which in my tests actually did covert to local time -- which the message gets posts as -- then submit_post *should* convert it to GMT -- I think...it should work...

One thing I have notices is that some folks have the time set incorrectly on their computer which really screws things up..and there is not much you can do about that....

-k

modaco wrote: Another weird one...

My forum is in GMT, but people in the NG are posting from different time zones - hence threads in the phpBB quite often look really weird!

Is there a way to convert post times to GMT on import, hence resolving this problem?

Keep up the EXCELLENT work :)

P

error message

Posted: Wed Mar 12, 2003 4:19 pm
by wineknow
kolczyk wrote: when I use client Outlook or Hammer everything working fine (messages are allowed)


is outlook or hammer configured to send a userid/password?
[just want to check]
- also could it be possible that your phpBB server for some reason not allowed to send nntp messages?
- does alt.test work?

-k

Posted: Wed Mar 12, 2003 4:20 pm
by kolczyk
let me know what news server 100% works for You
and I will try at my

Posted: Wed Mar 12, 2003 4:24 pm
by modaco
What does a [NEWSPURGE] do exactly?

I assume it clears the entries out of the DB so you can re-sync the lot?

Can I do a newspurge without having to open a shell session (i.e. from phpMyAdmin or from a page?)

I have got my host to set up a CRON, but don't have shell access :(

P

Posted: Wed Mar 12, 2003 4:27 pm
by kolczyk
I've tried also alt.test
Syncing: alt.test with phpBB forumid: 46
-- total nntp posts for alt.test is 10
* Expiring old messages...
* Looking for new messages...
-- no new topics or replys for alt.test
* Looking for messages to export...
-- Error sending message: 500 What?
-- 1 new phpBB replys in forum alt.test

on servers: news.tpi.pl, news.wariat.org, gail.ripco.com...

what is 100% working news server? :(

Posted: Wed Mar 12, 2003 4:41 pm
by modaco
This sounds like the problem I was having... You running b2 and phpBB 2.0.4?

P

Posted: Wed Mar 12, 2003 4:45 pm
by kolczyk
phpBB 2.0.3 and b2

sending function working only for my local news server
I think this can be a problem (local news server blocked ports or something?)