Welcome to the Cumulus Support forum.
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024
Cumulus MX V4 beta test release 4.0.0 (build 4019) - 03 April 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
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024
Cumulus MX V4 beta test release 4.0.0 (build 4019) - 03 April 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
A few brave testers wanted please
Moderator: daj
- beteljuice
- Posts: 3292
- Joined: Tue 09 Dec 2008 1:37 pm
- Weather Station: None !
- Operating System: W10 - Threadripper 16core, etc
- Location: Dudley, West Midlands, UK
A few brave testers wanted please
About time we added some new content to the 'new' forum
The betejuice has been playing with the 'little day night chart' and the banner style one.
To create a mouse-over 'pop-up' with legend. The only way to demonstrate is within a page, so .....
Here's a demo on a dummy site, but I've made so that you can customise to your own requirements and download all the necessary / modified files
This is all done on-the-fly and What You See could well be NOT What You Get !!! - there may be all sorts of errors / missing information - that's why I need brave testers who can tell me what's gone wrong
HAVE A PLAY
The betejuice has been playing with the 'little day night chart' and the banner style one.
To create a mouse-over 'pop-up' with legend. The only way to demonstrate is within a page, so .....
Here's a demo on a dummy site, but I've made so that you can customise to your own requirements and download all the necessary / modified files
This is all done on-the-fly and What You See could well be NOT What You Get !!! - there may be all sorts of errors / missing information - that's why I need brave testers who can tell me what's gone wrong
HAVE A PLAY
......................Imagine, what you will KNOW tomorrow !
-
- Posts: 3390
- Joined: Wed 06 May 2009 6:29 pm
- Weather Station: Davis VP2 with Daytime FARS
- Operating System: Windows XP SP3
- Location: Cheadle Hulme, Cheshire, England
- Contact:
Re: A few brave testers wanted please
Greetings Beteljuice,
I remember this day/night graphic from years ago but despite repeated requests the originator of it couldn't enhance it. I have it running on my website home page but it doesn't feature the popup when you hover over it.
I'd love to have your enhanced version. I've had a quick play on your test page and it looks good. Downloading now.
I remember this day/night graphic from years ago but despite repeated requests the originator of it couldn't enhance it. I have it running on my website home page but it doesn't feature the popup when you hover over it.
I'd love to have your enhanced version. I've had a quick play on your test page and it looks good. Downloading now.
- beteljuice
- Posts: 3292
- Joined: Tue 09 Dec 2008 1:37 pm
- Weather Station: None !
- Operating System: W10 - Threadripper 16core, etc
- Location: Dudley, West Midlands, UK
Re: A few brave testers wanted please
Error found already !
... Which of course only happens on the 11th of the month.
@ Ray and anyone else who has already downloaded customised files ...
sun_banner.php
approx. line #85 change to:
(edited to include '.')
and approx. line #275
change
to:
It wouldn't be any fun without the gremlins !
... Which of course only happens on the 11th of the month.
@ Ray and anyone else who has already downloaded customised files ...
sun_banner.php
approx. line #85 change to:
Code: Select all
$lang_day_suffix= array("1" => "st.", "2" => "nd.", "3" => "rd.", "4" => "th.", "5" => "th.", "6" => "th.",
"7" => "th.", "8" => "th.", "9" => "th.", "0" => "th.", "11" => "th.");
and approx. line #275
change
Code: Select all
if(strlen($suff) == 2 ) $suff = substr($suff, -1);
Code: Select all
if(strlen($suff) == 2 && $suff != "11") $suff = substr($suff, -1);
Last edited by beteljuice on Sun 11 Nov 2018 2:07 pm, edited 1 time in total.
......................Imagine, what you will KNOW tomorrow !
-
- Posts: 2477
- Joined: Wed 08 Jun 2011 11:19 am
- Weather Station: Davis Vantage Pro 2 + Ecowitt
- Operating System: GNU/Linux Ubuntu 22.04 LXC
- Location: Alcaston, Shropshire, UK
- Contact:
Re: A few brave testers wanted please
Don't know if it matters, but all your values in the above array end in "." except for the one you just put in for the 11th....beteljuice wrote: ↑Sun 11 Nov 2018 12:06 pmCode: Select all
$lang_day_suffix= array("1" => "st.", "2" => "nd.", "3" => "rd.", "4" => "th.", "5" => "th.", "6" => "th.", "7" => "th.", "8" => "th.", "9" => "th.", "0" => "th.", "11" => "th");
- grwkak
- Posts: 173
- Joined: Fri 28 Jun 2013 12:32 am
- Weather Station: Davis Vantage Vue
- Operating System: Windows 10
- Location: Hambden, Ohio US
- Contact:
Re: A few brave testers wanted please
How do you download the files? There is a zip icon - but its greyed out.
Guy
Guy
- beteljuice
- Posts: 3292
- Joined: Tue 09 Dec 2008 1:37 pm
- Weather Station: None !
- Operating System: W10 - Threadripper 16core, etc
- Location: Dudley, West Midlands, UK
Re: A few brave testers wanted please
@ freddie - thank you, I'll change it later
@guy
These things keep the beteljuice up at night
@guy
... because you haven't updated the location name of the banner.. There is a zip icon - but its greyed out.
These things keep the beteljuice up at night
......................Imagine, what you will KNOW tomorrow !
-
- Posts: 3390
- Joined: Wed 06 May 2009 6:29 pm
- Weather Station: Davis VP2 with Daytime FARS
- Operating System: Windows XP SP3
- Location: Cheadle Hulme, Cheshire, England
- Contact:
Re: A few brave testers wanted please
It’s going to be tomorrow before I can test, sorry. Amendment to code noted.
- grwkak
- Posts: 173
- Joined: Fri 28 Jun 2013 12:32 am
- Weather Station: Davis Vantage Vue
- Operating System: Windows 10
- Location: Hambden, Ohio US
- Contact:
Re: A few brave testers wanted please
Got it - downloaded now.
Guy
Guy
-
- Posts: 3254
- Joined: Sat 13 Aug 2011 9:33 am
- Weather Station: Ecowitt HP2551
- Operating System: Windows 10 64bit
- Location: Burnham-on-Sea
- Contact:
Re: A few brave testers wanted please
Don't know if it is just me but the pop-up on your test site appears in Firefox but not in IE11?
- PaulMy
- Posts: 3849
- 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: A few brave testers wanted please
I am testing, and getting a couple of errors logged on www.komokaweather.com/weather The script is located in www.komokaweather.com/astronomy/
Also still trying to figure out how to use and make sun_button.php work
Enjoy,
Paul
May need to do some tweaking on lat/lon to get the Sunrise, Sunset and Dawn times to exactly match the Cumulus calculation[11-Nov-2018 13:22:28 America/Toronto] PHP Notice: Undefined variable: legendfullHeight in /home/psoykkrhjuz3/public_html/astronomy/sun_banner.php on line 409
[11-Nov-2018 13:22:28 America/Toronto] PHP Notice: Undefined variable: tickcolor in /home/psoykkrhjuz3/public_html/astronomy/sun_banner.php on line 826
Also still trying to figure out how to use and make sun_button.php work
Enjoy,
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
- beteljuice
- Posts: 3292
- Joined: Tue 09 Dec 2008 1:37 pm
- Weather Station: None !
- Operating System: W10 - Threadripper 16core, etc
- Location: Dudley, West Midlands, UK
Re: A few brave testers wanted please
@ paulmy
You have:
So ... there is nothing to "work".
All you have asked for is the 'banner' which you have put in your own <span> </span>
If you want a 'button' and a pop-up 'banner', then you need to look at the help.txt file !!!!!
Put html <div id=" beteljuice_stuff" in your <td> </td>Then you need to put the <style> ...... </style> above that or better in the <head> </head> section.
If you want the optional image upadater ... guess what .. copy <script> .... </script> to either the bottom of your page or put it in the <head> </head> section
@ water01
That would seem to suggest it is ignoring either some of the css changing / switching in the DEMO construct or even worse ignoring what should be some 'trouble free' css / jscript transition code.
Sending you a PM .....
You have:
Code: Select all
<!-- betlejuice sun script -->
<td>
<span style="width: 400px; height: 200px; margin: 5px; border:0">
<img src="../astronomy/sun_banner.php" alt="sun hours" width="400" height="200" ></img><br /><br />
</span>
</td>
<!-- end betlejuice sun script -->
All you have asked for is the 'banner' which you have put in your own <span> </span>
If you want a 'button' and a pop-up 'banner', then you need to look at the help.txt file !!!!!
Put html <div id=" beteljuice_stuff" in your <td> </td>
Code: Select all
<td>
<div id = "beteljuice_stuff">
<img src = "sun_button.php" id = 'sun'>
<div id = "sun_pop" class = " sun_pop_out off ">
<img src = "sun_banner.php" id = 'popup'>
</div>
</div> <!-- end beteljuice_stuff -->
</td>
If you want the optional image upadater ... guess what .. copy <script> .... </script> to either the bottom of your page or put it in the <head> </head> section
@ water01
This could be very, very, serious !Don't know if it is just me but the pop-up on your test site appears in Firefox but not in IE11?
That would seem to suggest it is ignoring either some of the css changing / switching in the DEMO construct or even worse ignoring what should be some 'trouble free' css / jscript transition code.
Sending you a PM .....
......................Imagine, what you will KNOW tomorrow !
-
- Posts: 1820
- Joined: Sat 17 Dec 2011 11:55 am
- Weather Station: Davis Vantage Pro2
- Operating System: Windows 11 x64
- Location: Dorset - UK
- Contact:
Re: A few brave testers wanted please
Hi beteljuice
Nice work!
I didn't need 'px' for the height and width, just the number.
I have added it to my site successfully, I just have an issue with the popup image affecting stuff below it
See here: https://warehamwx.co.uk/
Edit:
Forget that, I had an error in the css.
All working!
Nice work!
I didn't need 'px' for the height and width, just the number.
I have added it to my site successfully, I just have an issue with the popup image affecting stuff below it
See here: https://warehamwx.co.uk/
Edit:
Forget that, I had an error in the css.
All working!
- beteljuice
- Posts: 3292
- Joined: Tue 09 Dec 2008 1:37 pm
- Weather Station: None !
- Operating System: W10 - Threadripper 16core, etc
- Location: Dudley, West Midlands, UK
Re: A few brave testers wanted please
@ user from Belfast
You have the wrong TZ set in your sun_pop.php and sun_banner.php !
Edit to Europe/Belfast OR using the DEMO page type in bel
You have the wrong TZ set in your sun_pop.php and sun_banner.php !
Edit to Europe/Belfast OR using the DEMO page type in bel
......................Imagine, what you will KNOW tomorrow !
- beteljuice
- Posts: 3292
- Joined: Tue 09 Dec 2008 1:37 pm
- Weather Station: None !
- Operating System: W10 - Threadripper 16core, etc
- Location: Dudley, West Midlands, UK
Re: A few brave testers wanted please
You are an odd bunch !!!
There are lots of you either changing the location, but not lat / lon / TZone, or changing those but not the location !
Why ? - Is the Zip icon so captivating that you must click when it becomes active ?
There are lots of you either changing the location, but not lat / lon / TZone, or changing those but not the location !
Why ? - Is the Zip icon so captivating that you must click when it becomes active ?
......................Imagine, what you will KNOW tomorrow !
- beteljuice
- Posts: 3292
- Joined: Tue 09 Dec 2008 1:37 pm
- Weather Station: None !
- Operating System: W10 - Threadripper 16core, etc
- Location: Dudley, West Midlands, UK
Re: A few brave testers wanted please
@ paul
legendfullHeight was PHP7 bug, (difficuly one to find where to correct it !)
tickcolor - was a genuine coding error from original.
Both now fixed - thank you
Both 'legacy' errors ...[11-Nov-2018 13:22:28 America/Toronto] PHP Notice: Undefined variable: legendfullHeight in /home/psoykkrhjuz3/public_html/astronomy/sun_banner.php on line 409
[11-Nov-2018 13:22:28 America/Toronto] PHP Notice: Undefined variable: tickcolor in /home/psoykkrhjuz3/public_html/astronomy/sun_banner.php on line 826
legendfullHeight was PHP7 bug, (difficuly one to find where to correct it !)
tickcolor - was a genuine coding error from original.
Both now fixed - thank you
......................Imagine, what you will KNOW tomorrow !