Page 1 of 1

Hour problem

Posted: Thu Dec 06, 2007 7:22 pm
by Yukino_Asakura
Well i'll try say it i nthe best form i can, sorry if you don't understand well for my really bad english.

The point of this message is a little problem that i had with the hour of the side. you know we can put our timezone for see when was posted the pics and the messages,well since the next sunday here (Venezuela) we will change our timezone to GMT - 4.5hours and the page don't had this new timezone,maybe in the future Anony-san you can make anything with it?

Thanks a lot and sorry for the trouble nwñU

Posted: Mon Dec 10, 2007 1:19 am
by A.Dantes
For phpBB2, the file that needs to be modified is /language/ {lang_english for english} /lang_main.php . These changes should be made for each language.

After the line

Code: Select all

$lang['-5'] = 'GMT - 5 Hours';
add the line

Code: Select all

$lang['-4.5'] = 'GMT - 4.5 Hours';
After the line

Code: Select all

$lang['tz']['-5'] = 'GMT - 5 Hours';
add the line

Code: Select all

$lang['tz']['-4.5'] = 'GMT - 4.5 Hours';

Posted: Wed Dec 12, 2007 10:45 pm
by Yukino_Asakura
I don't understand what Dante-san was say D:U

Posted: Wed Dec 12, 2007 11:25 pm
by A.Dantes
That would be because correcting the problem requires modifying the files running phpBB on the server. What I posted is the method to do so, which does no good unless someone with access to the server chooses to use it.

Posted: Thu Dec 13, 2007 1:01 am
by wrexness
Yukino_Asakura wrote:I don't understand what Dante-san was say D:U
In essence, he's telling Anony what he would need to do to fix the issue. :3

Posted: Thu Dec 13, 2007 3:17 am
by anonymous_object
Sigh... fine, I made the changes to the English and Spanish template. I try to avoid making changes to the phpBB code for a variety of reasons, but this will do for now.

Posted: Sat Dec 15, 2007 1:37 am
by Yukino_Asakura
Thanks Dante-san, Wrexness-san and Anony-san for your anwers and help n-n