Welcome to the Cumulus Support forum.

Latest Cumulus MX V4 release 4.4.2 (build 4085) - 12 March 2025

Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 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

If you are posting a new Topic about an error or if you need help PLEASE read this first viewtopic.php?p=164080#p164080

This may be a silly question?

Other discussion about creating web sites for Cumulus that doesn't have a specific subforum

Moderator: daj

Post Reply
water01
Posts: 3670
Joined: Sat 13 Aug 2011 9:33 am
Weather Station: Ecowitt HP2551
Operating System: Windows 10/11 64bit Synology NAS
Location: Burnham-on-Sea
Contact:

This may be a silly question?

Post by water01 »

I have used Cumulus for a few weeks now and now have my website up and I beginning to gradually improve and add things. Now I am a programmer by trade (started using machine code on mainframes in the late 1960's!!) and have learnt many languages so programming in PHP and HTML hold no worries but one thing I have learnt is not to keep re-inventing the wheel and to use other peoples code if it works and is available!!

I was looking at the various weather station web sites that people have, and I stumbled across http://www.valley-weather.co.uk/index.php which appears to run everything in PHP (all his code has .php extensions not .htm) rather than the HTML that Steve supplies, but Rob the guy who runs it says that this done with the help of the people on here.

So my question is "Is there a version of the Cumulus web site software that runs in PHP for which the source is available" or is this just a question of embedding the HTML code in <?php ?>? and using PHP webtags?
David
Image
sooty
Posts: 31
Joined: Wed 17 Dec 2008 12:01 am
Weather Station: Davis
Operating System: W7
Location: USA

Re: This may be a silly question?

Post by sooty »

Check out the .php scripts/templates on Ken True's excellent site http://saratoga-weather.org/wxtemplates/index.php There is now a cumulus version.
gemini06720
Posts: 1700
Joined: Mon 10 Aug 2009 10:16 pm
Weather Station: No weather station
Operating System: No operating system
Location: World...

Re: This may be a silly question?

Post by gemini06720 »

water01 wrote:Now I am a programmer by trade (started using machine code on mainframes in the late 1960's!!) and have learnt many languages so programming in PHP and HTML hold no worries but one thing I have learnt is not to keep re-inventing the wheel and to use other peoples code if it works and is available!!
Unfortunately, although many of us have adapted Steve's HTML templates to PHP, an equivalent PHP template set has never been released... :(

One of the first thing I did after installing Cumulus for the first time (more than 2 years ago) was to update/upgrade the HTML templates code to the PHP format and thus the first release of the 'cumuluswebtags' template. I have since moved away from the design (presentation) of the 'standard' HTML templates by adapting the PHP code to a new template design: [link removed]. Over the years, some Ajax/JavaScript code was added to a few of the templates (pages) to offer some (almost) real-time display of often-changing weather values - I am a strong believer in using as much as possible of the server-side programming language PHP and as little as possible of the browser/user-side programming language Ajax/JavaScript - Ajax/JavaScript is now so abusively/overly used for purposes (operations) that should only be handled by server-side languages... :evil:

As suggested by sooty, you could download and install the PHP/AJAX Website Template Sets (by Ken True) but you might/will find their appearance to be somewhat outdated - the original CSS design of the templates was made in 2003 and has not been change since - the code for the templates is good (solid, reliable and regularly updated) but the "looks" really needs some 'modernisation'... :roll:
water01 wrote:So my question is "Is there a version of the Cumulus web site software that runs in PHP for which the source is available" or is this just a question of embedding the HTML code in <?php ?>? and using PHP webtags?
To your first question, a 'yes' reply, but very 'old-looking' design ... and to your second question, another 'yes' reply... :mrgreen:

Note: Could you please add a signature to your messages, possibly using your first name ... using a first name makes for a more personal communication/exchange... ;)
Last edited by gemini06720 on Thu 30 May 2013 7:26 am, edited 1 time in total.
water01
Posts: 3670
Joined: Sat 13 Aug 2011 9:33 am
Weather Station: Ecowitt HP2551
Operating System: Windows 10/11 64bit Synology NAS
Location: Burnham-on-Sea
Contact:

Re: This may be a silly question?

Post by water01 »

Thanks for the replies, and Ray hope the signature meets with your approval! :lol:

I will check out your suggestions. Thanks.
David
Image
gemini06720
Posts: 1700
Joined: Mon 10 Aug 2009 10:16 pm
Weather Station: No weather station
Operating System: No operating system
Location: World...

Re: This may be a silly question?

Post by gemini06720 »

David, nice to hear/read from you... :mrgreen:
water01 wrote:Thanks for the replies, and Ray hope the signature meets with your approval! :lol:
David, just having a signature, preferably with a first name, is "meeting my approval" ... :twisted: ...thank you... :D

I have been hoping for many months (if not years) that modifications to phpBB, the software used for these forums, would include options to 'require' the new user to include not only his/her signature (preferably with his/her first name), but also the general location where the weather station is located as well as a link to the web pages... :roll:
water01
Posts: 3670
Joined: Sat 13 Aug 2011 9:33 am
Weather Station: Ecowitt HP2551
Operating System: Windows 10/11 64bit Synology NAS
Location: Burnham-on-Sea
Contact:

Re: This may be a silly question?

Post by water01 »

Ray, glad it meets with your approval.

I run another phpBB site for car enthusiasts (http://www.ukpassats.co.uk) and I am also a member of the support form for phpBB (you get valuable information tracking problems :roll: ), so I know that the main developers view this type of thing as mod.

I had a quick search and cannot find one!!
David
Image
Post Reply