Page 4 of 32
Re: Cumulus PHP-GD Banner
Posted: Thu 13 Nov 2008 2:28 pm
by jojo82
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
Posted: Thu 13 Nov 2008 3:18 pm
by Lars-K
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.
Re: Cumulus PHP-GD Banner
Posted: Thu 13 Nov 2008 4:03 pm
by TNETWeather
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.
You are correct... the script use of GD support is required.
Re: Cumulus PHP-GD Banner
Posted: Mon 17 Nov 2008 8:46 pm
by Lars-K
I have upgraded the server to php5.
Now it looks like this:

Re: Cumulus PHP-GD Banner
Posted: Mon 17 Nov 2008 8:51 pm
by Paul C
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
Re: Cumulus PHP-GD Banner
Posted: Tue 09 Dec 2008 6:32 pm
by meteotortosa
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
Re: Cumulus PHP-GD Banner
Posted: Tue 09 Dec 2008 8:18 pm
by steve
meteotortosa wrote:Only one little thing, how can I get date ddmmyy?
In the configuration section, put:
Edit: Actually, I'm not sure that does what you want.
Re: Cumulus PHP-GD Banner
Posted: Tue 09 Dec 2008 8:41 pm
by meteotortosa
steve wrote:meteotortosa wrote:Only one little thing, how can I get date ddmmyy?
In the configuration section, put:
Edit: Actually, I'm not sure that does what you want.
Actually I have 2009-12-09 (yyyy-mm-dd)
and I would like 09-12-2009 (dd-mm-yyyy)
dateiso = no, dont't work I hope

Re: Cumulus PHP-GD Banner
Posted: Tue 09 Dec 2008 8:54 pm
by steve
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:
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);
Then swap the first and third 'substr', like this:
Code: Select all
$DATA[0] = "20" . substr($DATA[0],0,2). '-' . substr($DATA[0],3,2) . '-' . substr($DATA[0],6,2);
and use that instead of the whole if...then...else
Re: Cumulus PHP-GD Banner
Posted: Tue 09 Dec 2008 9:06 pm
by Paul C
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
Re: Cumulus PHP-GD Banner
Posted: Tue 09 Dec 2008 9:20 pm
by pinto
Or you can replace
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);
with
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
Re: Cumulus PHP-GD Banner
Posted: Tue 09 Dec 2008 9:27 pm
by TNETWeather
good job...
Re: Cumulus PHP-GD Banner
Posted: Wed 10 Dec 2008 5:56 am
by meteotortosa
I'm from Spain, Tortosa is about 20 km west of Mediterranean Sea
Google Map:
Re: Cumulus PHP-GD Banner
Posted: Wed 10 Dec 2008 8:47 am
by Paul C
Thanks.
Can you add it to your banner please
cheers
Paul
Re: Cumulus PHP-GD Banner
Posted: Sat 13 Dec 2008 6:15 pm
by goldrush
Paul
Can you add my banner please
http://www.knaven-weather.co.uk/banner.php
Regards