Limitation PRO plug-in itself does not require any installation. In order flash application could destinguish users by their level, you should pass this level in special handlers during authorization.

Edition

Refer to handler file flashcoms/videochat/server/aspx/handlers.aspx

Xml formated response should contain user level. For example:

xml = string.Format("<auth>" +
"<userName><![CDATA[{0}]]></userName>" +
"<gender>male</gender>" +
"<level>regular</level>" +
"<photo><![CDATA[{1}]]></photo>" +
"<photoModeImage><![CDATA[{2}]]></photoModeImage>" +
"</auth>", Request["user_name"], strPhoto, strPhotoModeImage);

 

Edition

Refer to handler file flashcoms/videochat/server/php/handlers.php

Xml formated response should contain user level. For example:

$photo = FLASHCOMS_HTTP_ROOT.'common/images/User1_120.png';
$photoModeImage = FLASHCOMS_HTTP_ROOT.'common/images/User1_40.png';

$answer = '<auth>';
$answer .= '<userName><![CDATA['.$userName.']]></userName>';
$answer .= '<gender>male</gender>';
$answer .= '<level>regular</level>';
$answer .= '<photo><![CDATA['.$photo.']]></photo>';
$answer .= '<photoModeImage><![CDATA['.$photoModeImage.']]></photoModeImage>';
$answer .= '</auth>';

return $answer;


After the level is passed, navigate to file flashcoms/videochat/settings/plugins.xml

! You may create your own levels, according to those in your database, as shown in the default file.

! As many levels as you need can be created.

! All limits are set in minutes and are valid for 24 hours session.

! In order to make time unlimited, simply set it to 1440.

! Admins and moderators are not influenced by limitation plug-in


The following parameters can be set in file plugins.xml:

-- publishAudio: if set to "true", user of this level can use his mic and publish audio. If set to "false", user is forbidden to publish audio.
-- publishVideo: if set to "true", user of this level can use his camera and publish video. If set to "false", user is forbidden to publish video.
-- listenAudio: if set to "true", user of this level can listen to other users' audio. If set to "false", user is forbidden to listen to other users' audio.
-- watchVideo: if set to "true", user of this level can watch other users' video. If set to "false", user is forbidden to watch other users' video.
-- watchVideoTimeLimit: Is set in minutes and shows for how long user of this level can watch other users' video.
-- chatTimeLimit: Is set in minutes and shows for how long user can stay in chat.
-- drawing: Can be set to "true" or "false". Is responsible for user's access to the "drawing" mode.
-- sendImage: Can be set to "true" or "false". Is responsible for user's access to the "send Image "option.
-- sendFile: Can be set to "true" or "false". Is responsible for user's access to the "send File "option.
-- requestPrivateChat: If set to "true", user of this level can establish private chat with other users. If set to "false", user of this level is not able to ask for private chat.
-- acceptPrivateChat: If set to "true", user is allowed to accept private chat requests. If set to "false", user is forbidden to accept private chat requests.
-- roomCreation: If set to "true", users of this level have possibility to create rooms. If set to "false", users are not able to create their rooms.
-- passwordProtectedRoomCreation: If set to "true", users of this level have possibility to create password protected rooms. If set to "false", users are not able to create password protected rooms.
-- mp3Player: Can be set to "true" or "false". Is responsible for user's access to the mp3 player.
-- mp3Upload: Can be set to "true" or "false". Is responsible for user's ability to upload files to mp3 player.
-- maxVideos: Shows maximum number of cams, that user of this level can watch simultaneously.
--sendPrivateMsgs: Can be set to "true" or "false". If set to "false", user is prohibited from sending private messages.
-- sendWhisperMsgs: Can be set to "true" or "false". If set to "false", user is prohibited from sending whisper messages.
-- changeRoom: Can be set to "true" or "false". If set to "false", user is prohibited from changing room.
-- joinUserCreatedRoom: Can be set to "true" or "false". If set to "false", user is able to enter rooms created by admins only.
-- saveVideoPlugin: Can be set to "true" or "false". Applies only if the plugin is installed. If set to "false" plugin is not operational.
-- voteToKickPlugin: Can be set to "true" or "false". Applies only if the plugin is installed. If set to "false" plugin is not operational.
-- reportUserPlugin: Can be set to "true" or "false". Applies only if the plugin is installed. If set to "false" plugin is not operational.
-- whiteboard: Can be set to "true" or "false". Applies only if the plugin is installed. If set to "false" plugin is not operational.
-- bannerRotation: Can be set to "true" or "false". Applies only if the plugin is installed. If set to "false" plugin is not operational.
-- IMGateway: Can be set to "true" or "false". Applies only if the plugin is installed. If set to "false" plugin is not operational.
-- gameZone: Can be set to "true" or "false". Applies only if the plugin is installed. If set to "false" plugin is not operational.