Description:
Save all user messages in database.
Table Preview:
Web Preview:
Installation:
connect to your mysql in
databases.cfg
HTML Code:
"chatlog"
{
"driver" "mysql"
"host" "localhost"
"database" ""
"user" ""
"pass" ""
}
connect to your mysql in
database.php
PHP Code:
// DB hostname
$servername = "localhost";
// DB username
$username = "";
// DB password
$password = "";
// DB name
$dbname = "";
Cvars:
Code:
sm_chatlog_cleartable_enabled "1" //Enable/Disable clearing table (1/0) 0 - disabled
sm_chatlog_cleartable_duration "1 MONTH" //How often will table restart
Note:
Please, keep in mind I am not a webdev and this is my second work with web development, so bugs may appear.
Download:
Main repository
Direct download
__________________