Trying to fix my station high and lows in Version 6.95 - 05-Jan-2016 - Script Mods by: BurnsvilleWeatherLIVE.com

For the record, I have not updated my site in years and I am trying to fix one tiny issue without have to start all over.

At www.kb5bfa.com my station high and lows (Sta* High and Sta*Low)are wrong. When I use the tags parser I see the correct station high and low but the old outdated script I am using wont display it.

I dug through the code and found the following:

<?php if ($useSTAhilo) { ?>
            <tr>
                <td align="center" valign="top" style="text-align: center; border: 1px solid red;">
                      <?php langtrans('Sta* High'); ?><br/>
                      <strong><span style="font-size: 16px"><span class="convTemp"><?php echo strip_units($maxtemp4today) . $uomTemp; ?></span></span></strong><br/>
                      <?php echo $maxtemp4todayyr; ?>
                </td>
                <td align="center" valign="top" style="text-align: center; border: 1px solid blue;">
                      <?php langtrans('Sta* Low'); ?><br/>
                      <strong><span style="font-size: 16px"><span class="convTemp"><?php echo strip_units($mintemp4today) . $uomTemp; ?></span></span></strong><br/>
                      <?php echo $mintemp4todayyr; ?>
                </td>
            </tr>
            <tr>
                <td align="center" colspan="2" style="font-size: 8px">
                             <?php langtrans('* This Station\'s Records Since&nbsp;'); ?><?php echo $SStartMo . '/' . $SStartYr; ?>
                        </td>
                    </tr>
<?php } // End Station High/Low ?>

The code is looking for $maxtemp4today (high) and $mintemp4today ($low) but I can not find a valid testtags entry for these.

How can I make Weather Display create these two tags ($maxtemp4today and $mintemp4today) or redirect this code to look at the correct tags?

These tags are present in my testtags.php:
$mrecordhightemp = ‘%mrecordhightemp%’;
$mrecordlowtemp = ‘%mrecordlowtemp%’;

From today’s data:

Rcd AllTime High Temp Celsius 42.1°C = 107.8°F
314 Rcd AllTime High Hour Time 14
315 Rcd AllTime High Min Time 50
316 Rcd AllTime High Day Time 20
317 Rcd AllTime High Mon Time 08
318 Rcd AllTime High Year Time 2023
319 Rcd AllTime Low Temp Celsius -11.5°C = 11.3°F
320 Rcd AllTime Low Hour Time 06
321 Rcd AllTime Low Min Time 57
322 Rcd AllTime Low Day Time 16
323 Rcd AllTime Low Mon Time 02
324 Rcd AllTime Low Year Time 2021

Regards.
Kerstan

These tags are present in testtags.txt version 1.07 with updated PurpleAir tags - 09-Nov-2018 (see line 36), which included support for version 6.20 of the alt-dashboard.

Download here.

I would strongly advise upgrading to version 6.95h which will run on php8.2
I was unable to find your status page to see what you need to update plus there are other updates on the Weather Website PHP/AJAX scripting