IP Logged during registration
4 posters
Page 1 of 1
IP Logged during registration
I KNOW it is there somewhere, but I can't seem to find it - where is the IP address logged when a new user registers?? Our forum has location requirements, and I need to find out if people registering are meeting those requirements. Right now, I have to wait until they are logged in to find it, but I know the forum software keeps track. Someone tell me where to find that information, please???
Thank you.
Thank you.
Re: IP Logged during registration
There are only two ways to get the IP address:
1. From a post
2. In the administration panel when you and the member is on at the same time.
1. From a post
2. In the administration panel when you and the member is on at the same time.
Lost Founder's Password |Forum's Utilities |Report a Forum |General Rules |FAQ |Tricks & Tips
You need one post to send a PM.
You need one post to send a PM.
When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
Re: IP Logged during registration
I remember seeing a list of members, and the IP address from their last login, but I can't remember WHERE I saw it.
Re: IP Logged during registration
Not on a forum hosted by Forumotion. You can see a list when you and them are log in at the same time.
Lost Founder's Password |Forum's Utilities |Report a Forum |General Rules |FAQ |Tricks & Tips
You need one post to send a PM.
You need one post to send a PM.
When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
Re: IP Logged during registration
They HAVE to be in the USA to join the forum. Basically, the forum is for US firearms enthusiasts. So, I always check to make sure that they aren't from China, or the Russian Federation or whatever. I didn't realize you could set it up to automatically exclude foreign IP addresses.
Re: IP Logged during registration
ok so i changed my mind after finding a list of usa ip's it would take me probably a month to go threw this list and create ranges to scan
http://www.nirsoft.net/countryip/us.html
ill look around in my spare time and try to find another way if i do ill post it .. and dont worry if it gets locked i can have mod unlock it if i figure out something
http://www.nirsoft.net/countryip/us.html
ill look around in my spare time and try to find another way if i do ill post it .. and dont worry if it gets locked i can have mod unlock it if i figure out something
Re: IP Logged during registration
Yeah, I assumed (silly me) that certain codes would be 'assigned' to certain countries or regions. Nope. There doesn't appear to be any rhyme or reason to it. The only constant I've found is that the last set of numbers - will always go to the same area. Such as: 123.456.789.*** As long as the first 3 sets are the same, the last set can be any combination of numbers, and it will still go to the same area/region. So, if I have someone from the Chinese at 221.130.125.13, all I have to do is block 221.130.125.* and I boot a wide group in the same [general] region.
Re: IP Logged during registration
true but it you want to if you want to only allow usa .. you will need a allow list not a block list because you would have to include every country
Re: IP Logged during registration
That is what I'm doing - 1 IP address at a time... You would not believe how long the list is already.
Re: IP Logged during registration
Go to Administration Panel > Modules > JavaScript codes managment and create a new script.
Title: Non Usa
Placement: In All Pages
Paste the code below and submit :
Title: Non Usa
Placement: In All Pages
Paste the code below and submit :
- Code:
$(function(){
if(location.href.match('register')){
$.getJSON('http://ip-api.com/json', function(data) {
if(data.country =='United States'){}else{
$('.button1').remove();
$('.button2').remove();
alert(' Sorry We Only Accept Users From The United States.\n\n\
If Your In The United States And Your Seeing This Your \n\
Probably Running On A Proxy And Will Not Be Able To Register.');}
});}});
Re: IP Logged during registration
Do you remember: https://help.forumotion.com/t137330p30-ip-address-in-profile#928695 ?SLGray wrote:There are only two ways to get the IP address:
1. From a post
2. In the administration panel when you and the member is on at the same time.
JS
Re: IP Logged during registration
I'm sorry, I did the first part, but then got lost. I don't know how to find the browser console as shown in the second illustration. Where is that located?
Similar topics
» How do I create things which can only be viewed by either logged in or logged out users?
» I have a big problem with new user registration .Will not accept new user registration
» Logged in bar.
» Logged in as viewer
» Logged out due to inactivity
» I have a big problem with new user registration .Will not accept new user registration
» Logged in bar.
» Logged in as viewer
» Logged out due to inactivity
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum