Welcome to the Cumulus Support forum.
Latest Cumulus MX V4 release 4.4.2 (build 4085) - 12 March 2025
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024
Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)
Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki
If you are posting a new Topic about an error or if you need help PLEASE read this first viewtopic.php?p=164080#p164080
Latest Cumulus MX V4 release 4.4.2 (build 4085) - 12 March 2025
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024
Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)
Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki
If you are posting a new Topic about an error or if you need help PLEASE read this first viewtopic.php?p=164080#p164080
Now available: AJAX/PHP multilingual website templates
Moderator: saratogaWX
-
kinder
- Posts: 38
- Joined: Mon 08 Nov 2010 5:50 pm
- Weather Station: DAVIS VANTAGE PRO 2
- Operating System: Windows 7
- Location: Nowhere
Re: Now available: AJAX/PHP multilingual website templates
One more bug(maybe).
When you first load the wxindex.php the page shows falling.The pressuretrendname Falling or Rising(i haven't found yet from which values take those trendnames),its not translated to greek or other language.When the first update occurs,the pressure trend name change to Steady,and get's translated.Thats strange.Any idea how to fix it?
When you first load the wxindex.php the page shows falling.The pressuretrendname Falling or Rising(i haven't found yet from which values take those trendnames),its not translated to greek or other language.When the first update occurs,the pressure trend name change to Steady,and get's translated.Thats strange.Any idea how to fix it?
-
gemini06720
- Posts: 1700
- Joined: Mon 10 Aug 2009 10:16 pm
- Weather Station: No weather station
- Operating System: No operating system
- Location: World...
Re: Now available: AJAX/PHP multilingual website templates
When the 'wxindex.php' script is first started, it call (loads) a few other scripts/templates before starting the 'ajax-dashboard.php' script - the 'ajax-dashboard.php' PHP script it the one that first places weather values on the page - during that time, the 'ajaxCUwx.js' AJAX (javascript) is being downloaded into the user's browser cache (on the user's computer) - finally, the 'ajaxCUwx.js' script starts and requests an update of the 'realtime.txt' data file, and, once done, it overwrites the weather values on the page with the latest weather information.kinder wrote:When you first load the wxindex.php the page shows falling.The pressuretrendname Falling or Rising(i haven't found yet from which values take those trendnames),its not translated to greek or other language.When the first update occurs,the pressure trend name change to Steady,and get's translated.Thats strange.Any idea how to fix it?
One way to check what is quickly written on the page (when it first load) is to temporarily rename the 'ajaxCUwx.js' AJAX (javascript) - this way the script will not start and you will be able to see what has been displayed by 'ajax-dashboard.php' PHP script.
If you had given us a link to your site, it would have been easier to really check if there is indeed a problem...
- nitrx
- Posts: 1297
- Joined: Sun 13 Dec 2009 1:21 pm
- Weather Station: WH1080
- Operating System: Windows 10
- Location: Apeldoorn The Netherlands
- Contact:
Re: Now available: AJAX/PHP multilingual website templates
I dont see the issue you've mentioned, I think the explanation of Ray is right, perhaps the issue depends on the visitors site the faster the ineternetconnection (download) the faster I've loaded the scripts ofcourse you're hostingprovider has to be fast too, I'm using a 25 mbit download.kinder wrote:http://users.uoa.gr/~george/newsite/wxindex.php
-
n9mfk
- Posts: 845
- Joined: Sun 10 May 2009 8:52 pm
- Weather Station: davis vp2 Serial datalogger
- Operating System: Windows 7 64-bit
- Location: Springfield, IL
Re: Now available: AJAX/PHP multilingual website templates
Hi all i been doing some updates to my ajax-dashboard
i got it look ok in firefox but in chrome there a big gap under the title uv forecast
thanks for any ideas on a fix
http://n9mfk.localweatherview.net/
Beau
i got it look ok in firefox but in chrome there a big gap under the title uv forecast
thanks for any ideas on a fix
http://n9mfk.localweatherview.net/
Beau
-
gemini06720
- Posts: 1700
- Joined: Mon 10 Aug 2009 10:16 pm
- Weather Station: No weather station
- Operating System: No operating system
- Location: World...
Re: Now available: AJAX/PHP multilingual website templates
OK, I see the problem, not just for the 'Baro Trend/Τάση Βαρόμ' but also the dates for both 'UV Index Forecast/Πρόγνωση Δείκτη UV' dates...kinder wrote:http://users.uoa.gr/~george/newsite/wxindex.php
One other thing I noticed was that it took a very long time before the 'ajaxCUwx.js' AJAX (JavaScript) refreshed the screen (about 1.5 minute on my computer).
I checked the 'ajax-dashboard.php' script and the 'Rising/Falling' words should have been properly translated before the the 'ajaxCUwx.js' script changes the display. I also checked the 'language-el.txt' language file and there are translations for the 'Rising/Falling' words.
I will have to do additional checks on my system to find out what might be happening...
- PaulMy
- Posts: 4355
- Joined: Sun 28 Sep 2008 11:54 pm
- Weather Station: Davis VP2 Plus 24-Hour FARS
- Operating System: Windows8 and Windows10
- Location: Komoka, ON Canada
- Contact:
Re: Now available: AJAX/PHP multilingual website templates
Got it changed and it's working http://www.komokaweather.com/wxindex.php in Station Detail. Still to give due credit in AboutRay,
Thank you for the graph and I will move things around later in the week.
Paul
VP2+
C1 www.komokaweather.com/komokaweather-ca
MX https://komokaweather.com/cumulusmx/index.htm /index.html /index.php
MX https://komokaweather.com/cumulusmxwll/index.htm /index.html /index.php
MX https:// komokaweather.com/cumulusmx4/index.htm

C1 www.komokaweather.com/komokaweather-ca
MX https://komokaweather.com/cumulusmx/index.htm /index.html /index.php
MX https://komokaweather.com/cumulusmxwll/index.htm /index.html /index.php
MX https:// komokaweather.com/cumulusmx4/index.htm
-
gemini06720
- Posts: 1700
- Joined: Mon 10 Aug 2009 10:16 pm
- Weather Station: No weather station
- Operating System: No operating system
- Location: World...
Re: Now available: AJAX/PHP multilingual website templates
Paul, you have to be careful about links that do not allow users to easily continue browsing your pages without having to hit the back arrow (ie: browse back to a previous page) - what I am getting at is that the 'cloudbase' script (or any other scripts for that matter) should be integrated into your site rather than just being 'dead ends'. Take a look at all your pages and determine into which page the 'cloudbase' image (for example) would be better installed (as integrated into that page).PaulMy wrote:Got it changed and it's working in Station Detail.
Paul, please do not bother - I do not like to have my name posted all over the place - and that does not help with keeping my identity and location a secret as I am probably on some country's most wanted list...PaulMy wrote:Still to give due credit in About
And please, keep that noise down ... I do not need all that clapping noise ... my tolerance for that type of noise is very low ... as I have been fighting a cold for the past days (the first one in about five years)...PaulMy wrote:![]()
- PaulMy
- Posts: 4355
- Joined: Sun 28 Sep 2008 11:54 pm
- Weather Station: Davis VP2 Plus 24-Hour FARS
- Operating System: Windows8 and Windows10
- Location: Komoka, ON Canada
- Contact:
Re: Now available: AJAX/PHP multilingual website templates
Agreed, but it is an accomplishment just getting it to show, and my steps forward are still baby stepsTake a look at all your pages and determine into which page the 'cloudbase' image (for example) would be better installed (as integrated into that page).
Paul
VP2+
C1 www.komokaweather.com/komokaweather-ca
MX https://komokaweather.com/cumulusmx/index.htm /index.html /index.php
MX https://komokaweather.com/cumulusmxwll/index.htm /index.html /index.php
MX https:// komokaweather.com/cumulusmx4/index.htm

C1 www.komokaweather.com/komokaweather-ca
MX https://komokaweather.com/cumulusmx/index.htm /index.html /index.php
MX https://komokaweather.com/cumulusmxwll/index.htm /index.html /index.php
MX https:// komokaweather.com/cumulusmx4/index.htm
-
gemini06720
- Posts: 1700
- Joined: Mon 10 Aug 2009 10:16 pm
- Weather Station: No weather station
- Operating System: No operating system
- Location: World...
Re: Now available: AJAX/PHP multilingual website templates
And now Paul, you have to take larger steps ... you are not a baby anymore, you are growing rapidly...PaulMy wrote:...but it is an accomplishment just getting it to show, and my steps forward are still baby steps...
- actioman
- Posts: 118
- Joined: Sat 20 Mar 2010 1:01 am
- Weather Station: Davis Vantage Pro2 Plus
- Operating System: Windows XP SP3
- Location: Elvas, Portugal
- Contact:
Re: Now available: AJAX/PHP multilingual website templates
gemini06720 wrote: Manuel, it is up to you to move things around - I could send you my highly commented and modified 'ajax-dashboard.php' template, the one used to create this Tzouhalem-Maple Bay Weather page or this Tzouhalem-Maple Bay InstaWeather page so you can look at the code and how I moved things around, but I must warn you that those templates cannot be used instead of the one being released with the 'AJAX/PHP Multilingual Website Templates' sets (please note that those two pages are produced with data obtained from Weather Display).
Wow! What a great job that you have done. I see that you have devoted much time to WD software.
I hope one day we can also have a template so complete for our Cumulus!
Well at the time had not yet, but I already had seen it at Jesús websitegemini06720 wrote:Manuel, how dare you write that the 'cloudbase' script is amazing if you have not tried it yet...![]()
Just noticed one thing, even on clear days, always indicates the height of the clouds?
Ray! A year ago with this hidden gem, you should be arrested for hiding a script so useful.gemini06720 wrote: I had adapted the 'cloudbase' script to the Cumulus data information about a year ago. What I have recently done thought was to clean the code and add new variable to better control the location of the different files needed to use the script. I still have to include the code needed to use the data from the WeatherLink software...![]()
Yes for you it is "to simply to add", but for us ordinary mortals is a puzzle...gemini06720 wrote: What Jesús did was to simply to add a table 'container' into which the the code for 'cloudbase' script was included - but it 'breaks' the 'normal' display of the page. As I suggested to Jesús, have a look at my Tzouhalem-Maple Bay Weather page so you can see hoe the cloudbase-produced image can be integrated into a page.
By the way, how many websites you have Ray? Until now I know three!!!
One thing that would be interesting was between you and Ken do the integration of this script in the 'ajax-dashboard.php'.
I think that's part of your great spirit of sharing and support that you have given to this community.
While I was doing the translation I noticed that there is no translation for 'Settled Fine' Conditions, then I add the string:
Code: Select all
langlookup|Settled fine|Continuação de bom tempo|I leave here the file with the translation for the Portuguese language.
You do not have the required permissions to view the files attached to this post.
-
n9mfk
- Posts: 845
- Joined: Sun 10 May 2009 8:52 pm
- Weather Station: davis vp2 Serial datalogger
- Operating System: Windows 7 64-bit
- Location: Springfield, IL
Re: Now available: AJAX/PHP multilingual website templates
Hi all,
i like the weather warning at the top of each page not just the top of the index page
were wood i have to move the code to so it wood be on each page?
thanks beau
i like the weather warning at the top of each page not just the top of the index page
were wood i have to move the code to so it wood be on each page?
thanks beau
-
gemini06720
- Posts: 1700
- Joined: Mon 10 Aug 2009 10:16 pm
- Weather Station: No weather station
- Operating System: No operating system
- Location: World...
Re: Now available: AJAX/PHP multilingual website templates
Beau, you might try moving the code at the end of the 'header.php' template - make sure you place the new code between a set of '<div>...</div>' - I tried it but I did not like it.n9mfk wrote:i like the weather warning at the top of each page not just the top of the index page
- actioman
- Posts: 118
- Joined: Sat 20 Mar 2010 1:01 am
- Weather Station: Davis Vantage Pro2 Plus
- Operating System: Windows XP SP3
- Location: Elvas, Portugal
- Contact:
Re: Now available: AJAX/PHP multilingual website templates
Today I have found a problem in the 'AJAX/PHP multilingual template'. The WU forecast stopped working
This afternoon I already had noticed that only gave the forecast for one day. And now nothing...
This is the message that appears: Warning: Division by zero in /home/meteoelvas/public_html/WU-forecast.php on line 531
But in the WU website the forecast is fully available?
Already tried changing the station WU (From Badajoz to Portalegre), but the problem remains.
This is the two print-sreens where the problem occurs:
In the 'Home Page' (wxindex.php)

And in the 'Forecast Details Page' (wxforecast.php)

Maybe Ken knows what is going on, once it was he who developed the template...
Thanks in advance.
This afternoon I already had noticed that only gave the forecast for one day. And now nothing...
This is the message that appears: Warning: Division by zero in /home/meteoelvas/public_html/WU-forecast.php on line 531
But in the WU website the forecast is fully available?
Already tried changing the station WU (From Badajoz to Portalegre), but the problem remains.
This is the two print-sreens where the problem occurs:
In the 'Home Page' (wxindex.php)

And in the 'Forecast Details Page' (wxforecast.php)

Maybe Ken knows what is going on, once it was he who developed the template...
Thanks in advance.
-
gemini06720
- Posts: 1700
- Joined: Mon 10 Aug 2009 10:16 pm
- Weather Station: No weather station
- Operating System: No operating system
- Location: World...
Re: Now available: AJAX/PHP multilingual website templates
Manuel, sorry for the delay in replying to your message ... I have been somewhat 'under the weather' as I have been fighting this cold for the past week and, because of prior sinus problems (the results of working as a flight attendant for more than twenty years), I really get affected thus needs some strong medications that 'numbs' my whole body...
And, Manuel, I am not a good programmer - I manage, I am still learning, even after all those years. Ken True, on the other hand, has been programming most of his life (I think) thus making him a very knowledgeable programmer.
So, I discovered and bought a good editor which allowed me to see the results of modification I made to a script - it was not just a matter of seeing the resulting display but also to understand what the different lines of code were doing and why, thus the purchase of some good programming books, the extensive use of help files and searches of the Internet. There are still a lot of things I do not know about programming but I am still learning...
About two years ago, I spent hours adapting the 'Weather Display (PHP-AJAX) Website Templates' and make them fully bilingual (remember, I have been quoted as "having a strong disdain for grammatically-incorrect language usage"). I then sent the complete package back to the author. Unfortunately, none of the work (modifications) I had done were ever published - it would have broken the standards of the other published templates. There was another situation where I got myself involved once again into producing fully bilingual (properly translated) templates for the Canadian Weather Network - eventually I was told that basic translation was all that was needed (there is no such thing as 'basic' when translation is concerned). So, that was the end of my shared cooperative work.
Yes, I am extremely picky about the proper use of the language, any languages - if a language is going to be printed (on paper or on a screen) it MUST BE grammatically correct, every bit of it!

Manuel, I have had more than five years of practice with weather web pages, first with the basic HTML designs, then with the 'ajaxWD-CarterLake Templates' and finally with the 'Weather Display (PHP-AJAX) Website Templates' ... so I have a few years of experience whith weather templates...actioman wrote:Wow! What a great job that you have done. I see that you have devoted much time to WD software.
I hope one day we can also have a template so complete for our Cumulus!And of course we count with such good programmers like you or Ken!
And, Manuel, I am not a good programmer - I manage, I am still learning, even after all those years. Ken True, on the other hand, has been programming most of his life (I think) thus making him a very knowledgeable programmer.
A year plus ago, I thought some of the Weather Display scripts I was using could be adapted to Cumulus. Unfortunately, most Cumulus users could not use PHP (host server restrictions) or were not overly interested in using PHP. So, I adapted both the 'cloudbase' and the 'thermometer' scripts to the Cumulus data file format and just kept them for my web pages...actioman wrote:Ray! A year ago with this hidden gem, you should be arrested for hiding a script so useful.![]()
At one time, it was also a puzzle for me...actioman wrote:Yes for you it is "to simply to add", but for us ordinary mortals is a puzzle...
I have two 'official' (and completely automated) weather sites and two 'under development/experimental' weather sites - I also had a (fully automated) music site but problems with the CPU (overheating) have forced me to shut the server computer off and I have not put nearly enough time in getting the system back online and I am really really missing my music (a mixture of almost every types of music from almost every countries of the world - very eclectic).actioman wrote:By the way, how many websites you have Ray? Until now I know three!!!
Manuel, that will never happen! Our ways of seeing things are too different - Ken True is of the type 'if it is not broken, then leave it alone' and I am of the type 'we are on a media (Internet) where things are continuously changing and evolving'.actioman wrote:One thing that would be interesting was between you and Ken do the integration of this script in the 'ajax-dashboard.php'. I think that's part of your great spirit of sharing and support that you have given to this community.
About two years ago, I spent hours adapting the 'Weather Display (PHP-AJAX) Website Templates' and make them fully bilingual (remember, I have been quoted as "having a strong disdain for grammatically-incorrect language usage"). I then sent the complete package back to the author. Unfortunately, none of the work (modifications) I had done were ever published - it would have broken the standards of the other published templates. There was another situation where I got myself involved once again into producing fully bilingual (properly translated) templates for the Canadian Weather Network - eventually I was told that basic translation was all that was needed (there is no such thing as 'basic' when translation is concerned). So, that was the end of my shared cooperative work.
Yes, I am extremely picky about the proper use of the language, any languages - if a language is going to be printed (on paper or on a screen) it MUST BE grammatically correct, every bit of it!
Manuel, I have not yet translated the Cumulus forecasts - that might be the reason why the Cumulus conditions do not show properly...actioman wrote:But the scrip still does not translate!? Any idea
Thank you for the file, I will add it to my language files. I have also added the portuguese language (and some basic translations) inside the 'cloudbase' script - those are used for the stand-alone script, such as <link removed> ...some translation work is still needed...actioman wrote:I leave here the file with the translation for the Portuguese language.
Last edited by gemini06720 on Sat 17 Aug 2013 8:07 am, edited 1 time in total.