Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/O Code)
 Need Beta testers for a new weather Mod
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

rgrund
Junior Member

Austria
206 Posts

Posted - 10 June 2004 :  12:58:54  Show Profile
HI,

I am finishing up these days a weather mod which gets the data from the website weather.noaa.gov and retrieves a metar file. These metar files are updated from all the airports allover the world.

I have taken a mod from mambo and converted the php script into asp.

The module can be configured as any other itz module from the administration area.

station = XXXX
The metar station is a four letter uppercase code for your geographic area. If you don't know your closer metar station, take a look at AboutMetarStations. Default is LPPT, the metar station code for Lisbon, Portugal.

location = local
The default is Lisbon, Portugal. You can freely choose the content of this parameter. It's used to describe your area.

align = center|left|right
Defaults to left. It's just the alignment of the whole module, when displayed on your site.

unit = C|F
Temperature unit, in Celsius (C) or Fahrenheit (F). Default to C.

display_temperature = yes|no
If you want the temperature to not be displayed, choose no. Defaults to yes.

display_humidity = yes|no
If you want the humidity information to not be displayed, choose no. Defaults to yes.

display_wind = yes|no
If you want the wind velocity to not be displayed, choose no. Defaults to yes.

display_dew_point = yes|no
If you want the dew temperature point to not be displayed, choose no. Defaults to yes.

display_visibility = yes|no
If you want the visibility to not be displayed, choose no. Defaults to yes.

display_clouds = yes|no
If you want the clouds information to not be displayed, choose no. Defaults to yes.

display_barometer = yes|no
If you want the barometer to not be displayed, choose no. Defaults to yes.

display_conditions = yes|no
If you want the local conditions to not be displayed, choose no. Defaults to yes. This looks something like 'very cloudy' or 'rain'. The conditions only are displayed if this option is set to yes and the metar station returns information about it. The don't give this information when not needed.

use_icon_status = yes|no
If you want the icons to not be displayed, choose no. Defaults to yes.

local_time = x
The time offset in hours from your location relative to EST. Defaults to 0.

use_border_icon = 1|0
Just displays a border around incons. Defaults to 0.

wind_unit = km/h|mps|kt|bf
The wind unit to use. At the moment, you can choose from kilometers (km/h), miles (m), knots (kt) or beaufort (bf). Defaults to km/h.

visibility_unit = km|miles
The visibility unit to use. You can choose from kilometers (km) or miles (m). Defaults to km.

layout=horizontal|vertical
If you want the module to be displayed vertically, choose vertical. Otherwise, choose horizontal. Defaults to vertical.

display_wind_chill=yes|no
If you want the wind chill factor calculation to not be displayed, choose no. Defaults to yes.

cache_timeout=x
The time to cache locally the metar information, in seconds. The use of this parameters is highly recommended because of performance. If you don't want to cache data, set to 0. Defaults to 1800.

icon_theme = themeName
The icon theme you want to use. This is a directory name present at modules/myweather/themedirectory that contais all the icons used by MyWeather. Defaults to default.

display_conditions = yes|no
Shows or hides the local conditions if available.

display_observation= yes|no
Shows or hides the last report observation time in UTC.

display_time= yes|no
Shows or hides the local time.

The Mod can be loaded any where within the snitz forum or the sitenews (serverhacker version).

SO if you are interested to test that mod out, please send an email to mailto:robertgrund@yahoo.com

You will then get by Sunday the zip file and also the instructions.

Best regards,

Bob

Internet should be OPENSOURCEd!

Classicmotorcycling
Development Team Leader

Australia
2084 Posts

Posted - 10 June 2004 :  17:01:14  Show Profile
E-mail sent..

Cheers,

David Greening
Go to Top of Page

serritzlev
Junior Member

Denmark
291 Posts

Posted - 10 June 2004 :  17:07:09  Show Profile  Visit serritzlev's Homepage
Hi rgrund E-mail sent..

Go to Top of Page

bucketboy
Starting Member

6 Posts

Posted - 27 October 2004 :  21:35:10  Show Profile
Hi m8 - sent email
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.49 seconds. Powered By: Snitz Forums 2000 Version 3.4.07