PluginProbe
WPBot – AI ChatBot for Live Support, Lead Generation, AI Services / 7.5.4
WPBot – AI ChatBot for Live Support, Lead Generation, AI Services v7.5.4
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.5.4, at admin_ui.php

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