Change IP lookup provider? - Poster IP in Viewtopic
Change IP lookup provider?
Loving this extension but the lookup tool is consistently providing incorrect location information - at least for UK visitors, which are the bulk of my users.
I manually ran a large sample of old poster IPs - including posts where I personally already knew the poster's location - through this lookup site and it seems more accurate:
https://www.whatismyip.com/
Is it possible to change the site used in the extension?
I could edit the files myself and change it but just wondered if it was a thing other folks thought of value?
I manually ran a large sample of old poster IPs - including posts where I personally already knew the poster's location - through this lookup site and it seems more accurate:
https://www.whatismyip.com/
Is it possible to change the site used in the extension?
I could edit the files myself and change it but just wondered if it was a thing other folks thought of value?
-
- Registered User
- Posts: 54
- Joined: Thu Mar 01, 2007 5:41 pm
- Location: The Land of Lard
Re: Change IP lookup provider?
this is what I've done to my version of the extension:
in: event/listener.php
find:
replace with:
in: event/listener.php
find:
Code: Select all
'POSTER_IP_WHOIS' => "http://en.utrace.de/?query=" . $poster_ip,
Code: Select all
'POSTER_IP_WHOIS' => "https://www.whatismyip.com/" . $poster_ip,
-
- Registered User
- Posts: 54
- Joined: Thu Mar 01, 2007 5:41 pm
- Location: The Land of Lard
Re: Change IP lookup provider?
Whoops, just realised this is a duplicate of this older post:
https://www.phpbb.com/customise/db/exte ... pic/181811
Sorry!
https://www.phpbb.com/customise/db/exte ... pic/181811
Sorry!
-
- Registered User
- Posts: 54
- Joined: Thu Mar 01, 2007 5:41 pm
- Location: The Land of Lard
Re: Change IP lookup provider?
I just created a new version if you'd like to test it.Quiff Boy wrote:this is what I've done to my version of the extension:
in: event/listener.php
find:replace with:Code: Select all
'POSTER_IP_WHOIS' => "http://en.utrace.de/?query=" . $poster_ip,
Code: Select all
'POSTER_IP_WHOIS' => "https://www.whatismyip.com/" . $poster_ip,
https://github.com/rmcgirr83/posteripin ... tag/v1.1.0
Former Modifications/Extensions Team Member | My extensions | github | All requests for support via PM will be ignored
Appreciate the extensions/mods/support then you can support me by buying a beer
Appreciate the extensions/mods/support then you can support me by buying a beer
-
- Former Team Member
- Posts: 22092
- Joined: Wed Jun 22, 2005 4:33 pm
- Location: Your display
- Name: Rich McGirr
Re: Change IP lookup provider?
Works great, and love how it uses a modal window rather than a opening new browser popup window.
Thanks
Thanks
-
- Registered User
- Posts: 54
- Joined: Thu Mar 01, 2007 5:41 pm
- Location: The Land of Lard
Re: Change IP lookup provider?
You're welcome. It's sitting in the queue to be validated.
Former Modifications/Extensions Team Member | My extensions | github | All requests for support via PM will be ignored
Appreciate the extensions/mods/support then you can support me by buying a beer
Appreciate the extensions/mods/support then you can support me by buying a beer
-
- Former Team Member
- Posts: 22092
- Joined: Wed Jun 22, 2005 4:33 pm
- Location: Your display
- Name: Rich McGirr
Re: Change IP lookup provider?
Nice extension, Just installed itRMcGirr83 wrote:I just created a new version if you'd like to test it.Quiff Boy wrote:this is what I've done to my version of the extension:
in: event/listener.php
find:replace with:Code: Select all
'POSTER_IP_WHOIS' => "http://en.utrace.de/?query=" . $poster_ip,
Code: Select all
'POSTER_IP_WHOIS' => "https://www.whatismyip.com/" . $poster_ip,
https://github.com/rmcgirr83/posteripin ... tag/v1.1.0
Thank you.
-
- Registered User
- Posts: 43
- Joined: Sun Aug 02, 2020 7:35 pm