zauberware / humhub-weather-module

Weather widget for humhub community platform.

Home Page:https://zauberware.github.io/humhub-weather-module/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Yii2

HumHub Weather Widget

HumHub Weather Widget Day HumHub Weather Widget Night

!! This plugin is under development. See Open tasks section !!

This module is for HumHub Version 1.1+

Description

This module attaches a simple weather widget in the dashboard's sidebar. It get's is data from https://openweathermap.org/api. You have to obtain an ApiKey first.

As an admin you can define the location from where you want to show the current weather. You can also choose Kelvin or Fahrenheit for displaying the temperature. The title color in the widget is getting set by less variable @primary for that theme.

Dependencies

The plugins includes the awesome jQuery wrapper for openweathermap API: https://github.com/michael-lynch/open-weather

Installation

  1. Download the module and upload it to your modules directory >yourdomain.com>protected>modules
  2. Rename module directory weather (May not be required!)
  3. Enable module from >Admin>Modules
  4. Enter API Key and location

Open Tasks for v1.0

  • load michael-lynch/open-weather with package manager
  • testing different HumHub versions
  • Specs

Changelog

v0.2.1

  • Adding option for windspeed in km/h OR Mps

v0.2

  • Removed static translations and export keys
  • Translations german and english
  • set language in js from current user language
  • set language in js from current user language
  • setting text color from less var @primary

v0.1

  • Basic module with config for API Key and Location
  • Include JS bib + old sourcecode

Authors/Module Website

Module website: https://github.com/zauberware/humhub-weather-module

Author website: https://www.zauberware.com
Author: zauberware technologies / Simon Franzen simon@zauberware.com

zauberware technologies

About

Weather widget for humhub community platform.

https://zauberware.github.io/humhub-weather-module/

License:GNU Affero General Public License v3.0


Languages

Language:PHP 82.9%Language:JavaScript 13.2%Language:CSS 3.9%