Weather by You!
Templates and Projects support => Php templates => Topic started by: CrasHBoneS on October 25, 2012, 09:02:50 AM
-
I see You released Month Patch for WB v1
I tried to suite to WB v2 with no success, but now I'm stuck :'(
I added these lines to wt_dataXXX.php
//-- Section Monthly RECORDS --
$Month01TempH = '<#ByMonthTempH mon=1>';
$Month01TempHT = '<#ByMonthTempHT mon=1>';
$Month01TempL = '<#ByMonthTempL mon=1>';
$Month01TempLT = '<#ByMonthTempLT mon=1>';
$Month01DewPointH = '<#ByMonthDewPointH mon=1>';
$Month01DewPointHT = '<#ByMonthDewPointHT mon=1>';
$Month01DewPointL = '<#ByMonthDewPointL mon=1>';
$Month01DewPointLT = '<#ByMonthDewPointLT mon=1>';
$Month01AppTempH = '<#ByMonthAppTempH mon=1>';
$Month01AppTempHT = '<#ByMonthAppTempHT mon=1>';
$Month01AppTempL = '<#ByMonthAppTempL mon=1>';
$Month01AppTempLT = '<#ByMonthAppTempLT mon=1>';
$Month01WChillL = '<#ByMonthWChillL mon=1>';
$Month01WChillLT = '<#ByMonthWChillLT mon=1>';
$Month01HeatIndexH = '<#ByMonthHeatIndexH mon=1>';
$Month01HeatIndexHT = '<#ByMonthHeatIndexHT mon=1>';
$Month01MinTempH = '<#ByMonthMinTempH mon=1>';
$Month01MinTempHT = '<#ByMonthMinTempHT mon=1>';
$Month01MaxTempL = '<#ByMonthMaxTempL mon=1>';
$Month01MaxTempLT = '<#ByMonthMaxTempLT mon=1>';
$Month01HumH = '<#ByMonthHumH mon=1>';
$Month01HumHT = '<#ByMonthHumHT mon=1>';
$Month01HumL = '<#ByMonthHumL mon=1>';
$Month01HumLT = '<#ByMonthHumLT mon=1>';
$Month01HighDailyTempRange = '<#ByMonthHighDailyTempRange mon=1>';
$Month01HighDailyTempRangeT = '<#ByMonthHighDailyTempRangeT mon=1>';
$Month01LowDailyTempRange = '<#ByMonthLowDailyTempRange mon=1>';
$Month01LowDailyTempRangeT = '<#ByMonthLowDailyTempRangeT mon=1>';
$Month02TempH = '<#ByMonthTempH mon=2>';
$Month02TempHT = '<#ByMonthTempHT mon=2>';
$Month02TempL = '<#ByMonthTempL mon=2>';
$Month02TempLT = '<#ByMonthTempLT mon=2>';
$Month02DewPointH = '<#ByMonthDewPointH mon=2>';
$Month02DewPointHT = '<#ByMonthDewPointHT mon=2>';
$Month02DewPointL = '<#ByMonthDewPointL mon=2>';
$Month02DewPointLT = '<#ByMonthDewPointLT mon=2>';
$Month02AppTempH = '<#ByMonthAppTempH mon=2>';
$Month02AppTempHT = '<#ByMonthAppTempHT mon=2>';
$Month02AppTempL = '<#ByMonthAppTempL mon=2>';
$Month02AppTempLT = '<#ByMonthAppTempLT mon=2>';
$Month02WChillL = '<#ByMonthWChillL mon=2>';
$Month02WChillLT = '<#ByMonthWChillLT mon=2>';
$Month02HeatIndexH = '<#ByMonthHeatIndexH mon=2>';
$Month02HeatIndexHT = '<#ByMonthHeatIndexHT mon=2>';
$Month02MinTempH = '<#ByMonthMinTempH mon=2>';
$Month02MinTempHT = '<#ByMonthMinTempHT mon=2>';
$Month02MaxTempL = '<#ByMonthMaxTempL mon=2>';
$Month02MaxTempLT = '<#ByMonthMaxTempLT mon=2>';
$Month02HumH = '<#ByMonthHumH mon=2>';
$Month02HumHT = '<#ByMonthHumHT mon=2>';
$Month02HumL = '<#ByMonthHumL mon=2>';
$Month02HumLT = '<#ByMonthHumLT mon=2>';
$Month02HighDailyTempRange = '<#ByMonthHighDailyTempRange mon=2>';
$Month02HighDailyTempRangeT = '<#ByMonthHighDailyTempRangeT mon=2>';
$Month02LowDailyTempRange = '<#ByMonthLowDailyTempRange mon=2>';
$Month02LowDailyTempRangeT = '<#ByMonthLowDailyTempRangeT mon=2>';
$Month03TempH = '<#ByMonthTempH mon=3>';
$Month03TempHT = '<#ByMonthTempHT mon=3>';
$Month03TempL = '<#ByMonthTempL mon=3>';
$Month03TempLT = '<#ByMonthTempLT mon=3>';
$Month03DewPointH = '<#ByMonthDewPointH mon=3>';
$Month03DewPointHT = '<#ByMonthDewPointHT mon=3>';
$Month03DewPointL = '<#ByMonthDewPointL mon=3>';
$Month03DewPointLT = '<#ByMonthDewPointLT mon=3>';
$Month03AppTempH = '<#ByMonthAppTempH mon=3>';
$Month03AppTempHT = '<#ByMonthAppTempHT mon=3>';
$Month03AppTempL = '<#ByMonthAppTempL mon=3>';
$Month03AppTempLT = '<#ByMonthAppTempLT mon=3>';
$Month03WChillL = '<#ByMonthWChillL mon=3>';
$Month03WChillLT = '<#ByMonthWChillLT mon=3>';
$Month03HeatIndexH = '<#ByMonthHeatIndexH mon=3>';
$Month03HeatIndexHT = '<#ByMonthHeatIndexHT mon=3>';
$Month03MinTempH = '<#ByMonthMinTempH mon=3>';
$Month03MinTempHT = '<#ByMonthMinTempHT mon=3>';
$Month03MaxTempL = '<#ByMonthMaxTempL mon=3>';
$Month03MaxTempLT = '<#ByMonthMaxTempLT mon=3>';
$Month03HumH = '<#ByMonthHumH mon=3>';
$Month03HumHT = '<#ByMonthHumHT mon=3>';
$Month03HumL = '<#ByMonthHumL mon=3>';
$Month03HumLT = '<#ByMonthHumLT mon=3>';
$Month03HighDailyTempRange = '<#ByMonthHighDailyTempRange mon=3>';
$Month03HighDailyTempRangeT = '<#ByMonthHighDailyTempRangeT mon=3>';
$Month03LowDailyTempRange = '<#ByMonthLowDailyTempRange mon=3>';
$Month03LowDailyTempRangeT = '<#ByMonthLowDailyTempRangeT mon=3>';
$Month04TempH = '<#ByMonthTempH mon=4>';
$Month04TempHT = '<#ByMonthTempHT mon=4>';
$Month04TempL = '<#ByMonthTempL mon=4>';
$Month04TempLT = '<#ByMonthTempLT mon=4>';
$Month04DewPointH = '<#ByMonthDewPointH mon=4>';
$Month04DewPointHT = '<#ByMonthDewPointHT mon=4>';
$Month04DewPointL = '<#ByMonthDewPointL mon=4>';
$Month04DewPointLT = '<#ByMonthDewPointLT mon=4>';
$Month04AppTempH = '<#ByMonthAppTempH mon=4>';
$Month04AppTempHT = '<#ByMonthAppTempHT mon=4>';
$Month04AppTempL = '<#ByMonthAppTempL mon=4>';
$Month04AppTempLT = '<#ByMonthAppTempLT mon=4>';
$Month04WChillL = '<#ByMonthWChillL mon=4>';
$Month04WChillLT = '<#ByMonthWChillLT mon=4>';
$Month04HeatIndexH = '<#ByMonthHeatIndexH mon=4>';
$Month04HeatIndexHT = '<#ByMonthHeatIndexHT mon=4>';
$Month04MinTempH = '<#ByMonthMinTempH mon=4>';
$Month04MinTempHT = '<#ByMonthMinTempHT mon=4>';
$Month04MaxTempL = '<#ByMonthMaxTempL mon=4>';
$Month04MaxTempLT = '<#ByMonthMaxTempLT mon=4>';
$Month04HumH = '<#ByMonthHumH mon=4>';
$Month04HumHT = '<#ByMonthHumHT mon=4>';
$Month04HumL = '<#ByMonthHumL mon=4>';
$Month04HumLT = '<#ByMonthHumLT mon=4>';
$Month04HighDailyTempRange = '<#ByMonthHighDailyTempRange mon=4>';
$Month04HighDailyTempRangeT = '<#ByMonthHighDailyTempRangeT mon=4>';
$Month04LowDailyTempRange = '<#ByMonthLowDailyTempRange mon=4>';
$Month04LowDailyTempRangeT = '<#ByMonthLowDailyTempRangeT mon=4>';
$Month05TempH = '<#ByMonthTempH mon=5>';
$Month05TempHT = '<#ByMonthTempHT mon=5>';
$Month05TempL = '<#ByMonthTempL mon=5>';
$Month05TempLT = '<#ByMonthTempLT mon=5>';
$Month05DewPointH = '<#ByMonthDewPointH mon=5>';
$Month05DewPointHT = '<#ByMonthDewPointHT mon=5>';
$Month05DewPointL = '<#ByMonthDewPointL mon=5>';
$Month05DewPointLT = '<#ByMonthDewPointLT mon=5>';
$Month05AppTempH = '<#ByMonthAppTempH mon=5>';
$Month05AppTempHT = '<#ByMonthAppTempHT mon=5>';
$Month05AppTempL = '<#ByMonthAppTempL mon=5>';
$Month05AppTempLT = '<#ByMonthAppTempLT mon=5>';
$Month05WChillL = '<#ByMonthWChillL mon=5>';
$Month05WChillLT = '<#ByMonthWChillLT mon=5>';
$Month05HeatIndexH = '<#ByMonthHeatIndexH mon=5>';
$Month05HeatIndexHT = '<#ByMonthHeatIndexHT mon=5>';
$Month05MinTempH = '<#ByMonthMinTempH mon=5>';
$Month05MinTempHT = '<#ByMonthMinTempHT mon=5>';
$Month05MaxTempL = '<#ByMonthMaxTempL mon=5>';
$Month05MaxTempLT = '<#ByMonthMaxTempLT mon=5>';
$Month05HumH = '<#ByMonthHumH mon=5>';
$Month05HumHT = '<#ByMonthHumHT mon=5>';
$Month05HumL = '<#ByMonthHumL mon=5>';
$Month05HumLT = '<#ByMonthHumLT mon=5>';
$Month05HighDailyTempRange = '<#ByMonthHighDailyTempRange mon=5>';
$Month05HighDailyTempRangeT = '<#ByMonthHighDailyTempRangeT mon=5>';
$Month05LowDailyTempRange = '<#ByMonthLowDailyTempRange mon=5>';
$Month05LowDailyTempRangeT = '<#ByMonthLowDailyTempRangeT mon=5>';
$Month06TempH = '<#ByMonthTempH mon=6>';
$Month06TempHT = '<#ByMonthTempHT mon=6>';
$Month06TempL = '<#ByMonthTempL mon=6>';
$Month06TempLT = '<#ByMonthTempLT mon=6>';
$Month06DewPointH = '<#ByMonthDewPointH mon=6>';
$Month06DewPointHT = '<#ByMonthDewPointHT mon=6>';
$Month06DewPointL = '<#ByMonthDewPointL mon=6>';
$Month06DewPointLT = '<#ByMonthDewPointLT mon=6>';
$Month06AppTempH = '<#ByMonthAppTempH mon=6>';
$Month06AppTempHT = '<#ByMonthAppTempHT mon=6>';
$Month06AppTempL = '<#ByMonthAppTempL mon=6>';
$Month06AppTempLT = '<#ByMonthAppTempLT mon=6>';
$Month06WChillL = '<#ByMonthWChillL mon=6>';
$Month06WChillLT = '<#ByMonthWChillLT mon=6>';
$Month06HeatIndexH = '<#ByMonthHeatIndexH mon=6>';
$Month06HeatIndexHT = '<#ByMonthHeatIndexHT mon=6>';
$Month06MinTempH = '<#ByMonthMinTempH mon=6>';
$Month06MinTempHT = '<#ByMonthMinTempHT mon=6>';
$Month06MaxTempL = '<#ByMonthMaxTempL mon=6>';
$Month06MaxTempLT = '<#ByMonthMaxTempLT mon=6>';
$Month06HumH = '<#ByMonthHumH mon=6>';
$Month06HumHT = '<#ByMonthHumHT mon=6>';
$Month06HumL = '<#ByMonthHumL mon=6>';
$Month06HumLT = '<#ByMonthHumLT mon=6>';
$Month06HighDailyTempRange = '<#ByMonthHighDailyTempRange mon=6>';
$Month06HighDailyTempRangeT = '<#ByMonthHighDailyTempRangeT mon=6>';
$Month06LowDailyTempRange = '<#ByMonthLowDailyTempRange mon=6>';
$Month06LowDailyTempRangeT = '<#ByMonthLowDailyTempRangeT mon=6>';
$Month07TempH = '<#ByMonthTempH mon=7>';
$Month07TempHT = '<#ByMonthTempHT mon=7>';
$Month07TempL = '<#ByMonthTempL mon=7>';
$Month07TempLT = '<#ByMonthTempLT mon=7>';
$Month07DewPointH = '<#ByMonthDewPointH mon=7>';
$Month07DewPointHT = '<#ByMonthDewPointHT mon=7>';
$Month07DewPointL = '<#ByMonthDewPointL mon=7>';
$Month07DewPointLT = '<#ByMonthDewPointLT mon=7>';
$Month07AppTempH = '<#ByMonthAppTempH mon=7>';
$Month07AppTempHT = '<#ByMonthAppTempHT mon=7>';
$Month07AppTempL = '<#ByMonthAppTempL mon=7>';
$Month07AppTempLT = '<#ByMonthAppTempLT mon=7>';
$Month07WChillL = '<#ByMonthWChillL mon=7>';
$Month07WChillLT = '<#ByMonthWChillLT mon=7>';
$Month07HeatIndexH = '<#ByMonthHeatIndexH mon=7>';
$Month07HeatIndexHT = '<#ByMonthHeatIndexHT mon=7>';
$Month07MinTempH = '<#ByMonthMinTempH mon=7>';
$Month07MinTempHT = '<#ByMonthMinTempHT mon=7>';
$Month07MaxTempL = '<#ByMonthMaxTempL mon=7>';
$Month07MaxTempLT = '<#ByMonthMaxTempLT mon=7>';
$Month07HumH = '<#ByMonthHumH mon=7>';
$Month07HumHT = '<#ByMonthHumHT mon=7>';
$Month07HumL = '<#ByMonthHumL mon=7>';
$Month07HumLT = '<#ByMonthHumLT mon=7>';
$Month07HighDailyTempRange = '<#ByMonthHighDailyTempRange mon=7>';
$Month07HighDailyTempRangeT = '<#ByMonthHighDailyTempRangeT mon=7>';
$Month07LowDailyTempRange = '<#ByMonthLowDailyTempRange mon=7>';
$Month07LowDailyTempRangeT = '<#ByMonthLowDailyTempRangeT mon=7>';
$Month08TempH = '<#ByMonthTempH mon=8>';
$Month08TempHT = '<#ByMonthTempHT mon=8>';
$Month08TempL = '<#ByMonthTempL mon=8>';
$Month08TempLT = '<#ByMonthTempLT mon=8>';
$Month08DewPointH = '<#ByMonthDewPointH mon=8>';
$Month08DewPointHT = '<#ByMonthDewPointHT mon=8>';
$Month08DewPointL = '<#ByMonthDewPointL mon=8>';
$Month08DewPointLT = '<#ByMonthDewPointLT mon=8>';
$Month08AppTempH = '<#ByMonthAppTempH mon=8>';
$Month08AppTempHT = '<#ByMonthAppTempHT mon=8>';
$Month08AppTempL = '<#ByMonthAppTempL mon=8>';
$Month08AppTempLT = '<#ByMonthAppTempLT mon=8>';
$Month08WChillL = '<#ByMonthWChillL mon=8>';
$Month08WChillLT = '<#ByMonthWChillLT mon=8>';
$Month08HeatIndexH = '<#ByMonthHeatIndexH mon=8>';
$Month08HeatIndexHT = '<#ByMonthHeatIndexHT mon=8>';
$Month08MinTempH = '<#ByMonthMinTempH mon=8>';
$Month08MinTempHT = '<#ByMonthMinTempHT mon=8>';
$Month08MaxTempL = '<#ByMonthMaxTempL mon=8>';
$Month08MaxTempLT = '<#ByMonthMaxTempLT mon=8>';
$Month08HumH = '<#ByMonthHumH mon=8>';
$Month08HumHT = '<#ByMonthHumHT mon=8>';
$Month08HumL = '<#ByMonthHumL mon=8>';
$Month08HumLT = '<#ByMonthHumLT mon=8>';
$Month08HighDailyTempRange = '<#ByMonthHighDailyTempRange mon=8>';
$Month08HighDailyTempRangeT = '<#ByMonthHighDailyTempRangeT mon=8>';
$Month08LowDailyTempRange = '<#ByMonthLowDailyTempRange mon=8>';
$Month08LowDailyTempRangeT = '<#ByMonthLowDailyTempRangeT mon=8>';
$Month09TempH = '<#ByMonthTempH mon=9>';
$Month09TempHT = '<#ByMonthTempHT mon=9>';
$Month09TempL = '<#ByMonthTempL mon=9>';
$Month09TempLT = '<#ByMonthTempLT mon=9>';
$Month09DewPointH = '<#ByMonthDewPointH mon=9>';
$Month09DewPointHT = '<#ByMonthDewPointHT mon=9>';
$Month09DewPointL = '<#ByMonthDewPointL mon=9>';
$Month09DewPointLT = '<#ByMonthDewPointLT mon=9>';
$Month09AppTempH = '<#ByMonthAppTempH mon=9>';
$Month09AppTempHT = '<#ByMonthAppTempHT mon=9>';
$Month09AppTempL = '<#ByMonthAppTempL mon=9>';
$Month09AppTempLT = '<#ByMonthAppTempLT mon=9>';
$Month09WChillL = '<#ByMonthWChillL mon=9>';
$Month09WChillLT = '<#ByMonthWChillLT mon=9>';
$Month09HeatIndexH = '<#ByMonthHeatIndexH mon=9>';
$Month09HeatIndexHT = '<#ByMonthHeatIndexHT mon=9>';
$Month09MinTempH = '<#ByMonthMinTempH mon=9>';
$Month09MinTempHT = '<#ByMonthMinTempHT mon=9>';
$Month09MaxTempL = '<#ByMonthMaxTempL mon=9>';
$Month09MaxTempLT = '<#ByMonthMaxTempLT mon=9>';
$Month09HumH = '<#ByMonthHumH mon=9>';
$Month09HumHT = '<#ByMonthHumHT mon=9>';
$Month09HumL = '<#ByMonthHumL mon=9>';
$Month09HumLT = '<#ByMonthHumLT mon=9>';
$Month09HighDailyTempRange = '<#ByMonthHighDailyTempRange mon=9>';
$Month09HighDailyTempRangeT = '<#ByMonthHighDailyTempRangeT mon=9>';
$Month09LowDailyTempRange = '<#ByMonthLowDailyTempRange mon=9>';
$Month09LowDailyTempRangeT = '<#ByMonthLowDailyTempRangeT mon=9>';
$Month10TempH = '<#ByMonthTempH mon=10>';
$Month10TempHT = '<#ByMonthTempHT mon=10>';
$Month10TempL = '<#ByMonthTempL mon=10>';
$Month10TempLT = '<#ByMonthTempLT mon=10>';
$Month10DewPointH = '<#ByMonthDewPointH mon=10>';
$Month10DewPointHT = '<#ByMonthDewPointHT mon=10>';
$Month10DewPointL = '<#ByMonthDewPointL mon=10>';
$Month10DewPointLT = '<#ByMonthDewPointLT mon=10>';
$Month10AppTempH = '<#ByMonthAppTempH mon=10>';
$Month10AppTempHT = '<#ByMonthAppTempHT mon=10>';
$Month10AppTempL = '<#ByMonthAppTempL mon=10>';
$Month10AppTempLT = '<#ByMonthAppTempLT mon=10>';
$Month10WChillL = '<#ByMonthWChillL mon=10>';
$Month10WChillLT = '<#ByMonthWChillLT mon=10>';
$Month10HeatIndexH = '<#ByMonthHeatIndexH mon=10>';
$Month10HeatIndexHT = '<#ByMonthHeatIndexHT mon=10>';
$Month10MinTempH = '<#ByMonthMinTempH mon=10>';
$Month10MinTempHT = '<#ByMonthMinTempHT mon=10>';
$Month10MaxTempL = '<#ByMonthMaxTempL mon=10>';
$Month10MaxTempLT = '<#ByMonthMaxTempLT mon=10>';
$Month10HumH = '<#ByMonthHumH mon=10>';
$Month10HumHT = '<#ByMonthHumHT mon=10>';
$Month10HumL = '<#ByMonthHumL mon=10>';
$Month10HumLT = '<#ByMonthHumLT mon=10>';
$Month10HighDailyTempRange = '<#ByMonthHighDailyTempRange mon=10>';
$Month10HighDailyTempRangeT = '<#ByMonthHighDailyTempRangeT mon=10>';
$Month10LowDailyTempRange = '<#ByMonthLowDailyTempRange mon=10>';
$Month10LowDailyTempRangeT = '<#ByMonthLowDailyTempRangeT mon=10>';
$Month11TempH = '<#ByMonthTempH mon=11>';
$Month11TempHT = '<#ByMonthTempHT mon=11>';
$Month11TempL = '<#ByMonthTempL mon=11>';
$Month11TempLT = '<#ByMonthTempLT mon=11>';
$Month11DewPointH = '<#ByMonthDewPointH mon=11>';
$Month11DewPointHT = '<#ByMonthDewPointHT mon=11>';
$Month11DewPointL = '<#ByMonthDewPointL mon=11>';
$Month11DewPointLT = '<#ByMonthDewPointLT mon=11>';
$Month11AppTempH = '<#ByMonthAppTempH mon=11>';
$Month11AppTempHT = '<#ByMonthAppTempHT mon=11>';
$Month11AppTempL = '<#ByMonthAppTempL mon=11>';
$Month11AppTempLT = '<#ByMonthAppTempLT mon=11>';
$Month11WChillL = '<#ByMonthWChillL mon=11>';
$Month11WChillLT = '<#ByMonthWChillLT mon=11>';
$Month11HeatIndexH = '<#ByMonthHeatIndexH mon=11>';
$Month11HeatIndexHT = '<#ByMonthHeatIndexHT mon=11>';
$Month11MinTempH = '<#ByMonthMinTempH mon=11>';
$Month11MinTempHT = '<#ByMonthMinTempHT mon=11>';
$Month11MaxTempL = '<#ByMonthMaxTempL mon=11>';
$Month11MaxTempLT = '<#ByMonthMaxTempLT mon=11>';
$Month11HumH = '<#ByMonthHumH mon=11>';
$Month11HumHT = '<#ByMonthHumHT mon=11>';
$Month11HumL = '<#ByMonthHumL mon=11>';
$Month11HumLT = '<#ByMonthHumLT mon=11>';
$Month11HighDailyTempRange = '<#ByMonthHighDailyTempRange mon=11>';
$Month11HighDailyTempRangeT = '<#ByMonthHighDailyTempRangeT mon=11>';
$Month11LowDailyTempRange = '<#ByMonthLowDailyTempRange mon=11>';
$Month11LowDailyTempRangeT = '<#ByMonthLowDailyTempRangeT mon=11>';
$Month12TempH = '<#ByMonthTempH mon=12>';
$Month12TempHT = '<#ByMonthTempHT mon=12>';
$Month12TempL = '<#ByMonthTempL mon=12>';
$Month12TempLT = '<#ByMonthTempLT mon=12>';
$Month12DewPointH = '<#ByMonthDewPointH mon=12>';
$Month12DewPointHT = '<#ByMonthDewPointHT mon=12>';
$Month12DewPointL = '<#ByMonthDewPointL mon=12>';
$Month12DewPointLT = '<#ByMonthDewPointLT mon=12>';
$Month12AppTempH = '<#ByMonthAppTempH mon=12>';
$Month12AppTempHT = '<#ByMonthAppTempHT mon=12>';
$Month12AppTempL = '<#ByMonthAppTempL mon=12>';
$Month12AppTempLT = '<#ByMonthAppTempLT mon=12>';
$Month12WChillL = '<#ByMonthWChillL mon=12>';
$Month12WChillLT = '<#ByMonthWChillLT mon=12>';
$Month12HeatIndexH = '<#ByMonthHeatIndexH mon=12>';
$Month12HeatIndexHT = '<#ByMonthHeatIndexHT mon=12>';
$Month12MinTempH = '<#ByMonthMinTempH mon=12>';
$Month12MinTempHT = '<#ByMonthMinTempHT mon=12>';
$Month12MaxTempL = '<#ByMonthMaxTempL mon=12>';
$Month12MaxTempLT = '<#ByMonthMaxTempLT mon=12>';
$Month12HumH = '<#ByMonthHumH mon=12>';
$Month12HumHT = '<#ByMonthHumHT mon=12>';
$Month12HumL = '<#ByMonthHumL mon=12>';
$Month12HumLT = '<#ByMonthHumLT mon=12>';
$Month12HighDailyTempRange = '<#ByMonthHighDailyTempRange mon=12>';
$Month12HighDailyTempRangeT = '<#ByMonthHighDailyTempRangeT mon=12>';
$Month12LowDailyTempRange = '<#ByMonthLowDailyTempRange mon=12>';
$Month12LowDailyTempRangeT = '<#ByMonthLowDailyTempRangeT mon=12>';
-
Hi Crash,
What you have downloaded is a v1 file, then it is pure html.
In html we can't include files like wt_data_xxx.php, what we have to do
is to process that page, like you do it for the wt_data_inc.php to tell Cumulus
to process these webtags (eg. <#...>), refer to process optional files on that link:
http://weatherbyyou.com/wb1_sheet.php#console
Best regards,
Jacques
-
I know it is a file for v1
I started from file thismonth and thismonth_txt then renamed thismonthrecords and thismonthrecords_txt
Then I tried to convert v1 file to v2 file avoiding Cumulus processing it
So I write webtag used in v1 html file in wt_data_inc.php (see my post above)
What I would like to do is to translate v1 html file into v2 php file but I did not understand how the script change the values of the month selected
In the html file webtag refer always to mon=1
<tr class="td_data">
<td class="main_table_text_labels">Highest Dew Point</td>
<td class="right_align_indented"><span id="DewPointH"><#ByMonthDewPointH mon=1></span> <#tempunit></td>
<td class="right_align_indented"><span id="DewPointHT"><#ByMonthDewPointHT mon=1></span></td>
</tr>
-
I understood java script function to change data month displayed (<span id=.......)
Now I'm translating v1 html file to v2 php file
Lot's of work to do, first of all modifying the whole arrays
-
Hi Crash,
Oh big job for the week-end!
As many users want to use(and started), I'll do my part to help you;
my wt_data_xxx.php files are ready for Cumulus version 1.9.3
Then, I'll launch it this week-end to be able to run your page easily!
Just take care to use exact syntax as the Cumulus webtags for your php variables.
eg <#ByMonthTempH> will become $ByMonthTempH
Regards,
Jacques
-
In wt_data_XXX added
here is only month 01, must have from month01 to month12
//-- Section Monthly RECORDS --
$Month01TempH = '<#ByMonthTempH mon=1>';
$Month01TempHT = '<#ByMonthTempHT mon=1>';
$Month01TempL = '<#ByMonthTempL mon=1>';
$Month01TempLT = '<#ByMonthTempLT mon=1>';
$Month01DewPointH = '<#ByMonthDewPointH mon=1>';
$Month01DewPointHT = '<#ByMonthDewPointHT mon=1>';
$Month01DewPointL = '<#ByMonthDewPointL mon=1>';
$Month01DewPointLT = '<#ByMonthDewPointLT mon=1>';
$Month01AppTempH = '<#ByMonthAppTempH mon=1>';
$Month01AppTempHT = '<#ByMonthAppTempHT mon=1>';
$Month01AppTempL = '<#ByMonthAppTempL mon=1>';
$Month01AppTempLT = '<#ByMonthAppTempLT mon=1>';
$Month01WChillL = '<#ByMonthWChillL mon=1>';
$Month01WChillLT = '<#ByMonthWChillLT mon=1>';
$Month01HeatIndexH = '<#ByMonthHeatIndexH mon=1>';
$Month01HeatIndexHT = '<#ByMonthHeatIndexHT mon=1>';
$Month01MinTempH = '<#ByMonthMinTempH mon=1>';
$Month01MinTempHT = '<#ByMonthMinTempHT mon=1>';
$Month01MaxTempL = '<#ByMonthMaxTempL mon=1>';
$Month01MaxTempLT = '<#ByMonthMaxTempLT mon=1>';
$Month01HumH = '<#ByMonthHumH mon=1>';
$Month01HumHT = '<#ByMonthHumHT mon=1>';
$Month01HumL = '<#ByMonthHumL mon=1>';
$Month01HumLT = '<#ByMonthHumLT mon=1>';
$Month01HighDailyTempRange = '<#ByMonthHighDailyTempRange mon=1>';
$Month01HighDailyTempRangeT = '<#ByMonthHighDailyTempRangeT mon=1>';
$Month01LowDailyTempRange = '<#ByMonthLowDailyTempRange mon=1>';
$Month01LowDailyTempRangeT = '<#ByMonthLowDailyTempRangeT mon=1>';
$Month01RainRateH = '<#ByMonthRainRateH mon=1>';
$Month01RainRateHT = '<#ByMonthRainRateHT mon=1>';
$Month01HourlyRainH = '<#ByMonthHourlyRainH mon=1>';
$Month01HourlyRainHT = '<#ByMonthHourlyRainHT mon=1>';
$Month01DailyRainH = '<#ByMonthDailyRainH mon=1>';
$Month01DailyRainHT = '<#ByMonthDailyRainHT mon=1>';
$Month01MonthlyRainH = '<#ByMonthMonthlyRainH mon=1>';
$Month01MonthlyRainHT = '<#ByMonthMonthlyRainHT mon=1>';
$Month01LongestDryPeriod = '<#ByMonthLongestDryPeriod mon=1>';
$Month01LongestDryPeriodT = '<#ByMonthLongestDryPeriodT mon=1>';
$Month01LongestWetPeriod = '<#ByMonthLongestWetPeriod mon=1>';
$Month01LongestWetPeriodT = '<#ByMonthLongestWetPeriodT mon=1>';
$Month01GustH = '<#ByMonthGustH mon=1>';
$Month01GustHT = '<#ByMonthGustHT mon=1>';
$Month01WindH = '<#ByMonthWindH mon=1>';
$Month01WindHT = '<#ByMonthWindHT mon=1>';
$Month01WindRunH = '<#ByMonthWindRunH mon=1>';
$Month01WindRunHT = '<#ByMonthWindRunHT mon=1>';
$Month01PressH = '<#ByMonthPressH mon=1>';
$Month01PressHT = '<#ByMonthPressHT mon=1>';
$Month01PressL = '<#ByMonthPressL mon=1>';
$Month01PressLT = '<#ByMonthPressLT mon=1>';
-
monthrecords.php
monthrecords_txt.php
P.S.: I left All Time Records in a dedicated web page, the file attached contains "only" montly records
-
Hi Crash & Jacques,
I have been fooling around with adding the Webtags for Cumulus V1.9.3 for some other pages I have been fooling around with that required some of the new Webtags when the subject of a 'Monthly records' page came up for WB V2 PHP version came up. So when Crash wrote earlier today and had a PHP version going I started to playing with it starting by adding the additional new Webtags to my 'wt_data_inc.php' and then translating Crash's "monthrecords.php" page to english for my website although I haven't added it to my main page as of yet so as to see what transpires.(To see: http://tigerden.hopto.org/tigerdenwx/monthrecords.php (http://tigerden.hopto.org/tigerdenwx/monthrecords.php))
For my purposes I added the All-time records back in my version, at least for the moment.
I've included the monthrecords.php, monthrecords_txt.php, and my wt_data_inc.php files that I used.
Thanks Crash for the jump start, it really saved me a lot of time! :) :)
Jacques I don't know if my wt_data_inc.php be of any help, but just on the outside chance that it might save some typing I thought I would include it. :) :)
Open to any comments!
Regards,
Joe
-
Hi Joe and Crash,
What a great team job!! ;D I'm happy to see poeple working together to enhance template!
I've checked the new wt_data_inc.php file, Great job!! But, I find it is a bit big... from
around 20k to 60k!! I think of splitting it in 2 files to have a small file for all pages, and
a 2nd for monthly records... what do you think about that?
Also. I plan to enhance it by integrating "language pack module" to have it in all available
languages! (We also have a new language near end... Greek will be added shortly!)
Then, some nice things in Weather Blues this week-end!
Thaks a lot guys!! ;D
Best regards,
Jacques
-
Hi Jacques,
Yes, I noticed the wt_data_inc.php file was getting quite large and if you hadn't noticed I haven't even added all of the 1.9.3 Webtags! ::) I had been adding them as I needed them with the intention of adding the rest of them shortly.
As far as splitting the file up, I'm really on the fence. :-\ On the one hand I like the idea of everything being in one file for knowing it's the only place to look for data and would only have to include the one file. Whereas by splitting up the file you have the possibility that you would have to include one file or the other or the possibility of including both. On the other hand by splitting them into two or more files possibly would be more efficient in some cases from a processing point of view. 8) Those are just my thoughts. Whichever way you decide to go with though would be all right with me as I can adapt/adjust to anything. ;)
Another idea might be to split into more than 2 files with maybe the third file being used for some of the more obscure Webtags (eg. Extra sensors, etc). I'm just throwing this out as an idea. This could get way out of hand without much effort or thought. :)
Anyway these are just my initial thoughts! ;D
Regards,
Joe
-
Following your suggestion I splitted the file
wt_data_inc -> processed and uploaded realtime
wt_data_month -> uploaded according the Cumulus web settings (10 min)
-
Hi Guys,
I've finished! ;D 4 different webtags files available in download section.
Like discussed, I've splitted newer (1.9.3) webtags file in 2 distinct files:
- wt_data_inc.php for all template files
- wt_month_inc.php only for monthly records page (no need to include wt_data_inc.php file)
As usual, a duplicate set is included with support for all foreign languages (utf-8)
Files: wt_data_intl.php and wt_month_intl.php
Also these files contain new standard for customizable dates on all webtags
as dates aren't constantly formed by Cumulus, ie. at 23:46 on 31 janvier 2012.
By that, new webtags are created by adding "F" (for Formatted) to the standard wetag name
eg. $ByMonth01TempHT become $ByMonth01TempHTF
(This will also allow other languages to replace "on, at, to" with translated ones or none if wanted)
Finally, merged version of records page with monthly records was designed for "too small"
to be expanded menu of Weather Blues v1 and since V2 has not this restriction (also submenus
are prettier with more items), I'm now working on more "Cumulus compatible" record pages.
(ie. record and monthly records page in distinctive 2 files)
Prototype page is available at this link: http://www.weatherbyyou.com/demo/Weather_blues_v2/monthlyrecord.php
Hope this help to reach a better and more complete template.
Thanks for well job done on base page and data file! ;D
Best regards,
Jacques
-
I'm just curious and a bit confused (it's normal lol), but what are you guys doing here (the end result)?
-
Hi Bob,
This thread is about Cumulus data list transformed to Php language.
With new page "Month-by-month record", numbers of lines needed "exploded"
Then, we have to split it in 2 files to produce new monthlyrecord page.
Weather Blues v2 template is compatible only with Cumulus official (1.9.2) version,
then that monthly record page (beta 1.9.3) is a big awaiting enhancement for WB2 users!
(A "patch" already exist for Sunny Weather and Weather Blues v1)
Regards,
Jacques
-
Hi Everybody,
I have been working on getting my Weather Blues V2 up and running - and am almost there but need a little(?) assistance. I have little knowledge at present.
I have been using the files and information in this thread to try set up my monthlyrecords.php page
but am struggling.
I have uploaded everything to my test site and Cumulus has process wt_data_inc.php and wt_month_inc.php but I cannot get the data into the monthlyrecords.php page.
All the other pages under the History menu button seem OK.
Cumulus is continuing to update my html pages so the data on the test site is not current.
You can see the pages here http://www.fordingbridgeweather.co.uk/public_html/test_php (http://www.fordingbridgeweather.co.uk/public_html/test_php)
Thanks and a Happy New Year to Everyone
Pete
-
Hi Pete,
I've tried to see your site, but there is nothing on your link! :o
... so I cannot suggest a solution! (but have you checked to "init" your monthly records?)
Happy new year!
Jacques
-
Jacques,
Apologies, please try http://www.fordingbridgeweather.co.uk/test_php/ (http://www.fordingbridgeweather.co.uk/test_php/)
Pete
-
Hi Pete,
I've look at your page and as I thinked, your data are not there!
Monthly records have something special, as they aren't automaticly created
You have to "choose" each and every month record with menu EDIT --> Monthly Records
See daitailed steps in that post (step #1): http://weatherbyyou.com/forum/index.php?topic=515.msg1731#msg1731
Regards,
Jacques
-
Hi Jacques,
Thanks for your prompt reply.
The monthly data is in Cumulus and is being successfully uploaded to my html site here http://www.fordingbridgeweather.co.uk (http://www.fordingbridgeweather.co.uk).
Cumulus has processed and uploaded wt_data_inc.php and wt_month_inc.php to my test site and both have data in them. wt_month_inc.php has data from September when records began.
My test site is here http://www.fordingbridgeweather.co.uk/test_php (http://www.fordingbridgeweather.co.uk/test_php)
thismonth.php, thisyear.php, and records.php all have data - but not monthly.php :(
I have atttached the files and a screenshot of the errors when running on my local XAMPP server, if this might help.
.... and now I have just noticed my anemometer has siezed up!! ::)
Kind regards ......... Pete
-
Hi Pete,
I see your files and you mixed things about "month" ::)
You have data for THIS MONTH, but none for MONTHLY RECORDS!
Double check your records in Cumulus EDIT menu, you have two "month" item
- Monthly records
- This month's records
That is why you having errors like Month01TempH in your XAMPP
because your "Monthly Records" page is not initialized!!
You will see in that page that you have to choose records for Temp. Humidity, Rain, Wind...
For all months: January, Febuary, March, April.... a pretty long job... are you sure have do it??
Regards,
Jacques
-
Hi Jacques,
Thanks for your help.
Something to look at when I have a little more knowledge - perhaps! ;)
Kind regards ........... Pete