Welcome to the Cumulus Support forum.
Latest Cumulus MX V4 release 4.0.1 (build 4023) - 16 May 2024
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
Latest Cumulus MX V4 release 4.0.1 (build 4023) - 16 May 2024
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
Cumulus PHP-GD Banner
Moderator: daj
-
- Posts: 57
- Joined: Fri 07 Nov 2008 11:53 am
- Weather Station: national géographic 265 NE
- Location: France
- Contact:
Re: Cumulus PHP-GD Banner
hi, sorry I do not manage to set up the banner, i have GD support: NO, i can't use the cumulus banner with my serveur ?
I've run checkserveur : http://johann82.ifrance.com/index.html/.
Saddened for my errors of language
tahnks Johann.
I've run checkserveur : http://johann82.ifrance.com/index.html/.
Saddened for my errors of language
tahnks Johann.
Re: Cumulus PHP-GD Banner
Hi, I have another domain for my portal/forum.
This server is fully GD supported.
There I get this result:
I have asked my ISP to move the other domain to this server.
That will solve my problem.
This server is fully GD supported.
There I get this result:
I have asked my ISP to move the other domain to this server.
That will solve my problem.
Re: Cumulus PHP-GD Banner
You are correct... the script use of GD support is required.jojo82 wrote:hi, sorry I do not manage to set up the banner, i have GD support: NO, i can't use the cumulus banner with my serveur ?
I've run checkserveur : http://johann82.ifrance.com/index.html/.
Saddened for my errors of language
tahnks Johann.
Re: Cumulus PHP-GD Banner
I have upgraded the server to php5.
Now it looks like this:
Now it looks like this:
- 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
Lars-K wrote:I have upgraded the server to php5.
Now it looks like this:
Duggpunkt - that sounds great, what a language
I have added your banner to the list
https://cumulus.hosiene.co.uk/viewtopic.p ... 1447#p1447
- meteotortosa
- Posts: 323
- Joined: Thu 04 Dec 2008 12:15 am
- Weather Station: Davis Vantage Pro2 Plus
- Operating System: Windows XP SP3
- Location: Tortosa-Baix Ebre- Catalonia
- Contact:
Re: Cumulus PHP-GD Banner
Good job !! This is my banner
I translate it to Catalan lenguage. Only one little thing, how can I get date ddmmyy?
A lot of thanks
Lluís
I translate it to Catalan lenguage. Only one little thing, how can I get date ddmmyy?
A lot of thanks
Lluís
Weather in Tortosa (NE Spain), updated every 15'
- steve
- Cumulus Author
- Posts: 26701
- Joined: Mon 02 Jun 2008 6:49 pm
- Weather Station: None
- Operating System: None
- Location: Vienne, France
- Contact:
Re: Cumulus PHP-GD Banner
In the configuration section, put:meteotortosa wrote:Only one little thing, how can I get date ddmmyy?
Code: Select all
$SITE['dateiso'] = "no";
Steve
- meteotortosa
- Posts: 323
- Joined: Thu 04 Dec 2008 12:15 am
- Weather Station: Davis Vantage Pro2 Plus
- Operating System: Windows XP SP3
- Location: Tortosa-Baix Ebre- Catalonia
- Contact:
Re: Cumulus PHP-GD Banner
Actually I have 2009-12-09 (yyyy-mm-dd)steve wrote:In the configuration section, put:meteotortosa wrote:Only one little thing, how can I get date ddmmyy?
Edit: Actually, I'm not sure that does what you want.Code: Select all
$SITE['dateiso'] = "no";
and I would like 09-12-2009 (dd-mm-yyyy)
dateiso = no, dont't work I hope
Weather in Tortosa (NE Spain), updated every 15'
- steve
- Cumulus Author
- Posts: 26701
- Joined: Mon 02 Jun 2008 6:49 pm
- Weather Station: None
- Operating System: None
- Location: Vienne, France
- Contact:
Re: Cumulus PHP-GD Banner
dateiso=no gives you the format in my banner below.
To do dd-mm-yyyy (i.e.) the reverse of the iso order, find the lines:
Then swap the first and third 'substr', like this:
and use that instead of the whole if...then...else
To do dd-mm-yyyy (i.e.) the reverse of the iso order, find the lines:
Code: Select all
if ( $SITE['dateiso'] == "yes" ) {
// Fix date to use ISO formatted date
$DATA[0] = "20" . substr($DATA[0],6,2) . '-' . substr($DATA[0],3,2) . '-' .
substr($DATA[0],0,2);
Code: Select all
$DATA[0] = "20" . substr($DATA[0],0,2). '-' . substr($DATA[0],3,2) . '-' . substr($DATA[0],6,2);
Steve
- 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
meteotortosa
Can you add which country you in aswell please
\I Have added you to the main list
https://cumulus.hosiene.co.uk/viewtopic.p ... 1447#p1447
Can you add which country you in aswell please
\I Have added you to the main list
https://cumulus.hosiene.co.uk/viewtopic.p ... 1447#p1447
-
- Posts: 112
- Joined: Sat 11 Oct 2008 3:20 pm
- Weather Station: Davis Vantage Pro 2 Plus
- Operating System: Debian Buster
Re: Cumulus PHP-GD Banner
Or you can replace
with
Result: 9 Dec 2008
Code: Select all
// Fix date to use Month formatted date
$DATA[0] = $months[intval(substr($DATA[0],3,2)) -1 ] .
" " . intval(substr($DATA[0],0,2)) . " " .
"20" . substr($DATA[0],6,2);
Code: Select all
// Fix date to use Month formatted date
$DATA[0] = intval(substr($DATA[0],0,2)) .
" " . $months[intval(substr($DATA[0],3,2)) -1 ] .
" 20" . substr($DATA[0],6,2);
Result: 9 Dec 2008
Last edited by pinto on Tue 09 Dec 2008 9:36 pm, edited 1 time in total.
Jozef
- meteotortosa
- Posts: 323
- Joined: Thu 04 Dec 2008 12:15 am
- Weather Station: Davis Vantage Pro2 Plus
- Operating System: Windows XP SP3
- Location: Tortosa-Baix Ebre- Catalonia
- Contact:
Re: Cumulus PHP-GD Banner
Paul C wrote:meteotortosa
Can you add which country you in aswell please
\I Have added you to the main list
https://cumulus.hosiene.co.uk/viewtopic.p ... 1447#p1447
I'm from Spain, Tortosa is about 20 km west of Mediterranean Sea
Google Map:
You do not have the required permissions to view the files attached to this post.
Weather in Tortosa (NE Spain), updated every 15'
- 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
Thanks.
Can you add it to your banner please
cheers
Paul
Can you add it to your banner please
cheers
Paul