PluginProbe
WPBot – AI ChatBot for Live Support, Lead Generation, AI Services / 7.7.2
WPBot – AI ChatBot for Live Support, Lead Generation, AI Services v7.7.2
8.7.5 8.7.4 8.7.3 8.7.2 8.7.1 8.7.0 8.6.9 8.6.8 8.6.7 8.6.6 8.6.5 8.6.4 8.6.2 8.6.1 8.6.0 8.5.9 8.5.8 8.5.7 8.5.6 8.5.5 8.5.4 8.5.3 8.5.2 8.5.0 8.4.9 All 531 releases
chatbot / admin_ui.php

admin_ui.php in WPBot – AI ChatBot for Live Support, Lead Generation, AI Services 7.7.2, at admin_ui.php

2,748 lines 211.8 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 // Exit if accessed directly
4 if ( ! defined( 'ABSPATH' ) ) {
5 exit;
6 }
7 ?>
8
9 <div class="wrap qcld-main-wrapper">
10 <h1 style="display:none">
11 <?php esc_html_e('chatbot', 'chatbot'); ?>
12 </h1>
13
14 <div class="qcld-wp-chatbot-wrap-header">
15
16 <div class="qcld-wp-chatbot-wrap-header-logo"><a href="#" class="qcld-wp-chatbot-wrap-site__logo"><img style="width:100%" src="<?php echo esc_url( QCLD_wpCHATBOT_IMG_URL . '/chatbot.png' ); ?>" alt="Dialogflow CX"> WPBot Control Panel </a>
17 <p><strong>Core Version:</strong> v<?php echo QCLD_wpCHATBOT_VERSION; ?></p>
18 </div>
19 <ul class="qcld-wp-chatbot-wrap-version-wrapper">
20 <li>
21 <a class="wpchatbot-Upgrade" href="https://www.wpbot.pro/" target="_blank">Upgrade To Pro</a>
22
23 </li>
24 </ul>
25 </div>
26
27 <div class="qcld-wp-chatbot-wrap-header-doc">
28
29 <a href="https://wpbot.pro/docs/" target="_blank" class="qcld-wp-chatbot-wrap--doc_logo">
30 <img style="width:100%" src="<?php echo esc_url( QCLD_wpCHATBOT_IMG_URL . '/doc.jpg' ); ?>" alt="Dialogflow CX">
31 <div class="docs_icon"><span class="dashicons dashicons-media-document"></span></div>
32
33 </a>
34
35 <div class="qcld-wp-chatbot-wrap-header-doc-details">
36
37 <h3><?php esc_html_e('Get Started with WPBot', 'chatbot'); ?></h3>
38 <p><?php esc_html_e('Do more than just chat with your ChatBot! More Leads, Conversions & Satisfied customers while saving time & increasing your business opportunities. WPBot is the best ChatBot for WordPress to improve user engagement, Generate Leads, & provide Automated Live customer support across your website & social platforms.', 'chatbot'); ?></p>
39
40 <div class="qcld-wp-chatbot-wrap-header-doc-button">
41
42 <a href="https://wpbot.pro/docs/knowledgebase/getting-started-with-chatbot/" class="GetStartedwithYourChatBot" target="_blank">Get Started with Your ChatBot</a>
43 <a href="https://wpbot.pro/docs/" target="_blank">Documentation</a>
44 </div>
45 </div>
46 </div>
47
48 <div class="wp-chatbot-wrap">
49 <div class="icon32"><br>
50 </div>
51 <form action="<?php echo esc_url($action, 'chatbot'); ?>" method="POST" id="wp-chatbot-admin-form"
52 enctype="multipart/form-data">
53 <div class="form-container">
54
55 <section class="wp-chatbot-tab-container-inner">
56 <div class="wp-chatbot-tabs wp-chatbot-tabs-style-flip">
57 <nav>
58 <ul>
59 <li class="tab-current" tab-data="started"><a href="<?php echo esc_url($action).'&tab=started' ?>"> <span class="wpwbot-admin-tab-icon"> <span class="dashicons dashicons-admin-home"></span> </span> <span class="wpwbot-admin-tab-name">
60 <?php esc_html_e('Getting Started', 'chatbot'); ?>
61 </span> </a></li>
62 <li tab-data="general"><a href="<?php echo esc_url($action) .'&tab=general' ?>"> <span class="wpwbot-admin-tab-icon"> <span class="dashicons dashicons-admin-generic"></span></span> <span class="wpwbot-admin-tab-name">
63 <?php esc_html_e('General settings', 'chatbot'); ?>
64 </span> </a></li>
65 <li tab-data="language"><a href="<?php echo esc_url($action) .'&tab=language' ?>"> <span class="wpwbot-admin-tab-icon"> <span class="dashicons dashicons-translation"></span> </span> <span class="wpwbot-admin-tab-name">
66 <?php esc_html_e('Change Language', 'chatbot'); ?>
67 </span> </a></li>
68 <li tab-data="social"><a href="<?php echo esc_url($action) .'&tab=social' ?>"> <span class="wpwbot-admin-tab-icon"> <span class="dashicons dashicons-image-filter"></span> </span> <span class="wpwbot-admin-tab-name">
69 <?php esc_html_e('Button Configurations', 'chatbot'); ?>
70 </span> </a></li>
71 <div class="cxsc-settings_openai_border"> <a href="<?php echo esc_url( $action) .'_openAi' ?>"> <span class="wpwbot-admin-tab-icon"> <span class="dashicons dashicons-update"></span>
72 </span> <span class=""> <?php esc_html_e('AI Settings', 'chatbot'); ?> </span>
73 </a>
74 </div>
75
76
77
78 <li tab-data="themes"><a href="<?php echo esc_url($action) .'&tab=themes' ?>"> <span class="wpwbot-admin-tab-icon"> <span class="dashicons dashicons-share-alt"></span> </span> <span class="wpwbot-admin-tab-name">
79 <?php esc_html_e('Icons & Themes', 'chatbot'); ?>
80 </span> </a></li>
81 <li tab-data="support"><a href="<?php echo esc_url($action).'&tab=support' ?>"> <span class="wpwbot-admin-tab-icon"> <span class="dashicons dashicons-info-outline"></span> </span> <span class="wpwbot-admin-tab-name">
82 <?php esc_html_e('FAQ Builder', 'chatbot'); ?>
83 </span> </a></li>
84 <li tab-data="startmenu"><a href="<?php echo esc_url($action).'&tab=startmenu' ?>"> <span class="wpwbot-admin-tab-icon"> <span class="dashicons dashicons-menu"></span> </span> <span class="wpwbot-admin-tab-name"><?php esc_html_e('Start Menu', 'chatbot'); ?></span> </a></li>
85
86
87 <li tab-data="ai"><a href="<?php echo esc_url($action).'&tab=ai' ?>"> <span class="wpwbot-admin-tab-icon"> <span class="dashicons dashicons-format-chat"></span> </span> <span class="wpwbot-admin-tab-name">
88 <?php esc_html_e('Dialogflow', 'chatbot'); ?>
89 </span> </a></li>
90
91
92 <li tab-data="<?php echo esc_url('rpl'); ?>" class="conversational"><a href="<?php echo esc_url($action).'&tab=rpl' ?>">
93 <span class="wpwbot-admin-tab-icon"> <span class="dashicons dashicons-feedback"></span>
94 </span> <span class="wpwbot-admin-tab-name"> <?php esc_html_e('Conversational Form', 'chatbot'); ?>
95 </span>
96 </a>
97 </li>
98
99
100
101
102 <li tab-data="custom_css"> <a href="<?php echo esc_url($action).'&tab=ai'?>">
103 <span class="wpwbot-admin-tab-icon"> <span class="dashicons dashicons-editor-code"></span>
104 </span> <span class="wpwbot-admin-tab-name"> <?php esc_html_e('Custom CSS', 'chatbot'); ?></span>
105 </a>
106 </li>
107
108
109 </ul>
110
111 <div class="text-center mt-5 qcld-goPreemium">
112
113 <a href="https://www.wpbot.pro/" target="_blank"><span><svg xmlns="http://www.w3.org/2000/svg" width="24" height="21" viewBox="0 0 24 21" fill="none">
114 <path d="M19.6799 17.28H4.31988C3.52596 17.28 2.87988 17.9261 2.87988 18.72C2.87988 19.5139 3.52596 20.16 4.31988 20.16H19.6799C20.4738 20.16 21.1199 19.5139 21.1199 18.72C21.1199 17.9261 20.4738 17.28 19.6799 17.28Z" fill="#FF9900"></path>
115 <path d="M22.08 2.88C21.0211 2.88 20.16 3.74114 20.16 4.8C20.16 5.51137 20.5536 6.1267 21.1305 6.45886C20.0198 9.08925 18.287 10.703 16.6675 10.5571C14.8665 10.4102 13.3977 8.28094 12.5875 4.71839C13.6262 4.45533 14.4 3.51933 14.4 2.4C14.4 1.07616 13.3238 0 12 0C10.6761 0 9.59995 1.07616 9.59995 2.4C9.59995 3.51938 10.3737 4.45538 11.4124 4.71839C10.6022 8.28094 9.13336 10.4102 7.33242 10.5571C5.71964 10.703 3.97913 9.08925 2.86941 6.45886C3.44634 6.1267 3.83995 5.51133 3.83995 4.8C3.83995 3.74114 2.97881 2.88 1.91995 2.88C0.861141 2.88 0 3.74114 0 4.8C0 5.78498 0.748781 6.58945 1.70494 6.69886L3.55392 16.32H20.4461L22.295 6.69886C23.2512 6.58945 24 5.78498 24 4.8C24 3.74114 23.1389 2.88 22.08 2.88Z" fill="url(#paint0_linear_189_140)"></path>
116 <defs>
117 <linearGradient id="paint0_linear_189_140" x1="12" y1="0" x2="12" y2="16.32" gradientUnits="userSpaceOnUse">
118 <stop stop-color="#FFC045"></stop>
119 <stop offset="1" stop-color="#FF9900"></stop>
120 </linearGradient>
121 </defs>
122 </svg></span>Go Premium</a>
123
124 </div>
125
126
127 <div class="text-center mt-5 qcld-Resetall">
128 <input type="button" class="btn btn-warning submit-button"
129 id="qcld-wp-chatbot-reset-option"
130 value="<?php echo esc_html('Reset all options to Default') ; ?>"/>
131 </div>
132 </nav>
133
134
135
136
137 <div class="content-wrap">
138 <section id="section-flip-1">
139
140
141 <div class="wrap qcld-swpm-admin-menu-wrap">
142 <div class="wrap qcld-swpm-admin-menu-wrap">
143 <h3 class="nav-tab-wrapper sld_nav_container wppt_nav_container">
144 <a class="nav-tab sld_click_handle nav-tab-active" href="#general_int"><?php echo esc_html('Getting Started'); ?></a>
145 <a class="nav-tab sld_click_handle" href="#general_wp_nutshell"><?php echo esc_html('WPBot – In a Nutshell'); ?></a>
146 </h3>
147 <div class="wppt-settings-section" id="general_int">
148 <div class="content form-container qcbot_help_secion" style="">
149 <!-- new Section -->
150
151 <h3 class="qcld-wpbot-main-tabs-title"><?php echo esc_html__('WPBot Interactions', 'chatbot'); ?></h3>
152 <p><?php echo esc_html__('You can use WPBot to both answer user questions and collect information from the users.', 'chatbot'); ?></p>
153 <h4><?php echo esc_html__('To create answers to user questions you can use:', 'chatbot'); ?></h4>
154 <p> <b><?php echo esc_html__('Simple Text Responses', 'chatbot'); ?></b> (built-in), <b style="font-size: 14px"><?php echo esc_html__('FAQ', 'chatbot'); ?></b>(built-in), <b style="font-size: 14px"><?php echo esc_html__('Site search', 'chatbot'); ?></b>(built-in), <b style="font-size: 14px"><?php echo esc_html__('Product search', 'chatbot'); ?></b>(built-in Pro feature), <b style="font-size: 14px"><?php echo esc_html__('DialogFlow', 'chatbot'); ?></b>(3rd Party) or <b style="font-size: 14px"><?php echo esc_html__('OpenAI', 'chatbot'); ?></b>(3rd Party)</br>
155 </p>
156 <h4> <?php echo esc_html__('To collect information from your users you can use:', 'chatbot'); ?></h4>
157 <p> <b>
158 <?php echo esc_html__('Conversational forms', 'chatbot'); ?></b>(built-in), <b style="font-size: 14px"><?php echo esc_html__('Mail us', 'chatbot'); ?></b>(built-in), <b style="font-size: 14px"><?php echo esc_html__('Call me back', 'chatbot'); ?></b>(built-in), <b style="font-size: 14px"><?php echo esc_html__('Collect feedback features', 'chatbot'); ?></b>(built-in)</p>
159 <hr>
160 <p>
161 <b> <?php echo esc_html__('When you activate the plugin, by default only the Site search option will work. Site search displays links to your website pages that contain the keywords in the user query. ', 'chatbot'); ?>
162 </b></p>
163 <p><b><?php echo esc_html__('To generate direct text responses, you need to use either Simple Text Responses or AI services. ', 'chatbot'); ?>
164 </b></p>
165 <hr>
166 <h4><?php echo esc_html__('You can create user interactions in the following ways:', 'chatbot'); ?></h4>
167
168 <div class="panel panel-default">
169 <div class="panel-heading" role="tab" id="FeaturesOne">
170 <h4 class="panel-title">
171 <a class="collapsed" role="button" data-toggle="collapse" data-parent="#accordion" href="#FeaturescollapseOne" aria-expanded="false" aria-controls="FeaturescollapseOne"> <?php esc_html_e('Predefined intents - Built-in ChatBot Features', 'chatbot'); ?> </a>
172 </h4>
173 </div>
174 <div id="FeaturescollapseOne" class="panel-collapse collapse" role="tabpanel" aria-labelledby="FeaturesOne">
175 <div class="panel-body"> <?php esc_html_e('Predefined intents can work without integration to DialogFlow API and AI. These are readily available as soon as you install the plugin and can be turned on or off individually.', 'chatbot'); ?> <div class="section-container">
176 <div class="wpb_column vc_column_container vc_col-sm-6">
177 <div class="vc_column-inner ">
178 <div class="wpb_wrapper">
179 <div class="to-icon-box left txt-left">
180 <div class="to-icon-txt fa-4x-txt ">
181 <h3>
182 <span>// </span><?php esc_html_e('Simple Text Responses', 'chatbot'); ?>
183 </h3>
184 <p><?php esc_html_e('Create unlimited text responses from your WordPress backend. The ChatBot uses advanced search algorithm for natural language phrase matching with user input.', 'chatbot'); ?> </p>
185 </div>
186 </div>
187 <div class="to-icon-box left txt-left">
188 <div class="to-icon-txt fa-4x-txt ">
189 <h3>
190 <span>// </span><?php esc_html_e('Send eMail, Call Me Back &amp; Feedback Collection', 'chatbot'); ?>
191 </h3>
192 <p><?php esc_html_e('Users can send a email to the site admin directly from the Chat window for customer support. The Call Me Back feature lets you get call requests from your customers which will be emailed to you. You can also use WPBot to collect Feedback from your customers regarding anything! You can disable/enable these features from the Start Menu.', 'chatbot'); ?></p>
193 </div>
194 </div>
195 <div class="to-icon-box left txt-left">
196 <div class="to-icon-txt fa-4x-txt ">
197 <h3>
198 <span>// </span><?php esc_html_e('Advanced Site Search', 'chatbot'); ?> <span class="qc_wpbot_pro">PRO</span>
199 </h3>
200 <p><?php esc_html_e('If no matching text response is found WPBot will conduct an advanced website search and try to match user queries with your website contents and show results.', 'chatbot'); ?> </p>
201 </div>
202 </div>
203 </div>
204 </div>
205 </div>
206 <div class="wpb_column vc_column_container vc_col-sm-6">
207 <div class="vc_column-inner ">
208 <div class="wpb_wrapper">
209 <div class="to-icon-box left txt-left">
210 <div class="to-icon-txt fa-4x-txt ">
211 <h3>
212 <span>// </span><?php esc_html_e('Frequently Asked Questions', 'chatbot'); ?>
213 </h3>
214 <p><?php esc_html_e('Create a set of Frequently Asked Questions or FAQ so users can quickly find answers to the most common questions they have.', 'chatbot'); ?></p>
215 </div>
216 </div>
217 <div class="to-icon-box left txt-left">
218 <div class="to-icon-txt fa-4x-txt ">
219 <h3>
220 <span>// </span>Ask for name, email, phone number etc.
221 </h3>
222 <p><?php esc_html_e('Asking for the name is the default workflow. In the pro version, you can also ask for an email and phone number if you want to or skip the Greetings part altogether and load any intent of your choice.', 'chatbot'); ?></p>
223 </div>
224 </div>
225 <div class="to-icon-box left txt-left">
226 <div class="to-icon-txt fa-4x-txt ">
227 <h3>
228 <span>// </span><?php esc_html_e('Newsletter Subscription', 'chatbot'); ?> <span class="qc_wpbot_pro">PRO</span>
229 </h3>
230 <p><?php esc_html_e('WPBot can prompt User for eMail subscription. Link this with your Retargeting ChatBot window popup and a special offer. People can register their email address that you can later export as CSV!', 'chatbot'); ?> <strong>GDPR compliant</strong> with unsubscribe option from the ChatBot! </p>
231 </div>
232 </div>
233 </div>
234 </div>
235 </div>
236 </div>
237 </div>
238 </div>
239 </div>
240 <div class="panel panel-default">
241 <div class="panel-heading" role="tab" id="headingTwo">
242 <h4 class="panel-title">
243 <a class="collapsed" role="button" data-toggle="collapse" data-parent="#accordion" href="#collapseTwo" aria-expanded="false" aria-controls="collapseTwo"><?php esc_html_e(' Menu Driven - Created with Conversational Form Builder Addon', 'chatbot'); ?> </a>
244 </h4>
245 </div>
246 <div id="collapseTwo" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingTwo">
247 <div class="panel-body">
248 <p><?php esc_html_e('Extend the Start Menu with the', 'chatbot'); ?> <?php esc_html_e('powerful Conversational Forms', 'chatbot'); ?>&nbsp;<?php esc_html_e(' Addon for WPBot. It extends WPBot’s functionality and adds the ability to create', 'chatbot'); ?> <?php esc_html_e('conditional conversations', 'chatbot'); ?> <?php esc_html_e('and/or', 'chatbot'); ?> <?php esc_html_e('forms', 'chatbot'); ?> <?php esc_html_e('for the WPBot. It is a visual,', 'chatbot'); ?> <?php esc_html_e('drag and drop', 'chatbot'); ?><?php esc_html_e(' form builder that is easy to use and very flexible. Supports conditional logic and use of variables to build all types of forms or just', 'chatbot'); ?> <?php esc_html_e('menu driven', 'chatbot'); ?>
249 <?php esc_html_e('conversations', 'chatbot'); ?> <?php esc_html_e('with if else logic', 'chatbot'); ?> . <?php esc_html_e('Conversations or forms can be', 'chatbot'); ?> <?php esc_html_e('eMailed', 'chatbot'); ?> <?php esc_html_e('to you and', 'chatbot'); ?> <?php esc_html_e('saved in the database', 'chatbot'); ?>.
250 </p>
251 <h4><?php esc_html_e('Conversational Form Builder Free or Pro version works with the WPBot Free or Pro versions.', 'chatbot'); ?></h4>
252 <a class="FormBuilder" href="https://wordpress.org/plugins/conversational-forms/" target="_blank"><?php esc_html_e('Download Free Version', 'chatbot'); ?></a>
253 <a class="FormBuilder" href="https://www.quantumcloud.com/products/conversations-and-form-builder/" target="_blank"><?php esc_html_e('Grab the Pro version', 'chatbot'); ?></a>
254 <h4><?php esc_html_e('What Can You Do with it?', 'chatbot'); ?></h4>
255 <p><?php esc_html_e('Conversation Forms allows you to create a wide variety of forms, that might include:', 'chatbot'); ?></p>
256 <ul>
257 <li><?php esc_html_e('Create menu or button driven conversations', 'chatbot'); ?></li>
258 <li><?php esc_html_e('Conditional Menu Driven Conversations', 'chatbot'); ?>
259 <span class="qc_wpbot_pro" style="font-size: 9px;"><?php esc_html_e('PRO', 'chatbot'); ?></span>
260 </li>
261 <li><?php esc_html_e('Standard Contact Forms', 'chatbot'); ?></li>
262 <li><?php esc_html_e('Dynamic,', 'chatbot'); ?> <?php esc_html_e('conditional Forms', 'chatbot'); ?> <?php esc_html_e('– where fields can change based on the user selections', 'chatbot'); ?> <span class="qc_wpbot_pro" style="font-size: 9px;">PRO</span>
263 </li>
264 <li>Job <?php esc_html_e('Application Forms', 'chatbot'); ?>
265 </li>
266 <li>
267 <?php esc_html_e('Lead Capture', 'chatbot'); ?> <?php esc_html_e('Forms', 'chatbot'); ?>
268 </li>
269 <li><?php esc_html_e('Various types of', 'chatbot'); ?> <?php esc_html_e('Calculators', 'chatbot'); ?>
270 <span class="qc_wpbot_pro" style="font-size: 9px;"><?php esc_html_e('PRO', 'chatbot'); ?></span>
271 </li>
272 <li><?php esc_html_e('Feedback', 'chatbot'); ?> Survey<?php esc_html_e(' Forms etc.', 'chatbot'); ?> </li>
273 </ul>
274 </div>
275 </div>
276 </div>
277 <div class="panel panel-default">
278 <div class="panel-heading" role="tab" id="AIheadingThree">
279 <h4 class="panel-title">
280 <a class="collapsed" role="button" data-toggle="collapse" data-parent="#accordion" href="#AIcollapseThree" aria-expanded="false" aria-controls="AIcollapseThree"> <?php esc_html_e('DialogFlow ES and CX, OpenAI', 'chatbot'); ?> </a>
281 </h4>
282 </div>
283 <div id="AIcollapseThree" class="panel-collapse collapse" role="tabpanel" aria-labelledby="AIheadingThree">
284 <div class="panel-body">
285
286 <div class="section-container">
287 <div class="wpb_column vc_column_container vc_col-sm-6">
288 <div class="wpb_wrapper">
289 <h3 style="font-size: 20px;"><?php esc_html_e('DialogFlow Essential', 'chatbot'); ?></h3> <?php esc_html_e('Intents created in Dialogflow give you the power to build a truly human like, intelligent and comprehensive chatbot. Build any type of Intents and Responses (including rich message responses) directly in DialogFlow and train the bot accordingly. When you create custom intents and responses in DialogFlow, WPBot will automatically display them when user inputs match with your Custom Intents along with the responses you created. You can also build Rich responses by enabling Facebook messenger Response option.', 'chatbot'); ?> <p></p>
290 <p style="text-align: left;"><?php esc_html_e('In addition you can also Enable ', 'chatbot'); ?><?php esc_html_e('Advanced Chained Question and Answers using follow up Intents, Contexts, Entities etc. and then have resulting answers from your users emailed to you. This feature lets you create a a series of questions in DialogFlow that will be asked by the bot and based on the user inputs a response will be displayed.', 'chatbot'); ?> <span class="qc_wpbot_pro" style="font-size: 9px;"><?php esc_html_e('PRO', 'chatbot'); ?></span>
291 </p>
292 <p style="text-align: left;"><?php esc_html_e('WPBot also supports Rich responses using Facebook Messenger integration. This allows you to display Image,', 'chatbot'); ?> Cards<?php esc_html_e(', Quick Text Reply or Custom PayLoad inside the ChatBot window. You can also insert an ', 'chatbot'); ?><?php esc_html_e('image', 'chatbot'); ?><?php esc_html_e(' or', 'chatbot'); ?> <?php esc_html_e('youtube video', 'chatbot'); ?><?php esc_html_e(' link inside the DialogFlow responses and they will be automatically rendered by the WPBot!', 'chatbot'); ?> <span class="qc_wpbot_pro" style="font-size: 9px;"><?php esc_html_e('PRO', 'chatbot'); ?></span>
293 </p>
294 <h3 style="font-size: 20px;"><?php esc_html_e('OpenAI', 'chatbot'); ?></h3><?php esc_html_e('Connect the ChatBot to OpenAI. OpenAI’s API provides access to GPT-3, for a wide variety of natural language tasks. Train your ChatBot with (pre-trained) GPT-3 to answer any user questions using. Select your preferred Engine from DaVinci, Ada, Curie or Babbag! Add your own API key to the addon to connect to your OpenAI account. To go live, you need to apply to OpenAI.', 'chatbot'); ?>
295 </div>
296 </div>
297 <div class="wpb_column vc_column_container vc_col-sm-6">
298 <div class="wpb_wrapper">
299 <h3 style="font-size: 20px;"><?php esc_html_e('DialogFlow CX', 'chatbot'); ?> <span class="qc_wpbot_pro">PRO</span>
300 </h3>
301 <p><?php esc_html_e('WPBot supports', 'chatbot'); ?> <?php esc_html_e('visual workflow builder', 'chatbot'); ?><?php esc_html_e(' Dialogflow CX. It provides a new way of designing agents, taking a state machine approach to agent design. This gives you clear and explicit control over a conversation, a better end-user experience, and a better development', 'chatbot'); ?> <?php esc_html_e('workflow', 'chatbot'); ?>. </p>
302 <ul>
303 <li>
304 <?php esc_html_e('Console visualization', 'chatbot'); ?><?php esc_html_e(': A new', 'chatbot'); ?><?php esc_html_e('visual builder', 'chatbot'); ?> <?php esc_html_e('makes building and maintaining agents easier. Conversation paths are graphed as a state machine model, which makes conversations easier to design, enhance, and maintain.', 'chatbot'); ?>
305 </li>
306 <li>
307 <?php esc_html_e('Intuitive and powerful conversation control', 'chatbot'); ?>: <?php esc_html_e('Conversation states and state transitions are first-class types that provide explicit and powerful control over conversation paths. You can clearly define a series of steps that you want the end-user to go through.', 'chatbot'); ?>
308 </li>
309 <li>
310 <?php esc_html_e('Flows for agent partitions', 'chatbot'); ?>: <?php esc_html_e('With flows, you can partition your agent into smaller conversation topics. Different team members can own different flows, which makes large and complex agents easy to build.', 'chatbot'); ?>
311 </li>
312 <img style="width:100%" src="<?php echo esc_url( QCLD_wpCHATBOT_IMG_URL . '/dialogflow-cx-1024x676.jpg' ); ?>" alt="Dialogflow CX">
313 </ul>
314 </div>
315 </div>
316 </div>
317
318
319 </div>
320 </div>
321
322
323 <!-- end new Section -->
324
325 </div>
326 </div>
327 </div>
328
329
330
331
332 <div class="wppt-settings-section" id="general_wp_nutshell" style="display:none;">
333 <div class="content form-container qcbot_help_secion">
334 <!-- new Section -->
335 <h3 class="qcld-wpbot-main-tabs-title"><?php echo esc_html__('WPBot – In a Nutshell', 'chatbot'); ?></h3>
336
337 <p><?php echo esc_html__('This is by no means a comprehensive list of WPBot features. But knowing these core terms will help you understand how WPBot was designed to work.', 'chatbot'); ?></p>
338 <div style="clear:both"></div>
339 <div class="panel panel-default">
340 <div class="panel-heading" role="tab" id="headingOne">
341 <h4 class="panel-title">
342 <a class="collapsed" role="button" data-toggle="collapse" data-parent="#accordion" href="#collapseOne" aria-expanded="false" aria-controls="collapseOne"> <?php esc_html_e('Intents', 'chatbot'); ?> </a>
343 </h4>
344 </div>
345 <div id="collapseOne" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingOne">
346 <div class="panel-body">
347 <?php echo esc_html_e(' Intent is all about what the user wants to get out of the interaction. Whenever a user types something or clicks a button, the ChatBot will try to understand what the user wants and fulfill the request with appropriate responses.', 'chatbot'); ?></br></br>
348 <?php echo esc_html_e('You have to create possible Intent Responses using different features of the WPBot so the bot can respond accordingly. You can create Responses for various Intents using:', 'chatbot'); ?><b>
349 <?php echo esc_html_e('Simple Text Responses, Conversational form builder, FAQ, Site Search, Send an eMail, Newsletter Subscription, DialogFlow, OpenAI etc.', 'chatbot'); ?></b></br></br>
350 <?php echo esc_html_e('Please check this article for','chatbot'); ?> <span class="wppt_nav_container qcld-plan-tab-text">
351 <a href="#general_int"><?php echo esc_html_e('more details', 'chatbot'); ?></a> </span> <?php echo esc_html_e('on how you can create Intents and Responses.', 'chatbot'); ?>
352 </div>
353 </div>
354 </div>
355 <div class="panel panel-default">
356 <div class="panel-heading" role="tab" id="headingSix">
357 <h4 class="panel-title">
358 <a class="collapsed" role="button" data-toggle="collapse" data-parent="#accordion" href="#collapseSix" aria-expanded="false" aria-controls="collapseSix"> <?php esc_html_e('Start Menu', 'chatbot'); ?> </a>
359 </h4>
360 </div>
361 <div id="collapseSix" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingSix">
362 <div class="panel-body">
363 <?php echo esc_html_e('While using a ChatBot, users can get lost or not know how to Interact with the Bot. That is why we have a Start menu to always give the user', 'chatbot'); ?> <b><?php echo esc_html_e('options to do more', 'chatbot'); ?></b>. <?php echo esc_html_e('From ChatBot->Settings->Start Menu you can drag Available Menu Items (Intents) to the Active Menu Items area.', 'chatbot'); ?></br></br>
364 <?php echo esc_html_e('Besides the built-in Intents, you can also create custom Intents for your Start Menu using','chatbot'); ?> <b><?php echo esc_html_e('Simple Text Responses', 'chatbot'); ?></b> and <b><?php echo esc_html_e('Conversational form builder', 'chatbot'); ?></b>. <?php echo esc_html_e('You can create almost any kind of response with the combinations of the two.', 'chatbot'); ?></br></br>
365 <?php echo esc_html_e('We recommend enabling','chatbot'); ?><b><?php echo esc_html_e(' Show Start Menu After Greetings ', 'chatbot'); ?></b><?php echo esc_html_e('from ChatBot Pro->Settings->General settings.','chatbot'); ?>
366 </div>
367 </div>
368 </div>
369 <div class="panel panel-default">
370 <div class="panel-heading" role="tab" id="headingSeven">
371 <h4 class="panel-title">
372 <a class="collapsed" role="button" data-toggle="collapse" data-parent="#accordion" href="#collapseSeven" aria-expanded="false" aria-controls="collapseSeven"> <?php esc_html_e('Settings', 'chatbot'); ?> </a>
373 </h4>
374 </div>
375 <div id="collapseSeven" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingSeven">
376 <div class="panel-body">
377 <?php echo esc_html_e('Head over to ChatBot Pro->Settings->General and make sure to Enable the Floating Icon. As soon as you do that, the ChatBot can start working for your users. Make sure to drag some items to the Active Menu area under the Start Menu.', 'chatbot'); ?></br></br>
378 <?php echo esc_html_e('The ChatBot settings area is full of options. Do not be intimidated by that. You do not need to use all the options – just what you need. Head over to the Settings->', 'chatbot'); ?><b><?php echo esc_html_e('Icons and Themes','chatbot'); ?></b> <?php echo esc_html_e('for options to customize your ChatBot. You will also find options to embed the ChatBot on a page, click to chat, FAQ builder etc. under the Setting options.', 'chatbot'); ?>
379 </div>
380 </div>
381 </div>
382 <div class="panel panel-default">
383 <div class="panel-heading" role="tab" id="headingEight">
384 <h4 class="panel-title">
385 <a class="collapsed" role="button" data-toggle="collapse" data-parent="#accordion" href="#collapseEight" aria-expanded="false" aria-controls="collapseEight"> <?php esc_html_e('Language Center', 'chatbot'); ?> </a>
386 </h4>
387 </div>
388 <div id="collapseEight" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingEight">
389 <div class="panel-body">
390 <?php echo esc_html_e('You can use the ChatBot in', 'chatbot'); ?> <b><?php echo esc_html_e('ANY language', 'chatbot'); ?></b>. <?php echo esc_html_e('Just translate the texts used by the ChatBot from the WordPress dashboard ChatBot Pro->', 'chatbot'); ?><b><?php echo esc_html_e('Language Center. Multi language', 'chatbot'); ?></b> <?php echo esc_html_e('module is available in the Master License..','chatbot'); ?>
391 </div>
392 </div>
393 </div>
394 <div class="panel panel-default">
395 <div class="panel-heading" role="tab" id="headingtwo">
396 <h4 class="panel-title">
397 <a class="collapsed" role="button" data-toggle="collapse" data-parent="#accordion" href="#collapsetwo" aria-expanded="false" aria-controls="collapseOne"> <?php esc_html_e('Simple Text Responses', 'chatbot'); ?> </a>
398 </h4>
399 </div>
400 <div id="collapsetwo" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingtwo">
401 <div class="panel-body">
402 <?php echo esc_html_e('You can use ChatBot Pro->Simple Text Responses to create', 'chatbot'); ?> <b><?php echo esc_html_e('text-based responses', 'chatbot'); ?></b> <?php echo esc_html_e('that users may ask your ChatBot. Just define the questions, answers, and some keywords and you are done. This is a much simpler', 'chatbot'); ?> <b><?php echo esc_html_e('alternative ', 'chatbot'); ?></b> <?php echo esc_html_e('to DialogFlow or OpenAI.', 'chatbot'); ?>
403 </div>
404 </div>
405 </div>
406 <div class="panel panel-default">
407 <div class="panel-heading" role="tab" id="headingThree">
408 <h4 class="panel-title">
409 <a class="collapsed" role="button" data-toggle="collapse" data-parent="#accordion" href="#collapseThree" aria-expanded="false" aria-controls="collapseThree"> <?php esc_html_e('Conversational Forms', 'chatbot'); ?> </a>
410 </h4>
411 </div>
412 <div id="collapseThree" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingThree">
413 <div class="panel-body">
414 <?php echo esc_html_e('Use conversational forms to collect information from the users. This is also great for Button driven workflow. Create conditional conversations and forms for a native WordPress ChatBot experience. Build Standard Forms, Dynamic Forms with', 'chatbot'); ?> <b> <?php echo esc_html_e('conditional fields, Calculators, Appointment booking', 'chatbot'); ?></b> <?php echo esc_html_e('etc.', 'chatbot'); ?>
415 </div>
416 </div>
417 </div>
418 <div class="panel panel-default">
419 <div class="panel-heading" role="tab" id="headingten">
420 <h4 class="panel-title">
421 <a class="collapsed" role="button" data-toggle="collapse" data-parent="#accordion" href="#collapseten" aria-expanded="false" aria-controls="collapseten"> <?php esc_html_e('Retargeting (Pro feature)', 'chatbot'); ?> </a>
422 </h4>
423 </div>
424 <div id="collapseten" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingten">
425 <div class="panel-body">
426 <?php echo esc_html_e('Retargeting is a powerful feature to grab your user’s attention with motivating information (a sale, coupon, ebook etc.). You can trigger a Retargeting message and the ChatBot window will automatically', 'chatbot'); ?> <b> <?php echo esc_html_e('automatically ', 'chatbot'); ?></b><?php echo esc_html_e('open up with your message. You can trigger Retargeting for ', 'chatbot'); ?><b> <?php echo esc_html_e('Exit Intent, Exit Intent, Scroll Intent, Auto After “X” Seconds, Checkout', 'chatbot'); ?></b> <?php echo esc_html_e('etc.', 'chatbot'); ?>
427 </div>
428 </div>
429 </div>
430 <div class="panel panel-default">
431 <div class="panel-heading" role="tab" id="headingFour">
432 <h4 class="panel-title">
433 <a class="collapsed" role="button" data-toggle="collapse" data-parent="#accordion" href="#collapseFour" aria-expanded="false" aria-controls="collapseFour"> <?php esc_html_e('OpenAI or DialogFlow', 'chatbot'); ?> </a>
434 </h4>
435 </div>
436 <div id="collapseFour" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingFour">
437 <div class="panel-body">
438 <?php echo esc_html_e('If you need a bot that can understand natural language better, use either OpenAI or DialogFlow. Between the two', 'chatbot'); ?> <b> <?php echo esc_html_e('DialogFlow', 'chatbot'); ?></b> <?php echo esc_html_e('is better if you want to', 'chatbot'); ?> <b> <?php echo esc_html_e('provide customer support', 'chatbot'); ?></b>. <?php echo esc_html_e('OpenAI is better at generic questions and training OpenAI also requires a large dataset. But you do not have to use either 3rd party service. Using OpenAI or DialogFlow requires some patience and', 'chatbot'); ?> <b> <?php echo esc_html_e('effort', 'chatbot'); ?></b>. <?php echo esc_html_e('You may very well achieve what you need using ', 'chatbot'); ?><b> <?php echo esc_html_e('Simple Text Responses', 'chatbot'); ?></b> <?php echo esc_html_e('and/or', 'chatbot'); ?> <b> <?php echo esc_html_e('Conversational form builder', 'chatbot'); ?></b> <?php echo esc_html_e('instead.', 'chatbot'); ?>
439 </div>
440 </div>
441 </div>
442 <div class="panel panel-default">
443 <div class="panel-heading" role="tab" id="headingFive">
444 <h4 class="panel-title">
445 <a class="collapsed" role="button" data-toggle="collapse" data-parent="#accordion" href="#collapseFive" aria-expanded="false" aria-controls="collapseFive"> <?php esc_html_e('Getting Help', 'chatbot'); ?> </a>
446 </h4>
447 </div>
448 <div id="collapseFive" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingFive">
449 <div class="panel-body">
450 <?php echo esc_html_e('We have built-in Help section under each module. Please check them out and you will get many answers to the questions you may have. If you cannot find the answer to something particular, just contact us.', 'chatbot'); ?> <b><?php echo esc_html_e('Pro version ', 'chatbot'); ?></b><?php echo esc_html_e('users can open a support ticket from here. We are ', 'chatbot'); ?><b><?php echo esc_html_e('friendly ', 'chatbot'); ?></b><?php echo esc_html_e('and always here to help.', 'chatbot'); ?>
451 </div>
452 </div>
453 </div>
454 </div>
455 <!-- end new Section -->
456
457
458 </div>
459 <script type="text/javascript">
460 jQuery(document).ready(function($){
461 var url=document.URL;
462 var arr=url.split('#');
463 var tab_tar = '.'+arr[1];
464 setTimeout(function(){
465 jQuery(tab_tar).trigger('click');
466 }, 500);
467
468 jQuery('.wppt_nav_container .nav-tab').on('click', function(e){
469 e.preventDefault();
470 var section_id = jQuery(this).attr('href');
471 jQuery('.wppt_nav_container .nav-tab').removeClass('nav-tab-active');
472 jQuery(this).addClass('nav-tab-active');
473 jQuery('.wppt-settings-section').hide();
474 jQuery('.wppt-settings-section').each(function(){
475 jQuery(section_id).show();
476 });
477 });
478 })
479 </script>
480 </section>
481 <section id="section-flip-2">
482 <div class="top-section">
483 <div class="row">
484 <div class="col-xs-12">
485 <!-- <div class="<?php // esc_attr_e( 'cxsc-settings-blocks-notic" style="<?php // echo esc_attr('background: #2271B1'); ?>">
486 <p class="<?php // esc_attr_e( 'd-ib"><?php // esc_html_e('New horizontal/wide template is now available. Select from Icons and Themes', 'chatbot'); ?>
487 </div> -->
488
489 <h3 class="qcld-wpbot-main-tabs-title"><?php esc_html_e('General settings', 'chatbot'); ?></h3>
490
491 <?php if( get_option( 'ai_enabled') != 1 && get_option('qcld_openrouter_enabled') !='1' ){ ?>
492 <div class="qcld-general-settings-connection-notic">
493
494 <p>
495 <?php esc_html_e( ' When you activate the plugin, by default only the Site search option will work. Site search displays links to your website pages that contain the keywords in the user query.','chatbot' ); ?>
496 </p>
497 <p>
498 <?php esc_html_e( 'Use ','chatbot' ); ?><a href="<?php echo esc_url(admin_url('admin.php?page=simple-text-response')); ?>"><b><?php esc_html_e( 'Simple Text Responses','chatbot' ); ?></b></a> <?php esc_html_e( ' or','chatbot' ); ?> <a href="<?php echo esc_url(admin_url('admin.php?page=wpbot_openAi')); ?>"><b><?php esc_html_e( 'Connect to an AI service','chatbot' ); ?> </b></a><?php esc_html_e( 'like OpenAI or OpenRouter. Openrouter supports all the major AI models like Anthropic, Google Gemini, Meta, Mistral, Cohere, xAI, Perplexity AI, DeepSeek etc. and also provides Free Credits.','chatbot' ); ?>
499
500 </p>
501
502 <a class="qcld-general-settings-close" href="javascript:void(0);" onclick="this.parentElement.style.display='none'; localStorage.setItem('qcld_general_settings_notice_closed', '1');">×</a>
503 </div>
504 <?php } ?>
505
506 <div class="cxsc-settings-blocks-notic">
507 <p class="d-ib"><i class="dashicons dashicons-yes-alt" aria-hidden="true"></i> <?php esc_html_e('Please see the plugin`s Getting Started section for how to create interactions.', 'chatbot'); ?></p>
508 <p class="d-ib"><i class="dashicons dashicons-yes-alt" aria-hidden="true"></i> <?php esc_html_e('You can change ALL the texts used by the ChatBot to YOUR language here to make it speak French, German, Spanish etc. -> Change Language', 'chatbot'); ?></p>
509 <p class="d-ib"><i class="dashicons dashicons-yes-alt" aria-hidden="true"></i> <?php esc_html_e('Please see the plugin`s Help and Debugging section to troubleshoot common issues.', 'chatbot'); ?></p>
510 </div>
511
512 <b>
513 <!-- <p>Please see the plugin's Help and Debugging section to troubleshoot common issues.</p> -->
514 </b>
515
516
517 <div class="cxsc-settings-blocks">
518 <div class="form-group">
519 <?php
520 $url = get_site_url();
521 $url = wp_parse_url($url);
522 $domain = $url['host'];
523
524 $admin_email = get_option('admin_email');
525 ?>
526 <h4 class="qc-opt-title"><?php esc_html_e('Emails Will be Sent to', 'chatbot'); ?></h4>
527 <input type="text" class="form-control qc-opt-dcs-font"
528 name="qlcd_wp_chatbot_admin_email"
529 value="<?php echo (get_option('qlcd_wp_chatbot_admin_email') != '' ? esc_attr(get_option('qlcd_wp_chatbot_admin_email')) : sanitize_email($admin_email) ) ?>">
530 <label class="qcld_label_width_full" for="disable_wp_chatbot"><?php esc_html_e('Support and Call Back requests will be sent to this address', 'chatbot'); ?> </label>
531 </div>
532 </div>
533 <div class="cxsc-settings-blocks">
534 <div class="form-group">
535 <?php
536 $url = get_site_url();
537 $url = wp_parse_url($url);
538 $domain = $url['host'];
539 $fromEmail = "wordpress@" . $domain;
540 ?>
541 <h4 class="qc-opt-title"><?php esc_html_e('From Email Address', 'chatbot'); ?></h4>
542 <input type="text" class="form-control qc-opt-dcs-font"
543 name="qlcd_wp_chatbot_from_email"
544 value="<?php echo (get_option('qlcd_wp_chatbot_from_email') != '' ? esc_attr( get_option('qlcd_wp_chatbot_from_email')) : sanitize_email($fromEmail)); ?> ">
545 <label class="qcld_label_width_full" for="qlcd_wp_chatbot_from_email"><?php esc_html_e('All emails will be sent from this email address. If you change the From Email Address then please make sure the domain remains the same as where WordPress is installed. Otherwise, the emails may not be received.', 'chatbot'); ?> </label>
546 </div>
547 </div>
548 </div>
549 </div>
550 <div class="row">
551 <div class="col-xs-12">
552 <div class="cxsc-settings-blocks">
553 <div class="form-group">
554 <h4 class="qc-opt-title"> <?php echo esc_html__("Skip Greetings (Asking for Name) and Show Start Menu", 'chatbot'); ?> </h4>
555 <div class="cxsc-settings-blocks">
556 <input value="1" id="skip_wp_greetings" type="checkbox"
557 name="skip_wp_greetings" <?php echo(get_option('skip_wp_greetings') == 1 ? 'checked' : ''); ?>>
558 <label for="skip_wp_greetings"><?php echo esc_html__("Skip Greetings (Asking for Name) and Show Start Menu", 'chatbot'); ?> </label>
559 </div>
560 </div>
561 </div>
562 </div>
563 </div>
564
565 <div class="row">
566 <div class="col-xs-12">
567 <div class="cxsc-settings-blocks">
568 <div class="form-group">
569 <h4 class="qc-opt-title"> <?php echo esc_html__("Skip Greetings (Asking for Name) and Disable Start Menu", 'chatbot'); ?> </h4>
570 <div class="cxsc-settings-blocks">
571 <input value="1" id="skip_wp_greetings_donot_show_menu" type="checkbox"
572 name="skip_wp_greetings_donot_show_menu" <?php echo(get_option('skip_wp_greetings_donot_show_menu') == 1 ? 'checked' : ''); ?>>
573 <label for="skip_wp_greetings_donot_show_menu"><?php echo esc_html__("Skip Greetings (Asking for Name) and Disable Start Menu", 'chatbot'); ?> </label>
574 </div>
575 </div>
576 </div>
577 </div>
578 </div>
579 <div class="row">
580 <div class="col-xs-12">
581 <div class="form-group">
582 <h4 class="qc-opt-title">
583 <?php esc_html_e('Show Start Menu After Greetings', 'chatbot'); ?>
584 </h4>
585 <div class="cxsc-settings-blocks">
586 <input value="1" id="show_menu_after_greetings" type="checkbox"
587 name="show_menu_after_greetings" <?php echo (get_option('show_menu_after_greetings') == 1 ? esc_attr('checked' ): ''); ?>>
588 <label for="show_menu_after_greetings">
589 <?php esc_html_e('Show Start Menu After Greetings', 'chatbot'); ?>
590 </label>
591 </div>
592 </div>
593 </div>
594 </div>
595 <div class="row">
596 <div class="col-xs-12">
597 <div class="form-group">
598 <h4 class="qc-opt-title">
599 <?php esc_html_e('Disable WPBot', 'chatbot'); ?>
600 </h4>
601 <div class="cxsc-settings-blocks">
602 <input value="1" id="disable_wp_chatbot" type="checkbox"
603 name="disable_wp_chatbot" <?php echo (get_option('disable_wp_chatbot') == 1 ? esc_attr('checked'): ''); ?>>
604 <label for="disable_wp_chatbot">
605 <?php esc_html_e('Disable WPBot to Load', 'chatbot'); ?>
606 </label>
607 </div>
608 </div>
609 </div>
610 </div>
611 <div class="row">
612 <div class="col-xs-12">
613 <div class="form-group">
614 <h4 class="qc-opt-title">
615 <?php esc_html_e('Disable WPbot on Mobile Device', 'chatbot'); ?>
616 </h4>
617 <div class="cxsc-settings-blocks">
618 <input value="1" id="disable_wp_chatbot_on_mobile" type="checkbox"
619 name="disable_wp_chatbot_on_mobile" <?php echo (get_option('disable_wp_chatbot_on_mobile') == 1 ? esc_attr('checked' ) : ''); ?>>
620 <label for="disable_wp_chatbot_on_mobile">
621 <?php esc_html_e('Disable WpBot to Load on Mobile Device', 'chatbot'); ?>
622 </label>
623 </div>
624 </div>
625 </div>
626 </div>
627 <div class="row">
628 <div class="col-xs-12">
629 <div class="form-group">
630 <h4 class="qc-opt-title">
631 <?php esc_html_e('Enable RTL', 'chatbot'); ?>
632 </h4>
633 <div class="cxsc-settings-blocks">
634 <input value="1" id="enable_wp_chatbot_rtl" type="checkbox"
635 name="enable_wp_chatbot_rtl" <?php echo (get_option('enable_wp_chatbot_rtl') == 1 ? esc_attr('checked' ): ''); ?>>
636 <label for="enable_wp_chatbot_rtl">
637 <?php esc_html_e('Enable RTL (Right to Left language) Support for Chat', 'chatbot'); ?>
638 </label>
639 </div>
640 </div>
641 </div>
642 </div>
643 <div class="row">
644 <div class="col-xs-12">
645 <div class="form-group">
646 <h4 class="qc-opt-title">
647 <?php esc_html_e('Open All Links in a New Window', 'chatbot'); ?>
648 </h4>
649 <div class="cxsc-settings-blocks">
650 <input value="1" id="open_links_new_window" type="checkbox" name="open_links_new_window" <?php echo (get_option('open_links_new_window') == 1 ? esc_attr('checked'): ''); ?>>
651 <label for="open_links_new_window">
652 <?php esc_html_e('Open All Links in a New Window', 'chatbot'); ?>
653 </label>
654 </div>
655 </div>
656 </div>
657 </div>
658
659 <div class="row">
660 <div class="col-xs-12">
661 <div class="form-group">
662 <h4 class="qc-opt-title"><?php esc_html_e('Bot Response Delay', 'chatbot'); ?> </h4>
663 <div class="cxsc-settings-blocks">
664 <select name="wpbot_preloading_time" id="wpbot_preloading_time">
665 <?php $current_preloading_time = get_option('wpbot_preloading_time'); ?>
666 <option value="100" <?php selected($current_preloading_time, '100'); ?>><?php esc_html_e('0.1 Second', 'chatbot'); ?></option>
667 <option value="500" <?php selected($current_preloading_time, '500'); ?>><?php esc_html_e('0.5 Second', 'chatbot'); ?></option>
668 <option value="1000" <?php selected($current_preloading_time, '1000'); ?>><?php esc_html_e('1 Second', 'chatbot'); ?></option>
669 <option value="2000" <?php selected($current_preloading_time, '2000'); ?>><?php esc_html_e('2 Second', 'chatbot'); ?></option>
670 <option value="3000" <?php selected($current_preloading_time, '3000'); ?>><?php esc_html_e('3 Second', 'chatbot'); ?></option>
671 </select>
672 <label class="qcld_label_width_full" for="wpbot_preloading_time"><?php esc_html_e('Bot Response Delay', 'chatbot'); ?> </label>
673 </div>
674 </div>
675 </div>
676 </div>
677 <div class="row">
678 <div class="col-xs-12">
679 <div class="form-group">
680 <h4 class="qc-opt-title">
681 <?php esc_html_e('Override WPBot Icon\'s Position', 'chatbot'); ?>
682 </h4>
683 <div class="cxsc-settings-blocks cxsc-settings-blocks-font-resize">
684 <?php
685 $qcld_wb_chatbot_position_x = get_option('wp_chatbot_position_x');
686 if ((!isset($qcld_wb_chatbot_position_x)) || ($qcld_wb_chatbot_position_x == "")) {
687 $qcld_wb_chatbot_position_x = __("120", 'chatbot');
688 }
689 $qcld_wb_chatbot_position_y = get_option('wp_chatbot_position_y');
690 if ((!isset($qcld_wb_chatbot_position_y)) || ($qcld_wb_chatbot_position_y == "")) {
691 $qcld_wb_chatbot_position_y = __("120", 'chatbot');
692 }
693 ?>
694 <input type="number" class="qc-opt-dcs-font"
695 name="wp_chatbot_position_x"
696 value="<?php echo esc_html($qcld_wb_chatbot_position_x);?>"
697 placeholder="<?php esc_html_e('From Right In ', 'chatbot'); ?>">
698 <span class="qc-opt-dcs-font">
699 <?php esc_html_e('From Right In px', 'chatbot'); ?>
700 </span>
701 <input type="number" class="qc-opt-dcs-font"
702 name="wp_chatbot_position_y"
703 value="<?php echo esc_html($qcld_wb_chatbot_position_y); ?>"
704 placeholder="<?php esc_html_e('From Bottom In Px', 'chatbot'); ?> ">
705 <span class="qc-opt-dcs-font">
706 <?php esc_html_e('From Bottom In px', 'chatbot'); ?>
707 </span> </div>
708 </div>
709 <!--.col-sm-12-->
710 </div>
711 <!-- row-->
712 </div>
713 <div class="row">
714 <div class="col-xs-12">
715
716 <div class="panel panel-default">
717 <div class="panel-heading" role="tab" id="headingTwoControl">
718 <h4 class="panel-title">
719 <a class="collapsed" role="button" data-toggle="collapse" data-parent="#accordion" href="#collapseTwoControl" aria-expanded="false" aria-controls="collapseTwoControl"> <?php esc_html_e('WPBot Loading Control Options', 'chatbot'); ?> </a>
720 </h4>
721 </div>
722 <div id="collapseTwoControl" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingTwoControl">
723 <div class="panel-body">
724 <h3 class="qcld-wpbot-main-tabs-title"><?php esc_html_e('WPBot Loading Control Options', 'chatbot'); ?></h3>
725 <div class="cxsc-settings-blocks cxsc-settings-blocks-style">
726 <div class="row">
727 <div class="col-sm-4 text-right"> <span class="qc-opt-title-font">
728 <?php esc_html_e('Show on Home Page', 'chatbot'); ?>
729 </span> </div>
730 <div class="col-sm-8">
731 <label class="radio-inline ">
732 <input id="wp-chatbot-show-home-page" type="radio"
733 name="wp_chatbot_show_home_page"
734 value="on" <?php echo(get_option('wp_chatbot_show_home_page') == 'on' ? esc_attr('checked' ): ''); ?>>
735 <?php esc_html_e('YES', 'chatbot'); ?>
736 </label>
737 <label class="radio-inline ">
738 <input id="wp-chatbot-show-home-page" type="radio"
739 name="wp_chatbot_show_home_page"
740 value="off" <?php echo(get_option('wp_chatbot_show_home_page') == 'off' ? esc_attr('checked' ): ''); ?>>
741 <?php esc_html_e('NO', 'chatbot'); ?>
742 </label>
743 </div>
744 </div>
745 <!-- row-->
746 <div class="row">
747 <div class="col-sm-4 text-right"> <span class="qc-opt-title-font">
748 <?php esc_html_e('Show on blog posts', 'chatbot'); ?>
749 </span> </div>
750 <div class="col-sm-8">
751 <label class="radio-inline ">
752 <input class="wp-chatbot-show-posts" type="radio"
753 name="wp_chatbot_show_posts"
754 value="on" <?php echo(get_option('wp_chatbot_show_posts') == 'on' ? esc_attr('checked' ): ''); ?>>
755 <?php esc_html_e('YES', 'chatbot'); ?>
756 </label>
757 <label class="radio-inline ">
758 <input class="wp-chatbot-show-posts" type="radio"
759 name="wp_chatbot_show_posts"
760 value="off" <?php echo(get_option('wp_chatbot_show_posts') == 'off' ? esc_attr('checked' ): ''); ?>>
761 <?php esc_html_e('NO', 'chatbot'); ?>
762 </label>
763 </div>
764 </div>
765 <!-- row-->
766 <div class="row">
767 <div class="col-md-4 text-right"> <span class="qc-opt-title-font">
768 <?php esc_html_e('Show on pages', 'chatbot'); ?>
769 </span> </div>
770 <div class="col-md-8">
771 <label class="radio-inline ">
772 <input class="wp-chatbot-show-pages" type="radio"
773 name="wp_chatbot_show_pages"
774 value="on" <?php echo(get_option('wp_chatbot_show_pages') == 'on' ? esc_attr('checked' ): ''); ?>>
775 <?php esc_html_e('All Pages', 'chatbot'); ?>
776 </label>
777 <label class="radio-inline ">
778 <input class="wp-chatbot-show-pages" type="radio"
779 name="wp_chatbot_show_pages"
780 value="off" <?php echo(get_option('wp_chatbot_show_pages') == 'off' ? esc_attr('checked' ): ''); ?>>
781 <?php esc_html_e('Selected Pages Only ', 'chatbot'); ?>
782 </label>
783 <div id="wp-chatbot-show-pages-list">
784 <ul class="checkbox-list">
785 <?php
786 $wp_chatbot_pages = get_pages();
787 $wp_chatbot_select_pages = maybe_unserialize(get_option('wp_chatbot_show_pages_list'));
788 foreach ($wp_chatbot_pages as $wp_chatbot_page) {
789 ?>
790 <li>
791 <input id="<?php echo esc_attr('wp_chatbot_show_page_'. $wp_chatbot_page->ID ); ?>"
792 type="checkbox"
793 name="wp_chatbot_show_pages_list[]"
794 value="<?php echo esc_attr($wp_chatbot_page->ID); ?>" <?php if (!empty($wp_chatbot_select_pages) && in_array($wp_chatbot_page->ID, $wp_chatbot_select_pages) == true) {
795 echo esc_attr('checked');
796 } ?> >
797 <label for="wp_chatbot_show_page_<?php echo esc_attr($wp_chatbot_page->ID); ?>"> <?php echo esc_html($wp_chatbot_page->post_title); ?></label>
798 </li>
799 <?php } ?>
800 </ul>
801 </div>
802 </div>
803 </div>
804 <!--row-->
805 <div class="row">
806 <div class="col-sm-4 text-right"> <span class="qc-opt-title-font">
807 <?php esc_html_e('Exclude from Custom Post', 'chatbot'); ?>
808 </span></div>
809 <div class="col-sm-8">
810 <div id="wp-chatbot-exclude-post-list" class="wp-chatbot-exclude-post-list">
811 <ul class="checkbox-list">
812 <?php
813 $get_cpt_args = array(
814 'public' => true,
815 '_builtin' => false
816 );
817
818 $post_types = get_post_types( $get_cpt_args, 'object' );
819 $wp_chatbot_exclude_post_list = maybe_unserialize(get_option('wp_chatbot_exclude_post_list'));
820
821 foreach ($post_types as $post_type) {
822 ?>
823 <li>
824 <input
825 id="<?php echo esc_attr( 'wp_chatbot_exclude_post_'. $post_type->name ); ?>"
826 type="checkbox"
827 name="wp_chatbot_exclude_post_list[]"
828 value="<?php echo esc_attr($post_type->name); ?>" <?php if (!empty($wp_chatbot_exclude_post_list) && in_array($post_type->name, $wp_chatbot_exclude_post_list) == true) {
829 echo esc_attr('checked');
830 } ?> >
831 <label
832 for="wp_chatbot_exclude_post_<?php echo esc_attr($post_type->name); ?>"> <?php echo esc_html($post_type->name); ?></label>
833 </li>
834 <?php } ?>
835 </ul>
836 </div>
837 </div>
838 </div>
839 </div>
840
841 </div>
842 </div>
843 </div>
844 <!-- cxsc-settings-blocks-->
845 </div>
846 <!-- col-xs-12-->
847 </div>
848 <!-- row-->
849
850 </div>
851 <!-- top-section-->
852 </section>
853 <section id="section-flip-5">
854 <div class="wp-chatbot-language-center-summmery"> </div>
855 <div class="row">
856 <div class="col-md-12">
857 <h4 class="qc-opt-title"><b><?php echo esc_html__( 'Change Language', 'wpchatbot' ); ?></b></h4>
858 <!-- Language Selection Dropdown -->
859 <div class="cxsc-settings-blocks mb-6">
860 <div class="form-group">
861 <label for="qcld_language_center_select" class="block text-sm font-medium text-gray-700 mb-2 qc-opt-language-title">
862 <?php echo esc_html__( 'Select a Language:', 'wpchatbot' ); ?>
863 </label>
864 <select id="qcld_language_center_select" class="form-select" onchange="qcld_wpbot_languageChange_from_center(this.value)">
865 <option value=""> <?php echo esc_html__( '-- Choose a language --', 'wpchatbot' ); ?></option>
866 <option value="arabic" <?php echo (get_option('wp_chatbot_language_center_language') !== "") && get_option('wp_chatbot_language_center_language') === 'arabic' ? 'selected' : '' ?>><?php echo esc_html__( 'Arabic (ar)', 'wpchatbot' ); ?></option>
867 <option value="bulgarian" <?php echo (get_option('wp_chatbot_language_center_language') !== "") && get_option('wp_chatbot_language_center_language') === 'bulgarian' ? 'selected' : '' ?>><?php echo esc_html__( 'Bulgarian (bg)', 'wpchatbot' ); ?></option>
868 <option value="chinese" <?php echo (get_option('wp_chatbot_language_center_language') !== "") && get_option('wp_chatbot_language_center_language') === 'chinese' ? 'selected' : '' ?>><?php echo esc_html__( 'Chinese (zh)', 'wpchatbot' ); ?></option>
869 <option value="chinese_mandarin" <?php echo (get_option('wp_chatbot_language_center_language') !== "") && get_option('wp_chatbot_language_center_language') === 'chinese_mandarin' ? 'selected' : '' ?>><?php echo esc_html__( 'Chinese Mandarin (cmn)', 'wpchatbot' ); ?></option>
870 <option value="danish" <?php echo (get_option('wp_chatbot_language_center_language') !== "") && get_option('wp_chatbot_language_center_language') === 'danish' ? 'selected' : '' ?>><?php echo esc_html__( 'Danish (da)', 'wpchatbot' ); ?></option>
871 <option value="dutch" <?php echo (get_option('wp_chatbot_language_center_language') !== "") && get_option('wp_chatbot_language_center_language') === 'dutch' ? 'selected' : '' ?>><?php echo esc_html__( 'Dutch (nl)', 'wpchatbot' ); ?></option>
872 <option value="english" <?php echo (get_option('wp_chatbot_language_center_language') !== "") && get_option('wp_chatbot_language_center_language') === 'english' ? 'selected' : '' ?>><?php echo esc_html__( 'English (en)', 'wpchatbot' ); ?></option>
873 <option value="estonian" <?php echo (get_option('wp_chatbot_language_center_language') !== "") && get_option('wp_chatbot_language_center_language') === 'estonian' ? 'selected' : '' ?>><?php echo esc_html__( 'Estonian (et)', 'wpchatbot' ); ?></option>
874 <option value="filipino" <?php echo (get_option('wp_chatbot_language_center_language') !== "") && get_option('wp_chatbot_language_center_language') === 'filipino' ? 'selected' : '' ?>><?php echo esc_html__( 'Filipino (fil)', 'wpchatbot' ); ?></option>
875 <option value="french" <?php echo (get_option('wp_chatbot_language_center_language') !== "") && get_option('wp_chatbot_language_center_language') === 'french' ? 'selected' : '' ?>><?php echo esc_html__( 'French (fr)', 'wpchatbot' ); ?></option>
876 <option value="german" <?php echo (get_option('wp_chatbot_language_center_language') !== "") && get_option('wp_chatbot_language_center_language') === 'german' ? 'selected' : '' ?>><?php echo esc_html__( 'German (de)', 'wpchatbot' ); ?></option>
877 <option value="greek" <?php echo (get_option('wp_chatbot_language_center_language') !== "") && get_option('wp_chatbot_language_center_language') === 'greek' ? 'selected' : '' ?>><?php echo esc_html__( 'Greek (el)', 'wpchatbot' ); ?></option>
878 <option value="hebrew" <?php echo (get_option('wp_chatbot_language_center_language') !== "") && get_option('wp_chatbot_language_center_language') === 'hebrew' ? 'selected' : '' ?>><?php echo esc_html__( 'Hebrew (he)', 'wpchatbot' ); ?></option>
879 <option value="hindi" <?php echo (get_option('wp_chatbot_language_center_language') !== "") && get_option('wp_chatbot_language_center_language') === 'hindi' ? 'selected' : '' ?>><?php echo esc_html__( 'Hindi (hi)', 'wpchatbot' ); ?></option>
880 <option value='hungarian' <?php echo (get_option('wp_chatbot_language_center_language') !== "") && get_option('wp_chatbot_language_center_language') === 'hungarian' ? 'selected' : '' ?>><?php echo esc_html__( 'Hungarian (hu)', 'wpchatbot' ); ?></option>
881 <option value="indonesian" <?php echo (get_option('wp_chatbot_language_center_language') !== "") && get_option('wp_chatbot_language_center_language') === 'indonesian' ? 'selected' : '' ?>><?php echo esc_html__( 'Indonesian (id)', 'wpchatbot' ); ?></option>
882 <option value="italian" <?php echo (get_option('wp_chatbot_language_center_language') !== "") && get_option('wp_chatbot_language_center_language') === 'italian' ? 'selected' : '' ?>><?php echo esc_html__( 'Italian (it)', 'wpchatbot' ); ?></option>
883 <option value="japanese" <?php echo (get_option('wp_chatbot_language_center_language') !== "") && get_option('wp_chatbot_language_center_language') === 'japanese' ? 'selected' : '' ?>><?php echo esc_html__( 'Japanese (ja)', 'wpchatbot' ); ?></option>
884 <option value="korean" <?php echo (get_option('wp_chatbot_language_center_language') !== "") && get_option('wp_chatbot_language_center_language') === 'korean' ? 'selected' : '' ?>><?php echo esc_html__( 'Korean (ko)', 'wpchatbot' ); ?></option>
885 <option value="lithuanian" <?php echo (get_option('wp_chatbot_language_center_language') !== "") && get_option('wp_chatbot_language_center_language') === 'lithuanian' ? 'selected' : '' ?>><?php echo esc_html__( 'Lithuanian (lt)', 'wpchatbot' ); ?></option>
886 <option value="malay" <?php echo (get_option('wp_chatbot_language_center_language') !== "") && get_option('wp_chatbot_language_center_language') === 'malay' ? 'selected' : '' ?>><?php echo esc_html__( 'Malay (ms)', 'wpchatbot' ); ?></option>
887 <option value="norwegian" <?php echo (get_option('wp_chatbot_language_center_language') !== "") && get_option('wp_chatbot_language_center_language') === 'norwegian' ? 'selected' : '' ?>><?php echo esc_html__( 'Norwegian (no)', 'wpchatbot' ); ?></option>
888 <option value="persian" <?php echo (get_option('wp_chatbot_language_center_language') !== "") && get_option('wp_chatbot_language_center_language') === 'persian' ? 'selected' : '' ?>><?php echo esc_html__( 'Persian (fa)', 'wpchatbot' ); ?></option>
889 <option value="polish" <?php echo (get_option('wp_chatbot_language_center_language') !== "") && get_option('wp_chatbot_language_center_language') === 'polish' ? 'selected' : '' ?>><?php echo esc_html__( 'Polish (pl)', 'wpchatbot' ); ?></option>
890 <option value="portuguese" <?php echo (get_option('wp_chatbot_language_center_language') !== "") && get_option('wp_chatbot_language_center_language') === 'portuguese' ? 'selected' : '' ?>><?php echo esc_html__( 'Portuguese (pt)', 'wpchatbot' ); ?></option>
891 <option value="romanian" <?php echo (get_option('wp_chatbot_language_center_language') !== "") && get_option('wp_chatbot_language_center_language') === 'romanian' ? 'selected' : '' ?>><?php echo esc_html__( 'Romanian (ro)', 'wpchatbot' ); ?></option>
892 <option value="russian" <?php echo (get_option('wp_chatbot_language_center_language') !== "") && get_option('wp_chatbot_language_center_language') === 'russian' ? 'selected' : '' ?>><?php echo esc_html__( 'Russian (ru)', 'wpchatbot' ); ?></option>
893 <option value="sinhala" <?php echo (get_option('wp_chatbot_language_center_language') !== "") && get_option('wp_chatbot_language_center_language') === 'sinhala' ? 'selected' : '' ?>><?php echo esc_html__( 'Sinhala (si)', 'wpchatbot' ); ?></option>
894 <option value="spanish" <?php echo (get_option('wp_chatbot_language_center_language') !== "") && get_option('wp_chatbot_language_center_language') === 'spanish' ? 'selected' : '' ?>><?php echo esc_html__( 'Spanish (es)', 'wpchatbot' ); ?></option>
895 <option value="swedish" <?php echo (get_option('wp_chatbot_language_center_language') !== "") && get_option('wp_chatbot_language_center_language') === 'swedish' ? 'selected' : '' ?>><?php echo esc_html__( 'Swedish (sv)', 'wpchatbot' ); ?></option>
896 <option value="thai" <?php echo (get_option('wp_chatbot_language_center_language') !== "") && get_option('wp_chatbot_language_center_language') === 'thai' ? 'selected' : '' ?>><?php echo esc_html__( 'Thai (th)', 'wpchatbot' ); ?></option>
897 <option value="turkish" <?php echo (get_option('wp_chatbot_language_center_language') !== "") && get_option('wp_chatbot_language_center_language') === 'turkish' ? 'selected' : '' ?>><?php echo esc_html__( 'Turkish (tr)', 'wpchatbot' ); ?></option>
898 <option value="ukrainian" <?php echo (get_option('wp_chatbot_language_center_language') !== "") && get_option('wp_chatbot_language_center_language') === 'ukrainian' ? 'selected' : '' ?>><?php echo esc_html__( 'Ukrainian (uk)', 'wpchatbot' ); ?></option>
899 <option value="vietnamese" <?php echo (get_option('wp_chatbot_language_center_language') !== "") && get_option('wp_chatbot_language_center_language') === 'vietnamese' ? 'selected' : '' ?>><?php echo esc_html__( 'Vietnamese (vi)', 'wpchatbot' ); ?></option>
900 <option value="not_mine" <?php echo (get_option('wp_chatbot_language_center_language') !== "") && get_option('wp_chatbot_language_center_language') === 'not_mine' ? 'selected' : '' ?>><?php echo esc_html__( 'My language is not here', 'wpchatbot' ); ?></option>
901 </select>
902 <!-- Results Display Area -->
903 <div id="results-container" class="mt-8 p-4 flex items-center justify-center text-gray-600">
904 <p id="initial-message">
905 <?php echo esc_html__( 'Select your language to auto translate the texts used by the ChatBot. You can fine tune and update them manually from below.', 'wpchatbot' ); ?> <b><?php echo esc_html__( 'Remember to Save the Settings.', 'wpchatbot' ); ?></b>
906 </p>
907 <p id="waring-message"></p>
908 </div>
909 </div>
910 </div>
911 </div>
912 </div>
913 <ul class="nav nav-tabs">
914 <li class="active"><a data-toggle="tab" href="#wp-chatbot-lng-general">
915 <?php esc_html_e('General', 'chatbot'); ?>
916 </a></li>
917 <li><a data-toggle="tab" href="#wp-chatbot-lng-support">
918 <?php esc_html_e('FAQ', 'chatbot'); ?>
919 </a></li>
920 <li><a data-toggle="tab" href="#wp-chatbot-lng-reserve-keyword">
921 <?php esc_html_e('ChatBot Keywords', 'chatbot'); ?>
922 </a></li>
923 </ul>
924 <div class="tab-content">
925 <div id="wp-chatbot-lng-general" class="tab-pane fade in active">
926 <div class="top-section">
927
928 <div class="row">
929 <div class="col-xs-12" id="wp-chatbot-language-section">
930 <p style="color: red"><b><?php esc_html_e('You can change ALL the texts used by the ChatBot to YOUR OWN language here (like Spanish, French etc.).', 'chatbot' ); ?></b></p>
931 <p><?php esc_html_e('After making changes in the language center or settings, please type reset and hit enter in the ChatBot to start testing from the beginning or open a new Incognito window (Ctrl+Shit+N in chrome).', 'chatbot' ); ?></p>
932 <p><?php esc_html_e('You could use &lt;br&gt; tag for line break.', 'chatbot' ); ?></p>
933 <div class="form-group">
934 <h4 class="qc-opt-title">
935 <?php esc_html_e('Your Company or Website Name', 'chatbot'); ?>
936 </h4>
937 <input type="text" class="form-control qc-opt-dcs-font"
938 name="qlcd_wp_chatbot_host"
939 value="<?php echo esc_attr((get_option('qlcd_wp_chatbot_host') != '' ? get_option('qlcd_wp_chatbot_host') : 'Our Store') ); ?> ">
940 </div>
941 <div class="form-group">
942 <h4 class="qc-opt-title">
943 <?php esc_html_e('Agent name', 'chatbot'); ?>
944 </h4>
945 <input type="text" class="form-control qc-opt-dcs-font"
946 name="qlcd_wp_chatbot_agent"
947 value="<?php echo (get_option('qlcd_wp_chatbot_agent') != '' ? esc_attr(get_option('qlcd_wp_chatbot_agent')) : 'Carrie'); ?>">
948 </div>
949 <div class="form-group">
950 <h4 class="qc-opt-title">
951 <?php esc_html_e('User demo name', 'chatbot'); ?>
952 </h4>
953 <input type="text" class="form-control qc-opt-dcs-font"
954 name="qlcd_wp_chatbot_shopper_demo_name"
955 value="<?php echo esc_attr((get_option('qlcd_wp_chatbot_shopper_demo_name') != '' ? get_option('qlcd_wp_chatbot_shopper_demo_name') : 'Amigo')); ?> ">
956 </div>
957 <div class="form-group">
958 <h4 class="qc-opt-title">
959 <?php esc_html_e('YES', 'chatbot'); ?>
960 </h4>
961 <input type="text" class="form-control qc-opt-dcs-font"
962 name="qlcd_wp_chatbot_yes"
963 value="<?php echo esc_attr((get_option('qlcd_wp_chatbot_yes') != '' ? get_option('qlcd_wp_chatbot_yes') : 'YES')); ?>">
964 </div>
965 <div class="form-group">
966 <h4 class="qc-opt-title">
967 <?php esc_html_e('NO', 'chatbot'); ?>
968 </h4>
969 <input type="text" class="form-control qc-opt-dcs-font"
970 name="qlcd_wp_chatbot_no"
971 value="<?php echo esc_attr((get_option('qlcd_wp_chatbot_no') != '' ? get_option('qlcd_wp_chatbot_no') : 'NO')); ?>">
972 </div>
973 <div class="form-group">
974 <h4 class="qc-opt-title">
975 <?php esc_html_e('OR', 'chatbot'); ?>
976 </h4>
977 <input type="text" class="form-control qc-opt-dcs-font"
978 name="qlcd_wp_chatbot_or"
979 value="<?php echo esc_attr((get_option('qlcd_wp_chatbot_or') != '' ? get_option('qlcd_wp_chatbot_or') : 'OR')); ?>">
980 </div>
981 <div class="form-group">
982 <h4 class="qc-opt-title">
983 <?php esc_html_e('Sorry', 'chatbot'); ?>
984 </h4>
985 <input type="text" class="form-control qc-opt-dcs-font "
986 name="qlcd_wp_chatbot_sorry"
987 value="<?php echo esc_attr((get_option('qlcd_wp_chatbot_sorry') != '' ? get_option('qlcd_wp_chatbot_sorry') : 'Sorry')); ?>">
988 </div>
989
990 <div class="form-group">
991 <?php
992 $agent_join_options = maybe_unserialize(get_option('qlcd_wp_chatbot_agent_join'));
993 $agent_join_option = 'qlcd_wp_chatbot_agent_join';
994 $agent_join_text = __('has joined the conversation', 'chatbot');
995 $this->qcld_wb_chatbot_dynamic_multi_option($agent_join_options, $agent_join_option, $agent_join_text);
996 ?>
997 </div>
998 </div>
999 <!--col-xs-12-->
1000 <div class="col-xs-12" id="wp-chatbot-language-section">
1001 <h4 class="text-success">
1002 <?php esc_html_e(' Message setting for Greetings: ', 'chatbot'); ?>
1003 </h4>
1004 <div class="form-group">
1005 <?php
1006 $welcome_to_options = maybe_unserialize(get_option('qlcd_wp_chatbot_welcome'));
1007 $welcome_to_option = 'qlcd_wp_chatbot_welcome';
1008 $welcome_to_text = esc_html('Welcome to');
1009 $this->qcld_wb_chatbot_dynamic_multi_option($welcome_to_options, $welcome_to_option, $welcome_to_text);
1010 ?>
1011 </div>
1012 <div class="form-group">
1013 <?php
1014 $welcome_back_options = maybe_unserialize(get_option('qlcd_wp_chatbot_welcome_back'));
1015 $welcome_back_option = 'qlcd_wp_chatbot_welcome_back';
1016 $welcome_back_text = esc_html('Welcome back');
1017 $this->qcld_wb_chatbot_dynamic_multi_option($welcome_back_options, $welcome_back_option, $welcome_back_text);
1018 ?>
1019 </div>
1020 <div class="form-group">
1021 <?php
1022 $back_to_start_options = maybe_unserialize(get_option('qlcd_wp_chatbot_back_to_start'));
1023 $back_to_start_option = 'qlcd_wp_chatbot_back_to_start';
1024 $back_to_start_text = esc_html('Back to Start');
1025 $this->qcld_wb_chatbot_dynamic_multi_option($back_to_start_options, $back_to_start_option, $back_to_start_text);
1026 ?>
1027 </div>
1028 <div class="form-group">
1029 <?php
1030 $hi_there_options = maybe_unserialize(get_option('qlcd_wp_chatbot_hi_there'));
1031 $hi_there_option = 'qlcd_wp_chatbot_hi_there';
1032 $hi_there_text = esc_html('Hi There!');
1033 $this->qcld_wb_chatbot_dynamic_multi_option($hi_there_options, $hi_there_option, $hi_there_text);
1034 ?>
1035 </div>
1036 <div class="form-group">
1037 <?php
1038 $hello_options = maybe_unserialize(get_option('qlcd_wp_chatbot_hello'));
1039 $hello_option = 'qlcd_wp_chatbot_hello';
1040 $hello_text = esc_html('Hello');
1041 $this->qcld_wb_chatbot_dynamic_multi_option($hello_options, $hello_option, $hello_text);
1042 ?>
1043 </div>
1044 <div class="form-group">
1045 <?php
1046 $asking_name_options = maybe_unserialize(get_option('qlcd_wp_chatbot_asking_name'));
1047 $asking_name_option = 'qlcd_wp_chatbot_asking_name';
1048 $asking_name_text = esc_html('May I know your name?');
1049 $this->qcld_wb_chatbot_dynamic_multi_option($asking_name_options, $asking_name_option, $asking_name_text);
1050 ?>
1051 </div>
1052 <div class="form-group">
1053 <?php
1054 $i_am_options = maybe_unserialize(get_option('qlcd_wp_chatbot_i_am'));
1055 $i_am_option = 'qlcd_wp_chatbot_i_am';
1056 $i_am_text = esc_html('I am');
1057 $this->qcld_wb_chatbot_dynamic_multi_option($i_am_options, $i_am_option, $i_am_text);
1058 ?>
1059 </div>
1060 <div class="form-group">
1061 <?php
1062 $name_greeting_options = maybe_unserialize(get_option('qlcd_wp_chatbot_name_greeting'));
1063 $name_greeting_option = 'qlcd_wp_chatbot_name_greeting';
1064 $name_greeting_text = esc_html('Nice to meet you');
1065 $this->qcld_wb_chatbot_dynamic_multi_option($name_greeting_options, $name_greeting_option, $name_greeting_text);
1066 ?>
1067 </div>
1068 <div class="form-group">
1069 <?php
1070 $wildcard_msg_options = maybe_unserialize(get_option('qlcd_wp_chatbot_wildcard_msg'));
1071 $wildcard_msg_option = 'qlcd_wp_chatbot_wildcard_msg';
1072 $wildcard_msg_text = esc_html('I am here to find what you need. What are you looking for?');
1073 $this->qcld_wb_chatbot_dynamic_multi_option($wildcard_msg_options, $wildcard_msg_option, $wildcard_msg_text);
1074 ?>
1075 </div>
1076 <div class="form-group">
1077 <?php
1078 $empty_filter_msgs = maybe_unserialize(get_option('qlcd_wp_chatbot_empty_filter_msg'));
1079 $empty_filter_msg = 'qlcd_wp_chatbot_empty_filter_msg';
1080 $empty_filter_msg_text = esc_html('Sorry, I did not understand that');
1081 $this->qcld_wb_chatbot_dynamic_multi_option($empty_filter_msgs, $empty_filter_msg, $empty_filter_msg_text);
1082 ?>
1083 </div>
1084 <div class="form-group">
1085 <?php
1086 $qlcd_wp_chatbot_did_you_mean = maybe_unserialize(get_option('qlcd_wp_chatbot_did_you_mean'));
1087 $qlcd_wp_chatbot_did_you_means = 'qlcd_wp_chatbot_did_you_mean';
1088 $wp_chatbot_no_result_text = esc_html('Did you mean?');
1089 $this->qcld_wb_chatbot_dynamic_multi_option($qlcd_wp_chatbot_did_you_mean, $qlcd_wp_chatbot_did_you_means, $wp_chatbot_no_result_text);
1090 ?>
1091 </div>
1092 <h4 class="text-success">
1093 <?php esc_html_e('Message setting for Editor Box ', 'chatbot'); ?>
1094 </h4>
1095 <div class="form-group">
1096 <?php
1097 $is_typing_options = maybe_unserialize(get_option('qlcd_wp_chatbot_is_typing'));
1098 $is_typing_option = 'qlcd_wp_chatbot_is_typing';
1099 $is_typing_text = esc_html('is typing...');
1100 $this->qcld_wb_chatbot_dynamic_multi_option($is_typing_options, $is_typing_option, $is_typing_text);
1101 ?>
1102 </div>
1103 <div class="form-group">
1104 <?php
1105 $send_a_msg_options = maybe_unserialize(get_option('qlcd_wp_chatbot_send_a_msg'));
1106 $send_a_msg_option = 'qlcd_wp_chatbot_send_a_msg';
1107 $send_a_msg_text = esc_html('Send a message');
1108 $this->qcld_wb_chatbot_dynamic_multi_option($send_a_msg_options, $send_a_msg_option, $send_a_msg_text);
1109 ?>
1110 </div>
1111 <div class="form-group">
1112 <?php
1113 $choose_option_options = maybe_unserialize(get_option('qlcd_wp_chatbot_choose_option'));
1114 $choose_option_option = 'qlcd_wp_chatbot_choose_option';
1115 $choose_option_text = esc_html('Choose an option');
1116 $this->qcld_wb_chatbot_dynamic_multi_option($choose_option_options, $choose_option_option, $choose_option_text);
1117 ?>
1118 </div>
1119 <div class="form-group">
1120 <?php
1121 $asking_email_options = maybe_unserialize(get_option('qlcd_wp_chatbot_asking_email'));
1122 $asking_email_option = 'qlcd_wp_chatbot_asking_email';
1123 $asking_email_text = esc_html('Please provide your email address');
1124 $this->qcld_wb_chatbot_dynamic_multi_option($asking_email_options, $asking_email_option, $asking_email_text);
1125 ?>
1126 </div>
1127 <div class="form-group">
1128 <?php
1129 $invalid_email_options = maybe_unserialize(get_option('qlcd_wp_chatbot_invalid_email'));
1130 $invalid_email_option = 'qlcd_wp_chatbot_invalid_email';
1131 $invalid_email_text = esc_html('Sorry, Email address is not valid! Please provide a valid email.');
1132 $this->qcld_wb_chatbot_dynamic_multi_option($invalid_email_options, $invalid_email_option, $invalid_email_text);
1133 ?>
1134 </div>
1135 <div class="form-group">
1136 <?php
1137 $asking_msg_options = maybe_unserialize(get_option('qlcd_wp_chatbot_asking_msg'));
1138 $asking_msg_option = 'qlcd_wp_chatbot_asking_msg';
1139 $asking_msg_text = esc_html('Thank you for email address. Please write your message now.');
1140 $this->qcld_wb_chatbot_dynamic_multi_option($asking_msg_options, $asking_msg_option, $asking_msg_text);
1141 ?>
1142 </div>
1143 <div class="form-group">
1144 <h4 class="qc-opt-title">
1145 <?php esc_html_e('WPBot Support Mail Subject', 'chatbot'); ?>
1146 </h4>
1147 <input type="text" class="form-control qc-opt-dcs-font"
1148 name="qlcd_wp_chatbot_email_sub"
1149 value="<?php echo esc_attr((get_option('qlcd_wp_chatbot_email_sub') != '' ? wp_unslash(get_option('qlcd_wp_chatbot_email_sub')) : 'Support Email Subject') ); ?>">
1150 </div>
1151 <div class="form-group">
1152 <?php
1153 $support_option_again_options = maybe_unserialize(get_option('qlcd_wp_chatbot_support_option_again'));
1154 $support_option_again_option = 'qlcd_wp_chatbot_support_option_again';
1155 $support_option_again_text = esc_html('You may choose option from below.');
1156 $this->qcld_wb_chatbot_dynamic_multi_option($support_option_again_options, $support_option_again_option, $support_option_again_text);
1157 ?>
1158 </div>
1159 <div class="form-group">
1160 <h4 class="qc-opt-title">
1161 <?php esc_html_e('Your email was sent successfully.Thanks!', 'chatbot'); ?>
1162 </h4>
1163 <input type="text" class="form-control qc-opt-dcs-font"
1164 name="qlcd_wp_chatbot_email_sent"
1165 value="<?php echo esc_attr((get_option('qlcd_wp_chatbot_email_sent') != '' ? get_option('qlcd_wp_chatbot_email_sent') : 'Your email was sent successfully.Thanks!')); ?> ">
1166 </div>
1167 <div class="form-group">
1168 <h4 class="qc-opt-title">
1169 <?php esc_html_e('Sorry! I could not send your mail! Please contact the webmaster.', 'chatbot'); ?>
1170 </h4>
1171 <input type="text" class="form-control qc-opt-dcs-font "
1172 name="qlcd_wp_chatbot_email_fail"
1173 value="<?php echo esc_attr((get_option('qlcd_wp_chatbot_email_fail') != '' ? wp_unslash(get_option('qlcd_wp_chatbot_email_fail')) : 'Sorry! fail to send email')); ?> ">
1174 </div>
1175
1176 <div class="form-group">
1177 <h4 class="qc-opt-title">
1178 <?php esc_html_e('Check the relevant pages for more details and up to date information:', 'chatbot'); ?>
1179 </h4>
1180 <input type="text" class="form-control qc-opt-dcs-font "
1181 name="qlcd_wp_chatbot_relevant_post_link_openai"
1182 value="<?php echo esc_attr((get_option('qlcd_wp_chatbot_relevant_post_link_openai') != '' ? wp_unslash(get_option('qlcd_wp_chatbot_relevant_post_link_openai')) : 'Check the relevant pages for more details and up to date information:')); ?> ">
1183 </div>
1184
1185 <div class="form-group">
1186 <?php
1187 $asking_phone_options = maybe_unserialize(get_option('qlcd_wp_chatbot_asking_phone'));
1188 $asking_phone_option = 'qlcd_wp_chatbot_asking_phone';
1189 $asking_phone_text = esc_html('Please provide your Phone number');
1190 $this->qcld_wb_chatbot_dynamic_multi_option($asking_phone_options, $asking_phone_option, $asking_phone_text);
1191 ?>
1192 </div>
1193 <div class="form-group">
1194 <?php
1195 $thanks_phone_options = maybe_unserialize(get_option('qlcd_wp_chatbot_thank_for_phone'));
1196 $thanks_phone_option = 'qlcd_wp_chatbot_thank_for_phone';
1197 $thanks_phone_text = esc_html('Thank you for Phone number');
1198 $this->qcld_wb_chatbot_dynamic_multi_option($thanks_phone_options, $thanks_phone_option, $thanks_phone_text);
1199 ?>
1200 </div>
1201 <div class="form-group">
1202 <h4 class="qc-opt-title">
1203 <?php esc_html_e('Thanks for your phone number. We will call you ASAP!', 'chatbot'); ?>
1204 </h4>
1205 <input type="text" class="form-control qc-opt-dcs-font"
1206 name="qlcd_wp_chatbot_phone_sent"
1207 value="<?php echo esc_attr((get_option('qlcd_wp_chatbot_phone_sent') != '' ?get_option('qlcd_wp_chatbot_phone_sent') : 'Thanks for your phone number. We will call you ASAP!')); ?> ">
1208 </div>
1209 <div class="form-group">
1210 <h4 class="qc-opt-title">
1211 <?php esc_html_e('Sorry! I could not collect phone number! Please contact the webmaster.', 'chatbot'); ?>
1212 </h4>
1213 <input type="text" class="form-control qc-opt-dcs-font"
1214 name="qlcd_wp_chatbot_phone_fail"
1215 value="<?php echo esc_attr((get_option('qlcd_wp_chatbot_phone_fail') != '' ? wp_unslash(get_option('qlcd_wp_chatbot_phone_fail')) : 'Sorry! I could not collect phone number!')); ?> ">
1216 </div>
1217
1218 <div class="form-group">
1219 <h4 class="qc-opt-title">
1220 <?php esc_html_e('Please enter your keyword for searching', 'chatbot'); ?>
1221 </h4>
1222 <input type="text" class="form-control qc-opt-dcs-font"
1223 name="qlcd_wp_chatbot_asking_search_keyword"
1224 value="<?php echo esc_attr((get_option('qlcd_wp_chatbot_asking_search_keyword') != '' ? wp_unslash(get_option('qlcd_wp_chatbot_asking_search_keyword')) : 'Please enter your keyword for searching')); ?> ">
1225 </div>
1226 <div class="form-group">
1227 <h4 class="qc-opt-title">
1228 <?php esc_html_e('We have found these results', 'chatbot'); ?>
1229 </h4>
1230 <input type="text" class="form-control qc-opt-dcs-font"
1231 name="qlcd_wp_chatbot_found_result"
1232 value="<?php echo esc_attr((get_option('qlcd_wp_chatbot_found_result') != '' ? wp_unslash(get_option('qlcd_wp_chatbot_found_result')) : 'We have found these results')); ?> ">
1233 </div>
1234 <div class="form-group">
1235 <?php
1236 $qlcd_wp_chatbot_product_fails = maybe_unserialize(get_option('qlcd_wp_chatbot_product_fail'));
1237 $qlcd_wp_chatbot_product_fail = 'qlcd_wp_chatbot_product_fail';
1238 $fail_text = esc_html('Sorry, I found nothing');
1239 $this->qcld_wb_chatbot_dynamic_multi_option($qlcd_wp_chatbot_product_fails, $qlcd_wp_chatbot_product_fail, $fail_text);
1240 ?>
1241 </div>
1242 </div>
1243 </div>
1244 </div>
1245 </div>
1246 <div id="wp-chatbot-lng-support" class="tab-pane fade">
1247 <div class="top-section">
1248 <div class="row">
1249 <div class="col-xs-12" id="wp-chatbot-language-section">
1250 <div class="form-group">
1251 <?php
1252 $support_welcome_options = maybe_unserialize(get_option('qlcd_wp_chatbot_support_welcome'));
1253 $support_welcome_option = 'qlcd_wp_chatbot_support_welcome';
1254 $support_welcome_text = esc_html('Welcome to FAQ Section');
1255 $this->qcld_wb_chatbot_dynamic_multi_option($support_welcome_options, $support_welcome_option, $support_welcome_text);
1256 ?>
1257 </div>
1258
1259
1260
1261 </div>
1262 </div>
1263 </div>
1264 </div>
1265 <div id="wp-chatbot-lng-reserve-keyword" class="tab-pane fade">
1266 <div class="top-section">
1267 <div class="row">
1268 <div class="col-xs-12" id="wp-chatbot-language-section">
1269 <div class="form-group">
1270 <h4 class="qc-opt-title">
1271 <?php esc_html_e('Start Keyword', 'chatbot'); ?>
1272 </h4>
1273 <input type="text" class="form-control qc-opt-dcs-font"
1274 name="qlcd_wp_chatbot_sys_key_help"
1275 value="<?php echo esc_attr((get_option('qlcd_wp_chatbot_sys_key_help') != '' ? get_option('qlcd_wp_chatbot_sys_key_help'): 'start')) ; ?> ">
1276 </div>
1277 <div class="form-group">
1278 <h4 class="qc-opt-title"><strong>
1279 <?php esc_html_e('FAQ', 'chatbot'); ?>
1280 </strong>
1281 <?php esc_html_e('Keyword', 'chatbot'); ?>
1282 </h4>
1283 <input type="text" class="form-control qc-opt-dcs-font"
1284 name="qlcd_wp_chatbot_sys_key_support"
1285 value="<?php echo esc_attr((get_option('qlcd_wp_chatbot_sys_key_support') != '' ? get_option('qlcd_wp_chatbot_sys_key_support') : 'faq')); ?> ">
1286 </div>
1287 <div class="form-group">
1288 <h4 class="qc-opt-title"><strong>
1289 <?php esc_html_e('Converstion History Clear', 'chatbot'); ?>
1290 </strong>
1291 <?php esc_html_e('Keyword', 'chatbot'); ?>
1292 </h4>
1293 <input type="text" class="form-control qc-opt-dcs-font"
1294 name="qlcd_wp_chatbot_sys_key_reset"
1295 value="<?php echo esc_attr((get_option('qlcd_wp_chatbot_sys_key_reset') != '' ? get_option('qlcd_wp_chatbot_sys_key_reset') : 'reset')); ?> ">
1296 </div>
1297 <div class="form-group">
1298 <h4 class="qc-opt-title"><strong>
1299 <?php esc_html_e('eMail', 'chatbot'); ?>
1300 </strong>
1301 <?php esc_html_e('Keyword to Send eMail', 'chatbot'); ?>
1302 </h4>
1303 <input type="text" class="form-control qc-opt-dcs-font"
1304 name="qlcd_wp_chatbot_sys_key_email"
1305 value="<?php echo esc_attr((get_option('qlcd_wp_chatbot_sys_key_email') != '' ? get_option('qlcd_wp_chatbot_sys_key_email'): 'email')); ?>">
1306 </div>
1307 <div class="form-group">
1308 <?php
1309 $help_welcome_options = maybe_unserialize(wp_kses_post(get_option('qlcd_wp_chatbot_help_welcome')));
1310 $help_welcome_option = 'qlcd_wp_chatbot_help_welcome';
1311 $help_welcome_text = esc_html('Welcome to Help Section');
1312 $this->qcld_wb_chatbot_dynamic_multi_option($help_welcome_options, $help_welcome_option, $help_welcome_text);
1313 ?>
1314 </div>
1315 <div class="form-group">
1316 <?php
1317 $help_msg_options = maybe_unserialize(wp_kses_post(get_option('qlcd_wp_chatbot_help_msg')));
1318 $help_msg_option = 'qlcd_wp_chatbot_help_msg';
1319 $help_msg_text = '<b>Type and Hit Enter</b><br><ul><li> <b>start</b> to Get back to the main menu. </li><li> <b>faq</b> for FAQ. </li><li> <b>email </b> to send eMail </li><li> <b>reset</b> to restart the chat</li></ul>';
1320 $this->qcld_wb_chatbot_dynamic_multi_option($help_msg_options, $help_msg_option, $help_msg_text);
1321 ?>
1322 </div>
1323 <div class="form-group">
1324 <?php
1325 $reset_options = maybe_unserialize(wp_kses_post(get_option('qlcd_wp_chatbot_reset')));
1326 $reset_option = 'qlcd_wp_chatbot_reset';
1327 $reset_text = esc_html('Do you want to clear our chat history and start over?' );
1328 $this->qcld_wb_chatbot_dynamic_multi_option($reset_options, $reset_option, $reset_text);
1329 ?>
1330 </div>
1331 </div>
1332 <!-- col-xs-12-->
1333 </div>
1334 <!-- row-->
1335 </div>
1336 <!-- top-section-->
1337 </div>
1338 </div>
1339 <!-- tab-content-->
1340 </section>
1341 <section id="section-flip-51">
1342 <!-- <div class="<?php // esc_attr_e( 'cxsc-settings-blocks-notic" style="<?php // echo esc_attr('background: #2271B1'); ?>">
1343 <p class="<?php // esc_attr_e( 'd-ib"><?php // esc_html_e('New horizontal/wide template is now available. Select from Icons and Themes', 'chatbot'); ?>
1344 </div> -->
1345 <div class="wp-chatbot-socail-btn-summmery"> </div>
1346
1347 <div class="tab-content">
1348 <div id="wp-chatbot-lng-general" class="tab-pane fade in active">
1349 <div class="top-section">
1350 <div class="row">
1351 <div class="col-xs-12" id="wp-chatbot-socila-btn">
1352
1353
1354
1355 <div class="form-group">
1356 <h4 class="qc-opt-title"> <?php echo esc_html__( 'Enable Chat Reactions for analytics (Like & Dislike)', 'chatbot' ); ?> </h4>
1357 <div class="cxsc-settings-blocks">
1358 <input value="1" id="skip_chat_reactions_menu" type="checkbox"
1359 name="skip_chat_reactions_menu" <?php echo( get_option( 'skip_chat_reactions_menu', 1 ) == 1 ? 'checked' : '' ); ?>>
1360 <label for="skip_chat_reactions_menu"><?php echo esc_html__( 'Enable Chat Reactions for analytics (Like & Dislike)', 'chatbot' ); ?> </label>
1361 </div>
1362 </div>
1363 <div class="form-group">
1364 <h4 class="qc-opt-title">
1365 <?php esc_html_e('Like Text', 'chatbot'); ?>
1366 </h4>
1367 <input type="text" class="form-control qc-opt-dcs-font "
1368 name="qlcd_wp_chatbot_like_text"
1369 value="<?php echo esc_attr((get_option('qlcd_wp_chatbot_like_text') != '' ? get_option('qlcd_wp_chatbot_like_text') : 'Like')); ?>">
1370 </div>
1371 <div class="form-group">
1372 <h4 class="qc-opt-title">
1373 <?php esc_html_e('Dislike Text', 'chatbot'); ?>
1374 </h4>
1375 <input type="text" class="form-control qc-opt-dcs-font "
1376 name="qlcd_wp_chatbot_dislike_text"
1377 value="<?php echo esc_attr((get_option('qlcd_wp_chatbot_dislike_text') != '' ? get_option('qlcd_wp_chatbot_dislike_text') : 'Dislike')); ?>">
1378 </div>
1379
1380 <div class="form-group">
1381 <h4 class="qc-opt-title"> <?php echo esc_html__( 'Enable Reporting Message', 'wpchatbot' ); ?> </h4>
1382 <div class="cxsc-settings-blocks">
1383 <input value="1" id="enable_chat_report_menu" type="checkbox"
1384 name="enable_chat_report_menu" <?php echo( get_option( 'enable_chat_report_menu', 1 ) == 1 ? 'checked' : '' ); ?>>
1385 <label for="enable_chat_report_menu"><?php echo esc_html__( 'Enable Reporting Message', 'wpchatbot' ); ?> </label>
1386 </div>
1387 </div>
1388 <div class="form-group">
1389 <h4 class="qc-opt-title">
1390 <?php esc_html_e('Report this Message', 'chatbot'); ?>
1391 </h4>
1392 <input type="text" class="form-control qc-opt-dcs-font "
1393 name="qlcd_wp_chatbot_report_text"
1394 value="<?php echo esc_attr((get_option('qlcd_wp_chatbot_report_text') != '' ? get_option('qlcd_wp_chatbot_report_text') : 'Report')); ?>">
1395 </div>
1396 <div class="form-group">
1397 <h4 class="qc-opt-title"> <?php echo esc_html__( 'Enable Chat Share', 'wpchatbot' ); ?> </h4>
1398 <div class="cxsc-settings-blocks">
1399 <input value="1" id="enable_chat_share_menu" type="checkbox"
1400 name="enable_chat_share_menu" <?php echo( get_option( 'enable_chat_share_menu', 1 ) == 1 ? 'checked' : '' ); ?>>
1401 <label for="enable_chat_share_menu"><?php echo esc_html__( 'Enable Chat Share', 'wpchatbot' ); ?> </label>
1402 </div>
1403 </div>
1404 <div class="form-group">
1405 <h4 class="qc-opt-title">
1406 <?php esc_html_e('Share', 'chatbot'); ?>
1407 </h4>
1408 <input type="text" class="form-control qc-opt-dcs-font "
1409 name="qlcd_wp_chatbot_share_text"
1410 value="<?php echo esc_attr((get_option('qlcd_wp_chatbot_share_text') != '' ? get_option('qlcd_wp_chatbot_share_text') : 'Share')); ?>">
1411 </div>
1412
1413 </div>
1414
1415 </div>
1416 </div>
1417 </div>
1418
1419 </div>
1420 <!-- tab-content-->
1421 </section>
1422
1423 <section id="section-flip-3">
1424 <!-- <div class="<?php // esc_attr_e( 'cxsc-settings-blocks-notic" style="<?php // echo esc_attr('background: #2271B1'); ?>">
1425 <p class="<?php // esc_attr_e( 'd-ib"><?php // esc_html_e('New horizontal/wide template is now available. Select from Icons and Themes', 'chatbot'); ?>
1426 </div> -->
1427 <ul class="nav nav-tabs">
1428 <li class="active"><a data-toggle="tab" href="#wp-chatbot-icon-theme-settings"><?php esc_html_e('Icons & Themes', 'chatbot'); ?></a></li>
1429 <li><a data-toggle="tab" href="#wp-chatbot-custom-color-options"><?php esc_html_e('Custom Style Options', 'chatbot'); ?></a></li>
1430 </ul>
1431 <div class="tab-content">
1432 <div id="wp-chatbot-icon-theme-settings" class="tab-pane fade in active">
1433 <div class="top-section">
1434 <div class="row">
1435 <div class="col-xs-12">
1436
1437 <h3 class="qcld-wpbot-main-tabs-title">
1438 <?php esc_html_e('WPBot Icon', 'chatbot'); ?>
1439 </h3>
1440 <div class="cxsc-settings-blocks">
1441 <ul class="radio-list">
1442
1443 <li>
1444 <label for="wp_chatbot_icon_0" class="qc-opt-dcs-font"><img src="<?php echo esc_url(QCLD_wpCHATBOT_IMG_URL); ?>/icon-0.png" alt="">
1445 <input id="wp_chatbot_icon_0" type="radio"
1446 name="wp_chatbot_icon" <?php echo(get_option('wp_chatbot_icon') == 'icon-0.png' ? esc_attr('checked' ): ''); ?>
1447 value="<?php echo esc_attr('icon-0.png'); ?>">
1448 <?php esc_html_e('Icon - 0', 'chatbot'); ?>
1449 </label>
1450 </li>
1451 <li>
1452 <label for="wp_chatbot_icon_1" class="qc-opt-dcs-font"><img src="<?php echo esc_url(QCLD_wpCHATBOT_IMG_URL); ?>/icon-1.png"
1453 alt="">
1454 <input id="wp_chatbot_icon_1" type="radio"
1455 name="wp_chatbot_icon" <?php echo(get_option('wp_chatbot_icon') == 'icon-1.png' ? esc_attr('checked' ): ''); ?>
1456 value="<?php echo esc_attr('icon-1.png'); ?>">
1457 <?php esc_html_e('Icon - 1', 'chatbot'); ?>
1458 </label>
1459 </li>
1460 <li>
1461 <label for="wp_chatbot_icon_2" class="qc-opt-dcs-font"><img src="<?php echo esc_url(QCLD_wpCHATBOT_IMG_URL); ?>/icon-2.png"
1462 alt="">
1463 <input id="wp_chatbot_icon_2" type="radio"
1464 name="wp_chatbot_icon" <?php echo(get_option('wp_chatbot_icon') == 'icon-2.png' ? esc_attr('checked' ): ''); ?>
1465 value="<?php echo esc_attr('icon-2.png'); ?>">
1466 <?php esc_html_e('Icon - 2', 'chatbot'); ?>
1467 </label>
1468 </li>
1469 <li>
1470 <label for="wp_chatbot_icon_3" class="qc-opt-dcs-font"><img src="<?php echo esc_url(QCLD_wpCHATBOT_IMG_URL); ?>/icon-3.png"
1471 alt="">
1472 <input id="wp_chatbot_icon_3" type="radio"
1473 name="wp_chatbot_icon" <?php echo(get_option('wp_chatbot_icon') == 'icon-3.png' ? esc_attr('checked' ): ''); ?>
1474 value="<?php echo esc_attr('icon-3.png'); ?>">
1475 <?php esc_html_e('Icon - 3', 'chatbot'); ?>
1476 </label>
1477 </li>
1478 <li>
1479 <label for="wp_chatbot_icon_4" class="qc-opt-dcs-font"><img src="<?php echo esc_url(QCLD_wpCHATBOT_IMG_URL); ?>/icon-4.png"
1480 alt="' ">
1481 <input id="wp_chatbot_icon_4" type="radio"
1482 name="wp_chatbot_icon" <?php echo(get_option('wp_chatbot_icon') == 'icon-4.png' ? esc_attr('checked'): ''); ?>
1483 value="<?php echo esc_attr('icon-4.png'); ?>">
1484 <?php esc_html_e('Icon - 4', 'chatbot'); ?>
1485 </label>
1486 </li>
1487 <li>
1488 <label for="wp_chatbot_icon_5" class="qc-opt-dcs-font"><img src="<?php echo esc_url(QCLD_wpCHATBOT_IMG_URL); ?>/icon-5.png"
1489 alt="">
1490 <input id="wp_chatbot_icon_5" type="radio"
1491 name="wp_chatbot_icon" <?php echo(get_option('wp_chatbot_icon') == 'icon-5.png' ? esc_attr('checked' ): ''); ?>
1492 value="<?php echo esc_attr('icon-5.png'); ?>">
1493 <?php esc_html_e('Icon - 5', 'chatbot'); ?>
1494 </label>
1495 </li>
1496 <li>
1497 <label for="wp_chatbot_icon_6" class="qc-opt-dcs-font"><img src="<?php echo esc_url(QCLD_wpCHATBOT_IMG_URL); ?>/icon-6.png"
1498 alt=" ">
1499 <input id="wp_chatbot_icon_6" type="radio"
1500 name="wp_chatbot_icon" <?php echo(get_option('wp_chatbot_icon') == 'icon-6.png' ? esc_attr('checked' ): ''); ?>
1501 value="<?php echo esc_attr('icon-6.png'); ?>">
1502 <?php esc_html_e('Icon - 6', 'chatbot'); ?>
1503 </label>
1504 </li>
1505 <li>
1506 <label for="wp_chatbot_icon_7" class="qc-opt-dcs-font"><img src="<?php echo esc_url(QCLD_wpCHATBOT_IMG_URL); ?>/icon-7.png"
1507 alt=" ">
1508 <input id="wp_chatbot_icon_7" type="radio"
1509 name="wp_chatbot_icon" <?php echo(get_option('wp_chatbot_icon') == 'icon-7.png' ? esc_attr('checked' ): ''); ?>
1510 value="<?php echo esc_attr('icon-7.png'); ?>">
1511 <?php esc_html_e('Icon - 7', 'chatbot'); ?>
1512 </label>
1513 </li>
1514 <li>
1515 <label for="wp_chatbot_icon_8" class="qc-opt-dcs-font"><img src="<?php echo esc_url(QCLD_wpCHATBOT_IMG_URL); ?>/icon-8.png"
1516 alt="">
1517 <input id="wp_chatbot_icon_8" type="radio"
1518 name="wp_chatbot_icon" <?php echo(get_option('wp_chatbot_icon') == 'icon-8.png' ? esc_attr('checked' ): ''); ?>
1519 value="<?php echo esc_attr('icon-8.png'); ?>">
1520 <?php esc_html_e('Icon - 8', 'chatbot'); ?>
1521 </label>
1522 </li>
1523 <li>
1524 <label for="wp_chatbot_icon_9" class="qc-opt-dcs-font"><img src="<?php echo esc_url(QCLD_wpCHATBOT_IMG_URL); ?>/icon-9.png"
1525 alt=" ">
1526 <input id="wp_chatbot_icon_9" type="radio"
1527 name="wp_chatbot_icon" <?php echo(get_option('wp_chatbot_icon') == 'icon-9.png' ? esc_attr('checked' ): ''); ?>
1528 value="<?php echo esc_attr('icon-9.png'); ?>">
1529 <?php esc_html_e('Icon - 9', 'chatbot'); ?>
1530 </label>
1531 </li>
1532 <li>
1533 <label for="wp_chatbot_icon_10" class="qc-opt-dcs-font"><img src="<?php echo esc_url(QCLD_wpCHATBOT_IMG_URL); ?>/icon-10.png"
1534 alt=" ">
1535 <input id="wp_chatbot_icon_10" type="radio"
1536 name="wp_chatbot_icon" <?php echo(get_option('wp_chatbot_icon') == 'icon-10.png' ? esc_attr('checked' ): ''); ?>
1537 value="<?php echo esc_attr('icon-10.png'); ?>">
1538 <?php esc_html_e('Icon - 10', 'chatbot'); ?>
1539 </label>
1540 </li>
1541 <li>
1542 <label for="wp_chatbot_icon_11" class="qc-opt-dcs-font"><img src="<?php echo esc_url(QCLD_wpCHATBOT_IMG_URL); ?>/icon-11.png"
1543 alt="">
1544 <input id="wp_chatbot_icon_11" type="radio"
1545 name="wp_chatbot_icon" <?php echo(get_option('wp_chatbot_icon') == 'icon-11.png' ? esc_attr('checked' ): ''); ?>
1546 value="<?php echo esc_attr('icon-11.png'); ?>">
1547 <?php esc_html_e('Icon - 11', 'chatbot'); ?>
1548 </label>
1549 </li>
1550 <li>
1551 <label for="wp_chatbot_icon_12" class="qc-opt-dcs-font"><img src="<?php echo esc_url(QCLD_wpCHATBOT_IMG_URL); ?>/icon-12.png"
1552 alt="">
1553 <input id="wp_chatbot_icon_12" type="radio"
1554 name="wp_chatbot_icon" <?php echo(get_option('wp_chatbot_icon') == 'icon-12.png' ? esc_attr('checked' ): ''); ?>
1555 value="<?php echo esc_attr('icon-12.png'); ?>">
1556 <?php esc_html_e('Icon - 12', 'chatbot'); ?>
1557 </label>
1558 </li>
1559
1560 <li>
1561 <label for="wp_chatbot_icon_13" class="qc-opt-dcs-font"><img src="<?php echo esc_url(QCLD_wpCHATBOT_IMG_URL); ?>/icon-13.png"
1562 alt="">
1563 <input id="wp_chatbot_icon_13" type="radio"
1564 name="wp_chatbot_icon" <?php echo(get_option('wp_chatbot_icon') == 'icon-13.png' ? esc_attr('checked' ): ''); ?>
1565 value="<?php echo esc_attr('icon-13.png'); ?>">
1566 <?php esc_html_e('Icon - 13', 'chatbot'); ?>
1567 </label>
1568 </li>
1569 <li>
1570 <?php
1571 if (get_option('wp_chatbot_custom_icon_path') != "") {
1572 $wp_chatbot_custom_icon_path = get_option('wp_chatbot_custom_icon_path');
1573 } else {
1574 $wp_chatbot_custom_icon_path = esc_url(QCLD_wpCHATBOT_IMG_URL) . 'custom.png';
1575 }
1576 ?>
1577 <label for="wp_chatbot_custom_icon_input" class="qc-opt-dcs-font"> <img id="wp_chatbot_custom_icon_src "
1578 src="<?php echo esc_url($wp_chatbot_custom_icon_path); ?>" alt=" ">
1579 <input id="wp_chatbot_custom_icon_input" type="radio"
1580 name="wp_chatbot_icon"
1581 value="<?php echo esc_attr('custom.png' ); ?>" <?php echo(get_option('wp_chatbot_icon') == 'custom.png' ? esc_attr('checked' ): ''); ?>>
1582 <?php esc_html_e('Custom Icon', 'chatbot'); ?>
1583 </label>
1584 </li>
1585 </ul>
1586 </div>
1587 <!-- cxsc-settings-blocks-->
1588
1589 <div class="row">
1590 <div class="col-xs-12">
1591 <div class="cxsc-settings-blocks">
1592 <div class="form-group">
1593 <h4 class="qc-opt-title">
1594 <?php esc_html_e('WPBot Icon Background Color.', 'chatbot'); ?>
1595 </h4>
1596 <input id="wp_chatbot_floatingiconbg_color" type="text" name="wp_chatbot_floatingiconbg_color" value="<?php echo esc_attr((get_option('wp_chatbot_floatingiconbg_color') != '' ? get_option('wp_chatbot_floatingiconbg_color'): '#fff') ); ?>"/>
1597 </div>
1598 </div>
1599 </div>
1600 </div>
1601 <div class="row">
1602 <div class="col-xs-12">
1603 <div class="form-group">
1604 <h4 class="qc-opt-title">
1605 <?php esc_html_e(' Upload custom Icon ', 'chatbot'); ?> <span class="small"><span class="text-danger"><?php esc_html_e('** If you select custom icon, you must upload an icon image.', 'chatbot'); ?></span></span>
1606 </h4>
1607 <div class="cxsc-settings-blocks">
1608 <input type="hidden" name="wp_chatbot_custom_icon_path"
1609 id="wp_chatbot_custom_icon_path"
1610 value="<?php echo esc_attr( $wp_chatbot_custom_icon_path ); ?>"/>
1611 <button type="button" class="qcld_chatbot_custom_icon_button button">
1612 <?php esc_html_e('Upload Icon', 'chatbot'); ?>
1613 </button>
1614 </div>
1615 </div>
1616 </div>
1617 </div>
1618
1619
1620
1621 <div class="row">
1622 <div class="col-xs-12">
1623 <div class="form-group">
1624 <h4 class="qc-opt-title">
1625 <?php esc_html_e(' WPBot Agent Image', 'chatbot'); ?>
1626 </h4>
1627 <div class="cxsc-settings-blocks">
1628 <ul class="radio-list radio-list-custom">
1629 <li>
1630 <label for="wp_chatbot_agent_image_def" class="qc-opt-dcs-font"> <img src="<?php echo esc_url(QCLD_wpCHATBOT_IMG_URL); ?>icon-13.png"
1631 alt="">
1632 <input id="wp_chatbot_agent_image_def" type="radio"
1633 name="wp_chatbot_agent_image" <?php echo(get_option('wp_chatbot_agent_image') == 'agent-0.png' ? esc_attr('checked' ): ''); ?>
1634 value="agent-0.png">
1635 <?php esc_html_e('Default Agent', 'chatbot'); ?>
1636 </label>
1637 </li>
1638 <li>
1639
1640 <?php
1641 if (get_option('wp_chatbot_custom_agent_path') != "") {
1642 $wp_chatbot_custom_agent_path = get_option('wp_chatbot_custom_agent_path');
1643 } else {
1644 $wp_chatbot_custom_agent_path = esc_url(QCLD_wpCHATBOT_IMG_URL) . 'custom.png';
1645 }
1646 ?>
1647
1648 <label for="wp_chatbot_agent_image_custom" class="qc-opt-dcs-font"> <img id="wp_chatbot_custom_agent_src"
1649 src="<?php echo esc_url($wp_chatbot_custom_agent_path); ?>"
1650 alt="Agent">
1651 <input type="radio" name="wp_chatbot_agent_image"
1652 id="wp_chatbot_agent_image_custom"
1653 value="<?php echo esc_attr('custom-agent.png' ); ?>" <?php echo(get_option('wp_chatbot_agent_image') == 'custom-agent.png' ? esc_attr('checked' ): ''); ?>>
1654 <?php esc_html_e('Custom Agent', 'chatbot'); ?></label>
1655
1656 </li>
1657 </ul>
1658 </div>
1659 <!-- cxsc-settings-blocks-->
1660 </div>
1661 </div>
1662 </div>
1663 </div>
1664 </div>
1665 </div>
1666 <div class="top-section">
1667 <div class="row">
1668 <div class="col-xs-12">
1669 <div class="form-group">
1670 <h4 class="qc-opt-title">
1671 <?php esc_html_e('Custom Agent Icon', 'chatbot'); ?>
1672 </h4>
1673 <div class="cxsc-settings-blocks">
1674 <input type="hidden" name="wp_chatbot_custom_agent_path"
1675 id="wp_chatbot_custom_agent_path"
1676 value="<?php echo esc_attr( $wp_chatbot_custom_agent_path ); ?>"/>
1677 <button type="button" class="wp_chatbot_custom_agent_button button">
1678 <?php esc_html_e('Upload Agent Icon', 'chatbot'); ?>
1679 </button>
1680 </div>
1681 </div>
1682 </div>
1683 </div>
1684 </div>
1685 <div id="top-section">
1686 <div class="form-group">
1687 <div class="row">
1688 <div class="col-sm-12">
1689 <h4 class="qc-opt-title">
1690 <?php esc_html_e('WPBot Themes', 'chatbot'); ?>
1691 </h4>
1692 </div>
1693 </div>
1694 <div class="row qcld_thumbnail_theme_prev">
1695 <div class="col-sm-3">
1696 <label for="qcld_wb_chatbot_theme_0"> <img class="thumbnail theme_prev"
1697 src="<?php echo esc_url(QCLD_wpCHATBOT_IMG_URL); ?>templates/template-00.JPG"
1698 alt="Theme Basic">
1699 <input id="qcld_wb_chatbot_theme_0" type="radio"
1700 name="qcld_wb_chatbot_theme" <?php echo(get_option('qcld_wb_chatbot_theme') == 'template-00' ? esc_attr('checked' ): ''); ?>
1701 value="template-00">
1702 <?php esc_html_e('Theme Basic', 'chatbot'); ?>
1703 </label>
1704 </div>
1705 <div class="col-sm-3">
1706 <label for="qcld_wb_chatbot_theme_1"> <img class="thumbnail theme_prev"
1707 src="<?php echo esc_url(QCLD_wpCHATBOT_IMG_URL); ?>templates/template-01.JPG"
1708 alt="Theme Basic">
1709 <input id="qcld_wb_chatbot_theme_1" type="radio"
1710 name="qcld_wb_chatbot_theme" <?php echo(get_option('qcld_wb_chatbot_theme') == 'template-01' ? esc_attr('checked' ): ''); ?>
1711 value="template-01">
1712 <?php esc_html_e('Theme One', 'chatbot'); ?>
1713 </label>
1714 </div>
1715 <div class="col-sm-6">
1716 <label for="qcld_wb_chatbot_theme_horizontal"> <img class="thumbnail theme_prev"
1717 src="<?php echo esc_url(QCLD_wpCHATBOT_IMG_URL); ?>templates/horizontal.png"
1718 alt="Theme horizontal">
1719 <input id="qcld_wb_chatbot_theme_horizontal" type="radio"
1720 name="qcld_wb_chatbot_theme" <?php echo(get_option('qcld_wb_chatbot_theme') == 'template-horizontal' ? esc_attr('checked' ): ''); ?>
1721 value="template-horizontal">
1722 <?php esc_html_e('Theme Horizontal', 'chatbot'); ?>
1723 </label>
1724 </div>
1725 </div>
1726 </div>
1727 </div>
1728 </div>
1729
1730
1731 <div id="wp-chatbot-custom-color-options" class="tab-pane fade">
1732 <div class="top-section">
1733 <div class="row">
1734
1735 <div class="col-xs-6">
1736 <div class="cxsc-settings-blocks cxsc-settings-blocks-style">
1737 <div class="form-group">
1738 <h4 class="qc-opt-title">
1739 <?php esc_html_e('Custom Style Options', 'chatbot'); ?>
1740 </h4>
1741 <div class="cxsc-settings-blocks">
1742 <input value="1" id="enable_wp_chatbot_custom_color" type="checkbox"
1743 name="enable_wp_chatbot_custom_color" <?php echo(get_option('enable_wp_chatbot_custom_color') == 1 ? esc_attr('checked' ): ''); ?>>
1744 <label for="enable_wp_chatbot_custom_color">
1745 <?php esc_html_e('Enable Custom Styles ', 'wpbot'); ?>
1746 </label>
1747 </div>
1748 </div>
1749 </div>
1750 </div>
1751 <div class="col-xs-6">
1752 <div class="cxsc-settings-blocks">
1753 <div class="form-group">
1754 <h4 class="qc-opt-title">
1755 <?php esc_html_e('Text Color.', 'chatbot'); ?>
1756 </h4>
1757 <input id="wp_chatbot_text_color" type="text"
1758 name="wp_chatbot_text_color"
1759 value="<?php echo esc_attr((get_option('wp_chatbot_text_color') != '' ? get_option('wp_chatbot_text_color') : '#37424c')); ?>"/>
1760 </div>
1761 </div>
1762 </div>
1763 <div class="col-xs-6">
1764 <div class="cxsc-settings-blocks">
1765 <div class="form-group">
1766 <h4 class="qc-opt-title">
1767 <?php esc_html_e('Link Color.', 'chatbot'); ?>
1768 </h4>
1769 <input id="wp_chatbot_link_color" type="text"
1770 name="wp_chatbot_link_color"
1771 value="<?php echo esc_attr((get_option('wp_chatbot_link_color') != '' ? get_option('wp_chatbot_link_color') : '#e2cc1f')); ?>"/>
1772 </div>
1773 </div>
1774 </div>
1775 <div class="col-xs-6">
1776 <div class="cxsc-settings-blocks">
1777 <div class="form-group">
1778 <h4 class="qc-opt-title">
1779 <?php esc_html_e('Link Hover Color.', 'chatbot'); ?>
1780 </h4>
1781 <input id="wp_chatbot_link_hover_color" type="text"
1782 name="wp_chatbot_link_hover_color"
1783 value="<?php echo esc_attr((get_option('wp_chatbot_link_hover_color') != '' ? get_option('wp_chatbot_link_hover_color') : '#734006')); ?>"/>
1784 </div>
1785 </div>
1786 </div>
1787 <div class="col-xs-6">
1788 <div class="cxsc-settings-blocks">
1789 <div class="form-group">
1790 <h4 class="qc-opt-title">
1791 <?php esc_html_e('Bot Message Background Color.', 'chatbot'); ?>
1792 </h4>
1793 <input id="wp_chatbot_bot_msg_bg_color" type="text"
1794 name="wp_chatbot_bot_msg_bg_color"
1795 value="<?php echo esc_attr((get_option('wp_chatbot_bot_msg_bg_color') != '' ? get_option('wp_chatbot_bot_msg_bg_color'): '#1f8ceb')) ; ?>"/>
1796 </div>
1797 </div>
1798 </div>
1799 <div class="col-xs-6">
1800 <div class="cxsc-settings-blocks">
1801 <div class="form-group">
1802 <h4 class="qc-opt-title">
1803 <?php esc_html_e('Bot Message Text Color.', 'chatbot'); ?>
1804 </h4>
1805 <input id="wp_chatbot_bot_msg_text_color" type="text"
1806 name="wp_chatbot_bot_msg_text_color"
1807 value="<?php echo esc_attr((get_option('wp_chatbot_bot_msg_text_color') != '' ? get_option('wp_chatbot_bot_msg_text_color') : '#ffffff')); ?>"/>
1808 </div>
1809 </div>
1810 </div>
1811 <div class="col-xs-6">
1812 <div class="cxsc-settings-blocks">
1813 <div class="form-group">
1814 <h4 class="qc-opt-title">
1815 <?php esc_html_e('User Message Background Color.', 'chatbot'); ?>
1816 </h4>
1817 <input id="wp_chatbot_user_msg_bg_color" type="text"
1818 name="wp_chatbot_user_msg_bg_color"
1819 value="<?php echo esc_attr((get_option('wp_chatbot_user_msg_bg_color') != '' ? get_option('wp_chatbot_user_msg_bg_color') : '#ffffff') ); ?>"/>
1820 </div>
1821 </div>
1822 </div>
1823 <div class="col-xs-6">
1824 <div class="cxsc-settings-blocks">
1825 <div class="form-group">
1826 <h4 class="qc-opt-title">
1827 <?php esc_html_e('User Message Text Color.', 'chatbot'); ?>
1828 </h4>
1829 <input id="wp_chatbot_user_msg_text_color" type="text"
1830 name="wp_chatbot_user_msg_text_color"
1831 value="<?php echo esc_attr((get_option('wp_chatbot_user_msg_text_color') != '' ? get_option('wp_chatbot_user_msg_text_color') : '#000000')); ?>"/>
1832 </div>
1833 </div>
1834 </div>
1835 <div class="col-xs-6">
1836 <div class="cxsc-settings-blocks">
1837 <div class="form-group">
1838 <h4 class="qc-opt-title">
1839 <?php esc_html_e('Buttons Background Color.', 'chatbot'); ?>
1840 </h4>
1841 <input id="wp_chatbot_buttons_bg_color" type="text"
1842 name="wp_chatbot_buttons_bg_color"
1843 value="<?php echo esc_attr((get_option('wp_chatbot_buttons_bg_color') != '' ?get_option('wp_chatbot_buttons_bg_color'): '#1f8ceb')) ; ?>"/>
1844 </div>
1845 </div>
1846 </div>
1847 <div class="col-xs-6">
1848 <div class="cxsc-settings-blocks">
1849 <div class="form-group">
1850 <h4 class="qc-opt-title">
1851 <?php esc_html_e('Buttons Hover Background Color.', 'chatbot'); ?>
1852 </h4>
1853 <input id="wp_chatbot_buttons_bg_color" type="text"
1854 name="wp_chatbot_buttons_bg_color_hover"
1855 value="<?php echo esc_attr((get_option('wp_chatbot_buttons_bg_color_hover') != '' ? get_option('wp_chatbot_buttons_bg_color_hover') : '#1f8ceb')); ?>"/>
1856 </div>
1857 </div>
1858 </div>
1859 <div class="col-xs-6">
1860 <div class="cxsc-settings-blocks">
1861 <div class="form-group">
1862 <h4 class="qc-opt-title">
1863 <?php esc_html_e('Buttons Text Color.', 'chatbot'); ?>
1864 </h4>
1865 <input id="wp_chatbot_buttons_text_color" type="text"
1866 name="wp_chatbot_buttons_text_color"
1867 value="<?php echo esc_attr((get_option('wp_chatbot_buttons_text_color') != '' ? get_option('wp_chatbot_buttons_text_color') : '#ffffff')); ?>"/>
1868 </div>
1869 </div>
1870 </div>
1871 <div class="col-xs-6">
1872 <div class="cxsc-settings-blocks">
1873 <div class="form-group">
1874 <h4 class="qc-opt-title">
1875 <?php esc_html_e('Buttons Text Color Hover.', 'chatbot'); ?>
1876 </h4>
1877 <input id="wp_chatbot_buttons_text_color" type="text"
1878 name="wp_chatbot_buttons_text_color_hover"
1879 value="<?php echo esc_attr((get_option('wp_chatbot_buttons_text_color_hover') != '' ? get_option('wp_chatbot_buttons_text_color_hover') : '#ffffff')); ?>"/>
1880 </div>
1881 </div>
1882 </div>
1883 <div class="col-xs-6">
1884 <div class="cxsc-settings-blocks">
1885 <div class="form-group">
1886 <h4 class="qc-opt-title">
1887 <?php esc_html_e('Header background Color', 'chatbot'); ?>
1888 </h4>
1889 <input id="wp_chatbot_header_background_color" type="text"
1890 name="wp_chatbot_header_background_color"
1891 value="<?php echo esc_attr((get_option('wp_chatbot_header_background_color') != '' ? get_option('wp_chatbot_header_background_color'): '#ffffff')); ?>"/>
1892 </div>
1893 </div>
1894 </div>
1895 <div class="col-xs-6">
1896 <div class="cxsc-settings-blocks">
1897 <div class="form-group">
1898 <h4 class="qc-opt-title">
1899 <?php esc_html_e('Theme Primary Color', 'chatbot'); ?>
1900 </h4>
1901 <input id="wp_chatbot_theme_primary_color" type="text"
1902 name="wp_chatbot_theme_primary_color"
1903 value="<?php echo esc_attr((get_option('wp_chatbot_theme_primary_color') != '' ? get_option('wp_chatbot_theme_primary_color') : '#ffffff')); ?>"/>
1904 </div>
1905 </div>
1906 </div>
1907 <div class="col-xs-6">
1908 <div class="cxsc-settings-blocks">
1909 <div class="form-group">
1910 <h4 class="qc-opt-title">
1911 <?php esc_html_e('Theme Secondary Color', 'chatbot'); ?>
1912 </h4>
1913 <input id="wp_chatbot_theme_secondary_color" type="text"
1914 name="wp_chatbot_theme_secondary_color"
1915 value="<?php echo esc_attr((get_option('wp_chatbot_theme_secondary_color') != '' ? get_option('wp_chatbot_theme_secondary_color') : '#ffffff')); ?>"/>
1916 </div>
1917 </div>
1918 </div>
1919 <div class="col-xs-6">
1920 <div class="cxsc-settings-blocks">
1921 <div class="form-group">
1922 <h4 class="qc-opt-title">
1923 <?php esc_html_e('Font size', 'chatbot'); ?>
1924 </h4>
1925 <input id="wp_chatbot_font_size" type="number"
1926 name="wp_chatbot_font_size"
1927 value="<?php echo esc_attr((get_option('wp_chatbot_font_size') != '' ? get_option('wp_chatbot_font_size'): '16')) ; ?>"/>
1928 </div>
1929 </div>
1930 </div>
1931 <div class="col-xs-6">
1932 <div class="cxsc-settings-blocks">
1933 <div class="form-group">
1934 <h4 class="qc-opt-title">
1935 <?php
1936 esc_html_e('User message Font family ', 'chatbot');
1937 $user_font = get_option('wp_chat_user_font_family') != '' ? get_option('wp_chat_user_font_family') : '';
1938 $user_font_family = str_replace("\\", "",$user_font);
1939 ?>
1940 </h4>
1941 <input id="wp_chatbot_user_font" type="text" name="wp_chatbot_user_font"
1942 value="<?php echo esc_attr((get_option('wp_chatbot_user_font') != '' ? get_option('wp_chatbot_user_font') : ''));?>">
1943 <input id="wp_chat_user_font_family" type="hidden"
1944 name="wp_chat_user_font_family"
1945 />
1946 </div>
1947 </div>
1948 </div>
1949 <div class="col-xs-6">
1950 <div class="cxsc-settings-blocks">
1951 <div class="form-group">
1952 <h4 class="qc-opt-title">
1953 <?php
1954 esc_html_e('Bot message Font family ', 'chatbot');
1955 $bot_font = get_option('wp_chat_bot_font_family') != '' ? get_option('wp_chat_bot_font_family') : '';
1956 $bot_font_family = str_replace("\\", "",$bot_font);
1957 ?>
1958 </h4>
1959 <input id="wp_chatbot_bot_font" type="text" name="wp_chatbot_bot_font"
1960 value="<?php echo esc_attr((get_option('wp_chatbot_bot_font') != '' ? get_option('wp_chatbot_bot_font') : ''));?>">
1961 <input id="wp_chat_bot_font_family" type="hidden"
1962 name="wp_chat_bot_font_family"
1963 />
1964 </div>
1965 </div>
1966 </div>
1967
1968 <?php
1969 $custom_js = "jQuery(function ($) {
1970 $('#wp_chat_user_font_family').val(JSON.stringify(". esc_attr($user_font_family) ."));
1971 $('#wp_chat_bot_font_family').val(JSON.stringify(". esc_attr($bot_font_family)."));
1972 $('#wp_chatbot_user_font')
1973 .fontpicker()
1974 .on('change', function() {
1975 var tmp = this.value.split(':'),
1976 family = tmp[0],
1977 variant = tmp[1] || '400',
1978 weight = parseInt(variant,10),
1979 italic = /i$/.test(variant);
1980 var css = {
1981 fontFamily:family,
1982 fontWeight: weight,
1983 fontStyle: italic ? 'italic' : 'normal'
1984 };
1985 $('#wp_chat_user_font_family').val(JSON.stringify(css));
1986 });
1987 $('#wp_chatbot_bot_font')
1988 .fontpicker()
1989 .on('change', function() {
1990 var tmp = this.value.split(':'),
1991 family = tmp[0],
1992 variant = tmp[1] || '400',
1993 weight = parseInt(variant,10),
1994 italic = /i$/.test(variant);
1995 // Set selected font on body
1996 var css = {
1997 fontFamily:family,
1998 fontWeight: weight,
1999 fontStyle: italic ? 'italic' : 'normal'
2000 };
2001 $('#wp_chat_bot_font_family').val(JSON.stringify(css));
2002 });
2003 });
2004 ";
2005 wp_add_inline_script('qcld-wp-chatbot-admin-js', $custom_js );
2006
2007 ?>
2008 </div>
2009 </div>
2010 </div>
2011 </div>
2012 </section>
2013
2014 <section id="section-flip-4">
2015 <div class="row">
2016 <div class="col-xs-12">
2017 <!-- <div class="<?php // esc_attr_e( 'cxsc-settings-blocks-notic" style="<?php // echo esc_attr('background: #2271B1'); ?>">
2018 <p class="<?php // esc_attr_e( 'd-ib"><?php // esc_html_e('New horizontal/wide template is now available. Select from Icons and Themes', 'chatbot'); ?>
2019 </div> -->
2020 </div>
2021 </div>
2022 <div class="top-section">
2023 <h3 class="qcld-wpbot-main-tabs-title">
2024 <?php esc_html_e('Build FAQ Query and Answers', 'chatbot'); ?>
2025
2026 </h3>
2027
2028 <p><b><?php esc_html_e('These FAQs are not searchable. You can use ChatBot->Simple Text Responses for searchable FAQs', 'chatbot'); ?></b></p>
2029
2030 <div class="block-inner ui-sortable qcld-faq-block" id="wp-chatbot-support-builder">
2031 <?php
2032 $support_quereis=$this->qcld_wb_chatbot_str_replace(maybe_unserialize( get_option('support_query')));
2033 $support_ans=$this->qcld_wb_chatbot_str_replace(maybe_unserialize( get_option('support_ans')));
2034 if (($support_quereis[0] != '') && ($support_ans[0] != '') && !empty($support_ans[0]) && (count($support_ans) == count($support_quereis))) {
2035
2036 $query_ans_counter=0;
2037 foreach (array_combine($support_quereis, $support_ans) as $query => $ans) {
2038 ?>
2039 <div class="row"> <span class="pull-right"> </span>
2040 <div class="col-xs-12">
2041 <button type="button" class="btn btn-danger btn-sm wp-chatbot-remove-support pull-right"> <span class="dashicons dashicons-clock"></span></button>
2042
2043 <div class="cxsc-settings-blocks cxsc-settings-faq-blocks">
2044 <p>
2045 <b> <?php esc_html_e('FAQ query ', 'chatbot'); ?> </b>
2046 </p>
2047 <input type="text" class="form-control" name="support_query[]"
2048 placeholder="<?php esc_html_e('FAQ query', 'chatbot' ); ?> " value="<?php echo esc_html( $query ); ?>">
2049 <br>
2050 <p>
2051 <b><?php esc_html_e('FAQ answer', 'chatbot'); ?></b>
2052 </p>
2053 <?php
2054 $anss = is_string( $ans ) ? $ans : '';
2055 $answer = !is_array($ans) ? stripcslashes($ans) : $anss;
2056
2057 wp_editor(html_entity_decode($answer), 'support_ans'.'_'.$query_ans_counter, array('textarea_name' =>
2058 'support_ans[]',
2059 'textarea_rows' => 20,
2060 'editor_height' => 100,
2061 'disabled' => 'disabled',
2062 'media_buttons' => false,
2063 'tinymce' => array(
2064 'toolbar1' => 'bold,italic,underline,separator,alignleft,aligncenter,alignright,separator,link,unlink',)
2065 ));
2066
2067 ?>
2068 </div>
2069 </div>
2070 </div>
2071 <?php
2072 $query_ans_counter++;
2073 }
2074 //}
2075 } else {
2076 ?>
2077 <div class="row"> <span class="pull-right"> </span>
2078 <div class="col-xs-12">
2079 <button type="button" class="btn btn-danger btn-sm wp-chatbot-remove-support pull-right"> <span class="dashicons dashicons-clock"></span> </button>
2080
2081 <div class="cxsc-settings-blocks">
2082 <p>
2083 <b> <?php esc_html_e('FAQ Query', 'chatbot'); ?></b>
2084 </p>
2085 <input type="text" class="form-control" name="support_query[]"
2086 placeholder="<?php esc_html_e('FAQ Query ', 'chatbot'); ?> ">
2087 <br>
2088 <p class="qc-opt-dcs-font"><strong>
2089 <?php esc_html_e('Support answer', 'chatbot'); ?>
2090 </strong></p>
2091 <?php
2092 wp_editor(html_entity_decode(stripcslashes('')), 'support_ans_0', array('textarea_name' =>
2093 'support_ans[]',
2094 'textarea_rows' => 20,
2095 'editor_height' => 100,
2096 'disabled' => 'disabled',
2097 'media_buttons' => false,
2098 'tinymce' => array(
2099 'toolbar1' => 'bold,italic,underline,separator,alignleft,aligncenter,alignright,separator,link,unlink',)
2100 ));
2101 ?>
2102 </div>
2103 <br>
2104 </div>
2105 </div>
2106 <?php
2107 }
2108 ?>
2109 </div>
2110 <div class="row">
2111 <div class="col-sm-6 text-left"></div>
2112 <div class="col-sm-6 text-right">
2113 <button class="btn btn-success btn-sm" type="button"
2114 id="add-more-support-query">
2115 <span class="dashicons dashicons-plus"></span>
2116
2117 </button>
2118 </div>
2119 </div>
2120 </div>
2121 </section>
2122
2123
2124 <section id="section-flip-6">
2125 <!-- <div class="<?php // esc_attr_e( 'cxsc-settings-blocks-notic" style="<?php // echo esc_attr('background: #2271B1'); ?>">
2126 <p class="<?php // esc_attr_e( 'd-ib"><?php // esc_html_e('New horizontal/wide template is now available. Select from Icons and Themes', 'chatbot'); ?>
2127 </div> -->
2128 <?php
2129 wp_enqueue_style('qcld-wp-chatbot-common-style', plugins_url(basename(plugin_dir_path(__FILE__)) . '/css/common-style.css', basename(__FILE__)), '', QCLD_wpCHATBOT_VERSION, 'screen');
2130 ?>
2131 <div class="top-section">
2132 <div class="notification-block-inner">
2133 <div class="row">
2134 <div class="col-xs-12">
2135 <div id="qcld-show-more-wrapper-box">
2136 <div class="qcld-show-more-text qcld-show-more-show-more-height">
2137 <div class="row">
2138 <div class="col-xs-12">
2139 <h3 class="qcld-wpbot-main-tabs-title"><?php echo esc_attr('Predefined Intents'); ?></h3>
2140 <div class="row">
2141 <div class="col-xs-12">
2142 <div class="form-group">
2143 <h4 class="qc-opt-title">
2144 <?php esc_html_e('Site Search', 'chatbot'); ?>
2145 </h4>
2146 <div class="cxsc-settings-blocks">
2147 <input value="<?php echo esc_attr('1' ); ?>" id="disable_wp_chatbot_site_search" type="checkbox"
2148 name="disable_wp_chatbot_site_search" <?php echo(get_option('disable_wp_chatbot_site_search') == 1 ? esc_attr('checked' ): ''); ?>>
2149 <label for="disable_wp_chatbot_site_search">
2150 <?php esc_html_e('Disable site search feature and button on Start Menu', 'chatbot'); ?>
2151 </label>
2152 </br><small><?php echo esc_html( '(You can disable searching post contents option below so it searches only the post Titles for most relevancy)'); ?></small></br>
2153 </div>
2154 <div class="cxsc-settings-blocks">
2155 <input value="<?php echo esc_attr('1' ); ?>" id="enable_wp_chatbot_post_content" type="checkbox"
2156 name="enable_wp_chatbot_post_content" <?php echo(get_option('enable_wp_chatbot_post_content') == 1 ? esc_attr('checked' ): ''); ?>>
2157 <label for="enable_wp_chatbot_post_content">
2158 <?php esc_html_e('Enable Searching Post Contents as well', 'chatbot'); ?>
2159 </label>
2160 </div>
2161 </div>
2162 </div>
2163 </div>
2164 <div class="form-group">
2165 <h4 class="qc-opt-title">
2166 <?php esc_html_e('Button Label', 'chatbot'); ?>
2167 </h4>
2168 <input type="text" class="form-control qc-opt-dcs-font"
2169 name="qlcd_wp_chatbot_wildcard_site_search"
2170 value="<?php echo esc_attr((get_option('qlcd_wp_chatbot_wildcard_site_search') != '' ? get_option('qlcd_wp_chatbot_wildcard_site_search') : 'Site Search')); ?> ">
2171 </div>
2172 <div class="row">
2173 <div class="col-xs-12">
2174 <div class="form-group">
2175 <h4 class="qc-opt-title">
2176 <?php esc_html_e('Call Me', 'chatbot'); ?>
2177 </h4>
2178 <div class="cxsc-settings-blocks">
2179 <input value="<?php echo esc_attr('1'); ?>" id="disable_wp_chatbot_call_gen" type="checkbox"
2180 name="disable_wp_chatbot_call_gen" <?php echo(get_option('disable_wp_chatbot_call_gen') == 1 ? esc_attr('checked' ): ''); ?>>
2181 <label for="disable_wp_chatbot_call_gen">
2182 <?php esc_html_e('Disable Call Me feature and button on Start Menu', 'chatbot'); ?>
2183 </label>
2184 </div>
2185 </div>
2186 </div>
2187 </div>
2188 <div class="form-group">
2189 <h4 class="qc-opt-title">
2190 <?php esc_html_e('Button Label', 'chatbot'); ?>
2191 </h4>
2192 <input type="text" class="form-control qc-opt-dcs-font"
2193 name="qlcd_wp_chatbot_support_phone"
2194 value="<?php echo esc_attr((get_option('qlcd_wp_chatbot_support_phone') != '' ? get_option('qlcd_wp_chatbot_support_phone') : 'Leave your number. We will call you back!')); ?> ">
2195 </div>
2196 <div class="row">
2197 <div class="col-xs-12">
2198 <div class="form-group">
2199 <h4 class="qc-opt-title">
2200 <?php esc_html_e('Email', 'chatbot'); ?>
2201 </h4>
2202 <div class="cxsc-settings-blocks">
2203 <input value="<?php echo esc_attr('1' ); ?>" id="disable_wp_chatbot_feedback" type="checkbox"
2204 name="disable_wp_chatbot_feedback" <?php echo esc_attr((get_option('disable_wp_chatbot_feedback') == 1 ? 'checked' : ''), 'chatbot' ); ?>>
2205 <label for="disable_wp_chatbot_feedback">
2206 <?php esc_html_e('Disable Email feature and button on Start Menu', 'chatbot'); ?>
2207 </label>
2208 </div>
2209 </div>
2210 </div>
2211 </div>
2212 <div class="form-group">
2213 <h4 class="qc-opt-title">
2214 <?php esc_html_e('Button Label', 'chatbot'); ?>
2215 </h4>
2216 <input type="text" class="form-control qc-opt-dcs-font"
2217 name="qlcd_wp_chatbot_support_email"
2218 value="<?php echo esc_attr((get_option('qlcd_wp_chatbot_support_email') != '' ? get_option('qlcd_wp_chatbot_support_email') : 'Send us Email')); ?> ">
2219 </div>
2220 <div class="row">
2221 <div class="col-xs-12">
2222 <div class="form-group">
2223 <h4 class="qc-opt-title">
2224 <?php esc_html_e('FAQ', 'chatbot'); ?>
2225 </h4>
2226 <div class="cxsc-settings-blocks">
2227 <input value="<?php echo esc_attr('1' ); ?>" id="disable_wp_chatbot_faq" type="checkbox"
2228 name="disable_wp_chatbot_faq" <?php echo(get_option('disable_wp_chatbot_faq') == 1 ? esc_attr('checked' ): ''); ?>>
2229 <label for="disable_wp_chatbot_faq">
2230 <?php esc_html_e('Disable FAQ feature and button on Start Menu', 'chatbot'); ?>
2231 </label>
2232 </div>
2233 </div>
2234 </div>
2235 </div>
2236 <div class="form-group">
2237 <h4 class="qc-opt-title">
2238 <?php esc_html_e('Button Label', 'chatbot'); ?>
2239 </h4>
2240 <input type="text" class="form-control qc-opt-dcs-font"
2241 name="qlcd_wp_chatbot_wildcard_support"
2242 value="<?php echo esc_attr((get_option('qlcd_wp_chatbot_wildcard_support') != '' ? get_option('qlcd_wp_chatbot_wildcard_support') : 'FAQ')); ?> ">
2243 </div>
2244
2245 </div>
2246 </div>
2247 </div>
2248 <div class="qcld-show-more-show-more"><i class="dashicons dashicons-plus-alt" aria-hidden="true"></i></div>
2249 </div>
2250 <div class="qc_menu_setup_area">
2251 <h3 class="qcld-wpbot-main-tabs-title"><?php esc_html_e('Menu Sorting & Customization Area', 'chatbot'); ?></h3>
2252 <p style="color:red"><?php esc_html_e('Always open a new Incognito window (Ctrl+Shit+N in chrome) to test after making any change.', 'chatbot'); ?></p>
2253 <p><?php esc_html_e('To adjust the Active Menu ordering just drag it up or down.', 'chatbot'); ?><br>
2254 <?php esc_html_e('To add a menu item in the', 'chatbot'); ?> <b><?php esc_html_e('Active Menu', 'chatbot'); ?> </b> <?php esc_html_e('simply drag a menu item from Available Menu column to the Active Menu. Double click to remove ', 'chatbot'); ?>.</p>
2255 <p style="color:red;font-size:16px"><?php esc_html_e('**If you change any button label like FAQ, remove it from the active Menu Area. Add it back and save.', 'chatbot'); ?></p>
2256
2257 <div class="qc_menu_area_box">
2258 <div class="qc_menu_area">
2259 <h4><?php esc_html_e( 'Acitve Menu', 'chatbot'); ?></h4>
2260 <div class="qc_menu_area_container" id="qc_menu_area">
2261 <?php
2262 if(get_option('qc_wpbot_menu_order')!=''):
2263 if( is_string( get_option('qc_wpbot_menu_order') ) ):
2264 echo wp_kses_post(wp_kses_stripslashes(get_option('qc_wpbot_menu_order')));
2265 else:
2266 endif;
2267 ?>
2268
2269
2270 <?php endif; ?>
2271 </div>
2272 </div>
2273 <div class="qc_menu_list_area">
2274 <h4><?php esc_html_e('Available Menu', 'chatbot'); ?></h4>
2275 <div class="qc_menu_list_container">
2276 <p><?php esc_html_e('Predefined Intents', 'chatbot'); ?></p>
2277 <ul>
2278 <li>
2279 <?php if(get_option('disable_wp_chatbot_faq')==''): ?>
2280 <span class="qcld-chatbot-wildcard qc_draggable_item" data-wildcart="support"><?php echo esc_attr(get_option('qlcd_wp_chatbot_wildcard_support')); ?></span>
2281 <?php endif; ?>
2282 </li>
2283 <li>
2284 <?php if(get_option('disable_wp_chatbot_site_search')==''): ?>
2285 <span class="qcld-chatbot-wildcard qc_draggable_item qcld-chatbot-site-search" data-wildcart="site_search"><?php echo esc_attr(get_option('qlcd_wp_chatbot_wildcard_site_search')); ?></span>
2286 <?php endif; ?>
2287 </li>
2288 <li>
2289 <?php if(get_option('enable_wp_chatbot_messenger')=='1'): ?>
2290 <span class="qcld-chatbot-wildcard qc_draggable_item" data-wildcart="messenger"><?php echo wp_kses_post(qcld_choose_random(maybe_unserialize(get_option('qlcd_wp_chatbot_messenger_label')))) ?></span>
2291 <?php endif; ?>
2292 </li>
2293 <li>
2294 <?php if(get_option('enable_wp_chatbot_whats')=='1'): ?>
2295 <span class="qcld-chatbot-wildcard qc_draggable_item" data-wildcart="whatsapp"><?php echo wp_kses_post(qcld_choose_random(maybe_unserialize(get_option('qlcd_wp_chatbot_whats_label')))); ?></span>
2296 <?php endif; ?>
2297 </li>
2298 <li>
2299 <?php if(get_option('disable_wp_chatbot_feedback')==''): ?>
2300 <span class="qcld-chatbot-suggest-email qc_draggable_item"><?php echo esc_attr(get_option('qlcd_wp_chatbot_support_email')); ?></span>
2301 <?php endif; ?>
2302 </li>
2303 <li>
2304 <?php if(get_option('disable_wp_chatbot_call_gen')==''): ?>
2305 <span class="qcld-chatbot-suggest-phone qc_draggable_item" ><?php echo esc_attr(get_option('qlcd_wp_chatbot_support_phone')); ?></span>
2306 <?php endif; ?>
2307 </li>
2308 </ul>
2309 <?php
2310 if(class_exists('Qcformbuilder_Forms_Admin')){
2311
2312 global $wpdb;
2313
2314 //To Do: Need to use prepared statement
2315
2316 $results = $wpdb->get_results($wpdb->prepare("SELECT * FROM ". $wpdb->prefix."wfb_forms where 1 and type=%s",'primary')); //DB Call OK, No Caching OK.
2317 if(!empty($results)){
2318 ?>
2319 <p><?php esc_html_e('Conversational Form', 'chatbot'); ?></p>
2320 <ul>
2321 <?php
2322 foreach($results as $result){
2323 $form = maybe_unserialize($result->config);
2324 ?>
2325 <li><span class="qcld-chatbot-wildcard qcld-chatbot-form qc_draggable_item" data-form="<?php echo esc_attr($form['ID']); ?>" ><?php echo esc_html($form['name']); ?></span></li>
2326 <?php
2327 }
2328 ?>
2329 </ul>
2330 <?php
2331 }
2332 }
2333 ?>
2334 </div>
2335 </div>
2336
2337 </div>
2338
2339
2340 </div>
2341 <input id="qc_wpbot_menu_order" type="hidden" name="qc_wpbot_menu_order" value='<?php echo esc_attr(wp_kses_stripslashes(get_option('qc_wpbot_menu_order'))); ?>' />
2342 </div>
2343 </div>
2344 </div>
2345 </div>
2346 </section>
2347 <section id="section-flip-7">
2348 <!-- <div class="<?php // esc_attr_e( 'cxsc-settings-blocks-notic" style="<?php // echo esc_attr('background: #2271B1'); ?>">
2349 <p class="<?php // esc_attr_e( 'd-ib"><?php // esc_html_e('New horizontal/wide template is now available. Select from Icons and Themes', 'chatbot'); ?>
2350 </div> -->
2351 <div class="top-section">
2352 <div class="wp-chatbot-language-center-summmery">
2353 <p>
2354 <?php esc_html_e('DialogFlow as Artificial Intelligences Engine for wpwBot', 'chatbot'); ?>
2355 </p>
2356 </div>
2357
2358 <div class="row wp-chatbot-language-center-summmery-checkbox">
2359 <div class="col-xs-12">
2360 <div class="wrapTexttop-lite">
2361 <h3 class="qcld-wpbot-main-tabs-title"><?php esc_html_e('Enable DialogFlow as AI Engine to Detect Intent', 'chatbot'); ?> </h3>
2362 <div class="alert alert-warning" role="alert">
2363 <h5 style="color: #f00;font-weight:900"><?php esc_html_e('Please do not enable DialogFlow and OpenAI both at the same time.', 'chatbot'); ?> </h5>
2364 <h5 style="color: #f00;font-weight:900 "><?php esc_html_e(' Enable either DialogFlow or OpenAI', 'chatbot'); ?> </h5>
2365 </div>
2366 <div class="cxsc-settings-blocks">
2367 <input value="1" id="enable_wp_chatbot_dailogflow" type="checkbox"
2368 name="enable_wp_chatbot_dailogflow" <?php echo(get_option('enable_wp_chatbot_dailogflow') == 1 ? esc_attr('checked' ): ''); ?>>
2369 <label for="enable_wp_chatbot_dailogflow"><?php esc_html_e('Enable DialogFlow AI Engine to process Natural Language commands from users.', 'chatbot'); ?> </label> <br>
2370
2371 </div>
2372 </div>
2373
2374
2375 <div class="qcld-dialogflow-enable-notice">If you Enable DialogFlow but do not configure it properly, the ChatBot will not respond.</div>
2376 </div>
2377
2378 <div class="col-xs-12" id="wp-chatbot-dialflow-section">
2379 <p><?php esc_html_e('Log in to DialogFlow Console from', 'chatbot'); ?>
2380 <a class="wpbot_df_instruction" href="<?php echo esc_url('https://dialogflow.com/', 'chatbot'); ?>"
2381 target="_blank">
2382 <?php esc_html_e('Here', 'chatbot'); ?></a>
2383 <?php esc_html_e('with your gmail account.', 'chatbot'); ?> <a class="wpbot_df_instruction" href="<?php echo esc_url(QCLD_wpCHATBOT_PLUGIN_URL.'download/wpwBot.zip'); ?>" download ><?php esc_html_e('Download', 'chatbot'); ?></a> <?php esc_html_e('the agent training data and import from DialogFlow->Settings->Export and Import tab. You can add your own intents in that agent but do not modify our following training intents which are', 'chatbot'); ?> <b><?php esc_html_e('email, email subscription, faq, get email, get name, help, phone, reset, site search and start.', 'chatbot'); ?></b> </p>
2384 <h4 class="qc-opt-title"><?php esc_html_e('DialogFlow API Version', 'chatbot'); ?></h4>
2385 <div class="form-group">
2386 <label class="radio-inline ">
2387 <input id="wp-chatbot-df-api" type="radio"
2388 name="wp_chatbot_df_api"
2389 value="v2" checked>
2390 <?php esc_html_e('Dialogflow API V2', 'chatbot'); ?> </label>
2391 </div>
2392 <div id="wp-chatbot-df-section-v2" style="display:block">
2393 <!-- Dialogflow V2 Configuration -->
2394
2395 <?php if(!file_exists(QCLD_wpCHATBOT_GC_DIRNAME.'/autoload.php')): ?>
2396 <div class="form-group"> <br>
2397 <h4 class="qc-opt-title" style="color:red "><?php esc_html_e('For Interacting with Dialogflow V2 the Google Client Package is Required!', 'chatbot'); ?></h4>
2398 <p><?php esc_html_e('Please click the download button below to download the Google Client package. The package will be downloaded inside your Wordpress`s', 'chatbot'); ?> <b><?php esc_html_e('/wp-content', 'chatbot'); ?></b> <?php esc_html_e('folder. This package is around', 'chatbot'); ?> <b><?php esc_html_e('0 MB', 'chatbot'); ?></b><?php esc_html_e(' in zip file format and it will be about', 'chatbot'); ?> <b><?php esc_html_e('49 MB', 'chatbot'); ?></b> <?php esc_html_e('after unzipping. Please make sure that your server has enough space to store that package.', 'chatbot'); ?></p>
2399 <div class="qcld-wpbot-gcdownload-area">
2400 <button class="btn btn-primary" id="qc_wpbot_gc_download" <?php echo (!is_writable(QCLD_wpCHATBOT_GC_ROOT)?'disabled':''); ?>><?php esc_html_e('Download and Install the Google Client', 'chatbot'); ?></button>
2401 <?php
2402 if(!is_writable(QCLD_wpCHATBOT_GC_ROOT)){
2403 echo '<span style="color:red;font-size: 12px; "><b>'.esc_html('wp-content').' </b> '.esc_html('folder is not writable.').'</span>';
2404 }
2405 ?>
2406 <br>
2407 <br>
2408 <p><?php esc_html_e('Alternatively, If the download operation fails for some reason like folder permission or server timeout issue then you can manually upload the ', 'chatbot'); ?> <u title="Google Client"><?php esc_html_e('GC', 'chatbot'); ?></u> <?php esc_html_e('package by following some simple steps.', 'chatbot'); ?></p>
2409 <p><?php esc_html_e('1. Download GC package from:', 'chatbot'); ?> <a href="<?php echo esc_url('https://github.com/qcloud/gc/archive/master.zip'); ?>" target="_blank"><?php esc_attr_e('https://github.com/qcloud/gc/archive/master.zip', 'chatbot'); ?></a></p>
2410 <p><?php esc_html_e('2. Unzip the', 'chatbot'); ?> <b><?php esc_html_e('wpbotgc.zip', 'chatbot'); ?></b> <?php esc_html_e('inside to your computer.', 'chatbot'); ?></p>
2411 <p><?php esc_html_e('3. Create a folder with name ', 'chatbot'); ?><b><?php esc_html_e('wpbot-dfv2-client', 'chatbot'); ?></b> <?php esc_html_e('under ', 'chatbot'); ?><b><?php esc_html_e('wp-content', 'chatbot'); ?></b> <?php esc_html_e('into your server.', 'chatbot'); ?></p>
2412 <p><?php esc_html_e('4. Upload the upziped files and folders into', 'chatbot'); ?> <b><?php esc_html_e('wpbot-dfv2-client', 'chatbot'); ?></b><?php esc_html_e(' via FTP.', 'chatbot'); ?></p>
2413 <div class="qcld_wpbot_download_statuses"> </div>
2414 </div>
2415 <br>
2416 </div>
2417 <?php else: ?>
2418 <div class="form-group">
2419 <h4 class="qc-opt-title" style="color:green "><?php esc_html_e('Google Client Package is Installed on Your Website.', 'chatbot'); ?></h4>
2420 </div>
2421 <?php endif; ?>
2422 <div class="form-group">
2423 <h4 class="qc-opt-title" ><?php esc_html_e('Please follow along with this', 'chatbot'); ?> <a href="<?php echo esc_url('https://www.wpbot.pro/dialogflow-integration'); ?>" target="_blank"><?php esc_html_e('tutorial.', 'chatbot'); ?> </a><?php esc_html_e(' It will help you to create a project id, private key and integrate WPBot with Dialogflow. For DialogFlow agent region, try choosing any region other than the EU region which has known issues.', 'chatbot'); ?> </h4>
2424 </div>
2425 <div class="form-group">
2426 <h4 class="qc-opt-title"><?php esc_html_e('DialogFlow Project ID', 'chatbot'); ?></h4>
2427 <p><?php esc_html_e('You can follow the', 'chatbot'); ?> <a href="<?php echo esc_url('https://www.youtube.com/watch?v=qY-EHFY2wH8" '); ?>" target="_blank"><?php esc_html_e('tutorial', 'chatbot'); ?> </a><?php esc_html_e(' to get the Project ID.', 'chatbot'); ?> </p>
2428 <input type="text" class="form-control qc-opt-dcs-font"
2429 name="qlcd_wp_chatbot_dialogflow_project_id"
2430 value="<?php echo esc_attr((get_option('qlcd_wp_chatbot_dialogflow_project_id') != '' ? get_option('qlcd_wp_chatbot_dialogflow_project_id') : '')); ?>" placeholder="<?php echo esc_attr('DialogFlow Project ID'); ?> ">
2431 </div>
2432 <?php
2433
2434 $placeholderPrivatekey = '{
2435 "type": "service_account",
2436 "project_id": "PLACEYOUROWNID",
2437 "private_key_id": "31e300128..........c48",
2438 "private_key": "-----BEGIN PRIVATE KEY-----\nTHIS IS A DEMO PRIVATE KEY to SHOW HOW IT SHOULD LOOK. Replace with ACTUAL KEY.+OdT09MGEdAjlgSF2HMDA3fl8Ey4dmTxRfAN9No6G3Ugs3BrpZHfY\nSviWzS4JQ0GkCubcJc0DzJ8AqG6xX7E3SfKpdtKEn1eYV7sfQL3C2lm2lTj6nWdt\nxrkhJVHn61kxfPAWChnkdPa5EbMNFnV5mN5rhwaOxR+tEjW9nWBjVFG0NMnOMWF4\nsu6QJVjQMtI99jPBCid1r4XV/sPABSXh8dscWdMinGhZfuCjF4sOGHUUaw+VDGb6\nZpPOh65nw5fsdOHETsb4BN/LW72Khux+870Ig4jkuLIN3PnSF9QfwO8U2qTG5sZK\nn5nxhT9zAgMBAAECggEAX1NSWRGnrcVsu6n1jn9xUpzvxyy+CJe1Z1DvHo1tmHNS\n0Q8OI/Y........THIS IS A DEMO PRIVATE KEY to SHOW HOW IT SHOULD LOOK. Replace with your own key......................................paqQKBgQCJ\nvNCZIHpLGVqwiw4SVYgZW2i+VsZ78sOw0SuuhjZNmOlGjpalbQCjKs9l5dSz5t5D\nVleJVyriFaXyvVty/iF6orqTgv0EhcLO2RI9KSrTpbOXcIkgeunAhRM3oloxSndt\n98H3f1xRvTLIm1enERLkOyGHmm7nWFV0BQWD+CxeCwKBgDtBGn+uBgNgZjSaLnkJ\noemAoIBN6aD4+QWduPldRgTilH6ABQ26SL+t4sa9jbAtkMuD/hWOMLBqmz98tfCC\ndy6cPghea+b0S7lj/wmUaDA1Vmz7luCLm+lO+fe3K6WIlEhAP/9MXVH90Sj6CllF\nAn4stWzIKHrRKA3lIvgJv+9W\n-----END PRIVATE KEY-----\n",
2439 "client_email": "dialogflow-evysjn@wpbotpro.iam.gserviceaccount.com",
2440 "client_id": "1026.....032997",
2441 "auth_uri": "https://accounts.google.com/o/oauth2/auth",
2442 "token_uri": "https://oauth2.googleapis.com/token",
2443 "auth_provider_x509_cert_url": "https://www.googleapis.com/oauth2/v1/certs",
2444 "client_x509_cert_url": "https://www.googleapis.com/robot/v1/metadata/x509/dialogflow-evysjn%40wpbotpro.iam.gserviceaccount.com"
2445 }';
2446
2447 ?>
2448 <div class="form-group">
2449 <h4 class="qc-opt-title"><?php esc_html_e('Private Key', 'chatbot'); ?></h4>
2450 <p><?php esc_html_e("Paste your google service account's private key JSON file's contents (string) here", 'chatbot'); ?> <a href="<?php echo esc_url('https://www.youtube.com/watch?v=qY-EHFY2wH8'); ?>" target="_blank"><?php esc_html_e('tutorial', 'chatbot'); ?></a> <?php esc_html_e('to get private key JSON file. ', 'chatbot'); ?></p>
2451 <textarea class="form-control" rows="20" name="qlcd_wp_chatbot_dialogflow_project_key" placeholder='<?php echo esc_attr($placeholderPrivatekey); ?>'><?php echo esc_html(get_option('qlcd_wp_chatbot_dialogflow_project_key') != '' ? get_option('qlcd_wp_chatbot_dialogflow_project_key') : ''); ?></textarea>
2452 </div>
2453
2454 <!-- End Dialogflow V2 Configuration -->
2455 </div>
2456 <div class="form-group">
2457 <h4 class="qc-opt-title"><?php esc_html_e('Please Click the Button Below to Test Dialogflow Connection.', 'chatbot'); ?> </h4>
2458 <p style="color:red "><?php esc_html_e('*Save settings before pressing Test Dialogflow Connection', 'chatbot'); ?><br>
2459 <?php esc_html_e('*You must have owner permission for the service account your are using in Dialogflow agent.', 'chatbot'); ?></p>
2460 <div class="cxsc-settings-blocks">
2461 <button class="btn btn-primary" id="qc_wpbot_df_status"><?php esc_html_e('Test Dialogflow Connection', 'chatbot'); ?></button>
2462 <div class="qcwp_df_status"></div>
2463 </div>
2464 </div>
2465 <br>
2466 <div class="form-group">
2467 <h4 class="qc-opt-title">
2468 <?php esc_html_e('DialogFlow Default reply', 'chatbot'); ?>
2469 </h4>
2470 <input type="text" class="form-control qc-opt-dcs-font"
2471 name="qlcd_wp_chatbot_dialogflow_defualt_reply"
2472 value="<?php echo esc_attr((get_option('qlcd_wp_chatbot_dialogflow_defualt_reply') != '' ? get_option('qlcd_wp_chatbot_dialogflow_defualt_reply') : 'Sorry, I did not understand you. You may browse')); ?>" placeholder="<?php esc_html_e('DialogFlow default reply', 'chatbot'); ?> ">
2473 </div>
2474 <div class="form-group">
2475 <h4 class="qc-opt-title"><?php esc_html_e('DialogFlow Agent Language (Ex: en)', 'chatbot'); ?></h4>
2476 <input type="text" class="form-control qc-opt-dcs-font"
2477 name="qlcd_wp_chatbot_dialogflow_agent_language"
2478 value="<?php echo esc_attr((get_option('qlcd_wp_chatbot_dialogflow_agent_language') != '' ? get_option('qlcd_wp_chatbot_dialogflow_agent_language') : 'en')); ?>" placeholder="<?php esc_html_e('DialogFlow Agent Language', 'chatbot'); ?>">
2479 </div>
2480 </div>
2481 </div>
2482 </div>
2483 </section>
2484
2485 <section id="section-flip-9">
2486 <div class="cxsc-settings-blocks-addon"><?php esc_html_e('Install the Conversational Form Builder to Collect Information from the users and create Button (menu) Driven Conversations.', 'chatbot'); ?></br>
2487 <?php esc_html_e('After creating a Conversational form, you can add it to the ChatBot`s Start Menu from the ChatBot Settings->Start Menu', 'chatbot'); ?></b></div>
2488
2489 <div class="qcld-recommendbot-conv-feature">
2490 <?php include_once QCLD_wpCHATBOT_PLUGIN_DIR_PATH . '/qcld-recommendbot-plugin.php'; ?>
2491 </div>
2492 <div class="qcld-seo-help-feature">
2493 <h3><?php esc_html_e('What Can You Do with it?', 'chatbot'); ?></h3>
2494 <p><?php esc_html_e('Conversation Forms Pro allows you to create a wide variety of forms, that might include:', 'chatbot'); ?></p>
2495 <ul>
2496 <li><?php esc_html_e('🚀 Conditional Menu Driven Conversations', 'chatbot'); ?></li>
2497 <li><?php esc_html_e('🚀 Standard Contact Forms', 'chatbot'); ?></li>
2498 <li><?php esc_html_e('🚀 Dynamic, conditional Forms – where fields can change based on the user selections', 'chatbot'); ?></li>
2499 <li><?php esc_html_e('🚀 Job Application Forms', 'chatbot'); ?></li>
2500 <li><?php esc_html_e('🚀 Lead Capture Forms', 'chatbot'); ?></li>
2501 <li><?php esc_html_e('🚀 Various types of Calculators', 'chatbot'); ?></li>
2502 <li><?php esc_html_e('🚀 Feedback Survey Forms etc.', 'chatbot'); ?></li>
2503 <li><?php esc_html_e('🚀 Submit Forms to OpenAI for a Response with your instructions and user submitted data. Supports multi-modal mode. Users can upload an Image or Audio file along with other form fields that you create. Check this article on how Conversational forms work with OpenAI', 'chatbot'); ?>.</li>
2504 </ul>
2505
2506 <h3><?php esc_html_e('How it Works?', 'chatbot'); ?></h3>
2507 <p><?php esc_html_e('After creating a Conversation or form, you can show it in the ChatBot in different ways.', 'chatbot'); ?></p>
2508 <ul>
2509 <li><?php esc_html_e('🚀 Add it to the Start menu', 'chatbot'); ?></li>
2510 <li><?php esc_html_e('🚀 Invoke the form intent with a system command to start inside ChatBot any time', 'chatbot'); ?></li>
2511 <li><?php esc_html_e('🚀 Load the single intent/form inside a ChatBot widget on any page', 'chatbot'); ?></li>
2512 <li><?php esc_html_e('🚀 Load the intent/form inside the ChatBot using a Click to Chat button that can be placed anywhere inside your content on any page.', 'chatbot'); ?></li>
2513 <li><?php esc_html_e('🚀 Trigger another conversational form or Intent like Live Chat using conditions', 'chatbot'); ?></li>
2514 </ul>
2515 <h3><?php esc_html_e('Feature Highlights', 'chatbot'); ?></h3>
2516
2517
2518 <div class="qcld-seo-help-feature-left">
2519 <ul>
2520 <li><?php esc_html_e('🚀 Easy to use visual drag and drop conversations and form builder', 'chatbot'); ?></li>
2521 <li><?php esc_html_e('🚀 Create conversational form or just conversation using the HTML element', 'chatbot'); ?></li>
2522 <li><?php esc_html_e('🚀 Add text fields, single option selection or multiple option selection with checkboxes', 'chatbot'); ?></li>
2523 <li><?php esc_html_e('🚀 Add HTML contents inside the conversation forms', 'chatbot'); ?></li>
2524 <li><?php esc_html_e('🚀 eMail conversations or forms to the admin at the end of conversation', 'chatbot'); ?></li>
2525 <li><?php esc_html_e('🚀 Set different recipient email addresses for different conversation forms', 'chatbot'); ?></li>
2526 <li><?php esc_html_e('🚀 Clone form', 'chatbot'); ?></li>
2527 <li><?php esc_html_e('🚀 Export/Import Forms', 'chatbot'); ?></li>
2528 <li><?php esc_html_e('🚀 Form Entries saved into database', 'chatbot'); ?></li>
2529 <li><?php esc_html_e('🚀 Export Form Entries as CSV', 'chatbot'); ?></li>
2530 <li><?php esc_html_e('🚀 12 Ready Form Templates to Get Started with (Contact Form, Feedback form. Survey Form, BMR Calculator, Appointment Request, Booking Form, Room Area Calculator)', 'chatbot'); ?></li>
2531 <li><?php esc_html_e('🚀 11 Input Fields (Simple Text, Hidden, Email Address, Number, URL, Calculation, Select Option, Checkbox, DateTime Picker, HTML, File Upload, OpenAI Instructions)', 'chatbot'); ?></li>
2532 <li><?php esc_html_e('🚀 Processor – Auto Responder – Send an auto response e-mail for form submission', 'chatbot'); ?></li>
2533 <li><?php esc_html_e('🚀 Unlimited Conditional Field creation', 'chatbot'); ?></li>
2534 <li><?php esc_html_e('🚀 Trigger another conversational form or Intent like Live Chat using conditions (**NEW)', 'chatbot'); ?></li>
2535 <li><?php esc_html_e('🚀 Unlimited Variables creation', 'chatbot'); ?></li>
2536 <li><?php esc_html_e('🚀 Form Revisions', 'chatbot'); ?></li>
2537 <li><?php esc_html_e('🚀 Create system command to initiate form for ChatBot', 'chatbot'); ?></li>
2538 <li><?php esc_html_e('🚀 Add form to Start Menu', 'chatbot'); ?></li>
2539 <li><?php esc_html_e('🚀 Submit Forms to OpenAI for a Response with your instructions and user submitted data. Supports multi-modal mode. Users can upload an Image or Audio file along with other form fields that you create. Check this article on how Conversational forms work with OpenAI.', 'chatbot'); ?></li>
2540 </ul>
2541 </div>
2542
2543 </div>
2544 </section>
2545
2546 <section id="section-flip-13">
2547 <!-- <div class="<?php // esc_attr_e( 'cxsc-settings-blocks-notic" style="<?php // echo esc_attr('background: #2271B1'); ?>">
2548 <p class="<?php // esc_attr_e( 'd-ib"><?php // esc_html_e('New horizontal/wide template is now available. Select from Icons and Themes', 'chatbot'); ?>
2549 </div> -->
2550 <div class="top-section">
2551 <div class="row">
2552 <div class="col-xs-12">
2553 <h4 class="qc-opt-dcs"><?php esc_html_e('You can paste or write your custom css here.', 'chatbot'); ?></h4>
2554 <textarea name="wp_chatbot_custom_css"
2555 class="form-control wp-chatbot-custom-css"
2556 cols="10"
2557 rows="16"><?php echo esc_textarea(get_option('wp_chatbot_custom_css')); ?></textarea>
2558 </div>
2559 </div>
2560 <!-- row-->
2561 </div>
2562 </section>
2563
2564 <section id="section-flip-11">
2565 <div class="cxsc-settings-blocks-addon">
2566 <?php esc_html_e('Harness the power of AI to generate SEO Freindly contents quickly. Install our SEO Help plugin with One Click Turbo AI Content Writer, YouTube Subtitle to SEO Article Generator with AI, Global AI writing panel, AI Image Generator and RSS Feed AutoBlogging with OpenAI or Google Gemini.', 'chatbot'); ?></div>
2567
2568 <div class="qcld-recommendbot-conv-feature">
2569 <?php include_once QCLD_wpCHATBOT_PLUGIN_DIR_PATH . '/qcld-recommendbot-ai-plugin.php'; ?>
2570
2571 </div>
2572 <div class="qcld-seo-help-feature">
2573 <h3><?php esc_html_e('SEO Help Features', 'chatbot'); ?></h3>
2574 <h4><?php esc_html_e('OpenAI ChatGPT or Google Gemini Powered Content Generator', 'chatbot'); ?></h4>
2575 <p>
2576 <?php esc_html_e('🚀 Supports both Google Gemini AI and OpenAI (ChatGPT)', 'chatbot'); ?><br>
2577 <?php esc_html_e('🚀 Generate Text Contents for your Blog with the Click of a Button – Turbo content generator', 'chatbot'); ?><br>
2578 <?php esc_html_e('🚀 Generate Single Articles directly from your Blog post edit page', 'chatbot'); ?><br>
2579 <?php esc_html_e('🚀 Generate BULK articles and schedule each article’s publish time', 'chatbot'); ?><br>
2580 <?php esc_html_e('🚀 Select to auto publish or save in draft', 'chatbot'); ?><br>
2581 <?php esc_html_e('🚀 Generate summeries for Blog Posts automatically using OpenAI ChatGPT. Automatic content summary (summarizer) or TLDR can be helpful for both your readers and SEO. Blog Post Article Summaries are automatically added to your contents and can make your content look fresh to Search Engines if you enable Generate multiple summaries and use them randomly.', 'chatbot'); ?><br>
2582 <?php esc_html_e('🚀 Automatically Create and Insert AI Images inside your articles', 'chatbot'); ?><br>
2583 <?php esc_html_e('🚀 Options to fine tune your articles (How many headings?, Heading Tag, Writing Style, Writing Tone, Image Size, Language, Add Image, Add Tagline, Add Introduction, Add Conclusion, Add Faq, Anchor Text, Target URL, Add Call-to-Action, Call-to-Action Position, Add Keywords, Keywords to Avoid, Make Keywords Bold etc.)', 'chatbot'); ?><br>
2584 <?php esc_html_e('🚀 A Collection of hundreds of ready Prompts for your ideas', 'chatbot'); ?><br>
2585 <?php esc_html_e('🚀 Generate royalty free AI Images with many different options (Artist, Style, Photography, Lighting, Subject, Camera, Composition, Resolution, Color, Special Effects, Size9(up to 4K))', 'chatbot'); ?><br>
2586 <?php esc_html_e('🚀 Save AI Generated images to Media Library with one click', 'chatbot'); ?><br>
2587 <?php esc_html_e('🚀 AI Image Gutenberg Block. Create and Insert Image directly into your blog post', 'chatbot'); ?><br>
2588 <?php esc_html_e('🚀 Generate Meta Description with one click', 'chatbot'); ?><br>
2589 <?php esc_html_e('🚀 Add meta description tag automatically to the page source', 'chatbot'); ?><br>
2590 <?php esc_html_e('🚀 OpenAI playground', 'chatbot'); ?><br>
2591 <?php esc_html_e('🚀 ChatGPT and Google Gemini in WordPress backend', 'chatbot'); ?><br>
2592 <?php esc_html_e('🚀 Humanize article so they do not sound AI written', 'chatbot'); ?></p>
2593 <h4><?php esc_html_e('YouTube Video Subtitle to SEO Article Generator with AI', 'chatbot'); ?></h4>
2594 <p>
2595 <?php esc_html_e('🚀 Generate Articles from YouTube Subtitles. Works Best for Long form Videos', 'chatbot'); ?><br>
2596 <?php esc_html_e('🚀 Rewrite subtitle to a SEO Friendly Blog Article', 'chatbot'); ?><br>
2597 <?php esc_html_e('🚀 Fine tune your articles (How many headings?, Heading Tag, Writing Style, Writing Tone, Image Size, Language, Add Image, Add Tagline, Add Introduction, Add Conclusion, Add Faq, Anchor Text, Target URL, Add Call-to-Action, Call-to-Action Position, Add Keywords, Keywords to Avoid, Make Keywords Bold etc.)', 'chatbot'); ?><br>
2598 <?php esc_html_e('🚀 Directly Generate a Blog Post Draft', 'chatbot'); ?><br>
2599 <?php esc_html_e('🚀 Humanize article so they do not sound AI written', 'chatbot'); ?></p>
2600 <h4><?php esc_html_e('RSS Feed to Post, Auto Blogging', 'chatbot'); ?></h4>
2601 <p>
2602 <?php esc_html_e('🚀 Automatically Import and Convert RSS feed items to WordPress pages, posts, and custom post type.', 'chatbot'); ?><br>
2603 <?php esc_html_e('🚀 Automatically import and aggregate unlimited RSS feeds from unlimited sources', 'chatbot'); ?><br>
2604 <?php esc_html_e('🚀 Schedule RSS Feed to Post according to your need for Autoblogging', 'chatbot'); ?><br>
2605 <?php esc_html_e('🚀 Rewrite RSS feeds with OpenAI AI before publishing to prevent duplicate contents', 'chatbot'); ?></p>
2606 <h4><?php esc_html_e('SEO Features', 'chatbot'); ?></h4>
2607 <p>
2608 <?php esc_html_e('🚀 Outputs all the essential meta tags that are essential for Search Engine Optimization', 'chatbot'); ?><br>
2609 <?php esc_html_e('🚀 Meta tags can be set for each Post type', 'chatbot'); ?><br>
2610 <?php esc_html_e('🚀 Configure Meta Tags Globally and Per Post basis', 'chatbot'); ?><br>
2611 <?php esc_html_e('🚀 Generate and Add Meta Description with one click', 'chatbot'); ?><br>
2612 <?php esc_html_e('🚀 Set the OGP information required for Social Networking Websites such as Facebook and Twitter.', 'chatbot'); ?><br>
2613 <?php esc_html_e('🚀 Customize the meta tag information individually for each post, page, and term.', 'chatbot'); ?><br>
2614 <?php esc_html_e('🚀 Easily set the Google Analytics measurement code and Webmaster Tools verification code.', 'chatbot'); ?><br>
2615 <?php esc_html_e('🚀 Works out of the box', 'chatbot'); ?></p>
2616 <h4><?php esc_html_e('SEO Optimized Images', 'chatbot'); ?></h4>
2617 <p>
2618 <?php esc_html_e('🚀 Dynamically insert SEO-Friendly “alt” and “title” attributes to your images. Simply activate the plugin, provide the pattern, and you are ready to go.', 'chatbot'); ?><br>
2619 <?php esc_html_e('🚀 Dynamically replaces the “alt” and “title” tags. It does not make any changes to the database. This means that if you deactivate the plugin, everything will return to the original settings.', 'chatbot'); ?><br>
2620 <?php esc_html_e('🚀 Insert an image name, a post title and a post category in the “title” and “alt” attributes of the image.', 'chatbot'); ?></p>
2621 <h4><?php esc_html_e('No-Index Features', 'chatbot'); ?></h4>
2622 <p>
2623 <?php esc_html_e('🚀 Easily add a meta-tag for robots noindex tags to parts of your WordPress site as necessary from a central location', 'chatbot'); ?>
2624 </p>
2625 <h5><?php esc_html_e('1. Pages and Posts', 'chatbot'); ?></h5>
2626 <p>
2627 <?php esc_html_e('🚀 Front Page: Block the indexing of the website’s front page.', 'chatbot'); ?><br>
2628 <?php esc_html_e('🚀 Home Page: Block the indexing of the website’s home page.', 'chatbot'); ?><br>
2629 <?php esc_html_e('🚀 Page: Block the indexing of the site’s pages.', 'chatbot'); ?><br>
2630 <?php esc_html_e('🚀 Privacy Policy Page: Block the indexing of the website’s privacy policy page.', 'chatbot'); ?><br>
2631 <?php esc_html_e('🚀 Single Post: Block the indexing of a post on the site.', 'chatbot'); ?>
2632 </p>
2633 <h5><?php esc_html_e('2. Taxonomies', 'chatbot'); ?></h5>
2634 <p>
2635 <?php esc_html_e('🚀 Categories: Block the indexing of the website categories.', 'chatbot'); ?><br>
2636 <?php esc_html_e('🚀 Tags: Block the indexing of the website’s tags.', 'chatbot'); ?>
2637 </p>
2638 <h5><?php esc_html_e('3. Dates', 'chatbot'); ?></h5>
2639 <p>
2640 <?php esc_html_e('🚀 Date: Block the indexing based on any date-based archive pages.', 'chatbot'); ?><br>
2641 <?php esc_html_e('🚀 Day, Month, Time, Year: Block the indexing for daily, monthly, by time, or yearly archive of the site.', 'chatbot'); ?>
2642 </p>
2643 <h5><?php esc_html_e('4. Archives', 'chatbot'); ?></h5>
2644 <p>
2645 <?php esc_html_e('🚀 Archive: Block the indexing of any type of Archive page. Category, Tag, Author and Date based pages etc. are all types of Archives.', 'chatbot'); ?><br>
2646 <?php esc_html_e('🚀 Author: Block the indexing of the author’s page, where the author’s publications appear.', 'chatbot'); ?><br>
2647 <?php esc_html_e('🚀 Post Type Archive: Block the indexing of any post type page.', 'chatbot'); ?>
2648 </p>
2649 <h5><?php esc_html_e('5. Pagination and Search', 'chatbot'); ?></h5>
2650 <p>
2651 <?php esc_html_e('🚀 Pagination: Block the indexing of the pagination, i.e. all pages other than the main page of an archive.', 'chatbot'); ?><br>
2652
2653 <?php esc_html_e('🚀 Search: Block the indexing of the internal search result pages.', 'chatbot'); ?>
2654 </p>
2655 <h5><?php esc_html_e('6. Attachments and Previews', 'chatbot'); ?></h5>
2656 <p>
2657 <?php esc_html_e('🚀 Attachment: Block the indexing of an attachment document to a post or page.', 'chatbot'); ?><br>
2658 <?php esc_html_e('🚀 Customize Preview: Block the indexing when a content is being displayed in customize mode', 'chatbot'); ?><br>
2659 <?php esc_html_e('🚀 Preview: Block the indexing when a single post is being displayed in draft mode.', 'chatbot'); ?>
2660 </p>
2661 <h5><?php esc_html_e('7. Error Page', 'chatbot'); ?></h5>
2662 <p>
2663 <?php esc_html_e('🚀 Error 404: This will cause an error page to be blocked from being indexed. As it is an error page, it should not be indexed per se, but just in case.', 'chatbot'); ?>
2664 </p>
2665 <h5><?php esc_html_e('8. Other Features', 'chatbot'); ?></h5>
2666 <p>
2667 <?php esc_html_e('🚀 Works with all modern browsers', 'chatbot'); ?><br>
2668 <?php esc_html_e('🚀 Scan for Broken Links on your website', 'chatbot'); ?><br>
2669 <?php esc_html_e('🚀 Open External links in new window', 'chatbot'); ?><br>
2670 <?php esc_html_e('🚀 Priority, Premium Support', 'chatbot'); ?><br>
2671 <?php esc_html_e('🚀 Auto Upgrades for Plugin', 'chatbot'); ?></p>
2672 </div>
2673 </section>
2674
2675
2676 <footer class="wp-chatbot-admin-footer">
2677 <div class="row">
2678
2679
2680 <input type="submit" class="btn btn-primary submit-button" name="submit"
2681 id="submit" value="Save Settings"/>
2682
2683 </div>
2684 <!-- row-->
2685 </footer>
2686
2687 </div>
2688
2689
2690
2691 <div class="wp-chatbot-admin-upgrade-pro-sidebar">
2692 <div class="wp-chatbot-admingradient-color">
2693 <img class="wp-chatbot-admin-banner" src="<?php echo esc_url( QCLD_wpCHATBOT_IMG_URL . '/template-sample.gif' ); ?>" alt="">
2694 <h3 class="wp-chatbot-admincart-title">Upgrade To <span>Pro</span></h3>
2695 <ul class="feature-list">
2696 <li><img src="<?php echo esc_url( QCLD_wpCHATBOT_IMG_URL . '/check2.svg' ); ?>" alt="">Core WPBot Pro</li>
2697 <li><img src="<?php echo esc_url( QCLD_wpCHATBOT_IMG_URL . '/check2.svg' ); ?>" alt="">Chat Sessions and Histories</li>
2698 <li><img src="<?php echo esc_url( QCLD_wpCHATBOT_IMG_URL . '/check2.svg' ); ?>" alt="">Extended Search Module</li>
2699 <li><img src="<?php echo esc_url( QCLD_wpCHATBOT_IMG_URL . '/check2.svg' ); ?>" alt="">OpenAI Basic and DialogFlow</li>
2700 <li><img src="<?php echo esc_url( QCLD_wpCHATBOT_IMG_URL . '/check2.svg' ); ?>" alt="">Simple text Responses Pro Module</li>
2701 <li><img src="<?php echo esc_url( QCLD_wpCHATBOT_IMG_URL . '/check2.svg' ); ?>" alt="">Conversational Forms Pro Module</li>
2702 <li><img src="<?php echo esc_url( QCLD_wpCHATBOT_IMG_URL . '/check2.svg' ); ?>" alt="">WooCommerce Module</li>
2703 <li><img src="<?php echo esc_url( QCLD_wpCHATBOT_IMG_URL . '/check2.svg' ); ?>" alt="">OpenAI Pro Adv. (Fine Tuning, Assistant)</li>
2704 <li><img src="<?php echo esc_url( QCLD_wpCHATBOT_IMG_URL . '/check2.svg' ); ?>" alt="">Live (Human) Chat Module</li>
2705 <li><img src="<?php echo esc_url( QCLD_wpCHATBOT_IMG_URL . '/check2.svg' ); ?>" alt="">Tavily Search API module</li>
2706 <li><img src="<?php echo esc_url( QCLD_wpCHATBOT_IMG_URL . '/check2.svg' ); ?>" alt="">Extended UI Module</li>
2707 <li><img src="<?php echo esc_url( QCLD_wpCHATBOT_IMG_URL . '/check2.svg' ); ?>" alt="">WebHook & Mailing List Module</li>
2708 <li><img src="<?php echo esc_url( QCLD_wpCHATBOT_IMG_URL . '/check2.svg' ); ?>" alt="">White Label Module</li>
2709 <li><img src="<?php echo esc_url( QCLD_wpCHATBOT_IMG_URL . '/check2.svg' ); ?>" alt="">FaceBook Messenger Module</li>
2710 <li><img src="<?php echo esc_url( QCLD_wpCHATBOT_IMG_URL . '/check2.svg' ); ?>" alt="">WhatsApp through Twilio Module</li>
2711 <li><img src="<?php echo esc_url( QCLD_wpCHATBOT_IMG_URL . '/check2.svg' ); ?>" alt="">Multi Language Module</li>
2712 <li><img src="<?php echo esc_url( QCLD_wpCHATBOT_IMG_URL . '/check2.svg' ); ?>" alt="">Settings Export Import Module</li>
2713 <li><img src="<?php echo esc_url( QCLD_wpCHATBOT_IMG_URL . '/check2.svg' ); ?>" alt="">Voice Message Module</li>
2714 <li><img src="<?php echo esc_url( QCLD_wpCHATBOT_IMG_URL . '/check2.svg' ); ?>" alt="">Voice Chat Module</li>
2715 <li><img src="<?php echo esc_url( QCLD_wpCHATBOT_IMG_URL . '/check2.svg' ); ?>" alt="">Telegram Module</li>
2716 <li><img src="<?php echo esc_url( QCLD_wpCHATBOT_IMG_URL . '/check2.svg' ); ?>" alt="">Priority Technical Support</li>
2717 </ul>
2718
2719 <a class="wp-chatbot-admin-pro-upgrade-button" target="_blank" href="https://www.wpbot.pro/">Upgrade to Pro <img src="<?php echo esc_url( QCLD_wpCHATBOT_IMG_URL . '/external-white.svg' ); ?>" alt=""></a>
2720 </div>
2721
2722 </div>
2723
2724
2725
2726
2727 </div>
2728
2729 </section>
2730
2731
2732
2733
2734
2735
2736 </div>
2737 <?php wp_nonce_field('wp_chatbot'); ?>
2738 </form>
2739
2740
2741 </div>
2742
2743
2744
2745
2746
2747
2748