== General Dolphin FAQ == '''Q''': '''''I need to transfer my site to another folder/server. What do I need to do?''''' '''A''': 1) First of all, you need to back up your folders and files and your database tables. It usually results in creation of two archives (.tgz or .zip) which you will have to unpack on your new server/folder; besides, the database tables will have to be imported in your new database. 2) Dolphin 6 has several files which must be changed after transferring to another folder or server: * inc/header.inc.php change the values of the following variables according to your current settings: ''{{{$site['url']}}}'' and ''{{{$dir['root']}}}'' and all the elements of ''{{{$db}}}'' array (it's not usually needed if you just move your site to another folder on the same server) * ''cmd.php'', ''notifies.php'', ''tags.php'' files in ''periodic'' folder. All of them have lines as follows: {{{ require_once( '[path_to]/inc/header.inc.php' ); }}} where ''[path_to]'' must be changed according to the current path to Dolphin folder * ''ray/modules/global/inc/header.inc.php'' edit the line {{{ include("[path_to]/inc/header.inc.php"); }}} the same way as described above * ''ray/modules/global/js/integration.js'' change the value of the variable ''sRayUrl'' according to your current URL. ---- '''Q''': '''''How can I replace Free package with Ad-Free package (and vice versa) without losing my customization?''''' '''A''': The only difference between Free and Ad-Free packages are Ray widgets. So you can just replace the Free widgets with the Ad-Free ones. You can do it this way: 1) replace the '''ray''' folder in the Free package you currently have with that from the Ad-Free package 2) set the following permissions: {{{ chmod 777 ./ray/modules/board/files/ ./ray/modules/im/files/ ./ray/modules/mp3/files/ ./ray/modules/movie/files ./ray/modules/music/files }}} {{{ chmod 666 ./ray/modules/global/xml/config.xml ./ray/modules/global/xml/main.xml ./ray/modules/board/xml/config.xml ./ray/modules/board/xml/langs.xml ./ray/modules/board/xml/main.xml ./ray/modules/board/xml/skins.xml ./ray/modules/chat/xml/config.xml ./ray/modules/chat/xml/langs.xml ./ray/modules/chat/xml/main.xml ./ray/modules/chat/xml/skins.xml ./ray/modules/im/xml/config.xml ./ray/modules/im/xml/langs.xml ./ray/modules/im/xml/main.xml ./ray/modules/im/xml/skins.xml ./ray/modules/presence/xml/config.xml ./ray/modules/presence/xml/langs.xml ./ray/modules/presence/xml/main.xml ./ray/modules/presence/xml/skins.xml ./ray/modules/video/xml/config.xml ./ray/modules/video/xml/langs.xml ./ray/modules/video/xml/main.xml ./ray/modules/video/xml/skins.xml ./ray/modules/mp3/xml/config.xml ./ray/modules/mp3/xml/langs.xml ./ray/modules/mp3/xml/main.xml ./ray/modules/mp3/xml/skins.xml ./ray/modules/movie/xml/config.xml ./ray/modules/movie/xml/langs.xml ./ray/modules/movie/xml/main.xml ./ray/modules/movie/xml/skins.xml ./ray/modules/music/xml/config.xml ./ray/modules/music/xml/langs.xml ./ray/modules/music/xml/main.xml ./ray/modules/music/xml/skins.xml }}} {{{ chmod 666 ./ray/modules/desktop/xml/config.xml ./ray/modules/desktop/xml/langs.xml ./ray/modules/desktop/xml/main.xml ./ray/modules/desktop/xml/skins.xml }}} {{{ chmod 777 ray/modules/global/app/ffmpeg.exe }}} 3) edit '''ray/modules/global/inc/header.inc.php''' and replace '''[path_to]''' with the full server path to your Dolphin directory with the trailing slash, for example: '''/home/dolphin/public_html/''' 4) edit '''ray/modules/global/js/integration.js''' and replace the '''[url_to_ray]''' with the full URL to Ray folder with the trailing slash, for example: '''http://mysite.com/ray/'''. 5) Enter your '''Admin Panel''' and register the Ad-Free widgets in '''Plugins -> Ray Suite'''.