Saves all posted user messages in database.
connect to your mysql in databases.cfg
"chatlog"
{
"driver" "mysql"
"host" "localhost"
"database" ""
"user" ""
"pass" ""
}
connect to your mysql in database.php
// DB hostname
$servername = "localhost";
// DB username
$username = "";
// DB password
$password = "";
// DB name
$dbname = "";
sm_chatlog_cleartable_enabled "1" //Enable/Disable clearing table (1/0) 0 - disabled
sm_chatlog_cleartable_duration "1 MONTH" //How often will table restart
Please, keep in mind I am not webdev and this is my second work with web development, so bugs may appear.