1. Use sql dump to create necessary tables in your database. The dump can be found in your package in the following folder:
flashcoms/_install/sql/report_a_user.my.sql
2. Indicate database connection string in file flashcoms/common/server/php/settings.php:
// DB connection
define("DB_HOST", "localhost");
define("DB_USER", "");
define("DB_PASSWORD", "");
define("DB_NAME", "");
define("DB_PREFIX", "flashcoms_");
3. Indicate report settings in file flashcoms/videochat/settings/plugins.xml :
<plugin name="reportUser">
<handler>{ROOT}videochat/plugins/reportUser/handler.aspx</handler>
<saveMessages>10</saveMessages>
<recordVideoLength>10</recordVideoLength>
Parameter <saveMessages> is used to set up the number of messages, that will be saved to the database. If set to 0, the plug-in will not function.
Parameter <recordVideoLength> is used to set up the length of the video recored, saved on the media server. If set to 0, only text messages will be stored. |