FG Location

Developer

Feisty Goat Interactive - Mike Roling

3rd Party (Free)

38 downloads (last 90 days)

Creative Commons Attribution Download v1.0.4

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

FG Location is an ExpressionEngine 2.x plugin that returns the last check-in information for Foursquare users and also returns a Google map with a marker on the last location. The data is cached for five minutes within the expressionengine/cache directory to increase page load performance and for high traffic sites to stay within the Foursquare API rate limits.

To install, upload fg_location folder within /system/expressionengine/third_party/ and ensure /system/expressionengine/cache/ is writable by the web server.

Example Usage

Foursquare

{exp:fg_location:foursquare private_rss="URL TO PRIVATE FEED" map_height="100" map_width="100" map_marker_color="blue"}
    <p><a href="{google_map_link}"><img src="{google_map}" /></a>
    <a href="{checkin_link}">{location_name}</a><em>{city}, {state}</em></p>
{/exp:fg_location:foursquare}

Parameters

  • private_rss (Foursquare, required): The private rss URL to the user’s checkin history. This URL can be obtained by going to https://foursquare.com/feeds/ and following the instructions.
  • map_height: The Google map height.
  • map_width: The Google map width.
  • map_marker_color: The Google map marker color.  You can use 24 bit color (0xFFFFCC) or a predefined color from the set (black, brown, green, purple, yellow, blue, gray, orange, red, white).

Single Variables

  • {location_name}: The name of the location entity.
  • {city}: The city name of the location.
  • {state}: The state name of the location.
  • {coordinates}: The coordinates (long,lat) of the location.
  • {checkin_link}: The URL to the checkin on the third party site.
  • {google_map}: The URL to the Google map image of the location.
  • {google_map_link}: The URL to the Google maps service.

Requirements

Web server writable /system/expressionengine/cache directory.
PHP 5.2+

Notes

If the plugin isn’t working after install, make sure that the /system/expressionengine/cache directory is writeable by the web server.

When modifying the map width and height variables, you may need to empty the cache to see the changes.

Download FG Location

EE Support Downloads Add-On Version Release Date
Not Specified Download 1.0.4 Sep 21, 2011

FG Location Links

This entry was created June 6, 2011, 2:17 pm.
This entry was last updated July 12, 2013, 10:48 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!