Jump to content
MakeWebGames

Update To View Users IP


Miks

Recommended Posts

This is a minor modification to the IP section of viewuser.php

It allows you to click there IP which then takes you to a location/tracker page which shows you there location

Just replace the current table with this table

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

 

I saw a post somewhere the other day about someone wanting to know which country there users were from and if they were lying etc This isnt an answer but another way for you to check up on your users

This will also show you if they are using a suspicious IP or if they are connecting via a proxy

Link to comment
Share on other sites

This is a minor modification to the IP section of viewuser.php

It allows you to click there IP which then takes you to a location/tracker page which shows you there location

Just replace the current table with this table

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

I saw a post somewhere the other day about someone wanting to know which country there users were from and if they were lying etc This isnt an answer but another way for you to check up on your users

This will also show you if they are using a suspicious IP or if they are connecting via a proxy

Using an IP address to get location info can be inaccurate (proxies, VPN's, etc.)

Still, here's a function...

Add this to the bottom of global_func.php (above ?>)

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

Replace aforementioned-in-quote table

*Note: By default, these will show as images. Add a second argument to every ip2flag() call as false if you wish to disable

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

Optional images

Download a set of flag images, or create your own.

If you're wanting to download them, I'd recommend these from famfamfam (the same guy who did the "Silk" images)

Edited by Magictallguy
Reformatted ip2flag() to PSR standard
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...