Page 1 of 1

IP Address: How can I get the user's IP w/no posts?

Posted: Sun Feb 25, 2007 5:26 am
by IgnorantNewGuy
A user hasn't posted yet and I don't want them to. I want to ban them via IP, but because they haven't posted yet, how can I get their IP?

Re: IP Address: How can I get the user's IP w/no posts?

Posted: Sun Feb 25, 2007 5:32 am
by Marshalrusty
IgnorantNewGuy wrote: A user hasn't posted yet and I don't want them to. I want to ban them via IP, but because they haven't posted yet, how can I get their IP?

phpBB only stores IPs when users post. The only way to do his would be to either catch the user online and get the IP from the who is online in the administration panel, or to check the server access logs.

Posted: Sun Feb 25, 2007 5:46 am
by IgnorantNewGuy
I'll try the server access logs. I know when they were on last. Thanks a bunch! Now I just need to figure out how to do that. :) I'm sure my host can help out.

Posted: Sun Feb 25, 2007 6:17 am
by morestuff
you won't be able to ban them via IP anyway. most people get a new IP everything they logon to the internet.

Posted: Sun Feb 25, 2007 7:47 am
by IgnorantNewGuy
Well, that is partly true, especially true with AOL but many others are static if they're with the big ones.

Posted: Sun Feb 25, 2007 8:17 am
by karlsemple
IgnorantNewGuy wrote: Well, that is partly true, especially true with AOL but many others are static if they're with the big ones.



Very few are static, most ISP's only assign static IP's if the user pays extra, I know my ISP charges a small fortune for one. If you are having spam bot problems you should give the VIP mod a go, if you are having a user problem you are best reporting them to their ISP via the abuse contact email you will find when doing a lookup of their IP :)