arter / amos-chat
Sistema AMOS per la chat
Requires
- php: >=5.4.0
- arter/amos-admin: ^2.0.0
- arter/amos-core: ^1.9.60
- arter/amos-email-manager: ^1.1.0
- kop/yii2-scroll-pager: ~2.2
Requires (Dev)
This package is auto-updated.
Last update: 2025-03-07 10:47:12 UTC
README
Plugin to manage private messages, conversations with user contacts.
Installation
Add chat requirement in your composer.json:
"arter/amos-chat": "dev-master",
Enable the Chat modules in modules-amos.php, add :
'chat' => [
'class' => 'arter\amos\chat\AmosChat',
],
add chat migrations to console modules (console/config/migrations-amos.php):
'@vendor/arter/amos-chat/src/migrations'
Configurable fields
Here the list of configurable fields, properties of module AmosChat. If some property default is not suitable for your project, you can configure it in module, eg:
'chat' => [
'class' => 'arter\amos\chat\AmosChat',
'immediateNotificationForce' => false, //changed property (default was true)
],
- formRedactorButtons - array, default = ['file']
List of all Redactor visible buttons in message form'chat' => [ 'class' => 'arter\amos\chat\AmosChat', 'formRedactorButtons' => ['image', 'file'] ],
immediateNotificationForce - boolean, default = true
Force notification sending to the message receiverdefaultEmailSender - string Default e-mail sender if the server allow only sender with the same domain
subjectOfimmediateNotification - string Default subject for emails of "immediate notification force". If in the module settings override the value, you detach translation system
enableForwardMessage - boolean, default = false
used to enable the forwarding of messages. It's required to insert an array of user_id in the variable $userIdForwardMessageuserIdForwardMessage - (array) integer , default = []
It's required to enable the function of forwarding message, it contain the list of user to which forward the messagesonlyNetworkUsers - boolean, default = true
subjectOfimmediateNotification - string Default subject for emails of "immediate notification force". If in the module settings override the value, you detach translation system
emailMessageContentAllowedTag - string, default = 'p,div'
enableVideoconference - boolean, default = false
assistanceUserId - integer, default = 1 User Id of the assistance user to open a conversation on click on WidgetIconChatAssistance