News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

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

Started by Dave J, March 01, 2024, 03:43:24 AM

Previous topic - Next topic

Dave J

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 (Europe, the Middle East and parts of Africa and Asia)';
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 quizzes to add to the new SMF2.1 quiz mod go here . There are also walkthroughs in the forum to explain how to install them and other tips.

Advertisement: