ERT FreeGeoIP

Developer

PUNCHCARD*PDX - Evan R. Thompson

3rd Party (Free)

2 downloads (last 90 days)

Creative Commons Attribution No Derivatives Download v1

EE Version Support

  • ExpressionEngine 2

Compatibility

If an item is crossed out, it might be untested, not applicable or incompatible. Contact the developer to be sure.

  • Updater
  • Multi Site Manager
  • Stand Alone Entry Form
  • Low Variables
  • Content Elements
  • Better Workflow
  • Matrix
  • Grid
  • Webservice
  • Publisher

Requirements

  • jQuery for the Control Panel

Add-On Type(s)

Plugin

Tags

Easily fetch JSON or strings relating to a user's current location based on IP lookup provided by FreeGeoIP.net

ERT FreeGeoIP Can be used to fetch the current user’s location based on their IP address. Uses the FreeGeoIP api, See freegeoip.net for rate limits and terms of service. Please consider donating if you rely on this service.

Usage:

{exp:ert_freegeoip:json} // return json string for user’s location

Parameters:

{exp:ert_freegeoip:fetch show=”” ip=”“}

“show=” // Print a string for a particular value of the returned json

  options:

  city // returns city name
  zipcode // returns zip/postal code
  region_name // returns region name
  region_code // returns region code*
  country_name // returns country name
  country_code // returns two character country code


  * In the United States, the region code corresponds to the two-letter abbreviation of each state. In Canada, the region code corresponds to the two-letter province or territory code as attributed by Canada Post.
  For the rest of the world, use FIPS 10-4 codes to represent regions. You can check » http://www.maxmind.com/app/fips10_4 for a detailed list of FIPS 10-4 codes.

“ip=” // Manually provide an IP to be used instead of current user’s. Handy for testing on localhost

Download ERT FreeGeoIP

EE Support Downloads Add-On Version Release Date
Not Specified Download 1 Feb 28, 2014

ERT FreeGeoIP Links

This entry was created March 3, 2014, 9:55 am.
This entry was last updated March 12, 2014, 3:31 pm.

Disclaimer: Information about ExpressionEngine add-ons is provided as a service to you, the user, and every member of the ExpressionEngine community. devot:ee is not responsible if you hose, mangle, wreck, or otherwise destroy your EE website by installing an add-on that you found out about at this site, regardless of its rating, Favorites status, commercial or free status, or general popularity. Caveat EEmptor!

Returns: devot:ee has a 30-day return policy on all commercial add-ons sold through devot-ee.com. If you need to return an add-on, do not go to the developer or the developer's site, but rather visit our returns page at https://devot-ee.com/returns to initiate your return. If you have questions, email support@devot-ee.com.

There are no reviews for this add-on yet.

What are you waiting for? Rate it and review it!