To install plug-in "Report a user ", please follow these instructions:

Edition

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.ms.sql

2. Indicate database connection string in file web.config:

<connectionStrings>
<remove name="LocalSqlServer"/>
<add name="LocalSqlServer" connectionString="Data Source=database_server;Initial Catalog=database_name;Integrated Security=false;User ID=database_user;Password=database_password" providerName="System.Data.SqlClient"/>
</connectionStrings>

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.

 

Edition

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.


All text reports are stored in the database table "flashcoms_plugin_report_a_user", while video records are saved on the media server.

Plug-in can be modified to the needs of any specific web-site, with the help of the handler, stored in flashcoms/videochat/plugins/reportUser/