QUICK NEWS

{NEW} - A new css video is up.

{OLD} - New video courtesy of Skhilled, Thanks for posting it up.

Video of the moment:


Internal Links

SMF Sites

Quick Info

RIPE whois not working on any SMF sites I'm admin on!

Started by Dave, Mar 03, 2024, 05:24 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Dave

This is also posted on SMF

See attachment of what happens when looking up an IP with RIPE

Early last year I changed the Ripe search option for 'IPLOCATION (Europe, the Middle East and parts of Africa and Asia)' the reason for this is because the results from Ripe were very minimal.

For those who want to change also here's how.

Backup first.

Sources>Profile.View.php

find


'ripe' => array(
                'name' => $txt['whois_ripe'],
                'url' => 'https://apps.db.ripe.net/search/query.html?searchtext=' . $context['ip'],

replace with



          'iplocation' => array(
                'name' => $txt['whois_iplocation'],
                'url' => 'http://www.iplocation.net/?query=' . $context['ip'],

Default>languages>Profile.English.php

Find


$txt['whois_ripe'] = 'RIPE (Europe, the Middle East and parts of Africa and Asia)';
replace with


$txt['whois_iplocation'] = 'IPLOCATION (Worldwide)';
One last thing is that you would not need any of the other IP options as IPlocation does worldwide.

As I previously said I've been using this for quite some time and the results are quite comprehensive.
If you want play quizzes or games click below

Bigguy

Thanks for these code changes. I'm sure they will come in useful. Also, I think this has all been fixed in 3.0
"It's the American dream....cause ya have to be asleep to believe it." - George Carlin

Dave

Quote from: Bigguy on Mar 03, 2024, 06:25 AMThanks for these code changes. I'm sure they will come in useful. Also, I think this has all been fixed in 3.0

You're welcome. I think 3.0 might not be around for at least 12-18 months yet, well not gold anyway.
If you want play quizzes or games click below

Oldiesmann

Fixed a while back in git (so it'll be fixed if 2.1.5 ever happens). I also fixed the LACNIC URL while I was at it.

https://github.com/SimpleMachines/SMF/pull/7965/files
Christian Metal Fans - https://www.christianmetal.fans

Dave

I think IPLocation is a better option anyway OM, the details are more comprehensive and it covers the whole world, IMO  ;)
If you want play quizzes or games click below

Skhilled

I see "Europe, the Middle East and parts of Africa and Asia" but what about the US and other parts of the world?

Dave

Quote from: Skhilled on Mar 09, 2024, 07:39 PMI see "Europe, the Middle East and parts of Africa and Asia" but what about the US and other parts of the world?


It still works there, I just copied and pasted the text from Ripe, I will change it
If you want play quizzes or games click below

Skhilled