PluginProbe
WPBot – AI ChatBot for Live Support, Lead Generation, WordPress Automation, AI Services / 7.4.1
WPBot – AI ChatBot for Live Support, Lead Generation, WordPress Automation, AI Services v7.4.1
8.7.8 8.7.7 8.7.6 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 All 534 releases
chatbot / admin_ui.php

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

2,752 lines 201.0 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
841
842
843 </div>
844 </div>
845 </div>
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862 <!-- cxsc-settings-blocks-->
863 </div>
864 <!-- col-xs-12-->
865 </div>
866 <!-- row-->
867
868 </div>
869 <!-- top-section-->
870 </section>
871 <section id="section-flip-5">
872 <!-- <div class="<?php // esc_attr_e( 'cxsc-settings-blocks-notic" style="<?php // echo esc_attr('background: #2271B1'); ?>">
873 <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'); ?>
874 </div> -->
875 <div class="wp-chatbot-language-center-summmery"> </div>
876 <ul class="nav nav-tabs">
877 <li class="active"><a data-toggle="tab" href="#wp-chatbot-lng-general">
878 <?php esc_html_e('General', 'chatbot'); ?>
879 </a></li>
880 <li><a data-toggle="tab" href="#wp-chatbot-lng-support">
881 <?php esc_html_e('FAQ', 'chatbot'); ?>
882 </a></li>
883 <li><a data-toggle="tab" href="#wp-chatbot-lng-reserve-keyword">
884 <?php esc_html_e('ChatBot Keywords', 'chatbot'); ?>
885 </a></li>
886 </ul>
887 <div class="tab-content">
888 <div id="wp-chatbot-lng-general" class="tab-pane fade in active">
889 <div class="top-section">
890 <div class="row">
891 <div class="col-xs-12" id="wp-chatbot-language-section">
892 <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>
893 <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>
894 <p><?php esc_html_e('You could use &lt;br&gt; tag for line break.', 'chatbot' ); ?></p>
895 <div class="form-group">
896 <h4 class="qc-opt-title">
897 <?php esc_html_e('Your Company or Website Name', 'chatbot'); ?>
898 </h4>
899 <input type="text" class="form-control qc-opt-dcs-font"
900 name="qlcd_wp_chatbot_host"
901 value="<?php echo esc_attr((get_option('qlcd_wp_chatbot_host') != '' ? get_option('qlcd_wp_chatbot_host') : 'Our Store') ); ?> ">
902 </div>
903 <div class="form-group">
904 <h4 class="qc-opt-title">
905 <?php esc_html_e('Agent name', 'chatbot'); ?>
906 </h4>
907 <input type="text" class="form-control qc-opt-dcs-font"
908 name="qlcd_wp_chatbot_agent"
909 value="<?php echo (get_option('qlcd_wp_chatbot_agent') != '' ? esc_attr(get_option('qlcd_wp_chatbot_agent')) : 'Carrie'); ?>">
910 </div>
911 <div class="form-group">
912 <h4 class="qc-opt-title">
913 <?php esc_html_e('User demo name', 'chatbot'); ?>
914 </h4>
915 <input type="text" class="form-control qc-opt-dcs-font"
916 name="qlcd_wp_chatbot_shopper_demo_name"
917 value="<?php echo esc_attr((get_option('qlcd_wp_chatbot_shopper_demo_name') != '' ? get_option('qlcd_wp_chatbot_shopper_demo_name') : 'Amigo')); ?> ">
918 </div>
919 <div class="form-group">
920 <h4 class="qc-opt-title">
921 <?php esc_html_e('YES', 'chatbot'); ?>
922 </h4>
923 <input type="text" class="form-control qc-opt-dcs-font"
924 name="qlcd_wp_chatbot_yes"
925 value="<?php echo esc_attr((get_option('qlcd_wp_chatbot_yes') != '' ? get_option('qlcd_wp_chatbot_yes') : 'YES')); ?>">
926 </div>
927 <div class="form-group">
928 <h4 class="qc-opt-title">
929 <?php esc_html_e('NO', 'chatbot'); ?>
930 </h4>
931 <input type="text" class="form-control qc-opt-dcs-font"
932 name="qlcd_wp_chatbot_no"
933 value="<?php echo esc_attr((get_option('qlcd_wp_chatbot_no') != '' ? get_option('qlcd_wp_chatbot_no') : 'NO')); ?>">
934 </div>
935 <div class="form-group">
936 <h4 class="qc-opt-title">
937 <?php esc_html_e('OR', 'chatbot'); ?>
938 </h4>
939 <input type="text" class="form-control qc-opt-dcs-font"
940 name="qlcd_wp_chatbot_or"
941 value="<?php echo esc_attr((get_option('qlcd_wp_chatbot_or') != '' ? get_option('qlcd_wp_chatbot_or') : 'OR')); ?>">
942 </div>
943 <div class="form-group">
944 <h4 class="qc-opt-title">
945 <?php esc_html_e('Sorry', 'chatbot'); ?>
946 </h4>
947 <input type="text" class="form-control qc-opt-dcs-font "
948 name="qlcd_wp_chatbot_sorry"
949 value="<?php echo esc_attr((get_option('qlcd_wp_chatbot_sorry') != '' ? get_option('qlcd_wp_chatbot_sorry') : 'Sorry')); ?>">
950 </div>
951
952 <div class="form-group">
953 <?php
954 $agent_join_options = maybe_unserialize(get_option('qlcd_wp_chatbot_agent_join'));
955 $agent_join_option = 'qlcd_wp_chatbot_agent_join';
956 $agent_join_text = __('has joined the conversation', 'chatbot');
957 $this->qcld_wb_chatbot_dynamic_multi_option($agent_join_options, $agent_join_option, $agent_join_text);
958 ?>
959 </div>
960 </div>
961 <!--col-xs-12-->
962 <div class="col-xs-12" id="wp-chatbot-language-section">
963 <h4 class="text-success">
964 <?php esc_html_e(' Message setting for Greetings: ', 'chatbot'); ?>
965 </h4>
966 <div class="form-group">
967 <?php
968 $welcome_to_options = maybe_unserialize(get_option('qlcd_wp_chatbot_welcome'));
969 $welcome_to_option = 'qlcd_wp_chatbot_welcome';
970 $welcome_to_text = esc_html('Welcome to');
971 $this->qcld_wb_chatbot_dynamic_multi_option($welcome_to_options, $welcome_to_option, $welcome_to_text);
972 ?>
973 </div>
974 <div class="form-group">
975 <?php
976 $welcome_back_options = maybe_unserialize(get_option('qlcd_wp_chatbot_welcome_back'));
977 $welcome_back_option = 'qlcd_wp_chatbot_welcome_back';
978 $welcome_back_text = esc_html('Welcome back');
979 $this->qcld_wb_chatbot_dynamic_multi_option($welcome_back_options, $welcome_back_option, $welcome_back_text);
980 ?>
981 </div>
982 <div class="form-group">
983 <?php
984 $back_to_start_options = maybe_unserialize(get_option('qlcd_wp_chatbot_back_to_start'));
985 $back_to_start_option = 'qlcd_wp_chatbot_back_to_start';
986 $back_to_start_text = esc_html('Back to Start');
987 $this->qcld_wb_chatbot_dynamic_multi_option($back_to_start_options, $back_to_start_option, $back_to_start_text);
988 ?>
989 </div>
990 <div class="form-group">
991 <?php
992 $hi_there_options = maybe_unserialize(get_option('qlcd_wp_chatbot_hi_there'));
993 $hi_there_option = 'qlcd_wp_chatbot_hi_there';
994 $hi_there_text = esc_html('Hi There!');
995 $this->qcld_wb_chatbot_dynamic_multi_option($hi_there_options, $hi_there_option, $hi_there_text);
996 ?>
997 </div>
998 <div class="form-group">
999 <?php
1000 $hello_options = maybe_unserialize(get_option('qlcd_wp_chatbot_hello'));
1001 $hello_option = 'qlcd_wp_chatbot_hello';
1002 $hello_text = esc_html('Hello');
1003 $this->qcld_wb_chatbot_dynamic_multi_option($hello_options, $hello_option, $hello_text);
1004 ?>
1005 </div>
1006 <div class="form-group">
1007 <?php
1008 $asking_name_options = maybe_unserialize(get_option('qlcd_wp_chatbot_asking_name'));
1009 $asking_name_option = 'qlcd_wp_chatbot_asking_name';
1010 $asking_name_text = esc_html('May I know your name?');
1011 $this->qcld_wb_chatbot_dynamic_multi_option($asking_name_options, $asking_name_option, $asking_name_text);
1012 ?>
1013 </div>
1014 <div class="form-group">
1015 <?php
1016 $i_am_options = maybe_unserialize(get_option('qlcd_wp_chatbot_i_am'));
1017 $i_am_option = 'qlcd_wp_chatbot_i_am';
1018 $i_am_text = esc_html('I am');
1019 $this->qcld_wb_chatbot_dynamic_multi_option($i_am_options, $i_am_option, $i_am_text);
1020 ?>
1021 </div>
1022 <div class="form-group">
1023 <?php
1024 $name_greeting_options = maybe_unserialize(get_option('qlcd_wp_chatbot_name_greeting'));
1025 $name_greeting_option = 'qlcd_wp_chatbot_name_greeting';
1026 $name_greeting_text = esc_html('Nice to meet you');
1027 $this->qcld_wb_chatbot_dynamic_multi_option($name_greeting_options, $name_greeting_option, $name_greeting_text);
1028 ?>
1029 </div>
1030 <div class="form-group">
1031 <?php
1032 $wildcard_msg_options = maybe_unserialize(get_option('qlcd_wp_chatbot_wildcard_msg'));
1033 $wildcard_msg_option = 'qlcd_wp_chatbot_wildcard_msg';
1034 $wildcard_msg_text = esc_html('I am here to find what you need. What are you looking for?');
1035 $this->qcld_wb_chatbot_dynamic_multi_option($wildcard_msg_options, $wildcard_msg_option, $wildcard_msg_text);
1036 ?>
1037 </div>
1038 <div class="form-group">
1039 <?php
1040 $empty_filter_msgs = maybe_unserialize(get_option('qlcd_wp_chatbot_empty_filter_msg'));
1041 $empty_filter_msg = 'qlcd_wp_chatbot_empty_filter_msg';
1042 $empty_filter_msg_text = esc_html('Sorry, I did not understand that');
1043 $this->qcld_wb_chatbot_dynamic_multi_option($empty_filter_msgs, $empty_filter_msg, $empty_filter_msg_text);
1044 ?>
1045 </div>
1046 <div class="form-group">
1047 <?php
1048 $qlcd_wp_chatbot_did_you_mean = maybe_unserialize(get_option('qlcd_wp_chatbot_did_you_mean'));
1049 $qlcd_wp_chatbot_did_you_means = 'qlcd_wp_chatbot_did_you_mean';
1050 $wp_chatbot_no_result_text = esc_html('Did you mean?');
1051 $this->qcld_wb_chatbot_dynamic_multi_option($qlcd_wp_chatbot_did_you_mean, $qlcd_wp_chatbot_did_you_means, $wp_chatbot_no_result_text);
1052 ?>
1053 </div>
1054 <h4 class="text-success">
1055 <?php esc_html_e('Message setting for Editor Box ', 'chatbot'); ?>
1056 </h4>
1057 <div class="form-group">
1058 <?php
1059 $is_typing_options = maybe_unserialize(get_option('qlcd_wp_chatbot_is_typing'));
1060 $is_typing_option = 'qlcd_wp_chatbot_is_typing';
1061 $is_typing_text = esc_html('is typing...');
1062 $this->qcld_wb_chatbot_dynamic_multi_option($is_typing_options, $is_typing_option, $is_typing_text);
1063 ?>
1064 </div>
1065 <div class="form-group">
1066 <?php
1067 $send_a_msg_options = maybe_unserialize(get_option('qlcd_wp_chatbot_send_a_msg'));
1068 $send_a_msg_option = 'qlcd_wp_chatbot_send_a_msg';
1069 $send_a_msg_text = esc_html('Send a message');
1070 $this->qcld_wb_chatbot_dynamic_multi_option($send_a_msg_options, $send_a_msg_option, $send_a_msg_text);
1071 ?>
1072 </div>
1073 <div class="form-group">
1074 <?php
1075 $choose_option_options = maybe_unserialize(get_option('qlcd_wp_chatbot_choose_option'));
1076 $choose_option_option = 'qlcd_wp_chatbot_choose_option';
1077 $choose_option_text = esc_html('Choose an option');
1078 $this->qcld_wb_chatbot_dynamic_multi_option($choose_option_options, $choose_option_option, $choose_option_text);
1079 ?>
1080 </div>
1081 <div class="form-group">
1082 <?php
1083 $asking_email_options = maybe_unserialize(get_option('qlcd_wp_chatbot_asking_email'));
1084 $asking_email_option = 'qlcd_wp_chatbot_asking_email';
1085 $asking_email_text = esc_html('Please provide your email address');
1086 $this->qcld_wb_chatbot_dynamic_multi_option($asking_email_options, $asking_email_option, $asking_email_text);
1087 ?>
1088 </div>
1089 <div class="form-group">
1090 <?php
1091 $invalid_email_options = maybe_unserialize(get_option('qlcd_wp_chatbot_invalid_email'));
1092 $invalid_email_option = 'qlcd_wp_chatbot_invalid_email';
1093 $invalid_email_text = esc_html('Sorry, Email address is not valid! Please provide a valid email.');
1094 $this->qcld_wb_chatbot_dynamic_multi_option($invalid_email_options, $invalid_email_option, $invalid_email_text);
1095 ?>
1096 </div>
1097 <div class="form-group">
1098 <?php
1099 $asking_msg_options = maybe_unserialize(get_option('qlcd_wp_chatbot_asking_msg'));
1100 $asking_msg_option = 'qlcd_wp_chatbot_asking_msg';
1101 $asking_msg_text = esc_html('Thank you for email address. Please write your message now.');
1102 $this->qcld_wb_chatbot_dynamic_multi_option($asking_msg_options, $asking_msg_option, $asking_msg_text);
1103 ?>
1104 </div>
1105 <div class="form-group">
1106 <h4 class="qc-opt-title">
1107 <?php esc_html_e('WPBot Support Mail Subject', 'chatbot'); ?>
1108 </h4>
1109 <input type="text" class="form-control qc-opt-dcs-font"
1110 name="qlcd_wp_chatbot_email_sub"
1111 value="<?php echo esc_attr((get_option('qlcd_wp_chatbot_email_sub') != '' ? wp_unslash(get_option('qlcd_wp_chatbot_email_sub')) : 'Support Email Subject') ); ?>">
1112 </div>
1113 <div class="form-group">
1114 <?php
1115 $support_option_again_options = maybe_unserialize(get_option('qlcd_wp_chatbot_support_option_again'));
1116 $support_option_again_option = 'qlcd_wp_chatbot_support_option_again';
1117 $support_option_again_text = esc_html('You may choose option from below.');
1118 $this->qcld_wb_chatbot_dynamic_multi_option($support_option_again_options, $support_option_again_option, $support_option_again_text);
1119 ?>
1120 </div>
1121 <div class="form-group">
1122 <h4 class="qc-opt-title">
1123 <?php esc_html_e('Your email was sent successfully.Thanks!', 'chatbot'); ?>
1124 </h4>
1125 <input type="text" class="form-control qc-opt-dcs-font"
1126 name="qlcd_wp_chatbot_email_sent"
1127 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!')); ?> ">
1128 </div>
1129 <div class="form-group">
1130 <h4 class="qc-opt-title">
1131 <?php esc_html_e('Sorry! I could not send your mail! Please contact the webmaster.', 'chatbot'); ?>
1132 </h4>
1133 <input type="text" class="form-control qc-opt-dcs-font "
1134 name="qlcd_wp_chatbot_email_fail"
1135 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')); ?> ">
1136 </div>
1137
1138 <div class="form-group">
1139 <h4 class="qc-opt-title">
1140 <?php esc_html_e('Check the relevant pages for more details and up to date information:', 'chatbot'); ?>
1141 </h4>
1142 <input type="text" class="form-control qc-opt-dcs-font "
1143 name="qlcd_wp_chatbot_relevant_post_link_openai"
1144 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:')); ?> ">
1145 </div>
1146
1147 <div class="form-group">
1148 <?php
1149 $asking_phone_options = maybe_unserialize(get_option('qlcd_wp_chatbot_asking_phone'));
1150 $asking_phone_option = 'qlcd_wp_chatbot_asking_phone';
1151 $asking_phone_text = esc_html('Please provide your Phone number');
1152 $this->qcld_wb_chatbot_dynamic_multi_option($asking_phone_options, $asking_phone_option, $asking_phone_text);
1153 ?>
1154 </div>
1155 <div class="form-group">
1156 <?php
1157 $thanks_phone_options = maybe_unserialize(get_option('qlcd_wp_chatbot_thank_for_phone'));
1158 $thanks_phone_option = 'qlcd_wp_chatbot_thank_for_phone';
1159 $thanks_phone_text = esc_html('Thank you for Phone number');
1160 $this->qcld_wb_chatbot_dynamic_multi_option($thanks_phone_options, $thanks_phone_option, $thanks_phone_text);
1161 ?>
1162 </div>
1163 <div class="form-group">
1164 <h4 class="qc-opt-title">
1165 <?php esc_html_e('Thanks for your phone number. We will call you ASAP!', 'chatbot'); ?>
1166 </h4>
1167 <input type="text" class="form-control qc-opt-dcs-font"
1168 name="qlcd_wp_chatbot_phone_sent"
1169 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!')); ?> ">
1170 </div>
1171 <div class="form-group">
1172 <h4 class="qc-opt-title">
1173 <?php esc_html_e('Sorry! I could not collect phone number! Please contact the webmaster.', 'chatbot'); ?>
1174 </h4>
1175 <input type="text" class="form-control qc-opt-dcs-font"
1176 name="qlcd_wp_chatbot_phone_fail"
1177 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!')); ?> ">
1178 </div>
1179
1180 <div class="form-group">
1181 <h4 class="qc-opt-title">
1182 <?php esc_html_e('Please enter your keyword for searching', 'chatbot'); ?>
1183 </h4>
1184 <input type="text" class="form-control qc-opt-dcs-font"
1185 name="qlcd_wp_chatbot_asking_search_keyword"
1186 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')); ?> ">
1187 </div>
1188 <div class="form-group">
1189 <h4 class="qc-opt-title">
1190 <?php esc_html_e('We have found these results', 'chatbot'); ?>
1191 </h4>
1192 <input type="text" class="form-control qc-opt-dcs-font"
1193 name="qlcd_wp_chatbot_found_result"
1194 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')); ?> ">
1195 </div>
1196 <div class="form-group">
1197 <?php
1198 $qlcd_wp_chatbot_product_fails = maybe_unserialize(get_option('qlcd_wp_chatbot_product_fail'));
1199 $qlcd_wp_chatbot_product_fail = 'qlcd_wp_chatbot_product_fail';
1200 $fail_text = esc_html('Sorry, I found nothing');
1201 $this->qcld_wb_chatbot_dynamic_multi_option($qlcd_wp_chatbot_product_fails, $qlcd_wp_chatbot_product_fail, $fail_text);
1202 ?>
1203 </div>
1204 </div>
1205 </div>
1206 </div>
1207 </div>
1208 <div id="wp-chatbot-lng-support" class="tab-pane fade">
1209 <div class="top-section">
1210 <div class="row">
1211 <div class="col-xs-12" id="wp-chatbot-language-section">
1212 <div class="form-group">
1213 <?php
1214 $support_welcome_options = maybe_unserialize(get_option('qlcd_wp_chatbot_support_welcome'));
1215 $support_welcome_option = 'qlcd_wp_chatbot_support_welcome';
1216 $support_welcome_text = esc_html('Welcome to FAQ Section');
1217 $this->qcld_wb_chatbot_dynamic_multi_option($support_welcome_options, $support_welcome_option, $support_welcome_text);
1218 ?>
1219 </div>
1220
1221
1222
1223 </div>
1224 </div>
1225 </div>
1226 </div>
1227 <div id="wp-chatbot-lng-reserve-keyword" class="tab-pane fade">
1228 <div class="top-section">
1229 <div class="row">
1230 <div class="col-xs-12" id="wp-chatbot-language-section">
1231 <div class="form-group">
1232 <h4 class="qc-opt-title">
1233 <?php esc_html_e('Start Keyword', 'chatbot'); ?>
1234 </h4>
1235 <input type="text" class="form-control qc-opt-dcs-font"
1236 name="qlcd_wp_chatbot_sys_key_help"
1237 value="<?php echo esc_attr((get_option('qlcd_wp_chatbot_sys_key_help') != '' ? get_option('qlcd_wp_chatbot_sys_key_help'): 'start')) ; ?> ">
1238 </div>
1239 <div class="form-group">
1240 <h4 class="qc-opt-title"><strong>
1241 <?php esc_html_e('FAQ', 'chatbot'); ?>
1242 </strong>
1243 <?php esc_html_e('Keyword', 'chatbot'); ?>
1244 </h4>
1245 <input type="text" class="form-control qc-opt-dcs-font"
1246 name="qlcd_wp_chatbot_sys_key_support"
1247 value="<?php echo esc_attr((get_option('qlcd_wp_chatbot_sys_key_support') != '' ? get_option('qlcd_wp_chatbot_sys_key_support') : 'faq')); ?> ">
1248 </div>
1249 <div class="form-group">
1250 <h4 class="qc-opt-title"><strong>
1251 <?php esc_html_e('Converstion History Clear', 'chatbot'); ?>
1252 </strong>
1253 <?php esc_html_e('Keyword', 'chatbot'); ?>
1254 </h4>
1255 <input type="text" class="form-control qc-opt-dcs-font"
1256 name="qlcd_wp_chatbot_sys_key_reset"
1257 value="<?php echo esc_attr((get_option('qlcd_wp_chatbot_sys_key_reset') != '' ? get_option('qlcd_wp_chatbot_sys_key_reset') : 'reset')); ?> ">
1258 </div>
1259 <div class="form-group">
1260 <h4 class="qc-opt-title"><strong>
1261 <?php esc_html_e('eMail', 'chatbot'); ?>
1262 </strong>
1263 <?php esc_html_e('Keyword to Send eMail', 'chatbot'); ?>
1264 </h4>
1265 <input type="text" class="form-control qc-opt-dcs-font"
1266 name="qlcd_wp_chatbot_sys_key_email"
1267 value="<?php echo esc_attr((get_option('qlcd_wp_chatbot_sys_key_email') != '' ? get_option('qlcd_wp_chatbot_sys_key_email'): 'email')); ?>">
1268 </div>
1269 <div class="form-group">
1270 <?php
1271 $help_welcome_options = maybe_unserialize(wp_kses_post(get_option('qlcd_wp_chatbot_help_welcome')));
1272 $help_welcome_option = 'qlcd_wp_chatbot_help_welcome';
1273 $help_welcome_text = esc_html('Welcome to Help Section');
1274 $this->qcld_wb_chatbot_dynamic_multi_option($help_welcome_options, $help_welcome_option, $help_welcome_text);
1275 ?>
1276 </div>
1277 <div class="form-group">
1278 <?php
1279 $help_msg_options = maybe_unserialize(wp_kses_post(get_option('qlcd_wp_chatbot_help_msg')));
1280 $help_msg_option = 'qlcd_wp_chatbot_help_msg';
1281 $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>';
1282 $this->qcld_wb_chatbot_dynamic_multi_option($help_msg_options, $help_msg_option, $help_msg_text);
1283 ?>
1284 </div>
1285 <div class="form-group">
1286 <?php
1287 $reset_options = maybe_unserialize(wp_kses_post(get_option('qlcd_wp_chatbot_reset')));
1288 $reset_option = 'qlcd_wp_chatbot_reset';
1289 $reset_text = esc_html('Do you want to clear our chat history and start over?' );
1290 $this->qcld_wb_chatbot_dynamic_multi_option($reset_options, $reset_option, $reset_text);
1291 ?>
1292 </div>
1293 </div>
1294 <!-- col-xs-12-->
1295 </div>
1296 <!-- row-->
1297 </div>
1298 <!-- top-section-->
1299 </div>
1300 </div>
1301 <!-- tab-content-->
1302 </section>
1303 <section id="section-flip-51">
1304 <!-- <div class="<?php // esc_attr_e( 'cxsc-settings-blocks-notic" style="<?php // echo esc_attr('background: #2271B1'); ?>">
1305 <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'); ?>
1306 </div> -->
1307 <div class="wp-chatbot-socail-btn-summmery"> </div>
1308
1309 <div class="tab-content">
1310 <div id="wp-chatbot-lng-general" class="tab-pane fade in active">
1311 <div class="top-section">
1312 <div class="row">
1313 <div class="col-xs-12" id="wp-chatbot-socila-btn">
1314
1315
1316
1317 <div class="form-group">
1318 <h4 class="qc-opt-title"> <?php echo esc_html__( 'Enable Chat Reactions for analytics (Like & Dislike)', 'chatbot' ); ?> </h4>
1319 <div class="cxsc-settings-blocks">
1320 <input value="1" id="skip_chat_reactions_menu" type="checkbox"
1321 name="skip_chat_reactions_menu" <?php echo( get_option( 'skip_chat_reactions_menu' ) == 1 ? 'checked' : '' ); ?>>
1322 <label for="skip_chat_reactions_menu"><?php echo esc_html__( 'Enable Chat Reactions for analytics (Like & Dislike)', 'chatbot' ); ?> </label>
1323 </div>
1324 </div>
1325 <div class="form-group">
1326 <h4 class="qc-opt-title">
1327 <?php esc_html_e('Like Text', 'chatbot'); ?>
1328 </h4>
1329 <input type="text" class="form-control qc-opt-dcs-font "
1330 name="qlcd_wp_chatbot_like_text"
1331 value="<?php echo esc_attr((get_option('qlcd_wp_chatbot_like_text') != '' ? get_option('qlcd_wp_chatbot_like_text') : 'Like')); ?>">
1332 </div>
1333 <div class="form-group">
1334 <h4 class="qc-opt-title">
1335 <?php esc_html_e('Dislike Text', 'chatbot'); ?>
1336 </h4>
1337 <input type="text" class="form-control qc-opt-dcs-font "
1338 name="qlcd_wp_chatbot_dislike_text"
1339 value="<?php echo esc_attr((get_option('qlcd_wp_chatbot_dislike_text') != '' ? get_option('qlcd_wp_chatbot_dislike_text') : 'Dislike')); ?>">
1340 </div>
1341
1342 <div class="form-group">
1343 <h4 class="qc-opt-title"> <?php echo esc_html__( 'Enable Reporting Message', 'wpchatbot' ); ?> </h4>
1344 <div class="cxsc-settings-blocks">
1345 <input value="1" id="enable_chat_report_menu" type="checkbox"
1346 name="enable_chat_report_menu" <?php echo( get_option( 'enable_chat_report_menu' ) == 1 ? 'checked' : '' ); ?>>
1347 <label for="enable_chat_report_menu"><?php echo esc_html__( 'Enable Reporting Message', 'wpchatbot' ); ?> </label>
1348 </div>
1349 </div>
1350 <div class="form-group">
1351 <h4 class="qc-opt-title">
1352 <?php esc_html_e('Report this Message', 'chatbot'); ?>
1353 </h4>
1354 <input type="text" class="form-control qc-opt-dcs-font "
1355 name="qlcd_wp_chatbot_report_text"
1356 value="<?php echo esc_attr((get_option('qlcd_wp_chatbot_report_text') != '' ? get_option('qlcd_wp_chatbot_report_text') : 'Report')); ?>">
1357 </div>
1358 <div class="form-group">
1359 <h4 class="qc-opt-title"> <?php echo esc_html__( 'Enable Chat Share', 'wpchatbot' ); ?> </h4>
1360 <div class="cxsc-settings-blocks">
1361 <input value="1" id="enable_chat_share_menu" type="checkbox"
1362 name="enable_chat_share_menu" <?php echo( get_option( 'enable_chat_share_menu' ) == 1 ? 'checked' : '' ); ?>>
1363 <label for="enable_chat_share_menu"><?php echo esc_html__( 'Enable Chat Share', 'wpchatbot' ); ?> </label>
1364 </div>
1365 </div>
1366 <div class="form-group">
1367 <h4 class="qc-opt-title">
1368 <?php esc_html_e('Share', 'chatbot'); ?>
1369 </h4>
1370 <input type="text" class="form-control qc-opt-dcs-font "
1371 name="qlcd_wp_chatbot_share_text"
1372 value="<?php echo esc_attr((get_option('qlcd_wp_chatbot_share_text') != '' ? get_option('qlcd_wp_chatbot_share_text') : 'Share')); ?>">
1373 </div>
1374
1375 </div>
1376
1377 </div>
1378 </div>
1379 </div>
1380 <div id="wp-chatbot-lng-reserve-keyword" class="tab-pane fade">
1381 <div class="top-section">
1382 <div class="row">
1383 <div class="col-xs-12" id="wp-chatbot-language-section">
1384 <div class="form-group">
1385 <h4 class="qc-opt-title">
1386 <?php esc_html_e('Start Keyword', 'chatbot'); ?>
1387 </h4>
1388 <input type="text" class="form-control qc-opt-dcs-font"
1389 name="qlcd_wp_chatbot_sys_key_help"
1390 value="<?php echo esc_attr((get_option('qlcd_wp_chatbot_sys_key_help') != '' ? get_option('qlcd_wp_chatbot_sys_key_help'): 'start')) ; ?> ">
1391 </div>
1392 <div class="form-group">
1393 <h4 class="qc-opt-title"><strong>
1394 <?php esc_html_e('FAQ', 'chatbot'); ?>
1395 </strong>
1396 <?php esc_html_e('Keyword', 'chatbot'); ?>
1397 </h4>
1398 <input type="text" class="form-control qc-opt-dcs-font"
1399 name="qlcd_wp_chatbot_sys_key_support"
1400 value="<?php echo esc_attr((get_option('qlcd_wp_chatbot_sys_key_support') != '' ? get_option('qlcd_wp_chatbot_sys_key_support') : 'faq')); ?> ">
1401 </div>
1402 <div class="form-group">
1403 <h4 class="qc-opt-title"><strong>
1404 <?php esc_html_e('Converstion History Clear', 'chatbot'); ?>
1405 </strong>
1406 <?php esc_html_e('Keyword', 'chatbot'); ?>
1407 </h4>
1408 <input type="text" class="form-control qc-opt-dcs-font"
1409 name="qlcd_wp_chatbot_sys_key_reset"
1410 value="<?php echo esc_attr((get_option('qlcd_wp_chatbot_sys_key_reset') != '' ? get_option('qlcd_wp_chatbot_sys_key_reset') : 'reset')); ?> ">
1411 </div>
1412 <div class="form-group">
1413 <h4 class="qc-opt-title"><strong>
1414 <?php esc_html_e('eMail', 'chatbot'); ?>
1415 </strong>
1416 <?php esc_html_e('Keyword to Send eMail', 'chatbot'); ?>
1417 </h4>
1418 <input type="text" class="form-control qc-opt-dcs-font"
1419 name="qlcd_wp_chatbot_sys_key_email"
1420 value="<?php echo esc_attr((get_option('qlcd_wp_chatbot_sys_key_email') != '' ? get_option('qlcd_wp_chatbot_sys_key_email'): 'email')); ?>">
1421 </div>
1422 </div>
1423 <!-- col-xs-12-->
1424 </div>
1425 <!-- row-->
1426 </div>
1427 <!-- top-section-->
1428 </div>
1429 </div>
1430 <!-- tab-content-->
1431 </section>
1432 <section id="section-flip-3">
1433 <!-- <div class="<?php // esc_attr_e( 'cxsc-settings-blocks-notic" style="<?php // echo esc_attr('background: #2271B1'); ?>">
1434 <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'); ?>
1435 </div> -->
1436 <ul class="nav nav-tabs">
1437 <li class="active"><a data-toggle="tab" href="#wp-chatbot-icon-theme-settings"><?php esc_html_e('Icons & Themes', 'chatbot'); ?></a></li>
1438 <li><a data-toggle="tab" href="#wp-chatbot-custom-color-options"><?php esc_html_e('Custom Style Options', 'chatbot'); ?></a></li>
1439 </ul>
1440 <div class="tab-content">
1441 <div id="wp-chatbot-icon-theme-settings" class="tab-pane fade in active">
1442 <div class="top-section">
1443 <div class="row">
1444 <div class="col-xs-12">
1445
1446 <h3 class="qcld-wpbot-main-tabs-title">
1447 <?php esc_html_e('WPBot Icon', 'chatbot'); ?>
1448 </h3>
1449 <div class="cxsc-settings-blocks">
1450 <ul class="radio-list">
1451
1452 <li>
1453 <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="">
1454 <input id="wp_chatbot_icon_0" type="radio"
1455 name="wp_chatbot_icon" <?php echo(get_option('wp_chatbot_icon') == 'icon-0.png' ? esc_attr('checked' ): ''); ?>
1456 value="<?php echo esc_attr('icon-0.png'); ?>">
1457 <?php esc_html_e('Icon - 0', 'chatbot'); ?>
1458 </label>
1459 </li>
1460 <li>
1461 <label for="wp_chatbot_icon_1" class="qc-opt-dcs-font"><img src="<?php echo esc_url(QCLD_wpCHATBOT_IMG_URL); ?>/icon-1.png"
1462 alt="">
1463 <input id="wp_chatbot_icon_1" type="radio"
1464 name="wp_chatbot_icon" <?php echo(get_option('wp_chatbot_icon') == 'icon-1.png' ? esc_attr('checked' ): ''); ?>
1465 value="<?php echo esc_attr('icon-1.png'); ?>">
1466 <?php esc_html_e('Icon - 1', 'chatbot'); ?>
1467 </label>
1468 </li>
1469 <li>
1470 <label for="wp_chatbot_icon_2" class="qc-opt-dcs-font"><img src="<?php echo esc_url(QCLD_wpCHATBOT_IMG_URL); ?>/icon-2.png"
1471 alt="">
1472 <input id="wp_chatbot_icon_2" type="radio"
1473 name="wp_chatbot_icon" <?php echo(get_option('wp_chatbot_icon') == 'icon-2.png' ? esc_attr('checked' ): ''); ?>
1474 value="<?php echo esc_attr('icon-2.png'); ?>">
1475 <?php esc_html_e('Icon - 2', 'chatbot'); ?>
1476 </label>
1477 </li>
1478 <li>
1479 <label for="wp_chatbot_icon_3" class="qc-opt-dcs-font"><img src="<?php echo esc_url(QCLD_wpCHATBOT_IMG_URL); ?>/icon-3.png"
1480 alt="">
1481 <input id="wp_chatbot_icon_3" type="radio"
1482 name="wp_chatbot_icon" <?php echo(get_option('wp_chatbot_icon') == 'icon-3.png' ? esc_attr('checked' ): ''); ?>
1483 value="<?php echo esc_attr('icon-3.png'); ?>">
1484 <?php esc_html_e('Icon - 3', 'chatbot'); ?>
1485 </label>
1486 </li>
1487 <li>
1488 <label for="wp_chatbot_icon_4" class="qc-opt-dcs-font"><img src="<?php echo esc_url(QCLD_wpCHATBOT_IMG_URL); ?>/icon-4.png"
1489 alt="' ">
1490 <input id="wp_chatbot_icon_4" type="radio"
1491 name="wp_chatbot_icon" <?php echo(get_option('wp_chatbot_icon') == 'icon-4.png' ? esc_attr('checked'): ''); ?>
1492 value="<?php echo esc_attr('icon-4.png'); ?>">
1493 <?php esc_html_e('Icon - 4', 'chatbot'); ?>
1494 </label>
1495 </li>
1496 <li>
1497 <label for="wp_chatbot_icon_5" class="qc-opt-dcs-font"><img src="<?php echo esc_url(QCLD_wpCHATBOT_IMG_URL); ?>/icon-5.png"
1498 alt="">
1499 <input id="wp_chatbot_icon_5" type="radio"
1500 name="wp_chatbot_icon" <?php echo(get_option('wp_chatbot_icon') == 'icon-5.png' ? esc_attr('checked' ): ''); ?>
1501 value="<?php echo esc_attr('icon-5.png'); ?>">
1502 <?php esc_html_e('Icon - 5', 'chatbot'); ?>
1503 </label>
1504 </li>
1505 <li>
1506 <label for="wp_chatbot_icon_6" class="qc-opt-dcs-font"><img src="<?php echo esc_url(QCLD_wpCHATBOT_IMG_URL); ?>/icon-6.png"
1507 alt=" ">
1508 <input id="wp_chatbot_icon_6" type="radio"
1509 name="wp_chatbot_icon" <?php echo(get_option('wp_chatbot_icon') == 'icon-6.png' ? esc_attr('checked' ): ''); ?>
1510 value="<?php echo esc_attr('icon-6.png'); ?>">
1511 <?php esc_html_e('Icon - 6', 'chatbot'); ?>
1512 </label>
1513 </li>
1514 <li>
1515 <label for="wp_chatbot_icon_7" class="qc-opt-dcs-font"><img src="<?php echo esc_url(QCLD_wpCHATBOT_IMG_URL); ?>/icon-7.png"
1516 alt=" ">
1517 <input id="wp_chatbot_icon_7" type="radio"
1518 name="wp_chatbot_icon" <?php echo(get_option('wp_chatbot_icon') == 'icon-7.png' ? esc_attr('checked' ): ''); ?>
1519 value="<?php echo esc_attr('icon-7.png'); ?>">
1520 <?php esc_html_e('Icon - 7', 'chatbot'); ?>
1521 </label>
1522 </li>
1523 <li>
1524 <label for="wp_chatbot_icon_8" class="qc-opt-dcs-font"><img src="<?php echo esc_url(QCLD_wpCHATBOT_IMG_URL); ?>/icon-8.png"
1525 alt="">
1526 <input id="wp_chatbot_icon_8" type="radio"
1527 name="wp_chatbot_icon" <?php echo(get_option('wp_chatbot_icon') == 'icon-8.png' ? esc_attr('checked' ): ''); ?>
1528 value="<?php echo esc_attr('icon-8.png'); ?>">
1529 <?php esc_html_e('Icon - 8', 'chatbot'); ?>
1530 </label>
1531 </li>
1532 <li>
1533 <label for="wp_chatbot_icon_9" class="qc-opt-dcs-font"><img src="<?php echo esc_url(QCLD_wpCHATBOT_IMG_URL); ?>/icon-9.png"
1534 alt=" ">
1535 <input id="wp_chatbot_icon_9" type="radio"
1536 name="wp_chatbot_icon" <?php echo(get_option('wp_chatbot_icon') == 'icon-9.png' ? esc_attr('checked' ): ''); ?>
1537 value="<?php echo esc_attr('icon-9.png'); ?>">
1538 <?php esc_html_e('Icon - 9', 'chatbot'); ?>
1539 </label>
1540 </li>
1541 <li>
1542 <label for="wp_chatbot_icon_10" class="qc-opt-dcs-font"><img src="<?php echo esc_url(QCLD_wpCHATBOT_IMG_URL); ?>/icon-10.png"
1543 alt=" ">
1544 <input id="wp_chatbot_icon_10" type="radio"
1545 name="wp_chatbot_icon" <?php echo(get_option('wp_chatbot_icon') == 'icon-10.png' ? esc_attr('checked' ): ''); ?>
1546 value="<?php echo esc_attr('icon-10.png'); ?>">
1547 <?php esc_html_e('Icon - 10', 'chatbot'); ?>
1548 </label>
1549 </li>
1550 <li>
1551 <label for="wp_chatbot_icon_11" class="qc-opt-dcs-font"><img src="<?php echo esc_url(QCLD_wpCHATBOT_IMG_URL); ?>/icon-11.png"
1552 alt="">
1553 <input id="wp_chatbot_icon_11" type="radio"
1554 name="wp_chatbot_icon" <?php echo(get_option('wp_chatbot_icon') == 'icon-11.png' ? esc_attr('checked' ): ''); ?>
1555 value="<?php echo esc_attr('icon-11.png'); ?>">
1556 <?php esc_html_e('Icon - 11', 'chatbot'); ?>
1557 </label>
1558 </li>
1559 <li>
1560 <label for="wp_chatbot_icon_12" class="qc-opt-dcs-font"><img src="<?php echo esc_url(QCLD_wpCHATBOT_IMG_URL); ?>/icon-12.png"
1561 alt="">
1562 <input id="wp_chatbot_icon_12" type="radio"
1563 name="wp_chatbot_icon" <?php echo(get_option('wp_chatbot_icon') == 'icon-12.png' ? esc_attr('checked' ): ''); ?>
1564 value="<?php echo esc_attr('icon-12.png'); ?>">
1565 <?php esc_html_e('Icon - 12', 'chatbot'); ?>
1566 </label>
1567 </li>
1568
1569 <li>
1570 <label for="wp_chatbot_icon_13" class="qc-opt-dcs-font"><img src="<?php echo esc_url(QCLD_wpCHATBOT_IMG_URL); ?>/icon-13.png"
1571 alt="">
1572 <input id="wp_chatbot_icon_13" type="radio"
1573 name="wp_chatbot_icon" <?php echo(get_option('wp_chatbot_icon') == 'icon-13.png' ? esc_attr('checked' ): ''); ?>
1574 value="<?php echo esc_attr('icon-13.png'); ?>">
1575 <?php esc_html_e('Icon - 13', 'chatbot'); ?>
1576 </label>
1577 </li>
1578 <li>
1579 <?php
1580 if (get_option('wp_chatbot_custom_icon_path') != "") {
1581 $wp_chatbot_custom_icon_path = get_option('wp_chatbot_custom_icon_path');
1582 } else {
1583 $wp_chatbot_custom_icon_path = esc_url(QCLD_wpCHATBOT_IMG_URL) . 'custom.png';
1584 }
1585 ?>
1586 <label for="wp_chatbot_custom_icon_input" class="qc-opt-dcs-font"> <img id="wp_chatbot_custom_icon_src "
1587 src="<?php echo esc_url($wp_chatbot_custom_icon_path); ?>" alt=" ">
1588 <input id="wp_chatbot_custom_icon_input" type="radio"
1589 name="wp_chatbot_icon"
1590 value="<?php echo esc_attr('custom.png' ); ?>" <?php echo(get_option('wp_chatbot_icon') == 'custom.png' ? esc_attr('checked' ): ''); ?>>
1591 <?php esc_html_e('Custom Icon', 'chatbot'); ?>
1592 </label>
1593 </li>
1594 </ul>
1595 </div>
1596 <!-- cxsc-settings-blocks-->
1597
1598 <div class="row">
1599 <div class="col-xs-12">
1600 <div class="cxsc-settings-blocks">
1601 <div class="form-group">
1602 <h4 class="qc-opt-title">
1603 <?php esc_html_e('WPBot Icon Background Color.', 'chatbot'); ?>
1604 </h4>
1605 <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') ); ?>"/>
1606 </div>
1607 </div>
1608 </div>
1609 </div>
1610 <div class="row">
1611 <div class="col-xs-12">
1612 <div class="form-group">
1613 <h4 class="qc-opt-title">
1614 <?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>
1615 </h4>
1616 <div class="cxsc-settings-blocks">
1617 <input type="hidden" name="wp_chatbot_custom_icon_path"
1618 id="wp_chatbot_custom_icon_path"
1619 value="<?php echo esc_attr( $wp_chatbot_custom_icon_path ); ?>"/>
1620 <button type="button" class="qcld_chatbot_custom_icon_button button">
1621 <?php esc_html_e('Upload Icon', 'chatbot'); ?>
1622 </button>
1623 </div>
1624 </div>
1625 </div>
1626 </div>
1627
1628
1629
1630 <div class="row">
1631 <div class="col-xs-12">
1632 <div class="form-group">
1633 <h4 class="qc-opt-title">
1634 <?php esc_html_e(' WPBot Agent Image', 'chatbot'); ?>
1635 </h4>
1636 <div class="cxsc-settings-blocks">
1637 <ul class="radio-list radio-list-custom">
1638 <li>
1639 <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"
1640 alt="">
1641 <input id="wp_chatbot_agent_image_def" type="radio"
1642 name="wp_chatbot_agent_image" <?php echo(get_option('wp_chatbot_agent_image') == 'agent-0.png' ? esc_attr('checked' ): ''); ?>
1643 value="agent-0.png">
1644 <?php esc_html_e('Default Agent', 'chatbot'); ?>
1645 </label>
1646 </li>
1647 <li>
1648
1649 <?php
1650 if (get_option('wp_chatbot_custom_agent_path') != "") {
1651 $wp_chatbot_custom_agent_path = get_option('wp_chatbot_custom_agent_path');
1652 } else {
1653 $wp_chatbot_custom_agent_path = esc_url(QCLD_wpCHATBOT_IMG_URL) . 'custom.png';
1654 }
1655 ?>
1656
1657 <label for="wp_chatbot_agent_image_custom" class="qc-opt-dcs-font"> <img id="wp_chatbot_custom_agent_src"
1658 src="<?php echo esc_url($wp_chatbot_custom_agent_path); ?>"
1659 alt="Agent">
1660 <input type="radio" name="wp_chatbot_agent_image"
1661 id="wp_chatbot_agent_image_custom"
1662 value="<?php echo esc_attr('custom-agent.png' ); ?>" <?php echo(get_option('wp_chatbot_agent_image') == 'custom-agent.png' ? esc_attr('checked' ): ''); ?>>
1663 <?php esc_html_e('Custom Agent', 'chatbot'); ?></label>
1664
1665 </li>
1666 </ul>
1667 </div>
1668 <!-- cxsc-settings-blocks-->
1669 </div>
1670 </div>
1671 </div>
1672 </div>
1673 </div>
1674 </div>
1675 <div class="top-section">
1676 <div class="row">
1677 <div class="col-xs-12">
1678 <div class="form-group">
1679 <h4 class="qc-opt-title">
1680 <?php esc_html_e('Custom Agent Icon', 'chatbot'); ?>
1681 </h4>
1682 <div class="cxsc-settings-blocks">
1683 <input type="hidden" name="wp_chatbot_custom_agent_path"
1684 id="wp_chatbot_custom_agent_path"
1685 value="<?php echo esc_attr( $wp_chatbot_custom_agent_path ); ?>"/>
1686 <button type="button" class="wp_chatbot_custom_agent_button button">
1687 <?php esc_html_e('Upload Agent Icon', 'chatbot'); ?>
1688 </button>
1689 </div>
1690 </div>
1691 </div>
1692 </div>
1693 </div>
1694 <div id="top-section">
1695 <div class="form-group">
1696 <div class="row">
1697 <div class="col-sm-12">
1698 <h4 class="qc-opt-title">
1699 <?php esc_html_e('WPBot Themes', 'chatbot'); ?>
1700 </h4>
1701 </div>
1702 </div>
1703 <div class="row qcld_thumbnail_theme_prev">
1704 <div class="col-sm-3">
1705 <label for="qcld_wb_chatbot_theme_0"> <img class="thumbnail theme_prev"
1706 src="<?php echo esc_url(QCLD_wpCHATBOT_IMG_URL); ?>templates/template-00.JPG"
1707 alt="Theme Basic">
1708 <input id="qcld_wb_chatbot_theme_0" type="radio"
1709 name="qcld_wb_chatbot_theme" <?php echo(get_option('qcld_wb_chatbot_theme') == 'template-00' ? esc_attr('checked' ): ''); ?>
1710 value="template-00">
1711 <?php esc_html_e('Theme Basic', 'chatbot'); ?>
1712 </label>
1713 </div>
1714 <div class="col-sm-3">
1715 <label for="qcld_wb_chatbot_theme_1"> <img class="thumbnail theme_prev"
1716 src="<?php echo esc_url(QCLD_wpCHATBOT_IMG_URL); ?>templates/template-01.JPG"
1717 alt="Theme Basic">
1718 <input id="qcld_wb_chatbot_theme_1" type="radio"
1719 name="qcld_wb_chatbot_theme" <?php echo(get_option('qcld_wb_chatbot_theme') == 'template-01' ? esc_attr('checked' ): ''); ?>
1720 value="template-01">
1721 <?php esc_html_e('Theme One', 'chatbot'); ?>
1722 </label>
1723 </div>
1724 <div class="col-sm-6">
1725 <label for="qcld_wb_chatbot_theme_horizontal"> <img class="thumbnail theme_prev"
1726 src="<?php echo esc_url(QCLD_wpCHATBOT_IMG_URL); ?>templates/horizontal.png"
1727 alt="Theme horizontal">
1728 <input id="qcld_wb_chatbot_theme_horizontal" type="radio"
1729 name="qcld_wb_chatbot_theme" <?php echo(get_option('qcld_wb_chatbot_theme') == 'template-horizontal' ? esc_attr('checked' ): ''); ?>
1730 value="template-horizontal">
1731 <?php esc_html_e('Theme Horizontal', 'chatbot'); ?>
1732 </label>
1733 </div>
1734 </div>
1735 </div>
1736 </div>
1737 </div>
1738
1739
1740 <div id="wp-chatbot-custom-color-options" class="tab-pane fade">
1741 <div class="top-section">
1742 <div class="row">
1743
1744 <div class="col-xs-6">
1745 <div class="cxsc-settings-blocks cxsc-settings-blocks-style">
1746 <div class="form-group">
1747 <h4 class="qc-opt-title">
1748 <?php esc_html_e('Enable Custom Styles', 'chatbot'); ?>
1749 </h4>
1750 <div class="cxsc-settings-blocks">
1751 <input value="1" id="enable_wp_chatbot_custom_color" type="checkbox"
1752 name="enable_wp_chatbot_custom_color" <?php echo(get_option('enable_wp_chatbot_custom_color') == 1 ? esc_attr('checked' ): ''); ?>>
1753 <label for="enable_wp_chatbot_custom_color">
1754 <?php esc_html_e('Enable Custom Styles', 'chatbot'); ?>
1755 </label>
1756 </div>
1757 </div>
1758 </div>
1759 </div>
1760 <div class="col-xs-6">
1761 <div class="cxsc-settings-blocks">
1762 <div class="form-group">
1763 <h4 class="qc-opt-title">
1764 <?php esc_html_e('Text Color.', 'chatbot'); ?>
1765 </h4>
1766 <input id="wp_chatbot_text_color" type="text"
1767 name="wp_chatbot_text_color"
1768 value="<?php echo esc_attr((get_option('wp_chatbot_text_color') != '' ? get_option('wp_chatbot_text_color') : '#37424c')); ?>"/>
1769 </div>
1770 </div>
1771 </div>
1772 <div class="col-xs-6">
1773 <div class="cxsc-settings-blocks">Enable Custom Styles
1774 <div class="form-group">
1775 <h4 class="qc-opt-title">
1776 <?php esc_html_e('Link Color.', 'chatbot'); ?>
1777 </h4>
1778 <input id="wp_chatbot_link_color" type="text"
1779 name="wp_chatbot_link_color"
1780 value="<?php echo esc_attr((get_option('wp_chatbot_link_color') != '' ? get_option('wp_chatbot_link_color') : '#e2cc1f')); ?>"/>
1781 </div>
1782 </div>
1783 </div>
1784 <div class="col-xs-6">
1785 <div class="cxsc-settings-blocks">
1786 <div class="form-group">
1787 <h4 class="qc-opt-title">
1788 <?php esc_html_e('Link Hover Color.', 'chatbot'); ?>
1789 </h4>
1790 <input id="wp_chatbot_link_hover_color" type="text"
1791 name="wp_chatbot_link_hover_color"
1792 value="<?php echo esc_attr((get_option('wp_chatbot_link_hover_color') != '' ? get_option('wp_chatbot_link_hover_color') : '#734006')); ?>"/>
1793 </div>
1794 </div>
1795 </div>
1796 <div class="col-xs-6">
1797 <div class="cxsc-settings-blocks">
1798 <div class="form-group">
1799 <h4 class="qc-opt-title">
1800 <?php esc_html_e('Bot Message Background Color.', 'chatbot'); ?>
1801 </h4>
1802 <input id="wp_chatbot_bot_msg_bg_color" type="text"
1803 name="wp_chatbot_bot_msg_bg_color"
1804 value="<?php echo esc_attr((get_option('wp_chatbot_bot_msg_bg_color') != '' ? get_option('wp_chatbot_bot_msg_bg_color'): '#1f8ceb')) ; ?>"/>
1805 </div>
1806 </div>
1807 </div>
1808 <div class="col-xs-6">
1809 <div class="cxsc-settings-blocks">
1810 <div class="form-group">
1811 <h4 class="qc-opt-title">
1812 <?php esc_html_e('Bot Message Text Color.', 'chatbot'); ?>
1813 </h4>
1814 <input id="wp_chatbot_bot_msg_text_color" type="text"
1815 name="wp_chatbot_bot_msg_text_color"
1816 value="<?php echo esc_attr((get_option('c') != '' ? get_option('wp_chatbot_bot_msg_text_color') : '#ffffff')); ?>"/>
1817 </div>
1818 </div>
1819 </div>
1820 <div class="col-xs-6">
1821 <div class="cxsc-settings-blocks">
1822 <div class="form-group">
1823 <h4 class="qc-opt-title">
1824 <?php esc_html_e('User Message Background Color.', 'chatbot'); ?>
1825 </h4>
1826 <input id="wp_chatbot_user_msg_bg_color" type="text"
1827 name="wp_chatbot_user_msg_bg_color"
1828 value="<?php echo esc_attr((get_option('wp_chatbot_user_msg_bg_color') != '' ? get_option('wp_chatbot_user_msg_bg_color') : '#ffffff') ); ?>"/>
1829 </div>
1830 </div>
1831 </div>
1832 <div class="col-xs-6">
1833 <div class="cxsc-settings-blocks">
1834 <div class="form-group">
1835 <h4 class="qc-opt-title">
1836 <?php esc_html_e('User Message Text Color.', 'chatbot'); ?>
1837 </h4>
1838 <input id="wp_chatbot_user_msg_text_color" type="text"
1839 name="wp_chatbot_user_msg_text_color"
1840 value="<?php echo esc_attr((get_option('wp_chatbot_user_msg_text_color') != '' ? get_option('wp_chatbot_user_msg_text_color') : '#000000')); ?>"/>
1841 </div>
1842 </div>
1843 </div>
1844 <div class="col-xs-6">
1845 <div class="cxsc-settings-blocks">
1846 <div class="form-group">
1847 <h4 class="qc-opt-title">
1848 <?php esc_html_e('Buttons Background Color.', 'chatbot'); ?>
1849 </h4>
1850 <input id="wp_chatbot_buttons_bg_color" type="text"
1851 name="wp_chatbot_buttons_bg_color"
1852 value="<?php echo esc_attr((get_option('wp_chatbot_buttons_bg_color') != '' ?get_option('wp_chatbot_buttons_bg_color'): '#1f8ceb')) ; ?>"/>
1853 </div>
1854 </div>
1855 </div>
1856 <div class="col-xs-6">
1857 <div class="cxsc-settings-blocks">
1858 <div class="form-group">
1859 <h4 class="qc-opt-title">
1860 <?php esc_html_e('Buttons Hover Background Color.', 'chatbot'); ?>
1861 </h4>
1862 <input id="wp_chatbot_buttons_bg_color" type="text"
1863 name="wp_chatbot_buttons_bg_color_hover"
1864 value="<?php echo esc_attr((get_option('wp_chatbot_buttons_bg_color_hover') != '' ? get_option('wp_chatbot_buttons_bg_color_hover') : '#1f8ceb')); ?>"/>
1865 </div>
1866 </div>
1867 </div>
1868 <div class="col-xs-6">
1869 <div class="cxsc-settings-blocks">
1870 <div class="form-group">
1871 <h4 class="qc-opt-title">
1872 <?php esc_html_e('Buttons Text Color.', 'chatbot'); ?>
1873 </h4>
1874 <input id="wp_chatbot_buttons_text_color" type="text"
1875 name="wp_chatbot_buttons_text_color"
1876 value="<?php echo esc_attr((get_option('wp_chatbot_buttons_text_color') != '' ? get_option('wp_chatbot_buttons_text_color') : '#ffffff')); ?>"/>
1877 </div>
1878 </div>
1879 </div>
1880 <div class="col-xs-6">
1881 <div class="cxsc-settings-blocks">
1882 <div class="form-group">
1883 <h4 class="qc-opt-title">
1884 <?php esc_html_e('Buttons Text Color Hover.', 'chatbot'); ?>
1885 </h4>
1886 <input id="wp_chatbot_buttons_text_color" type="text"
1887 name="wp_chatbot_buttons_text_color_hover"
1888 value="<?php echo esc_attr((get_option('wp_chatbot_buttons_text_color_hover') != '' ? get_option('wp_chatbot_buttons_text_color_hover') : '#ffffff')); ?>"/>
1889 </div>
1890 </div>
1891 </div>
1892 <div class="col-xs-6">
1893 <div class="cxsc-settings-blocks">
1894 <div class="form-group">
1895 <h4 class="qc-opt-title">
1896 <?php esc_html_e('Header background Color', 'chatbot'); ?>
1897 </h4>
1898 <input id="wp_chatbot_header_background_color" type="text"
1899 name="wp_chatbot_header_background_color"
1900 value="<?php echo esc_attr((get_option('wp_chatbot_header_background_color') != '' ? get_option('wp_chatbot_header_background_color'): '#ffffff')); ?>"/>
1901 </div>
1902 </div>
1903 </div>
1904 <div class="col-xs-6">
1905 <div class="cxsc-settings-blocks">
1906 <div class="form-group">
1907 <h4 class="qc-opt-title">
1908 <?php esc_html_e('Theme Primary Color', 'chatbot'); ?>
1909 </h4>
1910 <input id="wp_chatbot_theme_primary_color" type="text"
1911 name="wp_chatbot_theme_primary_color"
1912 value="<?php echo esc_attr((get_option('wp_chatbot_theme_primary_color') != '' ? get_option('wp_chatbot_theme_primary_color') : '#ffffff')); ?>"/>
1913 </div>
1914 </div>
1915 </div>
1916 <div class="col-xs-6">
1917 <div class="cxsc-settings-blocks">
1918 <div class="form-group">
1919 <h4 class="qc-opt-title">
1920 <?php esc_html_e('Theme Secondary Color', 'chatbot'); ?>
1921 </h4>
1922 <input id="wp_chatbot_theme_secondary_color" type="text"
1923 name="wp_chatbot_theme_secondary_color"
1924 value="<?php echo esc_attr((get_option('wp_chatbot_theme_secondary_color') != '' ? get_option('wp_chatbot_theme_secondary_color') : '#ffffff')); ?>"/>
1925 </div>
1926 </div>
1927 </div>
1928 <div class="col-xs-6">
1929 <div class="cxsc-settings-blocks">
1930 <div class="form-group">
1931 <h4 class="qc-opt-title">
1932 <?php esc_html_e('Font size', 'chatbot'); ?>
1933 </h4>
1934 <input id="wp_chatbot_font_size" type="number"
1935 name="wp_chatbot_font_size"
1936 value="<?php echo esc_attr((get_option('wp_chatbot_font_size') != '' ? get_option('wp_chatbot_font_size'): '16')) ; ?>"/>
1937 </div>
1938 </div>
1939 </div>
1940 <div class="col-xs-6">
1941 <div class="cxsc-settings-blocks">
1942 <div class="form-group">
1943 <h4 class="qc-opt-title">
1944 <?php
1945 esc_html_e('User message Font family ', 'chatbot');
1946 $user_font = get_option('wp_chat_user_font_family') != '' ? get_option('wp_chat_user_font_family') : '';
1947 $user_font_family = str_replace("\\", "",$user_font);
1948 ?>
1949 </h4>
1950 <input id="wp_chatbot_user_font" type="text" name="wp_chatbot_user_font"
1951 value="<?php echo esc_attr((get_option('wp_chatbot_user_font') != '' ? get_option('wp_chatbot_user_font') : ''));?>">
1952 <input id="wp_chat_user_font_family" type="hidden"
1953 name="wp_chat_user_font_family"
1954 />
1955 </div>
1956 </div>
1957 </div>
1958 <div class="col-xs-6">
1959 <div class="cxsc-settings-blocks">
1960 <div class="form-group">
1961 <h4 class="qc-opt-title">
1962 <?php
1963 esc_html_e('Bot message Font family ', 'chatbot');
1964 $bot_font = get_option('wp_chat_bot_font_family') != '' ? get_option('wp_chat_bot_font_family') : '';
1965 $bot_font_family = str_replace("\\", "",$bot_font);
1966 ?>
1967 </h4>
1968 <input id="wp_chatbot_bot_font" type="text" name="wp_chatbot_bot_font"
1969 value="<?php echo esc_attr((get_option('wp_chatbot_bot_font') != '' ? get_option('wp_chatbot_bot_font') : ''));?>">
1970 <input id="wp_chat_bot_font_family" type="hidden"
1971 name="wp_chat_bot_font_family"
1972 />
1973 </div>
1974 </div>
1975 </div>
1976
1977 <?php
1978 $custom_js = "jQuery(function ($) {
1979 $('#wp_chat_user_font_family').val(JSON.stringify(". esc_attr($user_font_family) ."));
1980 $('#wp_chat_bot_font_family').val(JSON.stringify(". esc_attr($bot_font_family)."));
1981 $('#wp_chatbot_user_font')
1982 .fontpicker()
1983 .on('change', function() {
1984 var tmp = this.value.split(':'),
1985 family = tmp[0],
1986 variant = tmp[1] || '400',
1987 weight = parseInt(variant,10),
1988 italic = /i$/.test(variant);
1989 var css = {
1990 fontFamily:family,
1991 fontWeight: weight,
1992 fontStyle: italic ? 'italic' : 'normal'
1993 };
1994 $('#wp_chat_user_font_family').val(JSON.stringify(css));
1995 });
1996 $('#wp_chatbot_bot_font')
1997 .fontpicker()
1998 .on('change', function() {
1999 var tmp = this.value.split(':'),
2000 family = tmp[0],
2001 variant = tmp[1] || '400',
2002 weight = parseInt(variant,10),
2003 italic = /i$/.test(variant);
2004 // Set selected font on body
2005 var css = {
2006 fontFamily:family,
2007 fontWeight: weight,
2008 fontStyle: italic ? 'italic' : 'normal'
2009 };
2010 $('#wp_chat_bot_font_family').val(JSON.stringify(css));
2011 });
2012 });
2013 ";
2014 wp_add_inline_script('qcld-wp-chatbot-admin-js', $custom_js );
2015
2016 ?>
2017 </div>
2018 </div>
2019 </div>
2020 </div>
2021 </section>
2022
2023 <section id="section-flip-4">
2024 <div class="row">
2025 <div class="col-xs-12">
2026 <!-- <div class="<?php // esc_attr_e( 'cxsc-settings-blocks-notic" style="<?php // echo esc_attr('background: #2271B1'); ?>">
2027 <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'); ?>
2028 </div> -->
2029 </div>
2030 </div>
2031 <div class="top-section">
2032 <h3 class="qcld-wpbot-main-tabs-title">
2033 <?php esc_html_e('Build FAQ Query and Answers', 'chatbot'); ?>
2034
2035 </h3>
2036
2037 <p><b><?php esc_html_e('These FAQs are not searchable. You can use ChatBot->Simple Text Responses for searchable FAQs', 'chatbot'); ?></b></p>
2038
2039 <div class="block-inner ui-sortable qcld-faq-block" id="wp-chatbot-support-builder">
2040 <?php
2041 $support_quereis=$this->qcld_wb_chatbot_str_replace(maybe_unserialize( get_option('support_query')));
2042 $support_ans=$this->qcld_wb_chatbot_str_replace(maybe_unserialize( get_option('support_ans')));
2043 if (($support_quereis[0] != '') && ($support_ans[0] != '') && !empty($support_ans[0]) && (count($support_ans) == count($support_quereis))) {
2044
2045 $query_ans_counter=0;
2046 foreach (array_combine($support_quereis, $support_ans) as $query => $ans) {
2047 ?>
2048 <div class="row"> <span class="pull-right"> </span>
2049 <div class="col-xs-12">
2050 <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>
2051
2052 <div class="cxsc-settings-blocks cxsc-settings-faq-blocks">
2053 <p>
2054 <b> <?php esc_html_e('FAQ query ', 'chatbot'); ?> </b>
2055 </p>
2056 <input type="text" class="form-control" name="support_query[]"
2057 placeholder="<?php esc_html_e('FAQ query', 'chatbot' ); ?> " value="<?php echo esc_html( $query ); ?>">
2058 <br>
2059 <p>
2060 <b><?php esc_html_e('FAQ answer', 'chatbot'); ?></b>
2061 </p>
2062 <?php
2063 $anss = is_string( $ans ) ? $ans : '';
2064 $answer = !is_array($ans) ? stripcslashes($ans) : $anss;
2065
2066 wp_editor(html_entity_decode($answer), 'support_ans'.'_'.$query_ans_counter, array('textarea_name' =>
2067 'support_ans[]',
2068 'textarea_rows' => 20,
2069 'editor_height' => 100,
2070 'disabled' => 'disabled',
2071 'media_buttons' => false,
2072 'tinymce' => array(
2073 'toolbar1' => 'bold,italic,underline,separator,alignleft,aligncenter,alignright,separator,link,unlink',)
2074 ));
2075
2076 ?>
2077 </div>
2078 </div>
2079 </div>
2080 <?php
2081 $query_ans_counter++;
2082 }
2083 //}
2084 } else {
2085 ?>
2086 <div class="row"> <span class="pull-right"> </span>
2087 <div class="col-xs-12">
2088 <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>
2089
2090 <div class="cxsc-settings-blocks">
2091 <p>
2092 <b> <?php esc_html_e('FAQ Query', 'chatbot'); ?></b>
2093 </p>
2094 <input type="text" class="form-control" name="support_query[]"
2095 placeholder="<?php esc_html_e('FAQ Query ', 'chatbot'); ?> ">
2096 <br>
2097 <p class="qc-opt-dcs-font"><strong>
2098 <?php esc_html_e('Support answer', 'chatbot'); ?>
2099 </strong></p>
2100 <?php
2101 wp_editor(html_entity_decode(stripcslashes('')), 'support_ans_0', array('textarea_name' =>
2102 'support_ans[]',
2103 'textarea_rows' => 20,
2104 'editor_height' => 100,
2105 'disabled' => 'disabled',
2106 'media_buttons' => false,
2107 'tinymce' => array(
2108 'toolbar1' => 'bold,italic,underline,separator,alignleft,aligncenter,alignright,separator,link,unlink',)
2109 ));
2110 ?>
2111 </div>
2112 <br>
2113 </div>
2114 </div>
2115 <?php
2116 }
2117 ?>
2118 </div>
2119 <div class="row">
2120 <div class="col-sm-6 text-left"></div>
2121 <div class="col-sm-6 text-right">
2122 <button class="btn btn-success btn-sm" type="button"
2123 id="add-more-support-query">
2124 <i class="fa fa-plus" aria-hidden="true"></i>
2125
2126 </button>
2127 </div>
2128 </div>
2129 </div>
2130 </section>
2131
2132
2133 <section id="section-flip-6">
2134 <!-- <div class="<?php // esc_attr_e( 'cxsc-settings-blocks-notic" style="<?php // echo esc_attr('background: #2271B1'); ?>">
2135 <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'); ?>
2136 </div> -->
2137 <?php
2138 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');
2139 ?>
2140 <div class="top-section">
2141 <div class="notification-block-inner">
2142 <div class="row">
2143 <div class="col-xs-12">
2144 <div id="qcld-show-more-wrapper-box">
2145 <div class="qcld-show-more-text qcld-show-more-show-more-height">
2146 <div class="row">
2147 <div class="col-xs-12">
2148 <h3 class="qcld-wpbot-main-tabs-title"><?php echo esc_attr('Predefined Intents'); ?></h3>
2149 <div class="row">
2150 <div class="col-xs-12">
2151 <div class="form-group">
2152 <h4 class="qc-opt-title">
2153 <?php esc_html_e('Site Search', 'chatbot'); ?>
2154 </h4>
2155 <div class="cxsc-settings-blocks">
2156 <input value="<?php echo esc_attr('1' ); ?>" id="disable_wp_chatbot_site_search" type="checkbox"
2157 name="disable_wp_chatbot_site_search" <?php echo(get_option('disable_wp_chatbot_site_search') == 1 ? esc_attr('checked' ): ''); ?>>
2158 <label for="disable_wp_chatbot_site_search">
2159 <?php esc_html_e('Disable site search feature and button on Start Menu', 'chatbot'); ?>
2160 </label>
2161 </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>
2162 </div>
2163 <div class="cxsc-settings-blocks">
2164 <input value="<?php echo esc_attr('1' ); ?>" id="enable_wp_chatbot_post_content" type="checkbox"
2165 name="enable_wp_chatbot_post_content" <?php echo(get_option('enable_wp_chatbot_post_content') == 1 ? esc_attr('checked' ): ''); ?>>
2166 <label for="enable_wp_chatbot_post_content">
2167 <?php esc_html_e('Enable Searching Post Contents as well', 'chatbot'); ?>
2168 </label>
2169 </div>
2170 </div>
2171 </div>
2172 </div>
2173 <div class="form-group">
2174 <h4 class="qc-opt-title">
2175 <?php esc_html_e('Button Label', 'chatbot'); ?>
2176 </h4>
2177 <input type="text" class="form-control qc-opt-dcs-font"
2178 name="qlcd_wp_chatbot_wildcard_site_search"
2179 value="<?php echo esc_attr((get_option('qlcd_wp_chatbot_wildcard_site_search') != '' ? get_option('qlcd_wp_chatbot_wildcard_site_search') : 'Site Search')); ?> ">
2180 </div>
2181 <div class="row">
2182 <div class="col-xs-12">
2183 <div class="form-group">
2184 <h4 class="qc-opt-title">
2185 <?php esc_html_e('Call Me', 'chatbot'); ?>
2186 </h4>
2187 <div class="cxsc-settings-blocks">
2188 <input value="<?php echo esc_attr('1'); ?>" id="disable_wp_chatbot_call_gen" type="checkbox"
2189 name="disable_wp_chatbot_call_gen" <?php echo(get_option('disable_wp_chatbot_call_gen') == 1 ? esc_attr('checked' ): ''); ?>>
2190 <label for="disable_wp_chatbot_call_gen">
2191 <?php esc_html_e('Disable Call Me feature and button on Start Menu', 'chatbot'); ?>
2192 </label>
2193 </div>
2194 </div>
2195 </div>
2196 </div>
2197 <div class="form-group">
2198 <h4 class="qc-opt-title">
2199 <?php esc_html_e('Button Label', 'chatbot'); ?>
2200 </h4>
2201 <input type="text" class="form-control qc-opt-dcs-font"
2202 name="qlcd_wp_chatbot_support_phone"
2203 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!')); ?> ">
2204 </div>
2205 <div class="row">
2206 <div class="col-xs-12">
2207 <div class="form-group">
2208 <h4 class="qc-opt-title">
2209 <?php esc_html_e('Email', 'chatbot'); ?>
2210 </h4>
2211 <div class="cxsc-settings-blocks">
2212 <input value="<?php echo esc_attr('1' ); ?>" id="disable_wp_chatbot_feedback" type="checkbox"
2213 name="disable_wp_chatbot_feedback" <?php echo esc_attr((get_option('disable_wp_chatbot_feedback') == 1 ? 'checked' : ''), 'chatbot' ); ?>>
2214 <label for="disable_wp_chatbot_feedback">
2215 <?php esc_html_e('Disable Email feature and button on Start Menu', 'chatbot'); ?>
2216 </label>
2217 </div>
2218 </div>
2219 </div>
2220 </div>
2221 <div class="form-group">
2222 <h4 class="qc-opt-title">
2223 <?php esc_html_e('Button Label', 'chatbot'); ?>
2224 </h4>
2225 <input type="text" class="form-control qc-opt-dcs-font"
2226 name="qlcd_wp_chatbot_support_email"
2227 value="<?php echo esc_attr((get_option('qlcd_wp_chatbot_support_email') != '' ? get_option('qlcd_wp_chatbot_support_email') : 'Send us Email')); ?> ">
2228 </div>
2229 <div class="row">
2230 <div class="col-xs-12">
2231 <div class="form-group">
2232 <h4 class="qc-opt-title">
2233 <?php esc_html_e('FAQ', 'chatbot'); ?>
2234 </h4>
2235 <div class="cxsc-settings-blocks">
2236 <input value="<?php echo esc_attr('1' ); ?>" id="disable_wp_chatbot_faq" type="checkbox"
2237 name="disable_wp_chatbot_faq" <?php echo(get_option('disable_wp_chatbot_faq') == 1 ? esc_attr('checked' ): ''); ?>>
2238 <label for="disable_wp_chatbot_faq">
2239 <?php esc_html_e('Disable FAQ feature and button on Start Menu', 'chatbot'); ?>
2240 </label>
2241 </div>
2242 </div>
2243 </div>
2244 </div>
2245 <div class="form-group">
2246 <h4 class="qc-opt-title">
2247 <?php esc_html_e('Button Label', 'chatbot'); ?>
2248 </h4>
2249 <input type="text" class="form-control qc-opt-dcs-font"
2250 name="qlcd_wp_chatbot_wildcard_support"
2251 value="<?php echo esc_attr((get_option('qlcd_wp_chatbot_wildcard_support') != '' ? get_option('qlcd_wp_chatbot_wildcard_support') : 'FAQ')); ?> ">
2252 </div>
2253
2254 </div>
2255 </div>
2256 </div>
2257 <div class="qcld-show-more-show-more"><i class="fa fa-plus-circle" aria-hidden="true"></i></div>
2258 </div>
2259 <div class="qc_menu_setup_area">
2260 <h3 class="qcld-wpbot-main-tabs-title"><?php esc_html_e('Menu Sorting & Customization Area', 'chatbot'); ?></h3>
2261 <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>
2262 <p><?php esc_html_e('To adjust the Active Menu ordering just drag it up or down.', 'chatbot'); ?><br>
2263 <?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>
2264 <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>
2265
2266 <div class="qc_menu_area_box">
2267 <div class="qc_menu_area">
2268 <h4><?php esc_html_e( 'Acitve Menu', 'chatbot'); ?></h4>
2269 <div class="qc_menu_area_container" id="qc_menu_area">
2270 <?php
2271 if(get_option('qc_wpbot_menu_order')!=''):
2272 if( is_string( get_option('qc_wpbot_menu_order') ) ):
2273 echo wp_kses_post(wp_kses_stripslashes(get_option('qc_wpbot_menu_order')));
2274 else:
2275 endif;
2276 ?>
2277
2278
2279 <?php endif; ?>
2280 </div>
2281 </div>
2282 <div class="qc_menu_list_area">
2283 <h4><?php esc_html_e('Available Menu', 'chatbot'); ?></h4>
2284 <div class="qc_menu_list_container">
2285 <p><?php esc_html_e('Predefined Intents', 'chatbot'); ?></p>
2286 <ul>
2287 <li>
2288 <?php if(get_option('disable_wp_chatbot_faq')==''): ?>
2289 <span class="qcld-chatbot-wildcard qc_draggable_item" data-wildcart="support"><?php echo esc_attr(get_option('qlcd_wp_chatbot_wildcard_support')); ?></span>
2290 <?php endif; ?>
2291 </li>
2292 <li>
2293 <?php if(get_option('disable_wp_chatbot_site_search')==''): ?>
2294 <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>
2295 <?php endif; ?>
2296 </li>
2297 <li>
2298 <?php if(get_option('enable_wp_chatbot_messenger')=='1'): ?>
2299 <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>
2300 <?php endif; ?>
2301 </li>
2302 <li>
2303 <?php if(get_option('enable_wp_chatbot_whats')=='1'): ?>
2304 <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>
2305 <?php endif; ?>
2306 </li>
2307 <li>
2308 <?php if(get_option('disable_wp_chatbot_feedback')==''): ?>
2309 <span class="qcld-chatbot-suggest-email qc_draggable_item"><?php echo esc_attr(get_option('qlcd_wp_chatbot_support_email')); ?></span>
2310 <?php endif; ?>
2311 </li>
2312 <li>
2313 <?php if(get_option('disable_wp_chatbot_call_gen')==''): ?>
2314 <span class="qcld-chatbot-suggest-phone qc_draggable_item" ><?php echo esc_attr(get_option('qlcd_wp_chatbot_support_phone')); ?></span>
2315 <?php endif; ?>
2316 </li>
2317 </ul>
2318 <?php
2319 if(class_exists('Qcformbuilder_Forms_Admin')){
2320
2321 global $wpdb;
2322
2323 //To Do: Need to use prepared statement
2324
2325 $results = $wpdb->get_results($wpdb->prepare("SELECT * FROM ". $wpdb->prefix."wfb_forms where 1 and type=%s",'primary')); //DB Call OK, No Caching OK.
2326 if(!empty($results)){
2327 ?>
2328 <p><?php esc_html_e('Conversational Form', 'chatbot'); ?></p>
2329 <ul>
2330 <?php
2331 foreach($results as $result){
2332 $form = maybe_unserialize($result->config);
2333 ?>
2334 <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>
2335 <?php
2336 }
2337 ?>
2338 </ul>
2339 <?php
2340 }
2341 }
2342 ?>
2343 </div>
2344 </div>
2345
2346 </div>
2347
2348
2349 </div>
2350 <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'))); ?>' />
2351 </div>
2352 </div>
2353 </div>
2354 </div>
2355 </section>
2356 <section id="section-flip-7">
2357 <!-- <div class="<?php // esc_attr_e( 'cxsc-settings-blocks-notic" style="<?php // echo esc_attr('background: #2271B1'); ?>">
2358 <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'); ?>
2359 </div> -->
2360 <div class="top-section">
2361 <div class="wp-chatbot-language-center-summmery">
2362 <p>
2363 <?php esc_html_e('DialogFlow as Artificial Intelligences Engine for wpwBot', 'chatbot'); ?>
2364 </p>
2365 </div>
2366
2367 <div class="row wp-chatbot-language-center-summmery-checkbox">
2368 <div class="col-xs-12">
2369 <div class="wrapTexttop-lite">
2370 <h3 class="qcld-wpbot-main-tabs-title"><?php esc_html_e('Enable DialogFlow as AI Engine to Detect Intent', 'chatbot'); ?> </h3>
2371 <div class="alert alert-warning" role="alert">
2372 <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>
2373 <h5 style="color: #f00;font-weight:900 "><?php esc_html_e(' Enable either DialogFlow or OpenAI', 'chatbot'); ?> </h5>
2374 </div>
2375 <div class="cxsc-settings-blocks">
2376 <input value="1" id="enable_wp_chatbot_dailogflow" type="checkbox"
2377 name="enable_wp_chatbot_dailogflow" <?php echo(get_option('enable_wp_chatbot_dailogflow') == 1 ? esc_attr('checked' ): ''); ?>>
2378 <label for="enable_wp_chatbot_dailogflow"><?php esc_html_e('Enable DialogFlow AI Engine to process Natural Language commands from users.', 'chatbot'); ?> </label> <br>
2379
2380 </div>
2381 </div>
2382
2383
2384 <div class="qcld-dialogflow-enable-notice">If you Enable DialogFlow but do not configure it properly, the ChatBot will not respond.</div>
2385 </div>
2386
2387 <div class="col-xs-12" id="wp-chatbot-dialflow-section">
2388 <p><?php esc_html_e('Log in to DialogFlow Console from', 'chatbot'); ?>
2389 <a class="wpbot_df_instruction" href="<?php echo esc_url('https://dialogflow.com/', 'chatbot'); ?>"
2390 target="_blank">
2391 <?php esc_html_e('Here', 'chatbot'); ?></a>
2392 <?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>
2393 <h4 class="qc-opt-title"><?php esc_html_e('DialogFlow API Version', 'chatbot'); ?></h4>
2394 <div class="form-group">
2395 <label class="radio-inline ">
2396 <input id="wp-chatbot-df-api" type="radio"
2397 name="wp_chatbot_df_api"
2398 value="v2" checked>
2399 <?php esc_html_e('Dialogflow API V2', 'chatbot'); ?> </label>
2400 </div>
2401 <div id="wp-chatbot-df-section-v2" style="display:block">
2402 <!-- Dialogflow V2 Configuration -->
2403
2404 <?php if(!file_exists(QCLD_wpCHATBOT_GC_DIRNAME.'/autoload.php')): ?>
2405 <div class="form-group"> <br>
2406 <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>
2407 <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>
2408 <div class="qcld-wpbot-gcdownload-area">
2409 <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>
2410 <?php
2411 if(!is_writable(QCLD_wpCHATBOT_GC_ROOT)){
2412 echo '<span style="color:red;font-size: 12px; "><b>'.esc_html('wp-content').' </b> '.esc_html('folder is not writable.').'</span>';
2413 }
2414 ?>
2415 <br>
2416 <br>
2417 <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>
2418 <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>
2419 <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>
2420 <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>
2421 <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>
2422 <div class="qcld_wpbot_download_statuses"> </div>
2423 </div>
2424 <br>
2425 </div>
2426 <?php else: ?>
2427 <div class="form-group">
2428 <h4 class="qc-opt-title" style="color:green "><?php esc_html_e('Google Client Package is Installed on Your Website.', 'chatbot'); ?></h4>
2429 </div>
2430 <?php endif; ?>
2431 <div class="form-group">
2432 <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>
2433 </div>
2434 <div class="form-group">
2435 <h4 class="qc-opt-title"><?php esc_html_e('DialogFlow Project ID', 'chatbot'); ?></h4>
2436 <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>
2437 <input type="text" class="form-control qc-opt-dcs-font"
2438 name="qlcd_wp_chatbot_dialogflow_project_id"
2439 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'); ?> ">
2440 </div>
2441 <?php
2442
2443 $placeholderPrivatekey = '{
2444 "type": "service_account",
2445 "project_id": "PLACEYOUROWNID",
2446 "private_key_id": "31e300128..........c48",
2447 "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",
2448 "client_email": "dialogflow-evysjn@wpbotpro.iam.gserviceaccount.com",
2449 "client_id": "1026.....032997",
2450 "auth_uri": "https://accounts.google.com/o/oauth2/auth",
2451 "token_uri": "https://oauth2.googleapis.com/token",
2452 "auth_provider_x509_cert_url": "https://www.googleapis.com/oauth2/v1/certs",
2453 "client_x509_cert_url": "https://www.googleapis.com/robot/v1/metadata/x509/dialogflow-evysjn%40wpbotpro.iam.gserviceaccount.com"
2454 }';
2455
2456 ?>
2457 <div class="form-group">
2458 <h4 class="qc-opt-title"><?php esc_html_e('Private Key', 'chatbot'); ?></h4>
2459 <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>
2460 <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>
2461 </div>
2462
2463 <!-- End Dialogflow V2 Configuration -->
2464 </div>
2465 <div class="form-group">
2466 <h4 class="qc-opt-title"><?php esc_html_e('Please Click the Button Below to Test Dialogflow Connection.', 'chatbot'); ?> </h4>
2467 <p style="color:red "><?php esc_html_e('*Save settings before pressing Test Dialogflow Connection', 'chatbot'); ?><br>
2468 <?php esc_html_e('*You must have owner permission for the service account your are using in Dialogflow agent.', 'chatbot'); ?></p>
2469 <div class="cxsc-settings-blocks">
2470 <button class="btn btn-primary" id="qc_wpbot_df_status"><?php esc_html_e('Test Dialogflow Connection', 'chatbot'); ?></button>
2471 <div class="qcwp_df_status"></div>
2472 </div>
2473 </div>
2474 <br>
2475 <div class="form-group">
2476 <h4 class="qc-opt-title">
2477 <?php esc_html_e('DialogFlow Default reply', 'chatbot'); ?>
2478 </h4>
2479 <input type="text" class="form-control qc-opt-dcs-font"
2480 name="qlcd_wp_chatbot_dialogflow_defualt_reply"
2481 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'); ?> ">
2482 </div>
2483 <div class="form-group">
2484 <h4 class="qc-opt-title"><?php esc_html_e('DialogFlow Agent Language (Ex: en)', 'chatbot'); ?></h4>
2485 <input type="text" class="form-control qc-opt-dcs-font"
2486 name="qlcd_wp_chatbot_dialogflow_agent_language"
2487 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'); ?>">
2488 </div>
2489 </div>
2490 </div>
2491 </div>
2492 </section>
2493
2494 <section id="section-flip-9">
2495 <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>
2496 <?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>
2497
2498 <div class="qcld-recommendbot-conv-feature">
2499 <?php include_once QCLD_wpCHATBOT_PLUGIN_DIR_PATH . '/qcld-recommendbot-plugin.php'; ?>
2500 </div>
2501 <div class="qcld-seo-help-feature">
2502 <h3><?php esc_html_e('What Can You Do with it?', 'chatbot'); ?></h3>
2503 <p><?php esc_html_e('Conversation Forms Pro allows you to create a wide variety of forms, that might include:', 'chatbot'); ?></p>
2504 <ul>
2505 <li><?php esc_html_e('🚀 Conditional Menu Driven Conversations', 'chatbot'); ?></li>
2506 <li><?php esc_html_e('🚀 Standard Contact Forms', 'chatbot'); ?></li>
2507 <li><?php esc_html_e('🚀 Dynamic, conditional Forms – where fields can change based on the user selections', 'chatbot'); ?></li>
2508 <li><?php esc_html_e('🚀 Job Application Forms', 'chatbot'); ?></li>
2509 <li><?php esc_html_e('🚀 Lead Capture Forms', 'chatbot'); ?></li>
2510 <li><?php esc_html_e('🚀 Various types of Calculators', 'chatbot'); ?></li>
2511 <li><?php esc_html_e('🚀 Feedback Survey Forms etc.', 'chatbot'); ?></li>
2512 <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>
2513 </ul>
2514
2515 <h3><?php esc_html_e('How it Works?', 'chatbot'); ?></h3>
2516 <p><?php esc_html_e('After creating a Conversation or form, you can show it in the ChatBot in different ways.', 'chatbot'); ?></p>
2517 <ul>
2518 <li><?php esc_html_e('🚀 Add it to the Start menu', 'chatbot'); ?></li>
2519 <li><?php esc_html_e('🚀 Invoke the form intent with a system command to start inside ChatBot any time', 'chatbot'); ?></li>
2520 <li><?php esc_html_e('🚀 Load the single intent/form inside a ChatBot widget on any page', 'chatbot'); ?></li>
2521 <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>
2522 <li><?php esc_html_e('🚀 Trigger another conversational form or Intent like Live Chat using conditions', 'chatbot'); ?></li>
2523 </ul>
2524 <h3><?php esc_html_e('Feature Highlights', 'chatbot'); ?></h3>
2525
2526
2527 <div class="qcld-seo-help-feature-left">
2528 <ul>
2529 <li><?php esc_html_e('🚀 Easy to use visual drag and drop conversations and form builder', 'chatbot'); ?></li>
2530 <li><?php esc_html_e('🚀 Create conversational form or just conversation using the HTML element', 'chatbot'); ?></li>
2531 <li><?php esc_html_e('🚀 Add text fields, single option selection or multiple option selection with checkboxes', 'chatbot'); ?></li>
2532 <li><?php esc_html_e('🚀 Add HTML contents inside the conversation forms', 'chatbot'); ?></li>
2533 <li><?php esc_html_e('🚀 eMail conversations or forms to the admin at the end of conversation', 'chatbot'); ?></li>
2534 <li><?php esc_html_e('🚀 Set different recipient email addresses for different conversation forms', 'chatbot'); ?></li>
2535 <li><?php esc_html_e('🚀 Clone form', 'chatbot'); ?></li>
2536 <li><?php esc_html_e('🚀 Export/Import Forms', 'chatbot'); ?></li>
2537 <li><?php esc_html_e('🚀 Form Entries saved into database', 'chatbot'); ?></li>
2538 <li><?php esc_html_e('🚀 Export Form Entries as CSV', 'chatbot'); ?></li>
2539 <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>
2540 <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>
2541 <li><?php esc_html_e('🚀 Processor – Auto Responder – Send an auto response e-mail for form submission', 'chatbot'); ?></li>
2542 <li><?php esc_html_e('🚀 Unlimited Conditional Field creation', 'chatbot'); ?></li>
2543 <li><?php esc_html_e('🚀 Trigger another conversational form or Intent like Live Chat using conditions (**NEW)', 'chatbot'); ?></li>
2544 <li><?php esc_html_e('🚀 Unlimited Variables creation', 'chatbot'); ?></li>
2545 <li><?php esc_html_e('🚀 Form Revisions', 'chatbot'); ?></li>
2546 <li><?php esc_html_e('🚀 Create system command to initiate form for ChatBot', 'chatbot'); ?></li>
2547 <li><?php esc_html_e('🚀 Add form to Start Menu', 'chatbot'); ?></li>
2548 <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>
2549 </ul>
2550 </div>
2551
2552 </div>
2553 </section>
2554
2555 <section id="section-flip-13">
2556 <!-- <div class="<?php // esc_attr_e( 'cxsc-settings-blocks-notic" style="<?php // echo esc_attr('background: #2271B1'); ?>">
2557 <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'); ?>
2558 </div> -->
2559 <div class="top-section">
2560 <div class="row">
2561 <div class="col-xs-12">
2562 <h4 class="qc-opt-dcs"><?php esc_html_e('You can paste or write your custom css here.', 'chatbot'); ?></h4>
2563 <textarea name="wp_chatbot_custom_css"
2564 class="form-control wp-chatbot-custom-css"
2565 cols="10"
2566 rows="16"><?php echo esc_textarea(get_option('wp_chatbot_custom_css')); ?></textarea>
2567 </div>
2568 </div>
2569 <!-- row-->
2570 </div>
2571 </section>
2572
2573 <section id="section-flip-11">
2574 <div class="cxsc-settings-blocks-addon">
2575 <?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>
2576
2577 <div class="qcld-recommendbot-conv-feature">
2578 <?php include_once QCLD_wpCHATBOT_PLUGIN_DIR_PATH . '/qcld-recommendbot-ai-plugin.php'; ?>
2579
2580 </div>
2581 <div class="qcld-seo-help-feature">
2582 <h3><?php esc_html_e('SEO Help Features', 'chatbot'); ?></h3>
2583 <h4><?php esc_html_e('OpenAI ChatGPT or Google Gemini Powered Content Generator', 'chatbot'); ?></h4>
2584 <p>
2585 <?php esc_html_e('🚀 Supports both Google Gemini AI and OpenAI (ChatGPT)', 'chatbot'); ?><br>
2586 <?php esc_html_e('🚀 Generate Text Contents for your Blog with the Click of a Button – Turbo content generator', 'chatbot'); ?><br>
2587 <?php esc_html_e('🚀 Generate Single Articles directly from your Blog post edit page', 'chatbot'); ?><br>
2588 <?php esc_html_e('🚀 Generate BULK articles and schedule each article’s publish time', 'chatbot'); ?><br>
2589 <?php esc_html_e('🚀 Select to auto publish or save in draft', 'chatbot'); ?><br>
2590 <?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>
2591 <?php esc_html_e('🚀 Automatically Create and Insert AI Images inside your articles', 'chatbot'); ?><br>
2592 <?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>
2593 <?php esc_html_e('🚀 A Collection of hundreds of ready Prompts for your ideas', 'chatbot'); ?><br>
2594 <?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>
2595 <?php esc_html_e('🚀 Save AI Generated images to Media Library with one click', 'chatbot'); ?><br>
2596 <?php esc_html_e('🚀 AI Image Gutenberg Block. Create and Insert Image directly into your blog post', 'chatbot'); ?><br>
2597 <?php esc_html_e('🚀 Generate Meta Description with one click', 'chatbot'); ?><br>
2598 <?php esc_html_e('🚀 Add meta description tag automatically to the page source', 'chatbot'); ?><br>
2599 <?php esc_html_e('🚀 OpenAI playground', 'chatbot'); ?><br>
2600 <?php esc_html_e('🚀 ChatGPT and Google Gemini in WordPress backend', 'chatbot'); ?><br>
2601 <?php esc_html_e('🚀 Humanize article so they do not sound AI written', 'chatbot'); ?></p>
2602 <h4><?php esc_html_e('YouTube Video Subtitle to SEO Article Generator with AI', 'chatbot'); ?></h4>
2603 <p>
2604 <?php esc_html_e('🚀 Generate Articles from YouTube Subtitles. Works Best for Long form Videos', 'chatbot'); ?><br>
2605 <?php esc_html_e('🚀 Rewrite subtitle to a SEO Friendly Blog Article', 'chatbot'); ?><br>
2606 <?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>
2607 <?php esc_html_e('🚀 Directly Generate a Blog Post Draft', 'chatbot'); ?><br>
2608 <?php esc_html_e('🚀 Humanize article so they do not sound AI written', 'chatbot'); ?></p>
2609 <h4><?php esc_html_e('RSS Feed to Post, Auto Blogging', 'chatbot'); ?></h4>
2610 <p>
2611 <?php esc_html_e('🚀 Automatically Import and Convert RSS feed items to WordPress pages, posts, and custom post type.', 'chatbot'); ?><br>
2612 <?php esc_html_e('🚀 Automatically import and aggregate unlimited RSS feeds from unlimited sources', 'chatbot'); ?><br>
2613 <?php esc_html_e('🚀 Schedule RSS Feed to Post according to your need for Autoblogging', 'chatbot'); ?><br>
2614 <?php esc_html_e('🚀 Rewrite RSS feeds with OpenAI AI before publishing to prevent duplicate contents', 'chatbot'); ?></p>
2615 <h4><?php esc_html_e('SEO Features', 'chatbot'); ?></h4>
2616 <p>
2617 <?php esc_html_e('🚀 Outputs all the essential meta tags that are essential for Search Engine Optimization', 'chatbot'); ?><br>
2618 <?php esc_html_e('🚀 Meta tags can be set for each Post type', 'chatbot'); ?><br>
2619 <?php esc_html_e('🚀 Configure Meta Tags Globally and Per Post basis', 'chatbot'); ?><br>
2620 <?php esc_html_e('🚀 Generate and Add Meta Description with one click', 'chatbot'); ?><br>
2621 <?php esc_html_e('🚀 Set the OGP information required for Social Networking Websites such as Facebook and Twitter.', 'chatbot'); ?><br>
2622 <?php esc_html_e('🚀 Customize the meta tag information individually for each post, page, and term.', 'chatbot'); ?><br>
2623 <?php esc_html_e('🚀 Easily set the Google Analytics measurement code and Webmaster Tools verification code.', 'chatbot'); ?><br>
2624 <?php esc_html_e('🚀 Works out of the box', 'chatbot'); ?></p>
2625 <h4><?php esc_html_e('SEO Optimized Images', 'chatbot'); ?></h4>
2626 <p>
2627 <?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>
2628 <?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>
2629 <?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>
2630 <h4><?php esc_html_e('No-Index Features', 'chatbot'); ?></h4>
2631 <p>
2632 <?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'); ?>
2633 </p>
2634 <h5><?php esc_html_e('1. Pages and Posts', 'chatbot'); ?></h5>
2635 <p>
2636 <?php esc_html_e('🚀 Front Page: Block the indexing of the website’s front page.', 'chatbot'); ?><br>
2637 <?php esc_html_e('🚀 Home Page: Block the indexing of the website’s home page.', 'chatbot'); ?><br>
2638 <?php esc_html_e('🚀 Page: Block the indexing of the site’s pages.', 'chatbot'); ?><br>
2639 <?php esc_html_e('🚀 Privacy Policy Page: Block the indexing of the website’s privacy policy page.', 'chatbot'); ?><br>
2640 <?php esc_html_e('🚀 Single Post: Block the indexing of a post on the site.', 'chatbot'); ?>
2641 </p>
2642 <h5><?php esc_html_e('2. Taxonomies', 'chatbot'); ?></h5>
2643 <p>
2644 <?php esc_html_e('🚀 Categories: Block the indexing of the website categories.', 'chatbot'); ?><br>
2645 <?php esc_html_e('🚀 Tags: Block the indexing of the website’s tags.', 'chatbot'); ?>
2646 </p>
2647 <h5><?php esc_html_e('3. Dates', 'chatbot'); ?></h5>
2648 <p>
2649 <?php esc_html_e('🚀 Date: Block the indexing based on any date-based archive pages.', 'chatbot'); ?><br>
2650 <?php esc_html_e('🚀 Day, Month, Time, Year: Block the indexing for daily, monthly, by time, or yearly archive of the site.', 'chatbot'); ?>
2651 </p>
2652 <h5><?php esc_html_e('4. Archives', 'chatbot'); ?></h5>
2653 <p>
2654 <?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>
2655 <?php esc_html_e('🚀 Author: Block the indexing of the author’s page, where the author’s publications appear.', 'chatbot'); ?><br>
2656 <?php esc_html_e('🚀 Post Type Archive: Block the indexing of any post type page.', 'chatbot'); ?>
2657 </p>
2658 <h5><?php esc_html_e('5. Pagination and Search', 'chatbot'); ?></h5>
2659 <p>
2660 <?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>
2661
2662 <?php esc_html_e('🚀 Search: Block the indexing of the internal search result pages.', 'chatbot'); ?>
2663 </p>
2664 <h5><?php esc_html_e('6. Attachments and Previews', 'chatbot'); ?></h5>
2665 <p>
2666 <?php esc_html_e('🚀 Attachment: Block the indexing of an attachment document to a post or page.', 'chatbot'); ?><br>
2667 <?php esc_html_e('🚀 Customize Preview: Block the indexing when a content is being displayed in customize mode', 'chatbot'); ?><br>
2668 <?php esc_html_e('🚀 Preview: Block the indexing when a single post is being displayed in draft mode.', 'chatbot'); ?>
2669 </p>
2670 <h5><?php esc_html_e('7. Error Page', 'chatbot'); ?></h5>
2671 <p>
2672 <?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'); ?>
2673 </p>
2674 <h5><?php esc_html_e('8. Other Features', 'chatbot'); ?></h5>
2675 <p>
2676 <?php esc_html_e('🚀 Works with all modern browsers', 'chatbot'); ?><br>
2677 <?php esc_html_e('🚀 Scan for Broken Links on your website', 'chatbot'); ?><br>
2678 <?php esc_html_e('🚀 Open External links in new window', 'chatbot'); ?><br>
2679 <?php esc_html_e('🚀 Priority, Premium Support', 'chatbot'); ?><br>
2680 <?php esc_html_e('🚀 Auto Upgrades for Plugin', 'chatbot'); ?></p>
2681 </div>
2682 </section>
2683
2684
2685 <footer class="wp-chatbot-admin-footer">
2686 <div class="row">
2687
2688
2689 <input type="submit" class="btn btn-primary submit-button" name="submit"
2690 id="submit" value="Save Settings"/>
2691
2692 </div>
2693 <!-- row-->
2694 </footer>
2695
2696 </div>
2697
2698
2699
2700 <div class="wp-chatbot-admin-upgrade-pro-sidebar">
2701 <div class="wp-chatbot-admingradient-color">
2702 <img class="wp-chatbot-admin-banner" src="<?php echo esc_url( QCLD_wpCHATBOT_IMG_URL . '/template-sample.gif' ); ?>" alt="">
2703 <h3 class="wp-chatbot-admincart-title">Upgrade To <span>Pro</span></h3>
2704 <ul class="feature-list">
2705 <li><img src="<?php echo esc_url( QCLD_wpCHATBOT_IMG_URL . '/check2.svg' ); ?>" alt="">Core WPBot Pro</li>
2706 <li><img src="<?php echo esc_url( QCLD_wpCHATBOT_IMG_URL . '/check2.svg' ); ?>" alt="">Chat Sessions and Histories</li>
2707 <li><img src="<?php echo esc_url( QCLD_wpCHATBOT_IMG_URL . '/check2.svg' ); ?>" alt="">Extended Search Module</li>
2708 <li><img src="<?php echo esc_url( QCLD_wpCHATBOT_IMG_URL . '/check2.svg' ); ?>" alt="">OpenAI Basic and DialogFlow</li>
2709 <li><img src="<?php echo esc_url( QCLD_wpCHATBOT_IMG_URL . '/check2.svg' ); ?>" alt="">Simple text Responses Pro Module</li>
2710 <li><img src="<?php echo esc_url( QCLD_wpCHATBOT_IMG_URL . '/check2.svg' ); ?>" alt="">Conversational Forms Pro Module</li>
2711 <li><img src="<?php echo esc_url( QCLD_wpCHATBOT_IMG_URL . '/check2.svg' ); ?>" alt="">WooCommerce Module</li>
2712 <li><img src="<?php echo esc_url( QCLD_wpCHATBOT_IMG_URL . '/check2.svg' ); ?>" alt="">OpenAI Pro Adv. (Fine Tuning, Assistant)</li>
2713 <li><img src="<?php echo esc_url( QCLD_wpCHATBOT_IMG_URL . '/check2.svg' ); ?>" alt="">Live (Human) Chat Module</li>
2714 <li><img src="<?php echo esc_url( QCLD_wpCHATBOT_IMG_URL . '/check2.svg' ); ?>" alt="">Tavily Search API module</li>
2715 <li><img src="<?php echo esc_url( QCLD_wpCHATBOT_IMG_URL . '/check2.svg' ); ?>" alt="">Extended UI Module</li>
2716 <li><img src="<?php echo esc_url( QCLD_wpCHATBOT_IMG_URL . '/check2.svg' ); ?>" alt="">WebHook & Mailing List Module</li>
2717 <li><img src="<?php echo esc_url( QCLD_wpCHATBOT_IMG_URL . '/check2.svg' ); ?>" alt="">White Label Module</li>
2718 <li><img src="<?php echo esc_url( QCLD_wpCHATBOT_IMG_URL . '/check2.svg' ); ?>" alt="">FaceBook Messenger Module</li>
2719 <li><img src="<?php echo esc_url( QCLD_wpCHATBOT_IMG_URL . '/check2.svg' ); ?>" alt="">WhatsApp through Twilio Module</li>
2720 <li><img src="<?php echo esc_url( QCLD_wpCHATBOT_IMG_URL . '/check2.svg' ); ?>" alt="">Multi Language Module</li>
2721 <li><img src="<?php echo esc_url( QCLD_wpCHATBOT_IMG_URL . '/check2.svg' ); ?>" alt="">Settings Export Import Module</li>
2722 <li><img src="<?php echo esc_url( QCLD_wpCHATBOT_IMG_URL . '/check2.svg' ); ?>" alt="">Voice Message Module</li>
2723 <li><img src="<?php echo esc_url( QCLD_wpCHATBOT_IMG_URL . '/check2.svg' ); ?>" alt="">Voice Chat Module</li>
2724 <li><img src="<?php echo esc_url( QCLD_wpCHATBOT_IMG_URL . '/check2.svg' ); ?>" alt="">Telegram Module</li>
2725 <li><img src="<?php echo esc_url( QCLD_wpCHATBOT_IMG_URL . '/check2.svg' ); ?>" alt="">Priority Technical Support</li>
2726 </ul>
2727
2728 <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>
2729 </div>
2730
2731 </div>
2732
2733
2734
2735
2736 </div>
2737
2738 </section>
2739
2740
2741
2742
2743
2744
2745 </div>
2746 <?php wp_nonce_field('wp_chatbot'); ?>
2747 </form>
2748
2749
2750 </div>
2751
2752