Page 1 of 1
updated riset block
Posted: Sun Mar 21, 2021 11:23 am
by davidefa
ver7.1
I have updated the block as it shows the moon transit time incorrectly ( at least in some conditions )
I have also added an option to show the moon position ( along the sun's one )
ver7.2
Reordered moon phases 'by time'
ver7.3
Corrected display of 'lacking phase in the day' ( for example on 1th April 2021 there is no moon rise )
Re: updated riset block
Posted: Sun Mar 21, 2021 12:10 pm
by Meteopomezia
Grazie mille interessante aggiornato il blocco

Re: updated riset block
Posted: Tue Mar 23, 2021 11:21 pm
by Semtex
Good job
Re: updated riset block
Posted: Fri Aug 26, 2022 9:41 pm
by davidefa
v7.5 - Aug 24, 2022
- added graph of sun/moon (davidefa)
v7.6 - Aug 29, 2022
- added option to define color of sun and moon graph lines (davidefa)
P.S.
You can select new or legacy look

- riset2.png (35.14 KiB) Viewed 18150 times
Re: updated riset block
Posted: Mon Aug 29, 2022 6:25 am
by Jolumarali
Hello Davide
Using light and dark mode, the moon line is difficult to see in dark mode, how to change the color of the lines.
thank you
Re: updated riset block
Posted: Mon Aug 29, 2022 9:47 pm
by davidefa
Updated previous post
Re: updated riset block
Posted: Tue Aug 30, 2022 6:23 am
by Jolumarali
perfect
thank you Davide
Re: updated riset block
Posted: Tue Aug 30, 2022 2:38 pm
by weatherbee
I've downloaded latest riset but it doesn't show the sun in updated (new) version. It works in the legacy look.
Not sure why.
You can see at
https://www.shermanctweather.org/meteo/indexDesktop.php
Thanks, Tom
Re: updated riset block
Posted: Tue Aug 30, 2022 2:42 pm
by Jolumarali
Hello Tom
try deleting the entire riset folder on your server and reinstall
Jose Luis
Re: updated riset block
Posted: Tue Aug 30, 2022 4:02 pm
by davidefa
Hi Tom, you may try this version
v7.7 - Aug 30, 2022
- set TurboOption ( for highcharts data as objects > 1000 points )
- now both sun and moon icons move following the cursor
Re: updated riset block
Posted: Tue Aug 30, 2022 5:10 pm
by Jolumarali
thank you Davide
Re: updated riset block
Posted: Tue Aug 30, 2022 11:36 pm
by weatherbee
Thank you davidefa.
It works now.
Thanks again,
Tom
Re: updated riset block
Posted: Wed Nov 23, 2022 11:40 am
by Meteo Heijningen
Hi,
I switched over to PHP8.1 (had to do this before the end of this week) All seems to work well after updating. Doing tests now and having problem with the riset block, After updating from 7.3 to 7.7 still getting a warning:
Warning: Undefined variable $showMoonPosition in /customers/e/8/4/famgladdines.nl/httpd.www/meteotemplate/template/homepage/blocks/riset/settings.php on line 8
Also found out that the block aurora is not working on 8.1
Thanks
Eddy
Re: updated riset block
Posted: Wed Nov 23, 2022 12:31 pm
by Meteo Heijningen
Hi all,
The problem with the riset block solved.
The cause of the warning was a $ too many in the code:
<?php
// riset settings file
// Version: 7.3
// Created: 2022-11-23 12:26:15
$autoOpenRiset = false;
$showStatPosition = true;
$$showMoonPosition = true;
After removing the second $ sign, so its now $showMoonPosition = true;, it worked again.
For the aurora block still need some help I guess but I will give it a try.
Cheers
Eddy
Re: updated riset block
Posted: Thu Nov 30, 2023 10:32 am
by davidefa
ver 7.8
- removed warnings/deprecation for php 8 ( a few seconds difference, respect to previous version, in times )
- corrected time scale and timezone in graph
- added option to colorize sun graph
- corrections for areas above polar circles
P.S.
Stock meteotemplate 18.0/19.0 function.php script did not work for me on php 8.2, the attached one fixes it, uncompress in your scripts folder

- riset_01b.png (30.4 KiB) Viewed 16816 times
Re: updated riset block
Posted: Thu Nov 30, 2023 5:33 pm
by alexvanuxem
thx! nice work!
I did not need to update the functions.php, it worked,
it only had influence on the stock version?
i did it anyway, no influence on previous version (header, moon,...)?
(i have a backup just in case).
ps: until now your rain api mod works good! thank you man!!
grtz
Alex
Re: updated riset block
Posted: Sat Dec 02, 2023 4:04 pm
by MeteoElMasnou
thx! Davide.