Welcome to the Cumulus Support forum.

Latest Cumulus MX release 3.28.5 (build 3282) - 23 February 2024

Legacy Cumulus 1 release v1.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

Cumulus PHP-GD Banner

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

Moderator: daj

Mapantz
Posts: 1770
Joined: Sat 17 Dec 2011 11:55 am
Weather Station: Davis Vantage Pro2
Operating System: Windows 11 x64
Location: Dorset - UK
Contact:

Re: Cumulus PHP-GD Banner

Post by Mapantz »

Still a broken image for me. I'm on my phone at the moment..
Image
User avatar
SJG1976
Posts: 365
Joined: Wed 21 Dec 2011 11:04 am
Weather Station: Davis WLL, with Airlink
Operating System: Raspberry Pi3 MX on USB Drive
Location: Glemsford, Suffolk
Contact:

Re: Cumulus PHP-GD Banner

Post by SJG1976 »

ForPaulMy

I get the following but can click all the links.
PaulMy_sig.PNG
You do not have the required permissions to view the files attached to this post.
User avatar
PaulMy
Posts: 3732
Joined: Sun 28 Sep 2008 11:54 pm
Weather Station: Davis VP2+ Cumulus1 / CummulusMX
Operating System: Windows8 / Windows10
Location: Komoka, ON Canada
Contact:

Re: Cumulus PHP-GD Banner

Post by PaulMy »

@SJG1976 yes, a broken link and that is how it shows for me in Edge and Chrome, but the banner does show in FF. Likely the way it'll stay until/if I go to https

Enjoy,
Paul
Davis Vantage Pro2+
C1 www.komokaweather.com/komokaweather-ca
MX www .komokaweather.com/cumulusmxwll/index.htm
MX www.komokaweather.com/cumulusmx/index.php
MX www.komokaweather.com/cumulusmx/index.html

Image
User avatar
mcrossley
Posts: 12505
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Cumulus PHP-GD Banner

Post by mcrossley »

If you want to enabled http banners on this site, then in your Edge/Chrome settings search for "Insecure settings", and add "cumulus.hosiene.co.uk" to the Allow list.

The other problem is most ad blockers will automatically block files named "banner", so don't call your script banner.php or redirect banner.png etc.
RayProudfoot
Posts: 3361
Joined: Wed 06 May 2009 6:29 pm
Weather Station: Davis VP2 with Daytime FARS
Operating System: Windows XP SP3
Location: Cheadle Hulme, Cheshire, England
Contact:

Re: Cumulus PHP-GD Banner

Post by RayProudfoot »

mcrossley wrote: Thu 27 Jan 2022 8:32 pm If you want to enabled http banners on this site, then in your Edge/Chrome settings search for "Insecure settings", and add "cumulus.hosiene.co.uk" to the Allow list.

The other problem is most ad blockers will automatically block files named "banner", so don't call your script banner.php or redirect banner.png etc.
I had the problem until I excluded this forum in my adblocker app on my iPad. On my Windows 10 PC I just exclude this forum from the AdBlocker addon for Firefox.
Cheers,
Ray, Cheshire.

Image
User avatar
mcrossley
Posts: 12505
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Cumulus PHP-GD Banner

Post by mcrossley »

RayProudfoot wrote: Thu 27 Jan 2022 8:56 pm I had the problem until I excluded this forum in my adblocker app on my iPad. On my Windows 10 PC I just exclude this forum from the AdBlocker addon for Firefox.
It still means no else running an ad blocker (who doesn't!) will see your banner though Ray. It's best to rename the script.
RayProudfoot
Posts: 3361
Joined: Wed 06 May 2009 6:29 pm
Weather Station: Davis VP2 with Daytime FARS
Operating System: Windows XP SP3
Location: Cheadle Hulme, Cheshire, England
Contact:

Re: Cumulus PHP-GD Banner

Post by RayProudfoot »

mcrossley wrote: Thu 27 Jan 2022 11:27 pm It still means no else running an ad blocker (who doesn't!) will see your banner though Ray. It's best to rename the script.
Rename the script Mark? Do you mean add an S after http? If not, what do I need to do?
Cheers,
Ray, Cheshire.

Image
freddie
Posts: 2394
Joined: Wed 08 Jun 2011 11:19 am
Weather Station: Davis Vantage Pro 2 + Ecowitt
Operating System: GNU/Linux Ubuntu 22.04 LXC
Location: Alcaston, Shropshire, UK
Contact:

Re: Cumulus PHP-GD Banner

Post by freddie »

Change it from banner.php to something else - e.g wxsummary.php. It is the name "banner" that adblockers don't like, as it is commonly used by advertisers.
Freddie
Image
RayProudfoot
Posts: 3361
Joined: Wed 06 May 2009 6:29 pm
Weather Station: Davis VP2 with Daytime FARS
Operating System: Windows XP SP3
Location: Cheadle Hulme, Cheshire, England
Contact:

Re: Cumulus PHP-GD Banner

Post by RayProudfoot »

freddie wrote: Fri 28 Jan 2022 6:32 am Change it from banner.php to something else - e.g wxsummary.php. It is the name "banner" that adblockers don't like, as it is commonly used by advertisers.
Crikey! That’s the first time I’ve heard that. Okay, on my to-do list. :D
Cheers,
Ray, Cheshire.

Image
freddie
Posts: 2394
Joined: Wed 08 Jun 2011 11:19 am
Weather Station: Davis Vantage Pro 2 + Ecowitt
Operating System: GNU/Linux Ubuntu 22.04 LXC
Location: Alcaston, Shropshire, UK
Contact:

Re: Cumulus PHP-GD Banner

Post by freddie »

RayProudfoot wrote: Fri 28 Jan 2022 8:33 am
freddie wrote: Fri 28 Jan 2022 6:32 am Change it from banner.php to something else - e.g wxsummary.php. It is the name "banner" that adblockers don't like, as it is commonly used by advertisers.
Crikey! That’s the first time I’ve heard that. Okay, on my to-do list. :D
Mark told you this last night :) see viewtopic.php?p=160883#p160883
Freddie
Image
User avatar
Paul C
Posts: 538
Joined: Thu 19 Jun 2008 7:45 am
Weather Station: Davis VP2 with solar
Operating System: Windows 10
Location: Brampton, Cumbria, UK
Contact:

Re: Cumulus PHP-GD Banner

Post by Paul C »

Hi

Change the settings on chrome and renamed my file "weatherlive.php"

banner appears to be working fine :D

Now I just need to alter it slightly to suit my weather data needs.

cheers everyone
Paul C
Brampton, Cumbria, UK
117m ASL
http://www.bramptonweather.co.uk
Image
RayProudfoot
Posts: 3361
Joined: Wed 06 May 2009 6:29 pm
Weather Station: Davis VP2 with Daytime FARS
Operating System: Windows XP SP3
Location: Cheadle Hulme, Cheshire, England
Contact:

Re: Cumulus PHP-GD Banner

Post by RayProudfoot »

freddie wrote: Fri 28 Jan 2022 8:52 am Mark told you this last night :) see viewtopic.php?p=160883#p160883
I didn't follow his suggestion which is why I questioned it. If he'd said rename the filename banner.php to another name I'd have understood. A script can mean many things to me.
Cheers,
Ray, Cheshire.

Image
User avatar
HansR
Posts: 5731
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bullseye
Location: Wagenborgen (NL)
Contact:

Re: Cumulus PHP-GD Banner

Post by HansR »

RayProudfoot wrote: Fri 28 Jan 2022 11:29 am I didn't follow his suggestion which is why I questioned it. If he'd said rename the filename banner.php to another name I'd have understood. A script can mean many things to me.
Now I am beginning to understand why Shakespeare wrote his famous what's in a name? That which we call a rose by any other name would smell just as sweet line: would this also hold truth for, let's say, a lily of the valley or would e.g. a Frenchman understand this and not point to a tulip?
Hans

https://meteo-wagenborgen.nl
CMX build 3278 ● Ecowitt GW1100/WS80/WH40 ● RPi 3B+ ● Raspberry OS 6.1.21 ● Mono 6.12.0.200
https://meteo-wagenborgen.nl/CMX4/NET8/ (beta)
CMX build 4003+ ● RPi 4B ● RPi OS 6.1.0-rpi7-rpi-v8 aarch64 ● dotnet 8.0.1
RayProudfoot
Posts: 3361
Joined: Wed 06 May 2009 6:29 pm
Weather Station: Davis VP2 with Daytime FARS
Operating System: Windows XP SP3
Location: Cheadle Hulme, Cheshire, England
Contact:

Re: Cumulus PHP-GD Banner

Post by RayProudfoot »

HansR wrote: Fri 28 Jan 2022 12:35 pm Now I am beginning to understand why Shakespeare wrote his famous what's in a name? That which we call a rose by any other name would smell just as sweet line: would this also hold truth for, let's say, a lily of the valley or would e.g. a Frenchman understand this and not point to a tulip?
:D It's probably down to me being unfamiliar with the programming language and some terms used here. I'm much more of a weather enthusiast than a programming one although I do enjoy working with software I'm comfortable with. ;)

Anyway, my b-word php file has now been changed to chlive.php so hopefully all of you can see it irrespective of whether you use adblockers or not. :lol:
Cheers,
Ray, Cheshire.

Image
User avatar
Paul C
Posts: 538
Joined: Thu 19 Jun 2008 7:45 am
Weather Station: Davis VP2 with solar
Operating System: Windows 10
Location: Brampton, Cumbria, UK
Contact:

Re: Cumulus PHP-GD Banner

Post by Paul C »

Ray

Sorry I can't see it 😩
Paul C
Brampton, Cumbria, UK
117m ASL
http://www.bramptonweather.co.uk
Image
Post Reply