I would like to have an extra column in the back-end user list with the user's IP address used when he/she registered on the forum.
Is that possible?
Thanks,
Ben
PHP related forum, discuss snippets, classes and tutorials
I would like to have an extra column in the back-end user list with the user's IP address used when he/she registered on the forum.
Is that possible?
Thanks,
Ben
Hi Ben,
there is no IP address inside the user table. Only the postings table has a column for the IP address.
If I understand correctly, users IP address is only logged after the first posting?
If so, is there a way to sort users by IP address after the first posting?
Thanks,
Ben
The IP address is logged with every post (in the posts table).
If you post to this forum from different ISPs each post has a different IP address.
There is no function to store the IP address just for registration (the same for wordpress)
Maybe you can tell what you like to do?
I want to block certain ip addresses from registering on the forum, like a black-list.
Just block them from the website using .htaccess or your servers firewall.
Normally you block people because what they post nor because they did register
Just block them from the website using .htaccess or your servers firewall.
Thought about that but the problem is that my site goes nuts when I try to upload a .htaccess file. See: http://www.finalwebsites.com/forums/topic/cant-undelete-post-http-500-internal-server-error/page/3#post-2071
Normally you block people because what they post nor because they did register
You're right but there are ppl who keep trying to register after they're banned several times. They use the same IP address but different email addresses
this people register only and doesn't post anything?
how about a block via the firewall?
Yes they do post, that's way they're getting banned everytime
I will contact the hosting provider to ask if they can blacklist the IP address.
Thanks for your kind help!
That's how I do it I check if there is some IP address to a very nasty spammer and block the IP address on the whole server, normally if there is a control panel for your hosting there is often an option to block single IP addresses.
You must log in to post.