Miks Posted April 4, 2015 Share Posted April 4, 2015 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 Quote Link to comment Share on other sites More sharing options...
Magictallguy Posted April 4, 2015 Share Posted April 4, 2015 (edited) 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 January 31, 2017 by Magictallguy Reformatted ip2flag() to PSR standard Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.