Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Benjamin Pick

    (@benjaminpick)

    True, I should add some documentation. However right now I’m curious to the possible use casese of this plugin …

    As for your case, you could write the following code in one of your template files:

    $userInfo = geoip_detect_get_info_from_current_ip();
    if ($userInfo && $userInfo->country_code == 'DE')
       echo 'Hallo!'

    I will add it into the FAQ, and someday write more documentation on our homepage.

    Plugin Author Benjamin Pick

    (@benjaminpick)

    Oh BTW, currently you can find a bit more technical documentation in the comments of the plugin file api.php.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How do I use this?’ is closed to new replies.