A Weather plugin has been released for glFusion 1.2.0 and higher. This plugin uses Google's weather API to retrieve weather conditions based on postal code or city & state. The block at the left is an example of this plugin in action.
The Locator plugin has been updated to version 1.0.2. This release includes a fix for cases where floating-point numbers use a comma as the decimal separator, which MySQL cannot handle. Also new is integration with the new Weather plugin, allowing weather conditions to be displayed on the location pages.The Weather Plugin
The Weather plugin has no special requirements and needs no API key. It simply retrieves weather data from Google and caches it in a database table for a (configurable) period of time. The current weather can be displayed alone in a block, and forecasts can be displayed on the plugin's main page. You can search for locations and see what the weather is like in those areas.
The API function allows other plugins to leveage the Weather plugin to display weather data (the Locator Plugin is the first to use this feature). A "weather" autotag is also available, with options for "current" or "full" weather display:
[weather:full pasadena, ca]
The above was created by including [_weather:full Pasadena, CA_] in the page (remove the underscores; they're there to prevent the tag from being replaced).The Locator Plugin
The Locator Plugin contains no major updates, but some minor fixes and refactoring. The most significant new feature is the ability to use the Weather plugin to display data on the location detail page. For an example, see Los Angeles City Hall.
To configure the integration, simply select "Yes" for "Integrate with the Weather Plugin" in the Locator Plugin's configuration screen. While you're there you'll also notice a new option called "Offer to get directions on detail page." Choose "Yes" to have a form created on the location page where visitors can enter their own address to get directions via Google Maps. (No personal data is kept or even seen by your site; the form links directly to Google.)