Weather Plugin

Display basic weather information in blocks or inside other pages.

This plugin uses Google's weather API, which is subject to change, and is not the same plugin as the original Weather plugin for Geeklog

Requirements

  • glFusion v1.2.0 or newer
  • PHP 5.1 or newer

Installation

This plugin uses the glFusion automated plugin installer. Simply upload the distribution using the glFusion plugin installer located in the Plugin Administration page.

The plugin may be installed manually, if necessary.

Upgrading

The upgrade process is identical to the installation process, simply upload the distribution from the Plugin Administration page.

Features

  • Blocks may be created to show current conditions in various areas
  • Users can search for weather in different locations by specifying a ZIP code or a city & state.
  • Provides an API function to embed weather information into other plugin output.

Administration

Configuration Options

OptionDescription
Anonymous AccessSelect the level of access given to anonymous users. The options are “view” - only view the default location; “search” - view and search for locations; and “none” - the plugin will not be available to anonymous users. This does not affect the display of any blocks.
Display glFusion blocksSelect which side blocks will be displayed on the plugin page.
Minutes to cache weather dataEnter the how long, in minutes, weather data should be cached. To reduce bandwidth usage and hits on Google's servers, weather data is cached in a database table. This number indicates how long that data will be considered “fresh.”
Default LocationEnter the ZIP code or city & state (at least) of a location to use as the default. This location will be displayed when the plugin page is first loaded by a visitor.
Location to show in PHP blockSelect the location to be shown in the default block. The “Personal” location refers to any location entered in the user's account profile, and “Default” refers to the default location defined above.
Show the plugin on the “Plugins” menu?Select whether a menu option will be created by glFusion on the default “Plugins” menu. Setting this to “No” still allows you to create another menu option.

License

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

Logged in as: Guest (anonymous)
glfusion/glweather/start.txt · Last modified: 2011/01/17 02:00 by lee
 
Except where otherwise noted, content on this wiki is licensed under the following license: GNU Free Documentation License 1.3