The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

IP Logged during registration

View previous topic View next topic Go down

In progress IP Logged during registration

Post by LadyFaire on January 17th 2015, 5:29 pm

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.

LadyFaire
New Member

Female Posts : 18
Reputation : 1
Language : English

http://kentuckygunowners.forumotion.net/

Back to top Go down

In progress Re: IP Logged during registration

Post by SLGray on January 17th 2015, 10:23 pm

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.


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.


SLGray
Administrator
Administrator

Male Posts : 35629
Reputation : 2372
Language : English
Location : United States

http://fmthemes.forumotion.com/

Back to top Go down

In progress Re: IP Logged during registration

Post by LadyFaire on January 17th 2015, 10:26 pm

I remember seeing a list of members, and the IP address from their last login, but I can't remember WHERE I saw it.

LadyFaire
New Member

Female Posts : 18
Reputation : 1
Language : English

http://kentuckygunowners.forumotion.net/

Back to top Go down

In progress Re: IP Logged during registration

Post by SLGray on January 17th 2015, 10:29 pm

Not on a forum hosted by Forumotion. You can see a list when you and them are log in at the same time.


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.


SLGray
Administrator
Administrator

Male Posts : 35629
Reputation : 2372
Language : English
Location : United States

http://fmthemes.forumotion.com/

Back to top Go down

In progress Re: IP Logged during registration

Post by _Twisted_Mods_ on January 17th 2015, 11:50 pm

what ip address are you allowing .. im working on a script for you

_Twisted_Mods_
Helper
Helper

Male Posts : 2020
Reputation : 299
Language : English
Location : Ms

http://liquidcode.forumotion.com

Back to top Go down

In progress Re: IP Logged during registration

Post by LadyFaire on January 18th 2015, 12:33 am

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.

LadyFaire
New Member

Female Posts : 18
Reputation : 1
Language : English

http://kentuckygunowners.forumotion.net/

Back to top Go down

In progress Re: IP Logged during registration

Post by _Twisted_Mods_ on January 18th 2015, 8:37 pm

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

_Twisted_Mods_
Helper
Helper

Male Posts : 2020
Reputation : 299
Language : English
Location : Ms

http://liquidcode.forumotion.com

Back to top Go down

In progress Re: IP Logged during registration

Post by LadyFaire on January 18th 2015, 9:00 pm

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 at221.130.125.13, all I have to do is block 221.130.125.* and I boot a wide group in the same [general] region.

LadyFaire
New Member

Female Posts : 18
Reputation : 1
Language : English

http://kentuckygunowners.forumotion.net/

Back to top Go down

In progress Re: IP Logged during registration

Post by _Twisted_Mods_ on January 18th 2015, 9:20 pm

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

_Twisted_Mods_
Helper
Helper

Male Posts : 2020
Reputation : 299
Language : English
Location : Ms

http://liquidcode.forumotion.com

Back to top Go down

In progress Re: IP Logged during registration

Post by LadyFaire on January 19th 2015, 1:36 am

That is what I'm doing - 1 IP address at a time... You would not believe how long the list is already.

LadyFaire
New Member

Female Posts : 18
Reputation : 1
Language : English

http://kentuckygunowners.forumotion.net/

Back to top Go down

In progress Re: IP Logged during registration

Post by _Twisted_Mods_ on January 19th 2015, 2:24 am

you can stop .. i just figured something out i should have it for you by tomorrow

#tmtag4later

_Twisted_Mods_
Helper
Helper

Male Posts : 2020
Reputation : 299
Language : English
Location : Ms

http://liquidcode.forumotion.com

Back to top Go down

In progress Re: IP Logged during registration

Post by _Twisted_Mods_ on January 20th 2015, 10:45 am

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 :
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.');}
});}});

_Twisted_Mods_
Helper
Helper

Male Posts : 2020
Reputation : 299
Language : English
Location : Ms

http://liquidcode.forumotion.com

Back to top Go down

In progress Re: IP Logged during registration

Post by LadyFaire on January 20th 2015, 12:44 pm

WOW! Thank you!!

LadyFaire
New Member

Female Posts : 18
Reputation : 1
Language : English

http://kentuckygunowners.forumotion.net/

Back to top Go down

In progress Re: IP Logged during registration

Post by JScript on January 20th 2015, 1:39 pm

@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.
Do you remember: http://help.forumotion.com/t137330p30-ip-address-in-profile#928695 ?

JS

JScript
Forumember

Male Posts : 741
Reputation : 167
Language : PT-BR, EN
Location : Brazil

http://jscript.forumeiros.com/

Back to top Go down

In progress Re: IP Logged during registration

Post by LadyFaire on January 20th 2015, 2:15 pm

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?

LadyFaire
New Member

Female Posts : 18
Reputation : 1
Language : English

http://kentuckygunowners.forumotion.net/

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum