Page 3 of 49
Re: CumulusMX and Cumulus1 UI style Multilingual Websites
Posted: Sat 11 Apr 2020 5:27 pm
by G6GUH
BCJKiwi, thanks for the reply an suggestions, had another go today and conditions and forecast now work, cloud base working and even managed to change the meta location. The only slight problem now is that the last station update button is in red and does not change, I’m sure it did when I first got the page to work, but it will change using refresh and the other text briefly goes green. I see to remember that your demo page did this at the update interval.
I started to new page from absolute scratch., down loaded the files again and input all of the parameters again. I suspect it was an inputting error !
www.cardingmillweather.co.uk/MX
Regards Pete
Re: CumulusMX and Cumulus1 UI style Multilingual Websites
Posted: Sat 18 Apr 2020 5:28 am
by griffo42
BCJKiwi
Thanks for your great work on bringing this all together as well as to all others who may have been involved.
Attached is a photo of the mouseover of my windrun gauge. It seems to need a correction to change the "(km/h)" to "km" as this is a distance measurement not speed. I suspect that js is involved and the level of expertise required to change it is beyond mine in that area.
Please consider this information for future enhancements to the appropriate script/s.
best wishes
Keith
Re: CumulusMX and Cumulus1 UI style Multilingual Websites
Posted: Sat 18 Apr 2020 7:56 am
by BCJKiwi
Hmm
Gauge shows both windspeed on the coloured radial bars with speed legend below,
and,
Distance on the ODO at the bottom of the gauge.
So km/h relates to the wind rose, and km to the odometer.
I think this is how it is supposed to be (I did not write this code)

Re: CumulusMX and Cumulus1 UI style Multilingual Websites
Posted: Sat 18 Apr 2020 8:19 am
by freddie
BCJKiwi wrote: ↑Sat 18 Apr 2020 7:56 amSo km/h relates to the wind rose, and km to the odometer.
I think this is how it is supposed to be (I did not write this code)
Correct. Rose shows proportions of speed for each of the 16 compass points. Odometer shows wind run. So both sets of units required.
Re: CumulusMX and Cumulus1 UI style Multilingual Websites
Posted: Sun 19 Apr 2020 4:33 am
by sfws
sfws wrote: ↑Thu 02 Apr 2020 8:45 pm
Wonderful,and very useful.
I said that about a fortnight ago. Recently, I find I prefer looking at your pages than the official user interface, although on my installation neither web servers are public (so your HTML5 validator link, which I believe is a good feature to include, obviously does not work on my non-public implementation), so each are equal for me in terms of access. I am even starting to desert my own web pages, although they add extra derivatives not shown on the standard pages.
You have done a very good job with these pages. I can't fault them. As a bonus, they work with jQuery 3.5.0 (that I use for my own web pages), unlike the MX UI which only works with jQuery version 1.9.1, that is 2014 vintage and very obsolete!
Re: CumulusMX and Cumulus1 UI style Multilingual Websites
Posted: Sun 19 Apr 2020 5:37 am
by BCJKiwi
@sfws
Thanks very much for the feed back - much appreciated.
However beteljuice contributed much expertise to the resolution of the bizarre characters that were appearing in place of the degree, minute, second symbols on this page.
The fix you noticed cleared an issue that has been long standing and I guess may be part of the reason that MX does not provide the degree, minute and second symbols.
There are also issues if the MX upload setting is set to UTF-8 in extra webfiles - which I now notice is not included anywhere in the documentation.
I'm sure it was in there somewhere at some time.
so many details so little time

Re: CumulusMX and Cumulus1 UI style Multilingual Websites
Posted: Sun 19 Apr 2020 6:09 am
by sfws
Please see topic
viewtopic.php?f=40&t=17644 for a discussion about the preg_replace and degrees symbol issue. Don't say it is only me talking about using
same encoding on web page and any file it displays (whichever encoding you choose).
One problem I had was that I already had a set of web pages, so I added your pages in a different directory. That can be made to work, but where you use PHP require/include, if you use a filename that I already have in my existing directory, my files with same name are loaded instead of yours. Most installations use a ini_path declaration in a php.ini type settings file, and that declares where the PHP parser looks for files when it meets require/include. Up to you whether you make your How to instructions say your UIstyle Multilingual website is designed for someone who does not have a web site (or warn them of problems with file name clashes).
Minor suggestions like that aside, I really do appreciate the effort you put into this whole project, and for taking the time to include the documentation. I use Libre Office and it easily read all your documents.
Re: CumulusMX and Cumulus1 UI style Multilingual Websites
Posted: Sun 19 Apr 2020 4:07 pm
by mcrossley
BCJKiwi wrote: ↑Tue 03 Mar 2020 12:36 am
MX b3071 will create the image on start up , and every hour on the hour after that.
Same file for BOTH MX and C1 but will not change anything for C1
However, while the image is created in /web folder on startup,
it is NOT FTP'd until the next hour comes around. I had hoped this would have been changed to upload on restart in the release but it seems not to be the case.
The moon image has always been transferred on the first FTP after start-up. Whenever the image is generated it sets a flag indicating a new image is available. Every FTP session checks that flag and transfers the file if set, then clears the flag.
It works on my system, is anyone else not seeing this happen?
Re: CumulusMX and Cumulus1 UI style Multilingual Websites
Posted: Sun 19 Apr 2020 4:14 pm
by sfws
My MX diags show that when I stop and start MX (sometimes it is left running), the moon does indeed transfer at first FTP although it is not on hour, thereafter on hour. (I do have BCJKiwi's installation as well as standard and my own web pages)
Re: CumulusMX and Cumulus1 UI style Multilingual Websites
Posted: Sun 19 Apr 2020 4:18 pm
by mcrossley
sfws wrote: ↑Sun 19 Apr 2020 4:14 pm
My MX diags show that when I stop and start MX (sometimes it is left running), the moon does indeed transfer at first FTP although it is not on hour, thereafter on hour. (I do have BCJKiwi's installation as well as standard and my own web pages)
Thanks for the confirmation.
Re: CumulusMX and Cumulus1 UI style Multilingual Websites
Posted: Sun 19 Apr 2020 8:45 pm
by BCJKiwi
OK, Maybe it is because I'm not waiting for the next interval?
I'll check again the next time I restart MX.
Re: CumulusMX and Cumulus1 UI style Multilingual Websites
Posted: Mon 20 Apr 2020 10:37 am
by Frank G
Hi,
I tried this UI (looks great) but I have a problem:
The browser shows: Weather01.png, with no data.
When I refresh the browser, "for the blink of an eye" the values are can be seen: Weather02.png
did I do something wrong?
Here is the link:
https://www.buchenau-net.de/Wetter/CMX-UI/index.php
Thanks, Frank
Re: CumulusMX and Cumulus1 UI style Multilingual Websites
Posted: Mon 20 Apr 2020 10:52 am
by water01
If you run a network diagnostic using the developer console (F12) it shows that the page cannot load realtimegauges.txt.
Re: CumulusMX and Cumulus1 UI style Multilingual Websites
Posted: Mon 20 Apr 2020 11:10 am
by BCJKiwi
Not sure what is going on but the validator is showing a lot of errors - have you been editing things that perhaps you should not have?
The ajaxCUmxjs file is not updating the page so you have a few things to check.
I notice you have turned on the German translation but even when switching to English there is still German on the site in some places (moon phase and system forecast) where it shouldn't be.
Appreciate that you have begun a German translation but have you followed the instructions carefully?
Suggest you back up the site you have now and make a fresh install and make sure that is working first.
Then try your Language translations following the pattern you can see in the French translation if the instructions are not clear.
Re: CumulusMX and Cumulus1 UI style Multilingual Websites
Posted: Mon 20 Apr 2020 11:30 am
by Frank G
Hi, thanks for the fast reply.
I did a (quick) new basic installation, just set the timezone (nothing else), but the result is the same ...
