We already have a PHP implementation for geoplugin.com, you can check it on their site http://www.geoplugin.com/webservices/php#php_class
The only thing left to do is to provide a helper function to execute that code, that's all.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Nikita Petrov’s picture

Here is the solution. I downloaded the original file geoplugin.class.php without any changes, added one public function named "geoplugin_locate()" to geoplugin.module and wrote how to use it in Readme file. Please, review it and commit to the module. Thanks!

  • Nikita Petrov committed 1f2fe7b on 7.x-1.x
    Issue #2452375: Server-based Drupal API and admin pages
    

  • Nikita Petrov committed 19a0ba9 on
    Issue #2452375: Hook_update and custom permissions for the module
    
Nikita Petrov’s picture

Status: Active » Closed (fixed)

Done and commited to the 7.x-1.1 stable release.