The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

IP Logged during registration

4 posters

Go down

In progress IP Logged during registration

Post by LadyFaire Sat 17 Jan - 16:29

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
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 Sat 17 Jan - 21:23

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.


IP Logged during registration Slgray10

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

Male Posts : 51554
Reputation : 3524
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

In progress Re: IP Logged during registration

Post by LadyFaire Sat 17 Jan - 21:26

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
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 Sat 17 Jan - 21:29

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


IP Logged during registration Slgray10

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

Male Posts : 51554
Reputation : 3524
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

In progress Re: IP Logged during registration

Post by _Twisted_Mods_ Sat 17 Jan - 22:50

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

Male Posts : 2083
Reputation : 336
Language : English
Location : Ms

http://liquidcode.forumotion.com

Back to top Go down

In progress Re: IP Logged during registration

Post by LadyFaire Sat 17 Jan - 23:33

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
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_ Sun 18 Jan - 19:37

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_
_Twisted_Mods_
Helper
Helper

Male Posts : 2083
Reputation : 336
Language : English
Location : Ms

http://liquidcode.forumotion.com

Back to top Go down

In progress Re: IP Logged during registration

Post by LadyFaire Sun 18 Jan - 20:00

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.
LadyFaire
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_ Sun 18 Jan - 20:20

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_
_Twisted_Mods_
Helper
Helper

Male Posts : 2083
Reputation : 336
Language : English
Location : Ms

http://liquidcode.forumotion.com

Back to top Go down

In progress Re: IP Logged during registration

Post by LadyFaire Mon 19 Jan - 0:36

That is what I'm doing - 1 IP address at a time...  You would not believe how long the list is already.
LadyFaire
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_ Mon 19 Jan - 1:24

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

#tmtag4later
_Twisted_Mods_
_Twisted_Mods_
Helper
Helper

Male Posts : 2083
Reputation : 336
Language : English
Location : Ms

http://liquidcode.forumotion.com

Back to top Go down

In progress Re: IP Logged during registration

Post by _Twisted_Mods_ Tue 20 Jan - 9:45

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_
_Twisted_Mods_
Helper
Helper

Male Posts : 2083
Reputation : 336
Language : English
Location : Ms

http://liquidcode.forumotion.com

Back to top Go down

In progress Re: IP Logged during registration

Post by LadyFaire Tue 20 Jan - 11:44

WOW!  Thank you!!
LadyFaire
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 Tue 20 Jan - 12:39

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: https://help.forumotion.com/t137330p30-ip-address-in-profile#928695 ?

JS
JScript
JScript
Forumember

Male Posts : 741
Reputation : 175
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 Tue 20 Jan - 13:15

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
LadyFaire
New Member

Female Posts : 18
Reputation : 1
Language : English

http://kentuckygunowners.forumotion.net/

Back to top Go down

Back to top

- Similar topics

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