units plugin
- dmgould
- Forecaster

- Posts: 173
- Joined: Sat Aug 26, 2017 2:43 am
- Location: Divide, Colorado, USA
- Station model: Davis Pro 2 Plus Wireless
- Software: Meteobridge
- Contact:
units plugin
I just installed this plugin. Choose the visibility tab (binoculars) and choose ft (feet) as the unit. Enter a value and nothing displays. I tried several decimal places and no change.
- Attachments
-
- visibility.JPG (42.57 KiB) Viewed 13821 times
Dave G

- nikokara - BANNED
- Advisor

- Posts: 70
- Joined: Wed Sep 13, 2017 5:05 pm
- Station model: ng265 (Fine Offset)
- Software: Cumulus
Re: units plugin
Hi dmgoult
It cant work.
Here is no code in units.php for visibility ft calculation
$('#m').text("-");
$('#km').text("-");
$('#mi').text("-");
$('#nmi').text("-");
It cant work.
Here is no code in units.php for visibility ft calculation
$('#m').text("-");
$('#km').text("-");
$('#mi').text("-");
$('#nmi').text("-");
niko
- Jachym
- Site Admin

- Posts: 1686
- Joined: Fri Aug 18, 2017 10:12 pm
- Location: Brno, Czech Republic
- Station model: WH1080
- Software: Meteobridge
- Contact:
Re: units plugin
It works fine here:
http://www.meteotemplate.com/template/p ... /units.php
http://www.meteotemplate.com/template/p ... /units.php
- nikokara - BANNED
- Advisor

- Posts: 70
- Joined: Wed Sep 13, 2017 5:05 pm
- Station model: ng265 (Fine Offset)
- Software: Cumulus
Re: units plugin
No. It not works.Jachym wrote: ↑Wed Oct 18, 2017 8:56 am It works fine here:
http://www.meteotemplate.com/template/p ... /units.php
40 feeds are NOT 64373.8 meters !!!! Sorry
niko
- Jachym
- Site Admin

- Posts: 1686
- Joined: Fri Aug 18, 2017 10:12 pm
- Location: Brno, Czech Republic
- Station model: WH1080
- Software: Meteobridge
- Contact:
Re: units plugin
It is just the feet that is not working correctly and you can express yourself poilitely, no need for shouting and exclamation marks. Im not interested in this.
- nikokara - BANNED
- Advisor

- Posts: 70
- Joined: Wed Sep 13, 2017 5:05 pm
- Station model: ng265 (Fine Offset)
- Software: Cumulus
- Jachym
- Site Admin

- Posts: 1686
- Joined: Fri Aug 18, 2017 10:12 pm
- Location: Brno, Czech Republic
- Station model: WH1080
- Software: Meteobridge
- Contact:
Re: units plugin
I didnt say it is working correctly, read my post, I said the "ft" option is not working correctly
- nikokara - BANNED
- Advisor

- Posts: 70
- Joined: Wed Sep 13, 2017 5:05 pm
- Station model: ng265 (Fine Offset)
- Software: Cumulus
Re: units plugin
You said
viewtopic.php?p=2385#p2385It works fine here:
http://www.meteotemplate.com/template/p ... /units.php
niko
- Jachym
- Site Admin

- Posts: 1686
- Joined: Fri Aug 18, 2017 10:12 pm
- Location: Brno, Czech Republic
- Station model: WH1080
- Software: Meteobridge
- Contact:
Re: units plugin
Yes and later said:
It is just the feet that is not working correctly
- nikokara - BANNED
- Advisor

- Posts: 70
- Joined: Wed Sep 13, 2017 5:05 pm
- Station model: ng265 (Fine Offset)
- Software: Cumulus
- dmgould
- Forecaster

- Posts: 173
- Joined: Sat Aug 26, 2017 2:43 am
- Location: Divide, Colorado, USA
- Station model: Davis Pro 2 Plus Wireless
- Software: Meteobridge
- Contact:
Re: units plugin
Dave G

- nikokara - BANNED
- Advisor

- Posts: 70
- Joined: Wed Sep 13, 2017 5:05 pm
- Station model: ng265 (Fine Offset)
- Software: Cumulus
Re: units plugin
EDIT 25 Oct 2017
ATTENSION
Jachym has released a new version of Units plugin (version 2.2)
Please download Jachym's version not my
Thanks
Hi dmgould Hi Jachym
Here is the modified/edited units.php to work with feeds
ATTENSION
Jachym has released a new version of Units plugin (version 2.2)
Please download Jachym's version not my
Thanks
Hi dmgould Hi Jachym
Here is the modified/edited units.php to work with feeds
Code: Select all
############################################################################
#
# Meteotemplate
# http://www.meteotemplate.com
# Free website template for weather enthusiasts
# Author: Jachym
# Brno, Czech Republic
# First release: 2015
#
############################################################################
#
# Unit conversion
#
# A script which allows the user to convert between various types of
# units (temperature, pressure, precipitation, length, speed).
#
############################################################################
# Version and change log
#
# v1.0 2015-07-01 Initial release
# v2.0 2016-05-10 Translation
# v2.1 2016-07-06
# - fixes for HTML5 and https servers
#
############################################################################
# modified by nik @ 21/10/2017 #############################################
############################################################################
//CODE REMOVED
//DOWNLOAD JACHYM'S FIX
- Attachments
-
- units.zip
- (3.62 KiB) Downloaded 1032 times
niko