@extends('layouts.setting') Inbox Setting @section('content')

Settings for chat flow

General settings for the chat flow.

When do you want to have notifications via email?

@csrf
info Show profile image for users in the chat
info Users can enter the queue to easily join the chat.
info When no editor is available, visitors can still send messages.
@php $max_number_of_chats_per_editor = getChatSetting('max_number_of_chats_per_editor') @endphp
info Editors can always send images and files.Editors can always send images and files.Editors can always send images and files.
info Editor who is "Available" in the chat is marked as "Busy" after they have missed a chat.
info Editors can always send images and files.
info When the user in an anonymous chat opts to have the chat sent to him or her, the email address is saved.
info You can choose to automatically delete chat conversations from Kundo after a certain time. Conversations that are deleted by this option can not be restored. Existing conversations that are older than the time limit will be deleted too.
@php $delay_for_automatic_deletion = getChatSetting('delay_for_automatic_deletion') @endphp
info The number of days a conversation should be stored in Kundo until it is automatically deleted (if automatic deletion is enabled).

Display Rules

Here you can specify which pages the chat should be visible on, and if the chat should start automatically or not.

When do you want to have notifications via email?

@foreach($display_chats as $display_chat)

Display chat when on @php $decode_data = json_decode($display_chat->value) @endphp {{$decode_data->path}}

@endforeach

Display chat when on

@csrf
info http://example.com/* - means all subpages to example.com
info The chat will open automatically after the specified time. The clock starts ticking when the visitor goes to that specific page.
info Example

www.example.com/*
Show the chat on all pages on your website

www.example.com/
Only show the chat of the start page.

www.example.com/support/*
Show the chat on page "support" and all subpages.

Hide chat when on

Specify pages/domains where the chat widget should not be shown. An ongoing chat follows the visitor even to pages when the chat widget should not be shown.

@csrf
info http://example.com/* - means all subpages to example.com
info Example

www.example.com/jobs/*
Hide the chat on page "jobs" and all subpages.

Texts

@php $internal_name = getChatSetting('internal_name') @endphp
info Internal name that only editors see.
@php $companyId = getSelectedCompany(); $company = \App\Models\Company::find($companyId); @endphp
info Or other official sender. This name is displayed in e-mails sent to the visitor from the chat (if sending of chat history is enabled)
@php $wellcome_text = getChatSetting('wellcome_text') @endphp
info Displayed when the chat is opened and there is a user in the queue for the chat.
@php $public_name = getChatSetting('public_name') @endphp
info Internal name that only editors see.
@php $wellcome_text_at_queue = getChatSetting('wellcome_text_at_queue') @endphp
info Displayed when the chat is opened.
@php $message_when_chat_is_closed = getChatSetting('message_when_chat_is_closed') @endphp
info Shown when no editor is online in the chat system.
@php $test_in_answer_box = getChatSetting('test_in_answer_box') @endphp
@php $start_message = getChatSetting('start_message') @endphp
info Message that is automatically sent as the first message when starting a chat.

Style

@csrf

Text theme color

@php $text_theme_color = getChatSetting('text_theme_color'); $text_theme_color_value = $text_theme_color->value ?? '#020400'; @endphp

Background theme color

@php $background_theme_color = getChatSetting('background_theme_color'); $background_theme_color_value = $background_theme_color->value ?? '#020400'; @endphp

Text color for sent messages

@php $text_color_for_sent_message = getChatSetting('text_color_for_sent_message'); $text_color_for_sent_message_value = $text_color_for_sent_message->value ?? '#020400'; @endphp

Background color of sent messages

@php $background_color_of_sent_message = getChatSetting('background_color_of_sent_message'); $background_color_of_sent_message_value = $background_color_of_sent_message->value ?? '#020400'; @endphp

Background color of received messages

@php $background_color_of_received_message = getChatSetting('background_color_of_received_message'); $background_color_of_received_message_value = $background_color_of_received_message->value ?? '#020400'; @endphp

Text color of received messages

@php $text_color_of_received_message = getChatSetting('text_color_of_received_message'); $text_color_of_received_message_value = $text_color_of_received_message->value ?? '#020400'; @endphp

Text color of notification icon

@php $text_color_of_notification = getChatSetting('text_color_of_notification'); $text_color_of_notification_value = $text_color_of_notification->value ?? '#020400'; @endphp

Text color of error messages

@php $text_color_of_error_message = getChatSetting('text_color_of_error_message'); $text_color_of_error_message_value = $text_color_of_error_message->value ?? '#020400'; @endphp

Background color of error messages

@php $background_color_of_error_message = getChatSetting('background_color_of_error_message'); $background_color_of_error_message_value = $background_color_of_error_message->value ?? '#020400'; @endphp

Link color

@php $link_color = getChatSetting('link_color'); $link_color_value = $link_color->value ?? '#020400'; @endphp

Show the chat on your website

Here you can block IP addresses if you are experiencing problems with users who do not follow the rules.

Block IP addresses

@csrf
info A full or partial IP address. E.g. 127.0.0.1 or 127.0.0

Canned responses

@if(count($abuses) > 0) @foreach($abuses as $index => $value)

{{ $value->value }}

@endforeach @endif

Create a new canned response

@csrf

Canned responses

@if(count($canned_responses) > 0) @foreach($canned_responses as $index => $value) @php $result = json_decode($value->value); @endphp

{{ $result->name }}

{{ $result->text }}
@endforeach @endif

Personal data & policy

Approval of processing of personal data

Select if users must click on a checkbox to approve policy before they can contact you.

@csrf
@php $name = getChatSetting('name') @endphp
@php $link_text = ''; if(getChatSetting('link_text')){ $link_text = getChatSetting('link_text')->value; } @endphp
@csrf @php $new_tags_to_be_created_when_tagging = getChatSetting('new_tags_to_be_created_when_tagging') @endphp
@csrf @php $heading_for_chat_flow = getChatSetting('heading_for_chat_flow'); @endphp

Show the chat on your website

Copy the following code and add on your website so visitors can chat with you.

DEMO

Add the code to your website

The following code should be placed at the bottom of the html-code, right before body-tag, on all pages where the chat should be visible.

info Displayed when the visitor can choose between different chat flows.
@endsection