Moodle

replace ip lookup with something better

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Trivial Trivial
  • Resolution: Fixed
  • Affects Version/s: 1.7
  • Fix Version/s: 1.9
  • Component/s: Other
  • Labels:
    None
  • Environment:
    All
  • Affected Branches:
    MOODLE_17_STABLE
  • Fixed Branches:
    MOODLE_19_STABLE

Description

I have searched for IPLookup alternatives - did not find anything suitable for distribution as part of moodle package.

But we could use something like http://www.seomoz.org/ip2loc/ip2loc.php

The Google Mas licence and Maxdata Golite license would allow us to do the displaying and searching directly on moodle.org site (which is publicly acessible) or we could even (if allowed) link directly to the site above

Issue Links

Activity

Hide
Martin Dougiamas added a comment -

From Petr Skoda (skodak at centrum.cz) Sunday, 13 August 2006, 08:26 PM:

correction:

GeoLIte Data by MaxMind, available from http://maxmind.com

From Petr Skoda (skodak at centrum.cz) Monday, 14 August 2006, 02:41 AM:

I have prepared a sample implementation that uses Google Maps API and MaxMind's free GeoLite City database, you can test it here:

http://turbo.cdv.tul.cz/showiponmap/test.php

or if you wish to test some specific ip use:

http://turbo.cdv.tul.cz/showiponmap

code attached

Show
Martin Dougiamas added a comment - From Petr Skoda (skodak at centrum.cz) Sunday, 13 August 2006, 08:26 PM: correction: GeoLIte Data by MaxMind, available from http://maxmind.com From Petr Skoda (skodak at centrum.cz) Monday, 14 August 2006, 02:41 AM: I have prepared a sample implementation that uses Google Maps API and MaxMind's free GeoLite City database, you can test it here: http://turbo.cdv.tul.cz/showiponmap/test.php or if you wish to test some specific ip use: http://turbo.cdv.tul.cz/showiponmap code attached
Hide
Martin Dougiamas added a comment -

Petr,

When you get a moment, can you quickly knock up a new /iplookup/googlemaps plugin with this code?

http://moodle.cvs.sourceforge.net/moodle/moodle/iplookup/

Is it required that we include the whole database or is there some other solution? I'm happy to put a redirector or something on moodle.org.

Show
Martin Dougiamas added a comment - Petr, When you get a moment, can you quickly knock up a new /iplookup/googlemaps plugin with this code? http://moodle.cvs.sourceforge.net/moodle/moodle/iplookup/ Is it required that we include the whole database or is there some other solution? I'm happy to put a redirector or something on moodle.org.
Hide
Petr Škoda (skodak) added a comment -

I could use the geo data from http://netgeo.caida.org/perl/netgeo.cgi?target= I gues (from ipatles code)
should be easy

Show
Petr Škoda (skodak) added a comment - I could use the geo data from http://netgeo.caida.org/perl/netgeo.cgi?target= I gues (from ipatles code) should be easy
Hide
Petr Škoda (skodak) added a comment -

there are some other alternatives here:
http://www.caida.org/tools/utilities/netgeo/

Show
Petr Škoda (skodak) added a comment - there are some other alternatives here: http://www.caida.org/tools/utilities/netgeo/
Hide
Petr Škoda (skodak) added a comment -

new iplookup is in cvs,
thanks for the report

Show
Petr Škoda (skodak) added a comment - new iplookup is in cvs, thanks for the report

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: