esotalk / esoTalk

Fat-free forum software.
GNU General Public License v2.0
1.47k stars 236 forks source link

Using Existing DB on ESOTALK #470

Closed ghost closed 6 years ago

ghost commented 6 years ago

My ESOTALK install is corrupt, and I wanted to know if there is a way to use an existing esotalk DataBase with a fresh install of ESOTALK. Forum Thread: https://discuss.flarum.org/d/7149-using-existing-db-on-esotalk T.I.A. https://evanstechtips.com

tobyzerner commented 6 years ago

Yeah, you should just be able to add a config/config.php and fill in your details:

<?php
$config["esoTalk.installed"] = true;
$config["esoTalk.version"] = '1.0.0g4';
$config["esoTalk.database.host"] = 'localhost';
$config["esoTalk.database.user"] = 'user';
$config["esoTalk.database.password"] = 'password';
$config["esoTalk.database.dbName"] = 'dbname';
$config["esoTalk.database.prefix"] = 'et_';
$config["esoTalk.forumTitle"] = 'Forum Title';
$config["esoTalk.baseURL"] = 'http://yourforum.com/';
$config["esoTalk.emailFrom"] = 'do_not_reply@yourforum.com';
$config["esoTalk.cookie.name"] = 'Forum_Title';
$config["esoTalk.urls.friendly"] = true;
$config["esoTalk.urls.rewrite"] = true;
$config["BBCode.version"] = '1.0.0g4';
$config["Emoticons.version"] = '1.0.0g4';