Default Country on Index Page

I set the default country on the index page to PH (Philippines) a while ago. Does anyone know why it still shows me a different time in the spy? Is this cos my server is in the US?

If so, how can I change it to the local time here in the PH?

Diddy is not greedy and has time. Dolphin is cool and its not just mine :-)
Quote · 17 Jul 2010

The default country on index page setting has nothing to do with time zones. You can change this by editing your php.ini file with the following:

date.timezone*=*Asia/Manila

(Without the asterisks. There's a formatting issue on the forum.)

I'm only guessing that that's the region you want. You can find a full list of supported time zones here: http://php.net/manual/en/timezones.php

BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin
Quote · 17 Jul 2010

I try to add it on the end of the php.ini file in my root (/home/xxxxx/php.ini):

; Local Variables:
; tab-width: 4
; End:
extension=pdo.so
extension=ffmpeg.so
extension=pdo_sqlite.so
extension=sqlite.so
extension=pdo_mysql.so
extension="ixed.5.2.lin"
zend_extension="/usr/local/Zend/lib/Optimizer-3.3.9/php-5.2.x/ZendOptimizer.so"
date.timezone*=*Asia/Manila

I try with and without asterix, but it doesn't affect my site

Diddy is not greedy and has time. Dolphin is cool and its not just mine :-)
Quote · 17 Jul 2010

ok I did it this way:

date.timez alt=Asia/Manila

and now it shows at my phpinfo:

But it does not show the current time at my Spy when I view profiles. I did clear cache and restart Apache









Diddy is not greedy and has time. Dolphin is cool and its not just mine :-)
Quote · 17 Jul 2010

date.timezone*=*Asia/Manila needs to be the first entry in your php.ini file.

ok I did it this way:

date.timez alt=Asia/Manila

and now it shows at my phpinfo:

But it does not show the current time at my Spy when I view profiles. I did clear cache and restart Apache









There are none so blind as those that will not see.
Quote · 17 Jul 2010

date.timezone*=*Asia/Manila needs to be the first entry in your php.ini file.

ok I did it this way:

date.timez alt=Asia/Manila

and now it shows at my phpinfo:

But it does not show the current time at my Spy when I view profiles. I did clear cache and restart Apache









Without the asterisks. For some reason, the forums were stripping away a part of the code when I didn't add them.

BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin
Quote · 18 Jul 2010

 

I set the default country on the index page to PH (Philippines) a while ago. Does anyone know why it still shows me a different time in the spy? Is this cos my server is in the US?

If so, how can I change it to the local time here in the PH?

 

hi

here your's solution:

1)open /inc/header.inc.php


after <? add:


date_default_timezone_set('Europe/Rome');


Change Europe/Rome with your timezone (you can find supported timzone here: http://www.php.net/manual/en/timezones.php )


2) Open /inc/classes/BxDolDb.php


locate (around line 86):


$this->res("SET sql_mode = ''");


below this row add:


$this->res("SET time_z alt= '+1:00'");


Change +1:00 with your timezone...

Someone gave the move here, and I do not remember who it was and that work well.

Quote · 18 Jul 2010
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.