Page 29 of 32
Re: Cumulus PHP-GD Banner
Posted: Thu 27 Jan 2022 7:58 pm
by Mapantz
Still a broken image for me. I'm on my phone at the moment..
Re: Cumulus PHP-GD Banner
Posted: Thu 27 Jan 2022 8:00 pm
by SJG1976
ForPaulMy
I get the following but can click all the links.
PaulMy_sig.PNG
Re: Cumulus PHP-GD Banner
Posted: Thu 27 Jan 2022 8:06 pm
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
Re: Cumulus PHP-GD Banner
Posted: Thu 27 Jan 2022 8:32 pm
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.
Re: Cumulus PHP-GD Banner
Posted: Thu 27 Jan 2022 8:56 pm
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.
Re: Cumulus PHP-GD Banner
Posted: Thu 27 Jan 2022 11:27 pm
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.
Re: Cumulus PHP-GD Banner
Posted: Thu 27 Jan 2022 11:38 pm
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?
Re: Cumulus PHP-GD Banner
Posted: Fri 28 Jan 2022 6:32 am
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.
Re: Cumulus PHP-GD Banner
Posted: Fri 28 Jan 2022 8:33 am
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.

Re: Cumulus PHP-GD Banner
Posted: Fri 28 Jan 2022 8:52 am
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.
Mark told you this last night

see
viewtopic.php?p=160883#p160883
Re: Cumulus PHP-GD Banner
Posted: Fri 28 Jan 2022 10:01 am
by Paul C
Hi
Change the settings on chrome and renamed my file "weatherlive.php"
banner appears to be working fine
Now I just need to alter it slightly to suit my weather data needs.
cheers everyone
Re: Cumulus PHP-GD Banner
Posted: Fri 28 Jan 2022 11:29 am
by RayProudfoot
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.
Re: Cumulus PHP-GD Banner
Posted: Fri 28 Jan 2022 12:35 pm
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?
Re: Cumulus PHP-GD Banner
Posted: Fri 28 Jan 2022 12:42 pm
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?

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.

Re: Cumulus PHP-GD Banner
Posted: Fri 28 Jan 2022 3:38 pm
by Paul C
Ray
Sorry I can't see it
