IMPORTANT! The server may go down soon - possibly permanently. Please read the latest post in Announcements and News

I strongly advise all users using my server for their web site to make alternative arrangements.

Outgoing mail is disabled because of the malware on the server. No new forum registrations are currently possible, and mail to the forum administrator will not work.

Please read the posts in the Announcements section about the current status of Cumulus development now that I have retired

Please read this post before posting

Latest Cumulus release v1.9.4 (build 1099) - Nov 28 2014
Latest Cumulus MX release - v3.0.0 build 3043 Jan 20 2017. See this post for download

New template: Weather Sky!

Discussion of Jacques DesRoches's web site templates

Moderator: JacquesD

User avatar
duke
Posts: 840
Joined: Sun Jul 03, 2011 6:23 pm
Weather Station: Davis VP2 Plus - 24hr FARS
Operating System: Windows 10 - 64 bit
Location: Eastleigh, Hampshire, UK
Contact:

Re: New template: Weather Sky!

Postby duke » Fri Aug 17, 2012 8:54 am

.. persuasion through facts should be the approach taken

Were the facts not posted in an earlier post? And the solution?
Code:
//-- Section WEBTAGS without COMMAS --
$RCdew = <#RCdew>;
$RCheatindex = <#RCheatindex>;
$RChum = <#RChum>;
$RCinhum = <#RCinhum>;
$RCintemp = <#RCintemp>;
$RCpress = <#RCpress>;
$RCpressTH = <#RCpressTH>;
$RCpressTL = <#RCpressTL>;
$RCrfall = <#RCrfall>;
$RCrrate = <#RCrrate>;
$RCrrateTM = <#RCrrateTM>;
$RCtemp = <#RCtemp>;
$RCtempTH = <#RCtempTH>;
$RCtempTL = <#RCtempTL>;
$RCwchill = <#RCwchill>;
$RCwgust = <#RCwgust>;
$RCwgustTM = <#RCwgustTM>;
$RCwspeed = <#RCwspeed>;
To prevent/remove the error message, the tags have to be included between single or double quotes:
Code:
//-- Section WEBTAGS without COMMAS --
$RCdew = '<#RCdew>';
$RCheatindex = '<#RCheatindex>';
$RChum = '<#RChum>';
$RCinhum = '<#RCinhum>';
$RCintemp = '<#RCintemp>';
$RCpress = '<#RCpress>';
$RCpressTH = '<#RCpressTH>';
$RCpressTL = '<#RCpressTL>';
$RCrfall = '<#RCrfall>';
$RCrrate = '<#RCrrate>';
$RCrrateTM = '<#RCrrateTM>';
$RCtemp = '<#RCtemp>';
$RCtempTH = '<#RCtempTH>';
$RCtempTL = '<#RCtempTL>';
$RCwchill = '<#RCwchill>';
$RCwgust = '<#RCwgust>';
$RCwgustTM = '<#RCwgustTM>';
$RCwspeed = '<#RCwspeed>';
Duke

Nightingale Weather
Eastleigh, Hampshire, UK
------------------------------------------------------
Validate your pages - often!

User avatar
mcrossley
Posts: 5194
Joined: Thu Jan 07, 2010 9:44 pm
Weather Station: Davis VP2
Operating System: Stretch Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: New template: Weather Sky!

Postby mcrossley » Fri Aug 17, 2012 9:12 am

Isn't the problem that PHP should not ever be parsing the source file with the Cumulus tags in it? PHP should only parse the file once Cumulus has processed it and replaced the tags with numeric values - then there will be no errors generated. It is the same as expecting HTML with embedded tags to validate - it does not make sense, it is the post-processed HTML that needs to validate.

User avatar
JacquesD
Posts: 604
Joined: Tue Jul 27, 2010 3:51 am
Weather Station: National Geographic 265nc
Operating System: XP SP3
Location: St-Ours, Québec, Canada
Contact:

Re: New template: Weather Sky!

Postby JacquesD » Fri Aug 17, 2012 12:34 pm

Hi Duke,

This "bug" was present only 1h, because I haven't use the most recent version of wt_data_inc.php
when I launched it. This bug was discovered only when modifying code to make the bug appered,
but bug was already solved, zip file updated and update available on user's TMM.

I'm using a really different approach as I included my "Template Manager Module" to do things
in a new way, As pros we can want to have "hands in the mud", but those templates are geared to
dummies and users needing to be guided. Then no new zip file to analyse to find THE file that has been
upgraded.. or unzip all and live with the trouble of messed-up your things.

Approach now is:
1 - Find bug
2 - Inform me by posting
3 - I take action fast
4 - Corrected file available in TMM
5 - Zip file is updated.

Then, now I don't talk about a bug for weeks anymore! When I take note of a correction to do,
time was about 1h to have new file in TMM.

For now, in TMM:
- Weather Sky has 1 file update
- Weather Blues v2 has 5 files to update.

Then, please, update!

Regards,
Jacques

darc
Posts: 268
Joined: Sat Jun 16, 2012 12:28 pm
Weather Station: Davis vp2 // Maplins N96GY
Operating System: Win 7 Home / Nokia Lumia Win
Location: Rhyl North Wales
Contact:

Re: New template: Weather Sky!

Postby darc » Thu Sep 06, 2012 11:18 am

I have just got onto this post and I can say I am boiling up with some of the comments made it must be so good to be perfect I bow down to all thows perfect people out there how dare they publicly have a go at people whom are only trying to make a difference with
the noledge they have, everyone makes mistakes as Rob says microsoft and others make mistakes I run windows seven I still recieve fixes for that and I paid good money for that o/s I cant even get to grips with getting my webcam working via yawcam and my site there are lots on here who have tried to help I surpose what I am trying to say is Jacques and the team are doing a fantastic job what they dont need is some hi and mighty putting them down for it I think you should really find another forum to join or even start one yourself my opinion sorry Jacques and team keep up the good work.

Geoff
Weather station Davis Vantage Pro 2 / Maplins Forecaster N96GY http://www.pwsweather.com/obs/29021968.html

Canon camera 1100d Samsung compact

User avatar
JacquesD
Posts: 604
Joined: Tue Jul 27, 2010 3:51 am
Weather Station: National Geographic 265nc
Operating System: XP SP3
Location: St-Ours, Québec, Canada
Contact:

Re: New template: Weather Sky!

Postby JacquesD » Mon Dec 03, 2012 3:29 pm

Hi,

As many template users are excited by new webtags in Cumulus beta v1.9.3
and a little frustrated that I'm waiting that 1.9.3 become official. I've decided
to do a "month patch" for all templates available.

Weather Sky was the last one to wait for that patch, then this morning,
I've launched this long awaited page. You will see that this page merge Records
and Monthly Records in one page, you can simply choose period as a particular
month or click on "All time".

You can see step-by-step installation guide on this link:
http://weatherbyyou.com/forum/index.php?topic=521.0

Now all templates are "patched" for v1.9.3:
- Sunny Weather
- Weather Blues v1 & v2
- Weather Sky

Also, Weather Sunset is natively v1.9.3 compatible
(Not just "patched" for month records, all new webtags included)

Hope you'll enjoy,

Best regards,
Jacques


Return to “Weather by You Templates”

Who is online

Users browsing this forum: No registered users and 2 guests