Page 1 of 1

units plugin

Posted: Wed Oct 18, 2017 8:04 am
by dmgould
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.

Re: units plugin

Posted: Wed Oct 18, 2017 8:24 am
by nikokara - BANNED
Hi dmgoult

It cant work.
Here is no code in units.php for visibility ft calculation

$('#m').text("-");
$('#km').text("-");
$('#mi').text("-");
$('#nmi').text("-");

Re: units plugin

Posted: Wed Oct 18, 2017 8:40 am
by Jachym
dmgould wrote: Wed Oct 18, 2017 8:04 am 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.
link please

Re: units plugin

Posted: Wed Oct 18, 2017 8:56 am
by Jachym

Re: units plugin

Posted: Wed Oct 18, 2017 9:07 am
by nikokara - BANNED
Jachym wrote: Wed Oct 18, 2017 8:56 am It works fine here:
http://www.meteotemplate.com/template/p ... /units.php
No. It not works.

40 feeds are NOT 64373.8 meters !!!! Sorry

Re: units plugin

Posted: Wed Oct 18, 2017 9:38 am
by Jachym
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.

Re: units plugin

Posted: Wed Oct 18, 2017 10:06 am
by nikokara - BANNED
Ok Jachim

But i still believe that
40 feeds are not 64373.8 meters
:D

Re: units plugin

Posted: Wed Oct 18, 2017 10:28 am
by Jachym
I didnt say it is working correctly, read my post, I said the "ft" option is not working correctly

Re: units plugin

Posted: Wed Oct 18, 2017 10:41 am
by nikokara - BANNED
You said
It works fine here:
http://www.meteotemplate.com/template/p ... /units.php
viewtopic.php?p=2385#p2385

Re: units plugin

Posted: Wed Oct 18, 2017 11:00 am
by Jachym
Yes and later said:
It is just the feet that is not working correctly

Re: units plugin

Posted: Wed Oct 18, 2017 11:26 am
by nikokara - BANNED
Yes Jachim :)

But my "unpolite" response was for:
It works fine here: ....

Re: units plugin

Posted: Wed Oct 18, 2017 3:25 pm
by dmgould

Re: units plugin

Posted: Mon Oct 23, 2017 8:38 am
by nikokara - BANNED
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

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