tas/social

Tri Anh Social Chat Tools

Installs: 1 048

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 2

Forks: 0

Open Issues: 0

Type:yii2-extension

dev-master 2020-10-28 16:15 UTC

This package is auto-updated.

Last update: 2024-03-29 00:54:04 UTC


README

Tri Anh Social Chat Tools

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require --prefer-dist tas/social "*"

or add

"tas/social": "*"

to the require section of your composer.json file.

php yii migrate --migration-path=@tas/social/migrations

add config module

'modules'      => [
    'social' => [
        'class' => 'tas\social\Module',
        'createTicketUrl' => '/feedback/create?id_customer={{id_customer}}&id_source={{source}}&conversation_detail_ids={{msg_ids}}',
    ],
],

Allow Transfer and Unlock Permission

  • Add 2 permission : SocialUnlockChat,SocialTransferChat,SocialRevokeChat
  • Assign Permission to user or role
  • User Role Admin always allow

Params:

  • {{id_customer}} : customer id
  • {{source}} : number 1: FACEBOOK, 2 : VIBER, 3: Zalo, 4: Live Helper Chat
  • {{msg_ids}}: selected messages, format : 1,2,3