Version 6 (modified by IgorL, 13 years ago) (diff)

--

Frequently Asked Questions

I need to transfer my site to another folder on my server. What do I need to do?

How can I change the time zone in Dolphin?


I need to transfer my site to another folder on my server. What do I need to do?

1) First of all, you need to move the whole structure of the Dolphin installation directory to the folder you like. You can use the "move" command in your FTP client or run this command

cd DOLPHIN_FOLDER
mv * DESTINATION_FOLDER

in your SSH account, where DOLPHIN_FOLDER is the folder where Dolphin is installed and DESTINATION_FOLDER is the folder where it needs to be placed.

2) Then you need to edit the paths in the file inc/header.inc.php: change the values of the following variables according to your current settings: $site['url'] and $dir['root']

3) Then change the path to dolphin directory in your crons. You can do that in your host's control panel account (for example, CPanel or Plesk) or in your SSH client by running this command:

crontab -e

4) And the last step is to clean /cache/ and /cache_public/ folders.


How can I change the time zone in Dolphin?

You may know that all actions in Dolphin have their date/time specifications, such as Spy events, Blog and Forum posts, Chat messages, etc. All these events are stored in a MySQL database which by default uses the server time zone for them. But your web server may be located in a different country, so it may be necessary to adjust Dolphin time according to your (admin) location.
You will need to change the time zone offsets in 3 files: for Dolphin itself, for Orca and for Ray.

Here are these files:
Note: the offset parameter should specify your time zone offset in comparison to GMT time, for example: +6:00, -7:30, etc.

1) For Dolphin:
edit /inc/classes/BxDolDb.php
find the line:

mysql_query("SET sql_mode = ''", $this->link);

and put this line right after it:

mysql_query("SET @@local.time_zone='offset';", $this->link);

2) For Ray:
edit flash/modules/global/inc/db.inc.php and put this line

mysql_query("SET @@local.time_zone='offset';", $this->rLink);

after

mysql_query("SET @@local.connect_timeout=9000;", $this->rLink);

3) For Orca:
edit modules/boonex/forum/classes/BxDb.php and put this line

mysql_query("SET @@local.time_zone='offset';", $this->link);

after

mysql_query ("SET NAMES 'utf8'", $this->link);

Then you need to recompile Orca languages in Admin Dashboard -> Modules -> Orca Forum -> Manage Forum and also clear the site cache in Admin Dashboard -> Quick Overview -> Clear Cache

This is it. Now the time on all pages and in all widgets should correspond to admin's local time.

 
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.
Fork me on GitHub