WP Live Chat Support - Version 7.0.07

Version Description

-2017-05-16 - Medium Priority = * You can now change the text of the offline message button * You can now change the text of the close chat button * Added a notification to the chat dashboard to help agents identify if the chat box is not showing up on the front end, and provide a reason * Added ability to set a default visitor name * Added ability to choose which user fields are required (name, email or both) * Added visual aid when new message is sent and chat is minimized (user's side) * Fixed a bug that caused a sound to be played on every page load of a visitor * Fixed a bug that stopped a user from sending a message when the admin initiated a chat * Fixed the bug that showed the incorrect icon for IE * Fixed a bug that caused empty button without remove/delete icon in Missed Chats * Fixed a bug that caused attached images to not display correctly * Fixed a bug that caused notifications to show up in the front end when the agent is testing a chat with him or herself

Download this release

Release Info

Developer WP-LiveChat
Plugin Icon 128x128 WP Live Chat Support
Version 7.0.07
Comparing to
See all releases

Code changes from version 7.0.06 to 7.0.07

ajax_new.php CHANGED
@@ -1,427 +1,431 @@
1
- <?php
2
-
3
- add_action('wp_ajax_wplc_admin_long_poll', 'wplc_init_ajax_callback');
4
- add_action('wp_ajax_wplc_admin_long_poll_chat', 'wplc_init_ajax_callback');
5
- add_action('wp_ajax_wplc_admin_accept_chat', 'wplc_init_ajax_callback');
6
- add_action('wp_ajax_wplc_admin_close_chat', 'wplc_init_ajax_callback');
7
- add_action('wp_ajax_wplc_admin_send_msg', 'wplc_init_ajax_callback');
8
- add_action('wp_ajax_wplc_call_to_server_visitor', 'wplc_init_ajax_callback');
9
- add_action('wp_ajax_wplc_user_close_chat', 'wplc_init_ajax_callback');
10
- add_action('wp_ajax_wplc_user_minimize_chat', 'wplc_init_ajax_callback');
11
- add_action('wp_ajax_wplc_user_maximize_chat', 'wplc_init_ajax_callback');
12
- add_action('wp_ajax_wplc_user_send_msg', 'wplc_init_ajax_callback');
13
- add_action('wp_ajax_wplc_start_chat', 'wplc_init_ajax_callback');
14
- add_action('wp_ajax_nopriv_wplc_start_chat', 'wplc_init_ajax_callback');
15
- add_action('wp_ajax_nopriv_wplc_call_to_server_visitor', 'wplc_init_ajax_callback');
16
- add_action('wp_ajax_nopriv_wplc_user_close_chat', 'wplc_init_ajax_callback');
17
- add_action('wp_ajax_nopriv_wplc_user_minimize_chat', 'wplc_init_ajax_callback');
18
- add_action('wp_ajax_nopriv_wplc_user_maximize_chat', 'wplc_init_ajax_callback');
19
- add_action('wp_ajax_nopriv_wplc_user_send_msg', 'wplc_init_ajax_callback');
20
-
21
- add_action('wp_ajax_wplc_get_chat_box', 'wplc_init_ajax_callback');
22
- add_action('wp_ajax_nopriv_wplc_get_chat_box', 'wplc_init_ajax_callback');
23
-
24
- function wplc_init_ajax_callback() {
25
- @ob_start();
26
- $check = check_ajax_referer( 'wplc', 'security' );
27
-
28
- if ($check == 1) {
29
-
30
- $wplc_advanced_settings = get_option("wplc_advanced_settings");
31
- if (!$wplc_advanced_settings) {
32
- $wplc_delay_between_updates = 500000;
33
- $wplc_delay_between_loops = 500000;
34
- $wplc_iterations = 55;
35
- } else {
36
- if (isset($wplc_advanced_settings['wplc_delay_between_updates'])) { $wplc_delay_between_updates = intval($wplc_advanced_settings['wplc_delay_between_updates']); } else { $wplc_delay_between_updates = 500000; }
37
- if (isset($wplc_advanced_settings['wplc_delay_between_loops'])) { $wplc_delay_between_loops = intval($wplc_advanced_settings['wplc_delay_between_loops']); } else { $wplc_delay_between_loops = 500000; }
38
- if (isset($wplc_advanced_settings['wplc_iterations'])) { $wplc_iterations = intval($wplc_advanced_settings['wplc_iterations']); } else { $wplc_iterations = 55; }
39
-
40
- if ($wplc_iterations < 10) { $wplc_iterations = 10; }
41
- if ($wplc_iterations > 200) { $wplc_iterations = 200; }
42
-
43
- if ($wplc_delay_between_updates < 250000) { $wplc_delay_between_updates = 250000; }
44
- if ($wplc_delay_between_updates > 1000000) { $wplc_delay_between_updates = 1000000; }
45
-
46
- if ($wplc_delay_between_loops < 250000) { $wplc_delay_between_loops = 250000; }
47
- if ($wplc_delay_between_loops > 1000000) { $wplc_delay_between_loops = 1000000; }
48
-
49
- }
50
-
51
-
52
- $iterations = $wplc_iterations;
53
-
54
-
55
-
56
- /* time in microseconds between updating the user on the page within the DB (lower number = higher resource usage) */
57
- define('WPLC_DELAY_BETWEEN_UPDATES', $wplc_delay_between_updates);
58
- /* time in microseconds between long poll loop (lower number = higher resource usage) */
59
- define('WPLC_DELAY_BETWEEN_LOOPS', $wplc_delay_between_loops);
60
- /* this needs to take into account the previous constants so that we dont run out of time, which in turn returns a 503 error */
61
- define('WPLC_TIMEOUT', (((WPLC_DELAY_BETWEEN_UPDATES + WPLC_DELAY_BETWEEN_LOOPS)) * $iterations) / 1000000);
62
-
63
-
64
-
65
- global $wpdb;
66
- global $wplc_tblname_chats;
67
- global $wplc_tblname_msgs;
68
- /* we're using PHP 'sleep' which may lock other requests until our script wakes up. Call this function to ensure that other requests can run without waiting for us to finish */
69
- session_write_close();
70
-
71
- if ($_POST['action'] == "wplc_get_chat_box") {
72
- echo wplc_output_box_5100(sanitize_text_field($_POST['cid']));
73
- }
74
-
75
- if($_POST['action'] == 'wplc_admin_long_poll'){
76
- // header("HTTP/1.0 500"); //Simulate 500 error
77
- // header("HTTP/1.0 404"); //Simulate 404 error
78
- // die();
79
-
80
- if (defined('WPLC_TIMEOUT')) { @set_time_limit(WPLC_TIMEOUT); } else { @set_time_limit(120); }
81
- //sleep(6);
82
- $i = 1;
83
- $wplc_current_user = get_current_user_id();
84
-
85
- /* If user is either an agent or an admin, access the page. */
86
- if( !get_user_meta( $wplc_current_user, 'wplc_ma_agent', true )) {
87
- $array['error'] = 1;
88
- echo json_encode($array);
89
- exit();
90
- }
91
-
92
- while($i <= $iterations){
93
-
94
-
95
-
96
- if($i %round($iterations/2) == 0) {
97
- wplc_update_chat_statuses();
98
- }
99
-
100
-
101
-
102
- if($_POST['wplc_update_admin_chat_table'] == 'false'){
103
- /* this is a new load of the page, return false so we can force a send of the new visitor data */
104
- $old_chat_data = false;
105
- } else {
106
- $old_chat_data = stripslashes($_POST['wplc_update_admin_chat_table']);
107
- }
108
-
109
- $pending = wplc_check_pending_chats();
110
- $new_chat_data = wplc_list_chats_new($_POST);
111
-
112
-
113
- if ($new_chat_data == "false") { $new_chat_data = false; }
114
-
115
- if($new_chat_data !== $old_chat_data){
116
- $array['old_chat_data'] = $old_chat_data;
117
- $array['wplc_update_admin_chat_table'] = $new_chat_data;
118
- $array['pending'] = $pending;
119
- $array['action'] = "wplc_update_chat_list";
120
-
121
- }
122
-
123
- if(isset($array)){
124
- echo json_encode($array);
125
- break;
126
- }
127
- @ob_end_flush();
128
- if (defined('WPLC_DELAY_BETWEEN_LOOPS')) { usleep(WPLC_DELAY_BETWEEN_LOOPS); } else { usleep(500000); }
129
- $i++;
130
- }
131
- }
132
- if($_POST['action'] == "wplc_admin_long_poll_chat"){
133
- if (defined('WPLC_TIMEOUT')) { @set_time_limit(WPLC_TIMEOUT); } else { @set_time_limit(120); }
134
- $i = 1;
135
- $cdata = wplc_get_chat_data($_POST['cid']);
136
- $array = array();
137
- while($i <= $iterations){
138
- $array = apply_filters("wplc_filter_admin_long_poll_chat_loop_iteration",$array,$_POST,$i,$cdata);
139
- if($array){
140
- echo json_encode($array);
141
- break;
142
- }
143
- @ob_end_flush();
144
- if (defined('WPLC_DELAY_BETWEEN_LOOPS')) { usleep(WPLC_DELAY_BETWEEN_LOOPS); } else { usleep(500000); }
145
- $i++;
146
- }
147
- }
148
- if ($_POST['action'] == "wplc_admin_accept_chat") {
149
- wplc_admin_accept_chat(sanitize_text_field($_POST['cid']));
150
- }
151
- if ($_POST['action'] == "wplc_admin_close_chat") {
152
- $chat_id = sanitize_text_field($_POST['cid']);
153
- wplc_change_chat_status($chat_id,1);
154
- echo 'done';
155
- }
156
- if ($_POST['action'] == "wplc_admin_send_msg") {
157
- $chat_id = sanitize_text_field($_POST['cid']);
158
- $chat_msg = strip_tags($_POST['msg'], '<a><p><img><hr>');
159
- $wplc_rec_msg = wplc_record_chat_msg("2",$chat_id,$chat_msg);
160
- if ($wplc_rec_msg) {
161
- echo 'sent';
162
- } else {
163
- echo "There was an error sending your chat message. Please contact support";
164
- }
165
- }
166
-
167
- //User Ajax
168
-
169
- if($_POST['action'] == 'wplc_call_to_server_visitor'){
170
-
171
-
172
-
173
- $wplc_settings = get_option("WPLC_SETTINGS");
174
-
175
-
176
- if (defined('WPLC_TIMEOUT')) { @set_time_limit(WPLC_TIMEOUT); } else { @set_time_limit(120); }
177
- $i = 1;
178
- $array = array("check" => false);
179
- $array['debug'] = "";
180
-
181
- $cdata = false;
182
- if($_POST['cid'] == null || $_POST['cid'] == "" || $_POST['cid'] == "null" || $_POST['cid'] == 0){ } else {
183
- /* get agent ID */
184
-
185
-
186
- $cdata = wplc_get_chat_data(sanitize_text_field(intval($_POST['cid'])),__LINE__);
187
- $from = __("Admin","wplivechat"); /* set default */
188
-
189
- $array['aname'] = apply_filters("wplc_filter_admin_from", $from, $_POST['cid'],$cdata);
190
-
191
- }
192
-
193
- while($i <= $iterations) {
194
-
195
- if($i %round($iterations/2) == 0) {
196
- wplc_update_chat_statuses();
197
- }
198
-
199
- if($_POST['cid'] == null || $_POST['cid'] == "" || $_POST['cid'] == "null" || $_POST['cid'] == 0){
200
- // echo 1;
201
-
202
- if( isset( $_POST['wplc_name'] ) && $_POST['wplc_name'] !== '' ){
203
- $user = sanitize_text_field($_POST['wplc_name']);
204
- } else {
205
- $user = "Guest";
206
- }
207
-
208
- if( isset( $_POST['wplc_email'] ) && $_POST['wplc_email'] !== '' ){
209
- $email = sanitize_text_field($_POST['wplc_email']);
210
- } else {
211
- $email = "no email set";
212
- }
213
-
214
- if(isset($_POST['wplc_is_mobile']) && ($_POST['wplc_is_mobile'] === 'true' || $_POST['wplc_is_mobile'] === true)){
215
- $is_mobile = true;
216
- } else {
217
- $is_mobile = false;
218
- }
219
-
220
- $cid = wplc_log_user_on_page($user,$email,sanitize_text_field($_POST['wplcsession']), $is_mobile);
221
- $array['cid'] = $cid;
222
- $array['status'] = wplc_return_chat_status($cid);
223
- $array['wplc_name'] = $user;
224
- $array['wplc_email'] = $email;
225
- $array['check'] = true;
226
-
227
- } else {
228
- // echo 2;
229
-
230
-
231
-
232
-
233
- $new_status = wplc_return_chat_status(sanitize_text_field($_POST['cid']));
234
- $array['wplc_name'] = sanitize_text_field($_POST['wplc_name']);
235
- $array['wplc_email'] = sanitize_text_field($_POST['wplc_email']);
236
- $array['cid'] = sanitize_text_field($_POST['cid']);
237
- $array['aid'] = sanitize_text_field($_POST['cid']);
238
-
239
- $array = apply_filters("wplc_filter_user_long_poll_chat_loop_iteration",$array,$_POST,$i,$cdata);
240
-
241
-
242
- if($new_status == $_POST['status']){ // if status matches do the following
243
- if($_POST['status'] != 2){
244
- /* check if session_variable is different? if yes then stop this script completely. */
245
- if (isset($_POST['wplcsession']) && $_POST['wplcsession'] != '' && $i > 1) {
246
- $wplc_session_variable = sanitize_text_field($_POST['wplcsession']);
247
- $current_session_variable = wplc_return_chat_session_variable(sanitize_text_field($_POST['cid']));
248
- if ($current_session_variable != "" && $current_session_variable != $wplc_session_variable) {
249
- /* stop this script */
250
- $array['status'] = 11;
251
- echo json_encode($array);
252
- die();
253
- }
254
- }
255
-
256
-
257
- if ($i == 1) {
258
- wplc_update_user_on_page(sanitize_text_field($_POST['cid']), sanitize_text_field($_POST['status']), sanitize_text_field($_POST['wplcsession']));
259
- }
260
- }
261
- if (intval($_POST['status']) == 0 || intval($_POST['status']) == 12){ // browsing - user tried to chat but admin didn't answer so turn back to browsing
262
- //wplc_update_user_on_page(sanitize_text_field($_POST['cid']), 0, sanitize_text_field($_POST['wplcsession']));
263
- //$array['status'] = 5;
264
- wplc_update_user_on_page(sanitize_text_field($_POST['cid']), 12, sanitize_text_field($_POST['wplcsession']));
265
- $array['status'] = 12;
266
- //$array['check'] = true;
267
-
268
- }
269
- else if($_POST['status'] == 3){
270
- //wplc_update_user_on_page(sanitize_text_field($_POST['cid']), 3);
271
- $messages = wplc_return_user_chat_messages(sanitize_text_field($_POST['cid']),$wplc_settings,$cdata);
272
- if ($messages){
273
- wplc_mark_as_read_user_chat_messages(sanitize_text_field($_POST['cid']));
274
- $array['status'] = 3;
275
- $array['data'] = $messages;
276
- $array['check'] = true;
277
- }
278
- }
279
- else if(intval($_POST['status']) == 2){
280
- //wplc_update_user_on_page(sanitize_text_field($_POST['cid']), 3);
281
- $messages = wplc_return_user_chat_messages(sanitize_text_field($_POST['cid']),$wplc_settings,$cdata);
282
- $array['debug'] = "we are here ".__LINE__;
283
- if ($messages){
284
- wplc_mark_as_read_user_chat_messages(sanitize_text_field($_POST['cid']));
285
- $array['status'] = 2;
286
- $array['data'] = $messages;
287
- $array['check'] = true;
288
- }
289
- }
290
-
291
- /* check if this is part of the first run */
292
- if (isset($_POST['first_run']) && sanitize_text_field($_POST['first_run']) == 1) {
293
- /* if yes, then send data now and dont wait for all iterations to complete */
294
- if (!isset($array['status'])) { $array['status'] = $new_status; }
295
- $array['check'] = true;
296
- }
297
- else if (isset($_POST['short_poll']) && sanitize_text_field($_POST['short_poll']) == "true") {
298
- /* if yes, then send data now and dont wait for all iterations to complete */
299
- if (!isset($array['status'])) { $array['status'] = $new_status; }
300
- $array['check'] = true;
301
- }
302
- } else { // statuses do not match
303
- $array['debug'] = $array['debug']. " ". "Doesnt match $new_status ".$_POST['status'];
304
- $array['status'] = $new_status;
305
- if($new_status == 1){ // completed
306
- wplc_update_user_on_page(sanitize_text_field($_POST['cid']), 8, sanitize_text_field($_POST['wplcsession']));
307
- $array['check'] = true;
308
- $array['status'] = 8;
309
- $array['data'] = __("Admin has closed and ended the chat","wplivechat");
310
- }
311
- else if(intval($new_status == 2)) { // pending
312
- $array['debug'] = "we are here ".__LINE__;
313
- $array['check'] = true;
314
- $array['wplc_name'] = wplc_return_chat_name(sanitize_text_field($_POST['cid']));
315
- $array['wplc_email'] = wplc_return_chat_email(sanitize_text_field($_POST['cid']));
316
- $messages = wplc_return_chat_messages(sanitize_text_field($_POST['cid']),false,true,$wplc_settings,$cdata,'array',false);
317
- if ($messages){
318
- $array['data'] = $messages;
319
- }
320
- }
321
- else if($new_status == 3){ // active
322
- $array['data'] = null;
323
- $array['check'] = true;
324
- if($_POST['status'] == 5){
325
- $messages = wplc_return_chat_messages(sanitize_text_field($_POST['cid']),false,true,$wplc_settings,$cdata,'array',false);
326
- if ($messages){
327
- $array['data'] = $messages;
328
- }
329
- }
330
- }
331
- else if($new_status == 7){ // timed out
332
- wplc_update_user_on_page(sanitize_text_field($_POST['cid']), 5, sanitize_text_field($_POST['wplcsession']));
333
- }
334
- else if($new_status == 9){ // user closed chat without inputting or starting a chat
335
- $array['check'] = true;
336
- }
337
- else if($new_status == 12){ // no answer from admin
338
- $array['data'] = wplc_return_no_answer_string(sanitize_text_field($_POST['cid']));
339
- $array['check'] = true;
340
- @do_action("wplc_hook_missed_chat",array("cid" => $_POST['cid'],"name" => $_POST['wplc_name'],"email" => $_POST['wplc_email']));
341
- }
342
- else if($new_status == 10){ // minimized active chat
343
- $array['check'] = true;
344
- if($_POST['status'] == 5){
345
- $messages = wplc_return_chat_messages(sanitize_text_field($_POST['cid']),false,true,$wplc_settings,$cdata,'array',false);
346
- if ($messages){
347
- $array['data'] = $messages;
348
- }
349
- }
350
- }
351
- /* check if this is part of the first run */
352
- if (isset($_POST['first_run']) && sanitize_text_field($_POST['first_run']) == "1") {
353
- /* if yes, then send data now and dont wait for all iterations to complete */
354
- if (!isset($array['status'])) { $array['status'] = $new_status; }
355
- $array['check'] = true;
356
- }
357
- else if (isset($_POST['short_poll']) && sanitize_text_field($_POST['short_poll']) == "true") {
358
- /* if yes, then send data now and dont wait for all iterations to complete */
359
- if (!isset($array['status'])) { $array['status'] = $new_status; }
360
- $array['check'] = true;
361
- }
362
- $array = apply_filters("wplc_filter_wplc_call_to_server_visitor_new_status_check",$array);
363
-
364
- }
365
- }
366
- if($array['check'] == true){
367
- echo json_encode($array);
368
- break;
369
- }
370
- $i++;
371
-
372
- if (defined('WPLC_DELAY_BETWEEN_LOOPS')) { usleep(WPLC_DELAY_BETWEEN_LOOPS); } else { usleep(500000); }
373
-
374
- @ob_end_flush();
375
- }
376
- }
377
-
378
- /* */
379
- if ($_POST['action'] == "wplc_user_close_chat") {
380
- if($_POST['status'] == 5){
381
- wplc_change_chat_status(sanitize_text_field($_POST['cid']),9);
382
- } else if($_POST['status'] == 3){
383
- wplc_change_chat_status(sanitize_text_field($_POST['cid']),8);
384
- }
385
- }
386
-
387
- if ($_POST['action'] == "wplc_user_minimize_chat") {
388
- $chat_id = sanitize_text_field($_POST['cid']);
389
- wplc_change_chat_status(sanitize_text_field($_POST['cid']),10);
390
- }
391
- if ($_POST['action'] == "wplc_user_maximize_chat") {
392
- $chat_id = sanitize_text_field($_POST['cid']);
393
- $chat_status = intval(sanitize_text_field($_POST['chat_status']));
394
- wplc_change_chat_status(sanitize_text_field($_POST['cid']),$chat_status);
395
- }
396
-
397
- if ($_POST['action'] == "wplc_user_send_msg") {
398
- $chat_id = sanitize_text_field($_POST['cid']);
399
- $chat_msg = strip_tags($_POST['msg'], '<p><a><img><hr>');
400
- $wplc_rec_msg = wplc_record_chat_msg("1",$chat_id,$chat_msg);
401
- if ($wplc_rec_msg) {
402
- echo 'sent';
403
- } else {
404
- echo "There was an error sending your chat message. Please contact support";
405
- }
406
- }
407
- if ($_POST['action'] == "wplc_start_chat") {
408
-
409
- if (isset($_POST['cid'])) {
410
- if ($_POST['name'] && $_POST['email']) {
411
- echo wplc_user_initiate_chat(sanitize_text_field($_POST['name']),sanitize_email($_POST['email']),sanitize_text_field($_POST['cid']), sanitize_text_field($_POST['wplcsession'])); // echo the chat session id
412
- } else {
413
- echo "error2";
414
- }
415
- } else {
416
- if ($_POST['name'] && $_POST['email']) {
417
- echo wplc_user_initiate_chat(sanitize_text_field($_POST['name']), sanitize_email($_POST['email']), null, sanitize_text_field($_POST['wplcsession'])); // echo the chat session id
418
- } else {
419
- echo "error2";
420
- }
421
- }
422
- }
423
-
424
- }
425
-
426
- die();
 
 
 
 
427
  }
1
+ <?php
2
+
3
+ add_action('wp_ajax_wplc_admin_long_poll', 'wplc_init_ajax_callback');
4
+ add_action('wp_ajax_wplc_admin_long_poll_chat', 'wplc_init_ajax_callback');
5
+ add_action('wp_ajax_wplc_admin_accept_chat', 'wplc_init_ajax_callback');
6
+ add_action('wp_ajax_wplc_admin_close_chat', 'wplc_init_ajax_callback');
7
+ add_action('wp_ajax_wplc_admin_send_msg', 'wplc_init_ajax_callback');
8
+ add_action('wp_ajax_wplc_call_to_server_visitor', 'wplc_init_ajax_callback');
9
+ add_action('wp_ajax_wplc_user_close_chat', 'wplc_init_ajax_callback');
10
+ add_action('wp_ajax_wplc_user_minimize_chat', 'wplc_init_ajax_callback');
11
+ add_action('wp_ajax_wplc_user_maximize_chat', 'wplc_init_ajax_callback');
12
+ add_action('wp_ajax_wplc_user_send_msg', 'wplc_init_ajax_callback');
13
+ add_action('wp_ajax_wplc_start_chat', 'wplc_init_ajax_callback');
14
+ add_action('wp_ajax_nopriv_wplc_start_chat', 'wplc_init_ajax_callback');
15
+ add_action('wp_ajax_nopriv_wplc_call_to_server_visitor', 'wplc_init_ajax_callback');
16
+ add_action('wp_ajax_nopriv_wplc_user_close_chat', 'wplc_init_ajax_callback');
17
+ add_action('wp_ajax_nopriv_wplc_user_minimize_chat', 'wplc_init_ajax_callback');
18
+ add_action('wp_ajax_nopriv_wplc_user_maximize_chat', 'wplc_init_ajax_callback');
19
+ add_action('wp_ajax_nopriv_wplc_user_send_msg', 'wplc_init_ajax_callback');
20
+
21
+ add_action('wp_ajax_wplc_get_chat_box', 'wplc_init_ajax_callback');
22
+ add_action('wp_ajax_nopriv_wplc_get_chat_box', 'wplc_init_ajax_callback');
23
+
24
+ function wplc_init_ajax_callback() {
25
+ @ob_start();
26
+ $check = check_ajax_referer( 'wplc', 'security' );
27
+
28
+ if ($check == 1) {
29
+
30
+ $wplc_advanced_settings = get_option("wplc_advanced_settings");
31
+ if (!$wplc_advanced_settings) {
32
+ $wplc_delay_between_updates = 500000;
33
+ $wplc_delay_between_loops = 500000;
34
+ $wplc_iterations = 55;
35
+ } else {
36
+ if (isset($wplc_advanced_settings['wplc_delay_between_updates'])) { $wplc_delay_between_updates = intval($wplc_advanced_settings['wplc_delay_between_updates']); } else { $wplc_delay_between_updates = 500000; }
37
+ if (isset($wplc_advanced_settings['wplc_delay_between_loops'])) { $wplc_delay_between_loops = intval($wplc_advanced_settings['wplc_delay_between_loops']); } else { $wplc_delay_between_loops = 500000; }
38
+ if (isset($wplc_advanced_settings['wplc_iterations'])) { $wplc_iterations = intval($wplc_advanced_settings['wplc_iterations']); } else { $wplc_iterations = 55; }
39
+
40
+ if ($wplc_iterations < 10) { $wplc_iterations = 10; }
41
+ if ($wplc_iterations > 200) { $wplc_iterations = 200; }
42
+
43
+ if ($wplc_delay_between_updates < 250000) { $wplc_delay_between_updates = 250000; }
44
+ if ($wplc_delay_between_updates > 1000000) { $wplc_delay_between_updates = 1000000; }
45
+
46
+ if ($wplc_delay_between_loops < 250000) { $wplc_delay_between_loops = 250000; }
47
+ if ($wplc_delay_between_loops > 1000000) { $wplc_delay_between_loops = 1000000; }
48
+
49
+ }
50
+
51
+
52
+ $iterations = $wplc_iterations;
53
+
54
+
55
+
56
+ /* time in microseconds between updating the user on the page within the DB (lower number = higher resource usage) */
57
+ define('WPLC_DELAY_BETWEEN_UPDATES', $wplc_delay_between_updates);
58
+ /* time in microseconds between long poll loop (lower number = higher resource usage) */
59
+ define('WPLC_DELAY_BETWEEN_LOOPS', $wplc_delay_between_loops);
60
+ /* this needs to take into account the previous constants so that we dont run out of time, which in turn returns a 503 error */
61
+ define('WPLC_TIMEOUT', (((WPLC_DELAY_BETWEEN_UPDATES + WPLC_DELAY_BETWEEN_LOOPS)) * $iterations) / 1000000);
62
+
63
+
64
+
65
+ global $wpdb;
66
+ global $wplc_tblname_chats;
67
+ global $wplc_tblname_msgs;
68
+ /* we're using PHP 'sleep' which may lock other requests until our script wakes up. Call this function to ensure that other requests can run without waiting for us to finish */
69
+ session_write_close();
70
+
71
+ if ($_POST['action'] == "wplc_get_chat_box") {
72
+ echo wplc_output_box_5100(sanitize_text_field($_POST['cid']));
73
+ }
74
+
75
+ if($_POST['action'] == 'wplc_admin_long_poll'){
76
+ // header("HTTP/1.0 500"); //Simulate 500 error
77
+ // header("HTTP/1.0 404"); //Simulate 404 error
78
+ // die();
79
+
80
+ if (defined('WPLC_TIMEOUT')) { @set_time_limit(WPLC_TIMEOUT); } else { @set_time_limit(120); }
81
+ //sleep(6);
82
+ $i = 1;
83
+ $wplc_current_user = get_current_user_id();
84
+
85
+ /* If user is either an agent or an admin, access the page. */
86
+ if( !get_user_meta( $wplc_current_user, 'wplc_ma_agent', true )) {
87
+ $array['error'] = 1;
88
+ echo json_encode($array);
89
+ exit();
90
+ }
91
+
92
+ while($i <= $iterations){
93
+
94
+
95
+
96
+ if($i %round($iterations/2) == 0) {
97
+ wplc_update_chat_statuses();
98
+ }
99
+
100
+
101
+
102
+ if($_POST['wplc_update_admin_chat_table'] == 'false'){
103
+ /* this is a new load of the page, return false so we can force a send of the new visitor data */
104
+ $old_chat_data = false;
105
+ } else {
106
+ $old_chat_data = stripslashes($_POST['wplc_update_admin_chat_table']);
107
+ }
108
+
109
+ $pending = wplc_check_pending_chats();
110
+ $new_chat_data = wplc_list_chats_new($_POST);
111
+
112
+
113
+ if ($new_chat_data == "false") { $new_chat_data = false; }
114
+
115
+ if($new_chat_data !== $old_chat_data){
116
+ $array['old_chat_data'] = $old_chat_data;
117
+ $array['wplc_update_admin_chat_table'] = $new_chat_data;
118
+ $array['pending'] = $pending;
119
+ $array['action'] = "wplc_update_chat_list";
120
+
121
+ }
122
+
123
+ if(isset($array)){
124
+ echo json_encode($array);
125
+ break;
126
+ }
127
+ @ob_end_flush();
128
+ if (defined('WPLC_DELAY_BETWEEN_LOOPS')) { usleep(WPLC_DELAY_BETWEEN_LOOPS); } else { usleep(500000); }
129
+ $i++;
130
+ }
131
+ }
132
+ if($_POST['action'] == "wplc_admin_long_poll_chat"){
133
+ if (defined('WPLC_TIMEOUT')) { @set_time_limit(WPLC_TIMEOUT); } else { @set_time_limit(120); }
134
+ $i = 1;
135
+ $cdata = wplc_get_chat_data($_POST['cid']);
136
+ $array = array();
137
+ while($i <= $iterations){
138
+ $array = apply_filters("wplc_filter_admin_long_poll_chat_loop_iteration",$array,$_POST,$i,$cdata);
139
+ if($array){
140
+ echo json_encode($array);
141
+ break;
142
+ }
143
+ @ob_end_flush();
144
+ if (defined('WPLC_DELAY_BETWEEN_LOOPS')) { usleep(WPLC_DELAY_BETWEEN_LOOPS); } else { usleep(500000); }
145
+ $i++;
146
+ }
147
+ }
148
+ if ($_POST['action'] == "wplc_admin_accept_chat") {
149
+ wplc_admin_accept_chat(sanitize_text_field($_POST['cid']));
150
+ }
151
+ if ($_POST['action'] == "wplc_admin_close_chat") {
152
+ $chat_id = sanitize_text_field($_POST['cid']);
153
+ wplc_change_chat_status($chat_id,1);
154
+ echo 'done';
155
+ }
156
+ if ($_POST['action'] == "wplc_admin_send_msg") {
157
+ $chat_id = sanitize_text_field($_POST['cid']);
158
+ $chat_msg = strip_tags($_POST['msg'], '<a><p><img><hr>');
159
+ $wplc_rec_msg = wplc_record_chat_msg("2",$chat_id,$chat_msg);
160
+ if ($wplc_rec_msg) {
161
+ echo 'sent';
162
+ } else {
163
+ echo "There was an error sending your chat message. Please contact support";
164
+ }
165
+ }
166
+
167
+ //User Ajax
168
+
169
+ if($_POST['action'] == 'wplc_call_to_server_visitor'){
170
+
171
+
172
+
173
+ $wplc_settings = get_option("WPLC_SETTINGS");
174
+
175
+
176
+ if (defined('WPLC_TIMEOUT')) { @set_time_limit(WPLC_TIMEOUT); } else { @set_time_limit(120); }
177
+ $i = 1;
178
+ $array = array("check" => false);
179
+ $array['debug'] = "";
180
+
181
+ $cdata = false;
182
+ if($_POST['cid'] == null || $_POST['cid'] == "" || $_POST['cid'] == "null" || $_POST['cid'] == 0){ } else {
183
+ /* get agent ID */
184
+
185
+
186
+ $cdata = wplc_get_chat_data(sanitize_text_field(intval($_POST['cid'])),__LINE__);
187
+ $from = __("Admin","wplivechat"); /* set default */
188
+
189
+ $array['aname'] = apply_filters("wplc_filter_admin_from", $from, $_POST['cid'],$cdata);
190
+
191
+ }
192
+
193
+ while($i <= $iterations) {
194
+
195
+ if($i %round($iterations/2) == 0) {
196
+ wplc_update_chat_statuses();
197
+ }
198
+
199
+ if($_POST['cid'] == null || $_POST['cid'] == "" || $_POST['cid'] == "null" || $_POST['cid'] == 0){
200
+ // echo 1;
201
+
202
+ if( isset( $_POST['wplc_name'] ) && $_POST['wplc_name'] !== '' ){
203
+ $user = sanitize_text_field($_POST['wplc_name']);
204
+ } else {
205
+ $user = "Guest";
206
+ }
207
+
208
+ if( isset( $_POST['wplc_email'] ) && $_POST['wplc_email'] !== '' ){
209
+ $email = sanitize_text_field($_POST['wplc_email']);
210
+ } else {
211
+ $email = "no email set";
212
+ }
213
+
214
+ if(isset($_POST['wplc_is_mobile']) && ($_POST['wplc_is_mobile'] === 'true' || $_POST['wplc_is_mobile'] === true)){
215
+ $is_mobile = true;
216
+ } else {
217
+ $is_mobile = false;
218
+ }
219
+
220
+ $cid = wplc_log_user_on_page($user,$email,sanitize_text_field($_POST['wplcsession']), $is_mobile);
221
+ $array['cid'] = $cid;
222
+ $array['status'] = wplc_return_chat_status($cid);
223
+ $array['wplc_name'] = $user;
224
+ $array['wplc_email'] = $email;
225
+ $array['check'] = true;
226
+
227
+ } else {
228
+ // echo 2;
229
+
230
+
231
+
232
+
233
+ $new_status = wplc_return_chat_status(sanitize_text_field($_POST['cid']));
234
+ $array['wplc_name'] = sanitize_text_field($_POST['wplc_name']);
235
+ $array['wplc_email'] = sanitize_text_field($_POST['wplc_email']);
236
+ $array['cid'] = sanitize_text_field($_POST['cid']);
237
+ $array['aid'] = sanitize_text_field($_POST['cid']);
238
+
239
+ $array = apply_filters("wplc_filter_user_long_poll_chat_loop_iteration",$array,$_POST,$i,$cdata);
240
+
241
+
242
+ if($new_status == $_POST['status']){ // if status matches do the following
243
+ if($_POST['status'] != 2){
244
+ /* check if session_variable is different? if yes then stop this script completely. */
245
+ if (isset($_POST['wplcsession']) && $_POST['wplcsession'] != '' && $i > 1) {
246
+ $wplc_session_variable = sanitize_text_field($_POST['wplcsession']);
247
+ $current_session_variable = wplc_return_chat_session_variable(sanitize_text_field($_POST['cid']));
248
+ if ($current_session_variable != "" && $current_session_variable != $wplc_session_variable) {
249
+ /* stop this script */
250
+ $array['status'] = 11;
251
+ echo json_encode($array);
252
+ die();
253
+ }
254
+ }
255
+
256
+
257
+ if ($i == 1) {
258
+ wplc_update_user_on_page(sanitize_text_field($_POST['cid']), sanitize_text_field($_POST['status']), sanitize_text_field($_POST['wplcsession']));
259
+ }
260
+ }
261
+ if (intval($_POST['status']) == 0 || intval($_POST['status']) == 12){ // browsing - user tried to chat but admin didn't answer so turn back to browsing
262
+ //wplc_update_user_on_page(sanitize_text_field($_POST['cid']), 0, sanitize_text_field($_POST['wplcsession']));
263
+ //$array['status'] = 5;
264
+ wplc_update_user_on_page(sanitize_text_field($_POST['cid']), 12, sanitize_text_field($_POST['wplcsession']));
265
+ $array['status'] = 12;
266
+ //$array['check'] = true;
267
+
268
+ }
269
+ else if($_POST['status'] == 3 || $_POST['status'] == 10){
270
+ //wplc_update_user_on_page(sanitize_text_field($_POST['cid']), 3);
271
+ $messages = wplc_return_user_chat_messages(sanitize_text_field($_POST['cid']),$wplc_settings,$cdata);
272
+ if ( $_POST['status'] == 10 ) {
273
+ $array['alert'] = true;
274
+ }
275
+ if ($messages){
276
+ wplc_mark_as_read_user_chat_messages(sanitize_text_field($_POST['cid']));
277
+ $array['status'] = 3;
278
+ $array['data'] = $messages;
279
+ $array['check'] = true;
280
+ }
281
+ }
282
+ else if(intval($_POST['status']) == 2){
283
+ //wplc_update_user_on_page(sanitize_text_field($_POST['cid']), 3);
284
+ $messages = wplc_return_user_chat_messages(sanitize_text_field($_POST['cid']),$wplc_settings,$cdata);
285
+ $array['debug'] = "we are here ".__LINE__;
286
+ if ($messages){
287
+ wplc_mark_as_read_user_chat_messages(sanitize_text_field($_POST['cid']));
288
+ $array['status'] = 2;
289
+ $array['data'] = $messages;
290
+ $array['check'] = true;
291
+ }
292
+ }
293
+
294
+ /* check if this is part of the first run */
295
+ if (isset($_POST['first_run']) && sanitize_text_field($_POST['first_run']) == 1) {
296
+ /* if yes, then send data now and dont wait for all iterations to complete */
297
+ if (!isset($array['status'])) { $array['status'] = $new_status; }
298
+ $array['check'] = true;
299
+ }
300
+ else if (isset($_POST['short_poll']) && sanitize_text_field($_POST['short_poll']) == "true") {
301
+ /* if yes, then send data now and dont wait for all iterations to complete */
302
+ if (!isset($array['status'])) { $array['status'] = $new_status; }
303
+ $array['check'] = true;
304
+ }
305
+ } else { // statuses do not match
306
+ $array['debug'] = $array['debug']. " ". "Doesnt match $new_status ".$_POST['status'];
307
+ $array['status'] = $new_status;
308
+ if($new_status == 1){ // completed
309
+ wplc_update_user_on_page(sanitize_text_field($_POST['cid']), 8, sanitize_text_field($_POST['wplcsession']));
310
+ $array['check'] = true;
311
+ $array['status'] = 8;
312
+ $array['data'] = __("Admin has closed and ended the chat","wplivechat");
313
+ }
314
+ else if(intval($new_status == 2)) { // pending
315
+ $array['debug'] = "we are here ".__LINE__;
316
+ $array['check'] = true;
317
+ $array['wplc_name'] = wplc_return_chat_name(sanitize_text_field($_POST['cid']));
318
+ $array['wplc_email'] = wplc_return_chat_email(sanitize_text_field($_POST['cid']));
319
+ $messages = wplc_return_chat_messages(sanitize_text_field($_POST['cid']),false,true,$wplc_settings,$cdata,'array',false);
320
+ if ($messages){
321
+ $array['data'] = $messages;
322
+ }
323
+ }
324
+ else if($new_status == 3){ // active
325
+ $array['data'] = null;
326
+ $array['check'] = true;
327
+ if($_POST['status'] == 5){
328
+ $array['sound'] = false;
329
+ $messages = wplc_return_chat_messages(sanitize_text_field($_POST['cid']),false,true,$wplc_settings,$cdata,'array',false);
330
+ if ($messages){
331
+ $array['data'] = $messages;
332
+ }
333
+ }
334
+ }
335
+ else if($new_status == 7){ // timed out
336
+ wplc_update_user_on_page(sanitize_text_field($_POST['cid']), 5, sanitize_text_field($_POST['wplcsession']));
337
+ }
338
+ else if($new_status == 9){ // user closed chat without inputting or starting a chat
339
+ $array['check'] = true;
340
+ }
341
+ else if($new_status == 12){ // no answer from admin
342
+ $array['data'] = wplc_return_no_answer_string(sanitize_text_field($_POST['cid']));
343
+ $array['check'] = true;
344
+ @do_action("wplc_hook_missed_chat",array("cid" => $_POST['cid'],"name" => $_POST['wplc_name'],"email" => $_POST['wplc_email']));
345
+ }
346
+ else if($new_status == 10){ // minimized active chat
347
+ $array['check'] = true;
348
+ if($_POST['status'] == 5){
349
+ $messages = wplc_return_chat_messages(sanitize_text_field($_POST['cid']),false,true,$wplc_settings,$cdata,'array',false);
350
+ if ($messages){
351
+ $array['data'] = $messages;
352
+ }
353
+ }
354
+ }
355
+ /* check if this is part of the first run */
356
+ if (isset($_POST['first_run']) && sanitize_text_field($_POST['first_run']) == "1") {
357
+ /* if yes, then send data now and dont wait for all iterations to complete */
358
+ if (!isset($array['status'])) { $array['status'] = $new_status; }
359
+ $array['check'] = true;
360
+ }
361
+ else if (isset($_POST['short_poll']) && sanitize_text_field($_POST['short_poll']) == "true") {
362
+ /* if yes, then send data now and dont wait for all iterations to complete */
363
+ if (!isset($array['status'])) { $array['status'] = $new_status; }
364
+ $array['check'] = true;
365
+ }
366
+ $array = apply_filters("wplc_filter_wplc_call_to_server_visitor_new_status_check",$array);
367
+
368
+ }
369
+ }
370
+ if($array['check'] == true){
371
+ echo json_encode($array);
372
+ break;
373
+ }
374
+ $i++;
375
+
376
+ if (defined('WPLC_DELAY_BETWEEN_LOOPS')) { usleep(WPLC_DELAY_BETWEEN_LOOPS); } else { usleep(500000); }
377
+
378
+ @ob_end_flush();
379
+ }
380
+ }
381
+
382
+ /* */
383
+ if ($_POST['action'] == "wplc_user_close_chat") {
384
+ if($_POST['status'] == 5){
385
+ wplc_change_chat_status(sanitize_text_field($_POST['cid']),9);
386
+ } else if($_POST['status'] == 3){
387
+ wplc_change_chat_status(sanitize_text_field($_POST['cid']),8);
388
+ }
389
+ }
390
+
391
+ if ($_POST['action'] == "wplc_user_minimize_chat") {
392
+ $chat_id = sanitize_text_field($_POST['cid']);
393
+ wplc_change_chat_status(sanitize_text_field($_POST['cid']),10);
394
+ }
395
+ if ($_POST['action'] == "wplc_user_maximize_chat") {
396
+ $chat_id = sanitize_text_field($_POST['cid']);
397
+ $chat_status = intval(sanitize_text_field($_POST['chat_status']));
398
+ wplc_change_chat_status(sanitize_text_field($_POST['cid']),$chat_status);
399
+ }
400
+
401
+ if ($_POST['action'] == "wplc_user_send_msg") {
402
+ $chat_id = sanitize_text_field($_POST['cid']);
403
+ $chat_msg = strip_tags($_POST['msg'], '<p><a><img><hr>');
404
+ $wplc_rec_msg = wplc_record_chat_msg("1",$chat_id,$chat_msg);
405
+ if ($wplc_rec_msg) {
406
+ echo 'sent';
407
+ } else {
408
+ echo "There was an error sending your chat message. Please contact support";
409
+ }
410
+ }
411
+ if ($_POST['action'] == "wplc_start_chat") {
412
+
413
+ if (isset($_POST['cid'])) {
414
+ if ($_POST['name'] && $_POST['email']) {
415
+ echo wplc_user_initiate_chat(sanitize_text_field($_POST['name']),sanitize_email($_POST['email']),sanitize_text_field($_POST['cid']), sanitize_text_field($_POST['wplcsession'])); // echo the chat session id
416
+ } else {
417
+ echo "error2";
418
+ }
419
+ } else {
420
+ if ($_POST['name'] && $_POST['email']) {
421
+ echo wplc_user_initiate_chat(sanitize_text_field($_POST['name']), sanitize_email($_POST['email']), null, sanitize_text_field($_POST['wplcsession'])); // echo the chat session id
422
+ } else {
423
+ echo "error2";
424
+ }
425
+ }
426
+ }
427
+
428
+ }
429
+
430
+ die();
431
  }
css/chat-style.css CHANGED
@@ -1,976 +1,1005 @@
1
-
2
- #admin_chat_box {
3
- display:block;
4
- overflow:auto;
5
- clear:both;
6
- padding:20px;
7
- -webkit-border-radius: 5px;
8
- -moz-border-radius: 5px;
9
- border-radius: 5px;
10
- border: 1px solid #ccc;
11
- background-color:#fff;
12
- width:85%;
13
- min-width:675px;
14
-
15
-
16
-
17
- }
18
- .wplc-extension-label-box {
19
- display:block;
20
- overflow:auto;
21
- clear:both;
22
- }
23
- .wplc-extension-label {
24
- display:block; float:left; padding:5px; margin-right:5px; font-size:0.8em; background-color:#bbb; color:#FFF; webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px; }
25
- }
26
- .wplc-sub-item-email-string {
27
- white-space: nowrap;
28
- display:inline-block;
29
- width: 120px; /* IE6 needs any width */
30
- overflow: hidden; /* "overflow" value must be different from visible"*/
31
- -o-text-overflow: ellipsis; /* Opera < 11*/
32
- text-overflow: ellipsis; /* IE, Safari (WebKit), Opera >= 11, FF > 6 */
33
- }
34
- .admin_chat_box {
35
- -webkit-border-radius: 5px;
36
- -moz-border-radius: 5px;
37
- border-radius: 5px;
38
- border: 1px solid #ccc;
39
- float:left;
40
- display:block;
41
- background-color:white;
42
- width: 50%;
43
- min-width:300px;
44
- /*height:315px;*/
45
- background-color: #ffffff;
46
- background-image: -webkit-gradient(linear, left top, left bottom, from(#CCC), to(#FFF));
47
- background-image: -webkit-linear-gradient(top, #CCC, #FFF);
48
- background-image: -moz-linear-gradient(top, #CCC, #FFF);
49
- background-image: -o-linear-gradient(top, #CCC, #FFF);
50
- background-image: linear-gradient(to bottom, #CCC, #FFF);
51
- }
52
- .chat_response_box {
53
-
54
- }
55
- .admin_chat_box_inner {
56
- height:210px;
57
- padding:10px;
58
- overflow:scroll;
59
- overflow-x: hidden;
60
- background-color:#FFF;
61
-
62
-
63
- }
64
-
65
- .admin_chat_box_inner_bottom {
66
- /*height:60px;*/
67
- width:100%;
68
- border-top:1px solid #ccc;
69
- display:block;
70
- overflow:auto;
71
-
72
-
73
-
74
- }
75
- .admin_chat_quick_controls {
76
- clear:left;
77
- padding-left:10px;
78
-
79
- }
80
-
81
- .admin_visitor_info {
82
- float:left;
83
- width: 47%;
84
- padding-left:15px;
85
- min-width:250px;
86
-
87
-
88
- }
89
- #wplc_admin_chatmsg {
90
- width:95%;
91
- margin:0 auto;
92
- margin-top:10px;
93
- display:block;
94
- height:50px;
95
- padding:10px;
96
- -webkit-border-radius: 5px;
97
- -moz-border-radius: 5px;
98
- border-radius: 5px;
99
- border: 1px solid #ccc;
100
- }
101
-
102
- .admin_chat_img {
103
- -webkit-border-radius: 5px;
104
- -moz-border-radius: 5px;
105
- border-radius: 5px;
106
- }
107
-
108
-
109
- .wplc-admin-message {
110
-
111
- padding:10px;
112
- -webkit-border-radius: 2px;
113
- -moz-border-radius: 2px;
114
- border-radius: 2px;
115
- border: 1px solid #ccc;
116
- margin-top:2px;
117
- background-color:#EEE;
118
- display: inline-block;
119
- float: left;
120
- clear:both;
121
- margin-bottom: 3px;
122
- word-wrap: break-word;
123
- max-width:96%;
124
-
125
-
126
- }
127
-
128
- .wplc-user-message {
129
-
130
- padding:10px;
131
- -webkit-border-radius: 2px;
132
- -moz-border-radius: 2px;
133
- border-radius: 2px;
134
- border: 1px solid #ffdb99;
135
- margin-top:2px;
136
- background-color:#fff6ef;
137
- color:#000;
138
- display: inline-block;
139
- float: right;
140
- clear:both;
141
- margin-bottom: 3px;
142
- word-wrap: break-word;
143
- max-width:96%;
144
- position: relative;
145
- right: 35px;
146
- max-width: 71%;
147
-
148
- }
149
-
150
- .wplc-admin-message {
151
- padding: 10px;
152
- -webkit-border-radius: 2px;
153
- -moz-border-radius: 2px;
154
- border-radius: 2px;
155
- border: 1px solid #666;
156
- margin-top: 2px;
157
- background-color: #666;
158
- display: inline-block;
159
- float: left;
160
- clear: both;
161
- margin-bottom: 3px;
162
- position: relative;
163
- left: 32px;
164
- color: #FFF;
165
- max-width: 82%;
166
- word-wrap: break-word;
167
- max-width: 71%;
168
- }
169
-
170
- .wplc-admin-message img{
171
-
172
- border-radius: 25px;
173
- position: absolute;
174
- left: -37px;
175
- top: 3px;
176
-
177
- }
178
-
179
- .wplc-user-message:before {
180
- display: block;
181
- width: 0;
182
- top: 15px;
183
- bottom: auto;
184
- left: auto;
185
- right: -7px;
186
- border-width: 6px 0 6px 7px;
187
- border-color: transparent #ffdb99;
188
- content: "";
189
- position: absolute;
190
- border-style: solid;
191
- }
192
-
193
- .wplc-admin-message:before {
194
- display: block;
195
- width: 0;
196
- top: 15px;
197
- bottom: auto;
198
- left: auto;
199
- left: -7px;
200
- border-width: 6px 7px 6px 0;
201
- border-color: transparent #666;
202
- content: "";
203
- position: absolute;
204
- border-style: solid;
205
- }
206
-
207
- .wplc-user-message img{
208
-
209
- border-radius: 25px;
210
- position: absolute;
211
- right: -37px;
212
- top: 3px;
213
-
214
- }
215
-
216
- .wplc-user-message hr, .wplc-admin-message hr{
217
- margin-bottom: 0px !important;
218
- }
219
- .chat_time {
220
- display:block;
221
- width:100%;
222
- text-align:center;
223
- font-size:0.8em;
224
- color:#ccc;
225
- clear:both;
226
-
227
- }
228
-
229
- .admin_visitor_advanced_info { clear:left; }
230
- .wplc-extension {
231
-
232
- float: left;
233
- margin: 0 1% 1% 0;
234
- background: #fff;
235
- border: 1px solid #ccc;
236
- width: 320px;
237
- padding: 14px;
238
- height: 370px;
239
- position: relative;
240
-
241
- }
242
- .wplc-extension h3 {
243
- margin: 0 0 8px;
244
- font-size: 13px;
245
-
246
- }
247
-
248
- .wplc-extension .button-secondary {
249
- position: absolute;
250
- bottom: 14px;
251
- left: 14px;
252
- }
253
- .wplc-plugin {
254
- height: 250px;
255
- }
256
-
257
- /*.admin_visitor_advanced_info {
258
- clear:both;
259
- font-size:0.9em;
260
- margin-top:20px;
261
-
262
- }*/
263
- .admin_visitor_advanced_info .part1 {
264
- color:#3b3b3b;
265
- }
266
- .admin_visitor_advanced_info .part2 {
267
- color:#949494;
268
- }
269
- .admin_chat_name { font-size:1.3em; display:block; clear:right; font-weight:bold; margin-bottom:5px; }
270
- .admin_chat_email { font-size:1em; display:block; clear:right; }
271
-
272
-
273
- .end_chat_div {
274
- display:block;
275
- clear:both;
276
- text-align:right;
277
- font-size:10px;
278
- width:85%;
279
- margin-left: 40px;
280
- margin-bottom:20px;
281
- }
282
-
283
- /* New Dashboard Layout */
284
- .wplc_admin_dashboard_container{
285
- width: 80%;
286
- margin: 0 auto;
287
- }
288
- #wplc_admin_chat_area{
289
- width: 65%;
290
- display: inline-block;
291
- background-color: #FFF;
292
- float: left;
293
- /*padding: 10px;*/
294
- box-shadow: 1px 1px 3px #ccc;
295
- }
296
-
297
- #wplc_admin_visitor_area{
298
- width: 30%;
299
- display: inline-block;
300
- background-color: #FFF;
301
- float: right;
302
- box-shadow: 1px 1px 3px #ccc;
303
- }
304
-
305
- .wplc_visitor_container{
306
- padding: 10px;
307
- }
308
- .wplc_visitor_container h1{
309
- text-align: center;
310
- line-height: 22px;
311
- }
312
-
313
- .wplc_chats_container h2{
314
- padding: 10px;
315
- }
316
-
317
- .wplc_chat_section {
318
- width: 33.33%;
319
- display: table-cell;
320
- vertical-align: middle;
321
- }
322
-
323
- .wplc_agent_actions{
324
- text-align: center;
325
- }
326
-
327
- .wplc_single_chat{
328
- width: 100%;
329
- display: inline-block;
330
- border: 1px solid #EEE;
331
- border-radius: 5px;
332
- box-shadow: 1px 1px 21px #EEE;
333
- margin: 8px auto;
334
- padding: 10px;
335
- }
336
- .wplc_single_chat .wplc_user_image {
337
- width: 30%;
338
- display: inline-block;
339
- float: left;
340
- }
341
- .wplc_user_meta_data {
342
- width: 70%;
343
- display: inline-block;
344
- }
345
- .wplc_single_chat .wplc_user_image img{
346
- border-radius: 100px;
347
- }
348
-
349
-
350
- .wplc_single_visitor{
351
- border-bottom: 1px solid #ccc;
352
- padding: 20px;
353
- }
354
-
355
- .wplc_single_visitor .wplc_chat_status{
356
-
357
- }
358
-
359
- .wplc_single_visitor .wplc_user_image {
360
- width: 120px;
361
- display: inline-block;
362
- margin-right: 10px;
363
- }
364
-
365
- .wplc_single_visitor .wplc_user_image img{
366
- border-radius: 100px;
367
- }
368
-
369
- .wplc_single_visitor .wplc_user_meta_data{
370
- display: inline-block;
371
- vertical-align: top;
372
- }
373
-
374
- .wplc_single_visitor .wplc_user_name {
375
-
376
- }
377
-
378
- .wplc_single_visitor .wplc_user_name h3{
379
- margin: 0;
380
- padding: 0;
381
- }
382
-
383
- .wplc_single_visitor h3.ui-accordion .ui-accordion-icons{
384
- margin: 0;
385
- padding-left: 0;
386
- }
387
-
388
- .wplc_single_visitor .wplc_user_name h3 i{
389
- padding: 0 10px;
390
- }
391
- .wplc_active{
392
- color: green;
393
- }
394
-
395
- .wplc_pending{
396
- color: orange;
397
- }
398
-
399
- .wplc_closed{
400
- color: red;
401
- }
402
-
403
- .wplc_single_visitor .wplc_user_email{
404
-
405
- }
406
-
407
- .wplc_single_visitor .wplc_user_ip{
408
-
409
- }
410
-
411
- .wplc_single_visitor .wplc_current_page a{
412
- width: 100%;
413
- }
414
-
415
- .wplc_single_visitor .wplc_actions{
416
-
417
- }
418
-
419
- .wplc_icon_message{
420
- font-size: 10px;
421
- font-weight: normal;
422
- }
423
-
424
- .wplc_page_title{
425
- text-align: center;
426
- }
427
-
428
- .wplc_page_title h1{
429
- font-size: 3em;
430
- }
431
-
432
- .wplc_visitor_icon{
433
- padding-right: 10px;
434
-
435
- }
436
-
437
- @media all and (max-width: 550px) {
438
- #wplc_admin_chat_area{
439
- width: 100%;
440
- padding: 0;
441
- margin: 0 0 10px 0;
442
- }
443
- #wplc_admin_visitor_area{
444
- width: 100%;
445
- }
446
- #wplc_admin_chat_area p{
447
- padding: 10px
448
- }
449
- }
450
- @media all and (max-width: 1440px) {
451
- .wplc_single_chat .wplc_user_image {
452
- width: 100%;
453
- display: block;
454
- text-align: center;
455
- }
456
- .wplc_user_meta_data {
457
- width: 100%;
458
- display: block;
459
- text-align: center;
460
- }
461
- }
462
-
463
- @media all and (max-width: 1200px) {
464
- .wplc_chat_section.section_1 {
465
- display: inline-block;
466
- width: 100%;
467
- padding: 10px;
468
- }
469
- }
470
-
471
- @media all and (max-width: 850px) {
472
- .wplc_chat_section.section_2 {
473
- display: inline-block;
474
- width: 100%;
475
- padding: 10px;
476
- }
477
- .admin_visitor_advanced_info{
478
- width: 93%;
479
- clear:both;
480
- }
481
- }
482
-
483
- .wplc_admin_dashboard_container p {
484
- padding: 0 5px;
485
- }
486
-
487
- .toplevel_page_wplivechat-menu .wp-pointer-content h3 {
488
- background-color: #ec822c;
489
- border: 1px solid #ec822c;
490
- }
491
- .toplevel_page_wplivechat-menu .wp-pointer-content h3:before {
492
- color: #ec822c;
493
-
494
- }
495
-
496
- #wplc_admin_chat_holder {
497
- width:990px;
498
- margin:0 auto;
499
- display:block;
500
- overflow:auto;
501
- clear:both;
502
-
503
- }
504
- #wplc_admin_chat_area_new {
505
- width: 750px;
506
- font-size: 13px;
507
- float:left;
508
- display:block;
509
- background-color:#FFF;
510
- border-radius:25px;
511
- }
512
- #wplc_admin_chat_info_new {
513
- float:left;
514
- width:240px;
515
- display:block;
516
- margin-bottom:20px;
517
-
518
-
519
- }
520
- .wplc_chat_vis_count_box {
521
- width:57%;
522
- min-width:198px;
523
- background-color:#FFF;
524
- min-height:150px;
525
- border-radius:25px;
526
- margin-left:auto;
527
- margin-right:auto;
528
- display:block;
529
- text-align:center;
530
- padding:10px;
531
- }
532
-
533
- .wplc_vis_online {
534
- font-size: 60px;
535
- line-height:70px;
536
- color: #ec822c;
537
- text-align: center;
538
- padding-top: 36px;
539
- font-family: Arial;
540
- display: block;
541
- font-weight:bold;
542
- }
543
-
544
-
545
-
546
- #wplc_admin_chat_area_new li {
547
- float: left;
548
- background: none;
549
-
550
- padding: 0 2px 0 0;
551
- list-style:none;
552
- margin:0;
553
-
554
- }
555
- .wplc_header_vh {
556
- font: bold 14px/26px Arial;
557
- padding: 0 0 0 0px;
558
- color: #C2BBBE;
559
- display: block;
560
- text-transform: uppercase;
561
- display:block;
562
- }
563
- .wplc_headerspan_v { min-width:120px; width:20%; display:block; }
564
- .wplc_headerspan_nr { min-width:60px; width:10%; display:block; }
565
- .wplc_headerspan_dev { min-width:60px; width:10%; display:block; }
566
- .wplc_headerspan_d { min-width:200px; width:30%; display:block; }
567
- .wplc_headerspan_d a { font-style: italic; }
568
- .wplc_headerspan_t { min-width:60px; width:9%; display:block; }
569
- .wplc_headerspan_s { min-width:80px; width:12%; display:block; }
570
- .wplc_headerspan_a { min-width:100px; width:15%; display:block; }
571
- .wplc_chat_ul_header {
572
- clear: both;
573
- overflow:auto;
574
- display:block;
575
- padding:10px;
576
-
577
- }
578
- #wplc_chat_ul {
579
- clear: both;
580
- overflow:auto;
581
- display:block;
582
-
583
- }
584
- .wplc_p_cul { padding:10px; clear:both; display:block; overflow: auto; }
585
- .wplc_p_cul:hover { background-color:#eee; border-radius:5px; }
586
-
587
- .wplc_status_box {
588
- padding: 3px;
589
- border-radius: 5px;
590
- color:white;
591
- font-size:11px;
592
-
593
- }
594
- .wplc-agent-info {
595
- font: bold 12px/24px Arial;
596
- color: #C2BBBE;
597
- text-transform: uppercase;
598
- display: block;
599
- }
600
- .wplc_agents_online { color: #ec822c; }
601
- .wplc_type_new { background-color: #E1734A; }
602
- .wplc_type_returning { background-color: #ec822c; }
603
-
604
- .wplc_status_1 { background-color: #CCCCCC; }
605
- .wplc_status_4 { background-color: #CCCCCC; }
606
- .wplc_status_8 { background-color: #CCCCCC; }
607
-
608
- .wplc_status_5 { background-color: #B3D24B; }
609
-
610
- .wplc_status_2 { background-color: #3278CD; }
611
- .wplc_status_3 { background-color: #3278CD; }
612
-
613
-
614
- .wplc_status_6 { background-color: red; }
615
- .wplc_status_7 { background-color: #BFBCBB; }
616
- .wplc_status_9 { background-color: #BFBCBB; }
617
-
618
-
619
- .browser-tag { font-size:10px; }
620
- .browser-tag img{ top:3px; position:relative }
621
- .wplc-sub-item-header { color:#C7C3C3; font-style: italic; }
622
-
623
- @media (min-width:320px) { #wplc_admin_chat_holder { width:100%; } #wplc_admin_chat_area_new { width:90%; float:none; display:block; margin: 0 auto; } #wplc_admin_chat_info_new { width:240px; float:none; display:block; margin: 20px auto; } .wplc_headerspan_t { display:none; } .wplc_headerspan_nr { display:none; } .wplc_chat_ul_header { display:none; } .wplc_p_cul { border-bottom:1px solid #ccc; } #wplc_admin_chat_area_new li { float:none; } .wplc_headerspan_a,.wplc_headerspan_d,.wplc_headerspan_v,.wplc_headerspan_s { margin:5px auto; text-align:center; } .wplc_chat_vis_count_box { min-width:180px; } }
624
- @media (min-width:481px) { #wplc_admin_chat_holder { width:100%; } #wplc_admin_chat_area_new { width:90%; float:none; display:block; margin: 0 auto; } #wplc_admin_chat_info_new { width:240px; float:none; display:block; margin: 20px auto; } .wplc_headerspan_t { display:none; } .wplc_headerspan_nr { display:none; } .wplc_chat_ul_header { display:none; } .wplc_p_cul { border-bottom:1px solid #ccc; } #wplc_admin_chat_area_new li { float:none; } .wplc_headerspan_a,.wplc_headerspan_d,.wplc_headerspan_v,.wplc_headerspan_s { margin:5px auto; text-align:center; } .wplc_chat_vis_count_box { min-width:180px; } .wplc-sub-item-email-string { white-space: nowrap; width: 100%; /* IE6 needs any width */ overflow: hidden; /* "overflow" value must be different from visible"*/ -o-text-overflow: ellipsis; /* Opera < 11*/ text-overflow: ellipsis; /* IE, Safari (WebKit), Opera >= 11, FF > 6 */ } }
625
- @media (min-width:641px) { #wplc_admin_chat_holder { width:650px; } #wplc_admin_chat_area_new { width:640px; float:none; display:block; margin: 0 auto; } #wplc_admin_chat_info_new { width:240px; float:none; display:block; margin: 20px auto; } .wplc_headerspan_t { display:block; } .wplc_headerspan_nr { display:none; } .wplc_chat_ul_header { display:block; } .wplc_p_cul { border-bottom:none; } #wplc_admin_chat_area_new li { float:left; } .wplc_headerspan_a,.wplc_headerspan_d,.wplc_headerspan_v,.wplc_headerspan_s { margin:0; text-align:left; } .wplc_chat_vis_count_box { min-width:180px; } }
626
- @media (min-width:961px) { #wplc_admin_chat_holder { width:850px; } #wplc_admin_chat_area_new { width:700px; float:none; display:block; margin: 0 auto; } #wplc_admin_chat_info_new { width:240px; float:none; display:block; margin: 20px auto; } .wplc_headerspan_t { display:none; } .wplc_headerspan_nr { display:block; } .wplc_chat_ul_header { display:block; } .wplc_p_cul { border-bottom:none; } #wplc_admin_chat_area_new li { float:left; } .wplc_headerspan_a,.wplc_headerspan_d,.wplc_headerspan_v,.wplc_headerspan_s { margin:0; text-align:left; } .wplc_chat_vis_count_box { min-width:110px; } }
627
- @media (min-width:1025px) { #wplc_admin_chat_holder { width:990px; } #wplc_admin_chat_area_new { width:700px; float:left; display:block; margin: 0; } #wplc_admin_chat_info_new { width:140px; float:left; display:block; margin: 0; } .wplc_headerspan_t { display:none; } .wplc_headerspan_nr { display:block; } .wplc_chat_ul_header { display:block; } .wplc_p_cul { border-bottom:none; } #wplc_admin_chat_area_new li { float:left; } .wplc_headerspan_a,.wplc_headerspan_d,.wplc_headerspan_v,.wplc_headerspan_s { margin:0; text-align:left; } .wplc_chat_vis_count_box { min-width:110px; } }
628
- @media (min-width:1281px) { #wplc_admin_chat_holder { width:990px; } #wplc_admin_chat_area_new { width:750px; float:left; display:block; margin: 0; } #wplc_admin_chat_info_new { width:240px; float:left; display:block; margin: 0; } .wplc_headerspan_t { display:block; } .wplc_headerspan_nr { display:block; } .wplc_chat_ul_header { display:block; } .wplc_p_cul { border-bottom:none; } #wplc_admin_chat_area_new li { float:left; } .wplc_headerspan_a,.wplc_headerspan_d,.wplc_headerspan_v,.wplc_headerspan_s { margin:0; text-align:left; } .wplc_chat_vis_count_box { min-width:198px; } }
629
-
630
- .wplc_add_on_button_chat {
631
- float:left; margin-right: 10px;
632
- }
633
-
634
- .wplc_no_visitors {
635
- display: block;
636
- width: 100%;
637
- text-align: center;
638
- font-style: italic;
639
- }
640
-
641
-
642
- .wplc_agent_container ul {
643
- display:block;
644
- overflow:auto;
645
- }
646
- .wplc_agent_container li{
647
- display: block;
648
- float: left;
649
- text-align: center;
650
- border: 1px solid #CCC;
651
- width:150px;
652
- height:310px;
653
- padding: 10px;
654
- border-radius: 5px;
655
- margin: 10px;
656
- box-shadow: 2px 2px 2px #CCC;
657
- overflow: auto;
658
-
659
- }
660
- .wplc_agent_container img{
661
- border-radius: 100px;
662
- }
663
- .wplc_agent_container h3 {
664
- font: bold 12px/16px Arial;
665
- padding: 0 0 0 0px;
666
- color: #C2BBBE;
667
- display: block;
668
- height:40px;
669
- text-transform: uppercase;
670
- }
671
- .wplc_agent_container small { word-wrap: break-word; display:block; height:50px; }
672
- .wplc_agent_container select { width: 120px; }
673
-
674
-
675
-
676
- #wplc_star_rating{
677
- text-align: center;
678
- padding: 10px;
679
- }
680
- .relevant_extension p {
681
- margin-top:2px;
682
- }
683
- .relevant_extension h3 {
684
- margin-bottom:2px;
685
- }
686
- .relevant_extension {
687
- width: 49% !important;
688
- height: 125px !important;
689
- opacity:0.5;
690
- }
691
- .relevant_extension:hover {
692
- opacity:1.0;
693
- }
694
-
695
-
696
- .relevant_extension .button-secondary {
697
- right:10px !important;
698
- left: initial !important;
699
-
700
- }
701
-
702
-
703
- .relevant_extension img {
704
- margin-right:10px;
705
- }
706
-
707
- @media (min-width:320px) {
708
- /* smartphones, portrait iPhone, portrait 480x320 phones (Android) */
709
- .relevant_extension {
710
- width: 85% !important;
711
- height: 145px !important;
712
- opacity:0.5;
713
- }
714
- .relevant_extension img {
715
- width:105px;
716
- }
717
- .wplc-extension .wp-post-image {
718
- height: auto;
719
- }
720
- }
721
- @media (min-width:480px) {
722
- /* smartphones, Android phones, landscape iPhone */
723
- .relevant_extension {
724
- width: 94% !important;
725
- height: 125px !important;
726
- opacity:0.5;
727
- }
728
- .relevant_extension img {
729
- width:105px;
730
- }
731
- .wplc-extension .wp-post-image {
732
- height: auto;
733
- }
734
- }
735
- @media (min-width:600px) {
736
- /* portrait tablets, portrait iPad, e-readers (Nook/Kindle), landscape 800x480 phones (Android) */
737
- .relevant_extension {
738
- width: 94% !important;
739
- height: 125px !important;
740
- opacity:0.5;
741
- }
742
- .relevant_extension img {
743
- width:105px;
744
- }
745
- .wplc-extension .wp-post-image {
746
- height: auto;
747
- }
748
- }
749
- @media (min-width:801px) {
750
- /* tablet, landscape iPad, lo-res laptops ands desktops */
751
- .relevant_extension {
752
- width: 43% !important;
753
- height: 145px !important;
754
- opacity:0.5;
755
- }
756
- .relevant_extension img {
757
- width:95px;
758
- }
759
- .wplc-extension .wp-post-image {
760
- height: auto;
761
- }
762
- }
763
- @media (min-width:1025px) {
764
- /* big landscape tablets, laptops, and desktops */
765
- .relevant_extension {
766
- width: 44% !important;
767
- height: 125px !important;
768
- opacity:0.5;
769
- }
770
- .relevant_extension img {
771
- width:125px;
772
- }
773
- .wplc-extension .wp-post-image {
774
- height: auto;
775
- }
776
- }
777
- @media (min-width:1281px) {
778
- /* hi-res laptops and desktops */
779
- .relevant_extension {
780
- width: 32% !important;
781
- height: 125px !important;
782
- opacity:0.5;
783
- }
784
- .relevant_extension img {
785
- width:110px;
786
- }
787
- .wplc-extension .wp-post-image {
788
- height: auto;
789
- }
790
- }
791
-
792
-
793
- .wplc-palette-selection {
794
- border: 1px solid #CCC;
795
- border-radius: 5px;
796
- padding: 5px;
797
- margin: 5px;
798
- height:100%;
799
-
800
- }
801
-
802
- .wplc_palette_single {
803
- margin: 5px;
804
- margin-top: 15px;
805
- width: 162px;
806
- height: 122px;
807
- text-align: center;
808
- display: inline-block;
809
- vertical-align: top;
810
- cursor: pointer;
811
-
812
- }
813
- .wplc-palette-top { display:block; width:100%; height:25%; }
814
-
815
- #nifty_file_holder {
816
- float: right;
817
- margin-right: 13px;
818
- margin-top: 4px;
819
- }
820
-
821
- .nifty_tedit_icon{
822
- font-size: 12px;
823
- padding-left: 6px;
824
- }
825
-
826
- #nifty_text_editor_holder{
827
- margin-top:3px;
828
- margin-left:4px;
829
- }
830
-
831
- .wplc_faded_upsell {
832
- color: lightgrey;
833
- }
834
- .wplc_chat_area_temp { padding:20px; }
835
- .offline-quote {
836
- font-size: 26px;
837
- font-style: italic;
838
- text-align: center;
839
- width: 100%;
840
- display: block;
841
- color: #343434;
842
- }
843
- .offline-status {
844
- display: block;
845
- width: 100%;
846
- clear:both;
847
- text-align: center;
848
- line-height: 45px;
849
- }
850
-
851
-
852
- .wplc-logo {
853
-
854
- padding-top: 50px;
855
- max-width: 100vw;
856
- padding-bottom: 50px;
857
-
858
- }
859
-
860
- .wplc_network_issue {
861
- position: absolute;
862
- background: white;
863
- width: 400px;
864
- height: 55px;
865
- border-left: 4px solid #ec822c;
866
- left: 0;
867
- right: 0;
868
- top: 0;
869
- bottom: 0;
870
- margin: auto;
871
- box-shadow: 0 2px 5px 0 rgba(0,0,0,0.16),0 2px 10px 0 rgba(0,0,0,0.12);
872
- -webkit-box-shadow: 0 0px 0px 0 rgba(0,0,0,0.16),0 2px 7px 0 rgba(0,0,0,0.12);
873
- -moz-box-shadow: 0 2px 5px 0 rgba(0,0,0,0.16),0 2px 10px 0 rgba(0,0,0,0.12);
874
- -o-box-shadow: 0 2px 5px 0 rgba(0,0,0,0.16),0 2px 10px 0 rgba(0,0,0,0.12);
875
- }
876
-
877
- .wplc_network_issue span {
878
- width: 80%;
879
- display: block;
880
- padding-top: 5%;
881
- padding-bottom: 5%;
882
- padding-left: 10%;
883
- padding-right: 10%;
884
- margin: auto;
885
- position: absolute;
886
- top: 0;
887
- bottom: 0;
888
- }
889
-
890
- .wplc_dashboard_additional_label {
891
- width: 100%;
892
- text-align: center;
893
- display: block;
894
- margin-top: 10px;
895
- cursor: help;
896
- }
897
-
898
- .wplc_modal {
899
- display: block;
900
- position: fixed;
901
- top: 0;
902
- bottom: 0;
903
- left: 0;
904
- right: 0;
905
- background: rgba(0, 0, 0, 0.3);
906
- }
907
-
908
- .wplc_modal_inner {
909
- width: 60%;
910
- height: 300px;
911
- margin: auto;
912
- background: #ffffff;
913
- position: fixed;
914
- z-index: 9999;
915
- display: block;
916
- top: 0;
917
- bottom: 0;
918
- left: 0;
919
- right: 0;
920
- border: 1px solid #9f9f9f;
921
- border-radius: 3px;
922
- }
923
-
924
- .wplc_modal_inner_title {
925
- font-size: 18px;
926
- padding: 17px;
927
- border-bottom: 1px solid #d5d5d5;
928
- }
929
-
930
- .wplc_modal_inner_content {
931
- position: absolute;
932
- display: block;
933
- left: 10px;
934
- right: 10px;
935
- bottom: 55px;
936
- top: 55px;
937
- overflow-y: auto;
938
- }
939
-
940
- .wplc_modal_inner_actions {
941
- height: 28px;
942
- position: absolute;
943
- bottom: 5px;
944
- left: 0;
945
- right: 0;
946
- text-align: center;
947
- }
948
-
949
- span.wplc_system_notification {
950
- display: block;
951
- clear:both;
952
- padding: 8px;
953
- font-style: italic;
954
- text-align: right;
955
- }
956
- .widefat th.sortable, .widefat th.sorted {
957
- padding: 5px 10px !important;
958
- }
959
-
960
- @media (max-width: 1145px) {
961
- .wplc-badge {
962
- max-width: 35% !important;
963
- float: none !important;
964
- margin: 0 auto !important;
965
- }
966
- }
967
-
968
- #wplc_tabs .ui-tabs-anchor {
969
- width: 100%;
970
- }
971
-
972
- .wplc-chat-in-progress {
973
- display: inline-block;
974
- width: 100px;
975
- margin-top: 5px;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
976
  }
1
+
2
+ #admin_chat_box {
3
+ display:block;
4
+ overflow:auto;
5
+ clear:both;
6
+ padding:20px;
7
+ -webkit-border-radius: 5px;
8
+ -moz-border-radius: 5px;
9
+ border-radius: 5px;
10
+ border: 1px solid #ccc;
11
+ background-color:#fff;
12
+ width:85%;
13
+ min-width:675px;
14
+
15
+
16
+
17
+ }
18
+ .wplc-extension-label-box {
19
+ display:block;
20
+ overflow:auto;
21
+ clear:both;
22
+ }
23
+ .wplc-extension-label {
24
+ display:block; float:left; padding:5px; margin-right:5px; font-size:0.8em; background-color:#bbb; color:#FFF; webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px; }
25
+ }
26
+ .wplc-sub-item-email-string {
27
+ white-space: nowrap;
28
+ display:inline-block;
29
+ width: 120px; /* IE6 needs any width */
30
+ overflow: hidden; /* "overflow" value must be different from visible"*/
31
+ -o-text-overflow: ellipsis; /* Opera < 11*/
32
+ text-overflow: ellipsis; /* IE, Safari (WebKit), Opera >= 11, FF > 6 */
33
+ }
34
+ .admin_chat_box {
35
+ -webkit-border-radius: 5px;
36
+ -moz-border-radius: 5px;
37
+ border-radius: 5px;
38
+ border: 1px solid #ccc;
39
+ float:left;
40
+ display:block;
41
+ background-color:white;
42
+ width: 50%;
43
+ min-width:300px;
44
+ /*height:315px;*/
45
+ background-color: #ffffff;
46
+ background-image: -webkit-gradient(linear, left top, left bottom, from(#CCC), to(#FFF));
47
+ background-image: -webkit-linear-gradient(top, #CCC, #FFF);
48
+ background-image: -moz-linear-gradient(top, #CCC, #FFF);
49
+ background-image: -o-linear-gradient(top, #CCC, #FFF);
50
+ background-image: linear-gradient(to bottom, #CCC, #FFF);
51
+ }
52
+ .chat_response_box {
53
+
54
+ }
55
+ .admin_chat_box_inner {
56
+ height:210px;
57
+ padding:10px;
58
+ overflow:scroll;
59
+ overflow-x: hidden;
60
+ background-color:#FFF;
61
+
62
+
63
+ }
64
+
65
+ .admin_chat_box_inner_bottom {
66
+ /*height:60px;*/
67
+ width:100%;
68
+ border-top:1px solid #ccc;
69
+ display:block;
70
+ overflow:auto;
71
+
72
+
73
+
74
+ }
75
+ .admin_chat_quick_controls {
76
+ clear:left;
77
+ padding-left:10px;
78
+
79
+ }
80
+
81
+ .admin_visitor_info {
82
+ float:left;
83
+ width: 47%;
84
+ padding-left:15px;
85
+ min-width:250px;
86
+
87
+
88
+ }
89
+ #wplc_admin_chatmsg {
90
+ width:95%;
91
+ margin:0 auto;
92
+ margin-top:10px;
93
+ display:block;
94
+ height:50px;
95
+ padding:10px;
96
+ -webkit-border-radius: 5px;
97
+ -moz-border-radius: 5px;
98
+ border-radius: 5px;
99
+ border: 1px solid #ccc;
100
+ }
101
+
102
+ .admin_chat_img {
103
+ -webkit-border-radius: 5px;
104
+ -moz-border-radius: 5px;
105
+ border-radius: 5px;
106
+ }
107
+
108
+
109
+ .wplc-admin-message {
110
+
111
+ padding:10px;
112
+ -webkit-border-radius: 2px;
113
+ -moz-border-radius: 2px;
114
+ border-radius: 2px;
115
+ border: 1px solid #ccc;
116
+ margin-top:2px;
117
+ background-color:#EEE;
118
+ display: inline-block;
119
+ float: left;
120
+ clear:both;
121
+ margin-bottom: 3px;
122
+ word-wrap: break-word;
123
+ max-width:96%;
124
+
125
+
126
+ }
127
+
128
+ .wplc-user-message {
129
+
130
+ padding:10px;
131
+ -webkit-border-radius: 2px;
132
+ -moz-border-radius: 2px;
133
+ border-radius: 2px;
134
+ border: 1px solid #ffdb99;
135
+ margin-top:2px;
136
+ background-color:#fff6ef;
137
+ color:#000;
138
+ display: inline-block;
139
+ float: right;
140
+ clear:both;
141
+ margin-bottom: 3px;
142
+ word-wrap: break-word;
143
+ max-width:96%;
144
+ position: relative;
145
+ right: 35px;
146
+ max-width: 71%;
147
+
148
+ }
149
+
150
+ .wplc-admin-message {
151
+ padding: 10px;
152
+ -webkit-border-radius: 2px;
153
+ -moz-border-radius: 2px;
154
+ border-radius: 2px;
155
+ border: 1px solid #666;
156
+ margin-top: 2px;
157
+ background-color: #666;
158
+ display: inline-block;
159
+ float: left;
160
+ clear: both;
161
+ margin-bottom: 3px;
162
+ position: relative;
163
+ left: 32px;
164
+ color: #FFF;
165
+ max-width: 82%;
166
+ word-wrap: break-word;
167
+ max-width: 71%;
168
+ }
169
+
170
+ .wplc-admin-message img{
171
+
172
+ border-radius: 25px;
173
+ position: absolute;
174
+ left: -37px;
175
+ top: 3px;
176
+
177
+ }
178
+
179
+ .wplc-user-message:before {
180
+ display: block;
181
+ width: 0;
182
+ top: 15px;
183
+ bottom: auto;
184
+ left: auto;
185
+ right: -7px;
186
+ border-width: 6px 0 6px 7px;
187
+ border-color: transparent #ffdb99;
188
+ content: "";
189
+ position: absolute;
190
+ border-style: solid;
191
+ }
192
+
193
+ .wplc-admin-message:before {
194
+ display: block;
195
+ width: 0;
196
+ top: 15px;
197
+ bottom: auto;
198
+ left: auto;
199
+ left: -7px;
200
+ border-width: 6px 7px 6px 0;
201
+ border-color: transparent #666;
202
+ content: "";
203
+ position: absolute;
204
+ border-style: solid;
205
+ }
206
+
207
+ .wplc-user-message img.wplc-user-message-avatar {
208
+
209
+ border-radius: 25px;
210
+ position: absolute;
211
+ right: -37px;
212
+ top: 3px;
213
+
214
+ }
215
+
216
+ .wplc-user-message hr, .wplc-admin-message hr{
217
+ margin-bottom: 0px !important;
218
+ }
219
+ .chat_time {
220
+ display:block;
221
+ width:100%;
222
+ text-align:center;
223
+ font-size:0.8em;
224
+ color:#ccc;
225
+ clear:both;
226
+
227
+ }
228
+
229
+ .admin_visitor_advanced_info { clear:left; }
230
+ .wplc-extension {
231
+
232
+ float: left;
233
+ margin: 0 1% 1% 0;
234
+ background: #fff;
235
+ border: 1px solid #ccc;
236
+ width: 320px;
237
+ padding: 14px;
238
+ height: 370px;
239
+ position: relative;
240
+
241
+ }
242
+ .wplc-extension h3 {
243
+ margin: 0 0 8px;
244
+ font-size: 13px;
245
+
246
+ }
247
+
248
+ .wplc-extension .button-secondary {
249
+ position: absolute;
250
+ bottom: 14px;
251
+ left: 14px;
252
+ }
253
+ .wplc-plugin {
254
+ height: 250px;
255
+ }
256
+
257
+ /*.admin_visitor_advanced_info {
258
+ clear:both;
259
+ font-size:0.9em;
260
+ margin-top:20px;
261
+
262
+ }*/
263
+ .admin_visitor_advanced_info .part1 {
264
+ color:#3b3b3b;
265
+ }
266
+ .admin_visitor_advanced_info .part2 {
267
+ color:#949494;
268
+ }
269
+ .admin_chat_name { font-size:1.3em; display:block; clear:right; font-weight:bold; margin-bottom:5px; }
270
+ .admin_chat_email { font-size:1em; display:block; clear:right; }
271
+
272
+
273
+ .end_chat_div {
274
+ display:block;
275
+ clear:both;
276
+ text-align:right;
277
+ font-size:10px;
278
+ width:85%;
279
+ margin-left: 40px;
280
+ margin-bottom:20px;
281
+ }
282
+
283
+ /* New Dashboard Layout */
284
+ .wplc_admin_dashboard_container{
285
+ width: 80%;
286
+ margin: 0 auto;
287
+ }
288
+ #wplc_admin_chat_area{
289
+ width: 65%;
290
+ display: inline-block;
291
+ background-color: #FFF;
292
+ float: left;
293
+ /*padding: 10px;*/
294
+ box-shadow: 1px 1px 3px #ccc;
295
+ }
296
+
297
+ #wplc_admin_visitor_area{
298
+ width: 30%;
299
+ display: inline-block;
300
+ background-color: #FFF;
301
+ float: right;
302
+ box-shadow: 1px 1px 3px #ccc;
303
+ }
304
+
305
+ .wplc_visitor_container{
306
+ padding: 10px;
307
+ }
308
+ .wplc_visitor_container h1{
309
+ text-align: center;
310
+ line-height: 22px;
311
+ }
312
+
313
+ .wplc_chats_container h2{
314
+ padding: 10px;
315
+ }
316
+
317
+ .wplc_chat_section {
318
+ width: 33.33%;
319
+ display: table-cell;
320
+ vertical-align: middle;
321
+ }
322
+
323
+ .wplc_agent_actions{
324
+ text-align: center;
325
+ }
326
+
327
+ .wplc_single_chat{
328
+ width: 100%;
329
+ display: inline-block;
330
+ border: 1px solid #EEE;
331
+ border-radius: 5px;
332
+ box-shadow: 1px 1px 21px #EEE;
333
+ margin: 8px auto;
334
+ padding: 10px;
335
+ }
336
+ .wplc_single_chat .wplc_user_image {
337
+ width: 30%;
338
+ display: inline-block;
339
+ float: left;
340
+ }
341
+ .wplc_user_meta_data {
342
+ width: 70%;
343
+ display: inline-block;
344
+ }
345
+ .wplc_single_chat .wplc_user_image img{
346
+ border-radius: 100px;
347
+ }
348
+
349
+
350
+ .wplc_single_visitor{
351
+ border-bottom: 1px solid #ccc;
352
+ padding: 20px;
353
+ }
354
+
355
+ .wplc_single_visitor .wplc_chat_status{
356
+
357
+ }
358
+
359
+ .wplc_single_visitor .wplc_user_image {
360
+ width: 120px;
361
+ display: inline-block;
362
+ margin-right: 10px;
363
+ }
364
+
365
+ .wplc_single_visitor .wplc_user_image img{
366
+ border-radius: 100px;
367
+ }
368
+
369
+ .wplc_single_visitor .wplc_user_meta_data{
370
+ display: inline-block;
371
+ vertical-align: top;
372
+ }
373
+
374
+ .wplc_single_visitor .wplc_user_name {
375
+
376
+ }
377
+
378
+ .wplc_single_visitor .wplc_user_name h3{
379
+ margin: 0;
380
+ padding: 0;
381
+ }
382
+
383
+ .wplc_single_visitor h3.ui-accordion .ui-accordion-icons{
384
+ margin: 0;
385
+ padding-left: 0;
386
+ }
387
+
388
+ .wplc_single_visitor .wplc_user_name h3 i{
389
+ padding: 0 10px;
390
+ }
391
+ .wplc_active{
392
+ color: green;
393
+ }
394
+
395
+ .wplc_pending{
396
+ color: orange;
397
+ }
398
+
399
+ .wplc_closed{
400
+ color: red;
401
+ }
402
+
403
+ .wplc_single_visitor .wplc_user_email{
404
+
405
+ }
406
+
407
+ .wplc_single_visitor .wplc_user_ip{
408
+
409
+ }
410
+
411
+ .wplc_single_visitor .wplc_current_page a{
412
+ width: 100%;
413
+ }
414
+
415
+ .wplc_single_visitor .wplc_actions{
416
+
417
+ }
418
+
419
+ .wplc_icon_message{
420
+ font-size: 10px;
421
+ font-weight: normal;
422
+ }
423
+
424
+ .wplc_page_title{
425
+ text-align: center;
426
+ }
427
+
428
+ .wplc_page_title h1{
429
+ font-size: 3em;
430
+ }
431
+
432
+ .wplc_visitor_icon{
433
+ padding-right: 10px;
434
+
435
+ }
436
+
437
+ @media all and (max-width: 550px) {
438
+ #wplc_admin_chat_area{
439
+ width: 100%;
440
+ padding: 0;
441
+ margin: 0 0 10px 0;
442
+ }
443
+ #wplc_admin_visitor_area{
444
+ width: 100%;
445
+ }
446
+ #wplc_admin_chat_area p{
447
+ padding: 10px
448
+ }
449
+ }
450
+ @media all and (max-width: 1440px) {
451
+ .wplc_single_chat .wplc_user_image {
452
+ width: 100%;
453
+ display: block;
454
+ text-align: center;
455
+ }
456
+ .wplc_user_meta_data {
457
+ width: 100%;
458
+ display: block;
459
+ text-align: center;
460
+ }
461
+ }
462
+
463
+ @media all and (max-width: 1200px) {
464
+ .wplc_chat_section.section_1 {
465
+ display: inline-block;
466
+ width: 100%;
467
+ padding: 10px;
468
+ }
469
+ }
470
+
471
+ @media all and (max-width: 850px) {
472
+ .wplc_chat_section.section_2 {
473
+ display: inline-block;
474
+ width: 100%;
475
+ padding: 10px;
476
+ }
477
+ .admin_visitor_advanced_info{
478
+ width: 93%;
479
+ clear:both;
480
+ }
481
+ }
482
+
483
+ .wplc_admin_dashboard_container p {
484
+ padding: 0 5px;
485
+ }
486
+
487
+ .toplevel_page_wplivechat-menu .wp-pointer-content h3 {
488
+ background-color: #ec822c;
489
+ border: 1px solid #ec822c;
490
+ }
491
+ .toplevel_page_wplivechat-menu .wp-pointer-content h3:before {
492
+ color: #ec822c;
493
+
494
+ }
495
+
496
+ #wplc_admin_chat_holder {
497
+ width:990px;
498
+ margin:0 auto;
499
+ display:block;
500
+ overflow:auto;
501
+ clear:both;
502
+
503
+ }
504
+ #wplc_admin_chat_area_new {
505
+ width: 750px;
506
+ font-size: 13px;
507
+ float:left;
508
+ display:block;
509
+ background-color:#FFF;
510
+ border-radius:25px;
511
+ }
512
+ #wplc_admin_chat_info_new {
513
+ float:left;
514
+ width:240px;
515
+ display:block;
516
+ margin-bottom:20px;
517
+
518
+
519
+ }
520
+ .wplc_chat_vis_count_box {
521
+ width:57%;
522
+ min-width:198px;
523
+ background-color:#FFF;
524
+ min-height:150px;
525
+ border-radius:25px;
526
+ margin-left:auto;
527
+ margin-right:auto;
528
+ display:block;
529
+ text-align:center;
530
+ padding:10px;
531
+ }
532
+
533
+ .wplc_vis_online {
534
+ font-size: 60px;
535
+ line-height:70px;
536
+ color: #ec822c;
537
+ text-align: center;
538
+ padding-top: 36px;
539
+ font-family: Arial;
540
+ display: block;
541
+ font-weight:bold;
542
+ }
543
+
544
+
545
+
546
+ #wplc_admin_chat_area_new li {
547
+ float: left;
548
+ background: none;
549
+
550
+ padding: 0 2px 0 0;
551
+ list-style:none;
552
+ margin:0;
553
+
554
+ }
555
+ .wplc_header_vh {
556
+ font: bold 14px/26px Arial;
557
+ padding: 0 0 0 0px;
558
+ color: #C2BBBE;
559
+ display: block;
560
+ text-transform: uppercase;
561
+ display:block;
562
+ }
563
+ .wplc_headerspan_v { min-width:120px; width:20%; display:block; }
564
+ .wplc_headerspan_nr { min-width:60px; width:10%; display:block; }
565
+ .wplc_headerspan_dev { min-width:60px; width:10%; display:block; }
566
+ .wplc_headerspan_d { min-width:200px; width:30%; display:block; }
567
+ .wplc_headerspan_d a { font-style: italic; }
568
+ .wplc_headerspan_t { min-width:60px; width:9%; display:block; }
569
+ .wplc_headerspan_s { min-width:80px; width:12%; display:block; }
570
+ .wplc_headerspan_a { min-width:100px; width:15%; display:block; }
571
+ .wplc_chat_ul_header {
572
+ clear: both;
573
+ overflow:auto;
574
+ display:block;
575
+ padding:10px;
576
+
577
+ }
578
+ #wplc_chat_ul {
579
+ clear: both;
580
+ overflow:auto;
581
+ display:block;
582
+
583
+ }
584
+ .wplc_p_cul { padding:10px; clear:both; display:block; overflow: auto; }
585
+ .wplc_p_cul:hover { background-color:#eee; border-radius:5px; }
586
+
587
+ .wplc_status_box {
588
+ padding: 3px;
589
+ border-radius: 5px;
590
+ color:white;
591
+ font-size:11px;
592
+
593
+ }
594
+ .wplc-agent-info {
595
+ font: bold 12px/24px Arial;
596
+ color: #C2BBBE;
597
+ text-transform: uppercase;
598
+ display: block;
599
+ }
600
+ .wplc_agents_online { color: #ec822c; }
601
+ .wplc_type_new { background-color: #E1734A; }
602
+ .wplc_type_returning { background-color: #ec822c; }
603
+
604
+ .wplc_status_1 { background-color: #CCCCCC; }
605
+ .wplc_status_4 { background-color: #CCCCCC; }
606
+ .wplc_status_8 { background-color: #CCCCCC; }
607
+
608
+ .wplc_status_5 { background-color: #B3D24B; }
609
+
610
+ .wplc_status_2 { background-color: #3278CD; }
611
+ .wplc_status_3 { background-color: #3278CD; }
612
+
613
+
614
+ .wplc_status_6 { background-color: red; }
615
+ .wplc_status_7 { background-color: #BFBCBB; }
616
+ .wplc_status_9 { background-color: #BFBCBB; }
617
+
618
+
619
+ .browser-tag { font-size:10px; }
620
+ .browser-tag img{ top:3px; position:relative }
621
+ .wplc-sub-item-header { color:#C7C3C3; font-style: italic; }
622
+
623
+ @media (min-width:320px) { #wplc_admin_chat_holder { width:100%; } #wplc_admin_chat_area_new { width:90%; float:none; display:block; margin: 0 auto; } #wplc_admin_chat_info_new { width:240px; float:none; display:block; margin: 20px auto; } .wplc_headerspan_t { display:none; } .wplc_headerspan_nr { display:none; } .wplc_chat_ul_header { display:none; } .wplc_p_cul { border-bottom:1px solid #ccc; } #wplc_admin_chat_area_new li { float:none; } .wplc_headerspan_a,.wplc_headerspan_d,.wplc_headerspan_v,.wplc_headerspan_s { margin:5px auto; text-align:center; } .wplc_chat_vis_count_box { min-width:180px; } }
624
+ @media (min-width:481px) { #wplc_admin_chat_holder { width:100%; } #wplc_admin_chat_area_new { width:90%; float:none; display:block; margin: 0 auto; } #wplc_admin_chat_info_new { width:240px; float:none; display:block; margin: 20px auto; } .wplc_headerspan_t { display:none; } .wplc_headerspan_nr { display:none; } .wplc_chat_ul_header { display:none; } .wplc_p_cul { border-bottom:1px solid #ccc; } #wplc_admin_chat_area_new li { float:none; } .wplc_headerspan_a,.wplc_headerspan_d,.wplc_headerspan_v,.wplc_headerspan_s { margin:5px auto; text-align:center; } .wplc_chat_vis_count_box { min-width:180px; } .wplc-sub-item-email-string { white-space: nowrap; width: 100%; /* IE6 needs any width */ overflow: hidden; /* "overflow" value must be different from visible"*/ -o-text-overflow: ellipsis; /* Opera < 11*/ text-overflow: ellipsis; /* IE, Safari (WebKit), Opera >= 11, FF > 6 */ } }
625
+ @media (min-width:641px) { #wplc_admin_chat_holder { width:650px; } #wplc_admin_chat_area_new { width:640px; float:none; display:block; margin: 0 auto; } #wplc_admin_chat_info_new { width:240px; float:none; display:block; margin: 20px auto; } .wplc_headerspan_t { display:block; } .wplc_headerspan_nr { display:none; } .wplc_chat_ul_header { display:block; } .wplc_p_cul { border-bottom:none; } #wplc_admin_chat_area_new li { float:left; } .wplc_headerspan_a,.wplc_headerspan_d,.wplc_headerspan_v,.wplc_headerspan_s { margin:0; text-align:left; } .wplc_chat_vis_count_box { min-width:180px; } }
626
+ @media (min-width:961px) { #wplc_admin_chat_holder { width:850px; } #wplc_admin_chat_area_new { width:700px; float:none; display:block; margin: 0 auto; } #wplc_admin_chat_info_new { width:240px; float:none; display:block; margin: 20px auto; } .wplc_headerspan_t { display:none; } .wplc_headerspan_nr { display:block; } .wplc_chat_ul_header { display:block; } .wplc_p_cul { border-bottom:none; } #wplc_admin_chat_area_new li { float:left; } .wplc_headerspan_a,.wplc_headerspan_d,.wplc_headerspan_v,.wplc_headerspan_s { margin:0; text-align:left; } .wplc_chat_vis_count_box { min-width:110px; } }
627
+ @media (min-width:1025px) { #wplc_admin_chat_holder { width:990px; } #wplc_admin_chat_area_new { width:700px; float:left; display:block; margin: 0; } #wplc_admin_chat_info_new { width:140px; float:left; display:block; margin: 0; } .wplc_headerspan_t { display:none; } .wplc_headerspan_nr { display:block; } .wplc_chat_ul_header { display:block; } .wplc_p_cul { border-bottom:none; } #wplc_admin_chat_area_new li { float:left; } .wplc_headerspan_a,.wplc_headerspan_d,.wplc_headerspan_v,.wplc_headerspan_s { margin:0; text-align:left; } .wplc_chat_vis_count_box { min-width:110px; } }
628
+ @media (min-width:1281px) { #wplc_admin_chat_holder { width:990px; } #wplc_admin_chat_area_new { width:750px; float:left; display:block; margin: 0; } #wplc_admin_chat_info_new { width:240px; float:left; display:block; margin: 0; } .wplc_headerspan_t { display:block; } .wplc_headerspan_nr { display:block; } .wplc_chat_ul_header { display:block; } .wplc_p_cul { border-bottom:none; } #wplc_admin_chat_area_new li { float:left; } .wplc_headerspan_a,.wplc_headerspan_d,.wplc_headerspan_v,.wplc_headerspan_s { margin:0; text-align:left; } .wplc_chat_vis_count_box { min-width:198px; } }
629
+
630
+ .wplc_add_on_button_chat {
631
+ float:left; margin-right: 10px;
632
+ }
633
+
634
+ .wplc_no_visitors {
635
+ display: block;
636
+ width: 100%;
637
+ text-align: center;
638
+ font-style: italic;
639
+ }
640
+
641
+
642
+ .wplc_agent_container ul {
643
+ display:block;
644
+ overflow:auto;
645
+ }
646
+ .wplc_agent_container li{
647
+ display: block;
648
+ float: left;
649
+ text-align: center;
650
+ border: 1px solid #CCC;
651
+ width:150px;
652
+ height:310px;
653
+ padding: 10px;
654
+ border-radius: 5px;
655
+ margin: 10px;
656
+ box-shadow: 2px 2px 2px #CCC;
657
+ overflow: auto;
658
+
659
+ }
660
+ .wplc_agent_container img{
661
+ border-radius: 100px;
662
+ }
663
+ .wplc_agent_container h3 {
664
+ font: bold 12px/16px Arial;
665
+ padding: 0 0 0 0px;
666
+ color: #C2BBBE;
667
+ display: block;
668
+ height:40px;
669
+ text-transform: uppercase;
670
+ }
671
+ .wplc_agent_container small { word-wrap: break-word; display:block; height:50px; }
672
+ .wplc_agent_container select { width: 120px; }
673
+
674
+
675
+
676
+ #wplc_star_rating{
677
+ text-align: center;
678
+ padding: 10px;
679
+ }
680
+ .relevant_extension p {
681
+ margin-top:2px;
682
+ }
683
+ .relevant_extension h3 {
684
+ margin-bottom:2px;
685
+ }
686
+ .relevant_extension {
687
+ width: 49% !important;
688
+ height: 125px !important;
689
+ opacity:0.5;
690
+ }
691
+ .relevant_extension:hover {
692
+ opacity:1.0;
693
+ }
694
+
695
+
696
+ .relevant_extension .button-secondary {
697
+ right:10px !important;
698
+ left: initial !important;
699
+
700
+ }
701
+
702
+
703
+ .relevant_extension img {
704
+ margin-right:10px;
705
+ }
706
+
707
+ @media (min-width:320px) {
708
+ /* smartphones, portrait iPhone, portrait 480x320 phones (Android) */
709
+ .relevant_extension {
710
+ width: 85% !important;
711
+ height: 145px !important;
712
+ opacity:0.5;
713
+ }
714
+ .relevant_extension img {
715
+ width:105px;
716
+ }
717
+ .wplc-extension .wp-post-image {
718
+ height: auto;
719
+ }
720
+ }
721
+ @media (min-width:480px) {
722
+ /* smartphones, Android phones, landscape iPhone */
723
+ .relevant_extension {
724
+ width: 94% !important;
725
+ height: 125px !important;
726
+ opacity:0.5;
727
+ }
728
+ .relevant_extension img {
729
+ width:105px;
730
+ }
731
+ .wplc-extension .wp-post-image {
732
+ height: auto;
733
+ }
734
+ }
735
+ @media (min-width:600px) {
736
+ /* portrait tablets, portrait iPad, e-readers (Nook/Kindle), landscape 800x480 phones (Android) */
737
+ .relevant_extension {
738
+ width: 94% !important;
739
+ height: 125px !important;
740
+ opacity:0.5;
741
+ }
742
+ .relevant_extension img {
743
+ width:105px;
744
+ }
745
+ .wplc-extension .wp-post-image {
746
+ height: auto;
747
+ }
748
+ }
749
+ @media (min-width:801px) {
750
+ /* tablet, landscape iPad, lo-res laptops ands desktops */
751
+ .relevant_extension {
752
+ width: 43% !important;
753
+ height: 145px !important;
754
+ opacity:0.5;
755
+ }
756
+ .relevant_extension img {
757
+ width:95px;
758
+ }
759
+ .wplc-extension .wp-post-image {
760
+ height: auto;
761
+ }
762
+ }
763
+ @media (min-width:1025px) {
764
+ /* big landscape tablets, laptops, and desktops */
765
+ .relevant_extension {
766
+ width: 44% !important;
767
+ height: 125px !important;
768
+ opacity:0.5;
769
+ }
770
+ .relevant_extension img {
771
+ width:125px;
772
+ }
773
+ .wplc-extension .wp-post-image {
774
+ height: auto;
775
+ }
776
+ }
777
+ @media (min-width:1281px) {
778
+ /* hi-res laptops and desktops */
779
+ .relevant_extension {
780
+ width: 32% !important;
781
+ height: 125px !important;
782
+ opacity:0.5;
783
+ }
784
+ .relevant_extension img {
785
+ width:110px;
786
+ }
787
+ .wplc-extension .wp-post-image {
788
+ height: auto;
789
+ }
790
+ }
791
+
792
+
793
+ .wplc-palette-selection {
794
+ border: 1px solid #CCC;
795
+ border-radius: 5px;
796
+ padding: 5px;
797
+ margin: 5px;
798
+ height:100%;
799
+
800
+ }
801
+
802
+ .wplc_palette_single {
803
+ margin: 5px;
804
+ margin-top: 15px;
805
+ width: 162px;
806
+ height: 122px;
807
+ text-align: center;
808
+ display: inline-block;
809
+ vertical-align: top;
810
+ cursor: pointer;
811
+
812
+ }
813
+ .wplc-palette-top { display:block; width:100%; height:25%; }
814
+
815
+ #nifty_file_holder {
816
+ float: right;
817
+ margin-right: 13px;
818
+ margin-top: 4px;
819
+ }
820
+
821
+ .nifty_tedit_icon{
822
+ font-size: 12px;
823
+ padding-left: 6px;
824
+ }
825
+
826
+ #nifty_text_editor_holder{
827
+ margin-top:3px;
828
+ margin-left:4px;
829
+ }
830
+
831
+ .wplc_faded_upsell {
832
+ color: lightgrey;
833
+ }
834
+ .wplc_chat_area_temp { padding:20px; }
835
+ .offline-quote {
836
+ font-size: 26px;
837
+ font-style: italic;
838
+ text-align: center;
839
+ width: 100%;
840
+ display: block;
841
+ color: #343434;
842
+ }
843
+ .offline-status {
844
+ display: block;
845
+ width: 100%;
846
+ clear:both;
847
+ text-align: center;
848
+ line-height: 45px;
849
+ }
850
+
851
+
852
+ .wplc-logo {
853
+
854
+ padding-top: 50px;
855
+ max-width: 100vw;
856
+ padding-bottom: 50px;
857
+
858
+ }
859
+
860
+ .wplc_network_issue {
861
+ position: absolute;
862
+ background: white;
863
+ width: 400px;
864
+ height: 55px;
865
+ border-left: 4px solid #ec822c;
866
+ left: 0;
867
+ right: 0;
868
+ top: 0;
869
+ bottom: 0;
870
+ margin: auto;
871
+ box-shadow: 0 2px 5px 0 rgba(0,0,0,0.16),0 2px 10px 0 rgba(0,0,0,0.12);
872
+ -webkit-box-shadow: 0 0px 0px 0 rgba(0,0,0,0.16),0 2px 7px 0 rgba(0,0,0,0.12);
873
+ -moz-box-shadow: 0 2px 5px 0 rgba(0,0,0,0.16),0 2px 10px 0 rgba(0,0,0,0.12);
874
+ -o-box-shadow: 0 2px 5px 0 rgba(0,0,0,0.16),0 2px 10px 0 rgba(0,0,0,0.12);
875
+ }
876
+
877
+ .wplc_network_issue span {
878
+ width: 80%;
879
+ display: block;
880
+ padding-top: 5%;
881
+ padding-bottom: 5%;
882
+ padding-left: 10%;
883
+ padding-right: 10%;
884
+ margin: auto;
885
+ position: absolute;
886
+ top: 0;
887
+ bottom: 0;
888
+ }
889
+
890
+ .wplc_dashboard_additional_label {
891
+ width: 100%;
892
+ text-align: center;
893
+ display: block;
894
+ margin-top: 10px;
895
+ cursor: help;
896
+ }
897
+
898
+ .wplc_modal {
899
+ display: block;
900
+ position: fixed;
901
+ top: 0;
902
+ bottom: 0;
903
+ left: 0;
904
+ right: 0;
905
+ background: rgba(0, 0, 0, 0.3);
906
+ }
907
+
908
+ .wplc_modal_inner {
909
+ width: 60%;
910
+ height: 300px;
911
+ margin: auto;
912
+ background: #ffffff;
913
+ position: fixed;
914
+ z-index: 9999;
915
+ display: block;
916
+ top: 0;
917
+ bottom: 0;
918
+ left: 0;
919
+ right: 0;
920
+ border: 1px solid #9f9f9f;
921
+ border-radius: 3px;
922
+ }
923
+
924
+ .wplc_modal_inner_title {
925
+ font-size: 18px;
926
+ padding: 17px;
927
+ border-bottom: 1px solid #d5d5d5;
928
+ }
929
+
930
+ .wplc_modal_inner_content {
931
+ position: absolute;
932
+ display: block;
933
+ left: 10px;
934
+ right: 10px;
935
+ bottom: 55px;
936
+ top: 55px;
937
+ overflow-y: auto;
938
+ }
939
+
940
+ .wplc_modal_inner_actions {
941
+ height: 28px;
942
+ position: absolute;
943
+ bottom: 5px;
944
+ left: 0;
945
+ right: 0;
946
+ text-align: center;
947
+ }
948
+
949
+ span.wplc_system_notification {
950
+ display: block;
951
+ clear:both;
952
+ padding: 8px;
953
+ font-style: italic;
954
+ text-align: right;
955
+ }
956
+ .widefat th.sortable, .widefat th.sorted {
957
+ padding: 5px 10px !important;
958
+ }
959
+
960
+ @media (max-width: 1145px) {
961
+ .wplc-badge {
962
+ max-width: 35% !important;
963
+ float: none !important;
964
+ margin: 0 auto !important;
965
+ }
966
+ }
967
+
968
+ #wplc_tabs .ui-tabs-anchor {
969
+ width: 100%;
970
+ }
971
+
972
+ .wplc-chat-in-progress {
973
+ display: inline-block;
974
+ width: 100px;
975
+ margin-top: 5px;
976
+ }
977
+
978
+ .wplc-history__date {
979
+ display: block;
980
+ margin-bottom: 5px;
981
+ }
982
+
983
+ .wplc-history__date-end {
984
+ margin-bottom: 10px;
985
+ }
986
+
987
+ .wplc-history__date strong {
988
+ margin-right: 5px;
989
+ }
990
+
991
+ .wplc-exclude-post-types__item,
992
+ .wplc-require-user-info__item {
993
+ margin-bottom: 5px;
994
+
995
+ }
996
+ .wplc-chat-box-notification--disabled {
997
+ padding: 5px;
998
+ display: block;
999
+ width: 40%;
1000
+ margin-left: auto;
1001
+ margin-right: auto;
1002
+ border: 1px solid #d26d6d;
1003
+ background-color: #f3bfbf;
1004
+ font-weight: bold;
1005
  }
css/themes/modern.css CHANGED
@@ -271,7 +271,7 @@
271
  }
272
  .wplc_close.wplc_left{
273
  padding-right: 45px;
274
- height: 220px;
275
  }
276
 
277
 
@@ -301,7 +301,7 @@
301
 
302
  .wplc_close.wplc_right{
303
  padding-left: 75px;
304
- height: 220px;
305
  border-radius: 5px 0px 0px 5px !important;
306
  }
307
  .wplc_open.wplc_right #wp-live-chat-header{
271
  }
272
  .wplc_close.wplc_left{
273
  padding-right: 45px;
274
+ height: 120px;
275
  }
276
 
277
 
301
 
302
  .wplc_close.wplc_right{
303
  padding-left: 75px;
304
+ height: 120px;
305
  border-radius: 5px 0px 0px 5px !important;
306
  }
307
  .wplc_open.wplc_right #wp-live-chat-header{
css/wplcstyle.css CHANGED
@@ -1,2 +1,28 @@
1
-
2
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ .wplc-chat-alert {
3
+ display: none;
4
+ width: 30px;
5
+ height: 30px;
6
+ position: absolute;
7
+ top: -14px;
8
+ right: -14px;
9
+ background-color: #666;
10
+ border-radius: 15px;
11
+ }
12
+
13
+ .wplc-chat-alert--theme-3 {
14
+ background-color: #5a0031;
15
+ }
16
+
17
+ .wplc-chat-alert.is-active {
18
+ display: inline-block;
19
+ }
20
+
21
+ .wplc-chat-alert:after {
22
+ content: '\f0a2';
23
+ position: absolute;
24
+ left: 7px;
25
+ font-family: FontAwesome;
26
+ color: #fff;
27
+ line-height: 30px;
28
+ }
functions.php CHANGED
@@ -1,2145 +1,2154 @@
1
- <?php
2
- $wplc_basic_plugin_url = get_option('siteurl')."/wp-content/plugins/wp-live-chat-support/";
3
-
4
- function wplc_log_user_on_page($name,$email,$session, $is_mobile = false) {
5
- global $wpdb;
6
- global $wplc_tblname_chats;
7
-
8
- $wplc_settings = get_option('WPLC_SETTINGS');
9
-
10
-
11
-
12
- if(isset($wplc_settings['wplc_record_ip_address']) && $wplc_settings['wplc_record_ip_address'] == 1){
13
-
14
- if(isset($_SERVER['HTTP_X_FORWARDED_FOR']) && $_SERVER['HTTP_X_FORWARDED_FOR'] != '') {
15
- $ip_address = $_SERVER['HTTP_X_FORWARDED_FOR'];
16
- } else {
17
- $ip_address = $_SERVER['REMOTE_ADDR'];
18
- }
19
-
20
- $user_data = array(
21
- 'ip' => $ip_address,
22
- 'user_agent' => $_SERVER['HTTP_USER_AGENT']
23
- );
24
- } else {
25
- $user_data = array(
26
- 'ip' => "",
27
- 'user_agent' => $_SERVER['HTTP_USER_AGENT']
28
- );
29
- }
30
-
31
-
32
- /* user types
33
- * 1 = new
34
- * 2 = returning
35
- * 3 = timed out
36
- */
37
-
38
- $other = array(
39
- "user_type" => 1
40
- );
41
-
42
- if($is_mobile){
43
- $other['user_is_mobile'] = true;
44
- } else {
45
- $other['user_is_mobile'] = false;
46
- }
47
-
48
- $other = apply_filters("wplc_log_user_on_page_insert_other_data_filter", $other);
49
-
50
- $wplc_chat_session_data = array(
51
- 'status' => '5',
52
- 'timestamp' => current_time('mysql'),
53
- 'name' => $name,
54
- 'email' => $email,
55
- 'session' => $session,
56
- 'ip' => maybe_serialize($user_data),
57
- 'url' => sanitize_text_field($_SERVER['HTTP_REFERER']),
58
- 'last_active_timestamp' => current_time('mysql'),
59
- 'other' => maybe_serialize($other),
60
- );
61
-
62
- $wplc_chat_session_data = apply_filters("wplc_log_user_on_page_insert_filter", $wplc_chat_session_data);
63
-
64
- /* Omitted from inser call as this defaults to string
65
- $wplc_chat_session_types = array(
66
- '%s',
67
- '%s',
68
- '%s',
69
- '%s',
70
- '%s',
71
- '%s',
72
- '%s',
73
- '%s',
74
- '%s'
75
- ); */
76
-
77
-
78
- $wpdb->insert($wplc_tblname_chats, $wplc_chat_session_data);
79
- $lastid = $wpdb->insert_id;
80
-
81
- return $lastid;
82
-
83
- }
84
- function wplc_update_user_on_page($cid, $status = 5,$session) {
85
-
86
- global $wpdb;
87
- global $wplc_tblname_chats;
88
- $wplc_settings = get_option('WPLC_SETTINGS');
89
-
90
- if(isset($wplc_settings['wplc_record_ip_address']) && $wplc_settings['wplc_record_ip_address'] == 1){
91
-
92
- if(isset($_SERVER['HTTP_X_FORWARDED_FOR']) && $_SERVER['HTTP_X_FORWARDED_FOR'] != '') {
93
- $ip_address = sanitize_text_field($_SERVER['HTTP_X_FORWARDED_FOR']);
94
- } else {
95
- $ip_address = sanitize_text_field($_SERVER['REMOTE_ADDR']);
96
- }
97
- $user_data = array(
98
- 'ip' => $ip_address,
99
- 'user_agent' => sanitize_text_field($_SERVER['HTTP_USER_AGENT'])
100
- );
101
- } else {
102
- $user_data = array(
103
- 'ip' => "",
104
- 'user_agent' => sanitize_text_field($_SERVER['HTTP_USER_AGENT'])
105
- );
106
- }
107
-
108
-
109
-
110
- $query = $wpdb->update(
111
- $wplc_tblname_chats,
112
- array(
113
- 'url' => sanitize_text_field($_SERVER['HTTP_REFERER']),
114
- 'last_active_timestamp' => current_time('mysql'),
115
- 'ip' => maybe_serialize($user_data),
116
- 'status' => $status,
117
- 'session' => $session,
118
- ),
119
- array('id' => $cid),
120
- array(
121
- '%s',
122
- '%s',
123
- '%s',
124
- '%d',
125
- '%s'
126
- ),
127
- array('%d')
128
- );
129
-
130
-
131
- return $query;
132
-
133
-
134
- }
135
-
136
-
137
- function wplc_record_chat_msg($from,$cid,$msg,$rest_check = false) {
138
- global $wpdb;
139
- global $wplc_tblname_msgs;
140
-
141
- if ($from == "2" && $rest_check == false) {
142
- $wplc_current_user = get_current_user_id();
143
-
144
- if( get_user_meta( $wplc_current_user, 'wplc_ma_agent', true ) ){
145
- /*
146
- -- modified in in 6.0.04 --
147
-
148
- if(current_user_can('wplc_ma_agent') || current_user_can('manage_options')){
149
- */ } else { return "security issue"; }
150
- }
151
-
152
- if ($from == "1") {
153
- $fromname = wplc_return_chat_name(sanitize_text_field($cid));
154
- //$fromemail = wplc_return_chat_email($cid);
155
- $orig = '2';
156
- }
157
- else {
158
- $fromname = apply_filters("wplc_filter_admin_name","Admin");
159
- //$fromemail = "SET email";
160
- $orig = '1';
161
- }
162
-
163
- $orig_msg = $msg;
164
-
165
- $msg = apply_filters("wplc_filter_message_control",$msg);
166
-
167
- $wpdb->insert(
168
- $wplc_tblname_msgs,
169
- array(
170
- 'chat_sess_id' => $cid,
171
- 'timestamp' => current_time('mysql'),
172
- 'msgfrom' => $fromname,
173
- 'msg' => $msg,
174
- 'status' => 0,
175
- 'originates' => $orig
176
- ),
177
- array(
178
- '%s',
179
- '%s',
180
- '%s',
181
- '%s',
182
- '%d',
183
- '%s'
184
- )
185
- );
186
-
187
- $data = array(
188
- 'cid' => $cid,
189
- 'from' => $from,
190
- 'msg' => $orig_msg,
191
- 'orig' => $orig
192
- );
193
- do_action("wplc_hook_message_sent",$data);
194
-
195
- wplc_update_active_timestamp(sanitize_text_field($cid));
196
-
197
-
198
- return true;
199
-
200
- }
201
-
202
- function wplc_update_active_timestamp($cid) {
203
- global $wpdb;
204
- global $wplc_tblname_chats;
205
- // $results = $wpdb->get_results(
206
- // "
207
- // UPDATE $wplc_tblname_chats
208
- // SET `last_active_timestamp` = '".date("Y-m-d H:i:s")."'
209
- // WHERE `id` = '$cid'
210
- // LIMIT 1
211
- // "
212
- // );
213
- $wpdb->update(
214
- $wplc_tblname_chats,
215
- array(
216
- 'last_active_timestamp' => current_time('mysql')
217
- ),
218
- array('id' => $cid),
219
- array('%s'),
220
- array('%d')
221
- );
222
-
223
- //wplc_change_chat_status(sanitize_text_field($cid),3);
224
- return true;
225
-
226
- }
227
-
228
- function wplc_return_chat_name($cid) {
229
- global $wpdb;
230
- global $wplc_tblname_chats;
231
-
232
- $results = $wpdb->get_results(
233
- "
234
- SELECT *
235
- FROM $wplc_tblname_chats
236
- WHERE `id` = '$cid'
237
- "
238
- );
239
- foreach ($results as $result) {
240
- return $result->name;
241
- }
242
-
243
- }
244
- function wplc_return_chat_email($cid) {
245
- global $wpdb;
246
- global $wplc_tblname_chats;
247
- $results = $wpdb->get_results(
248
- "
249
- SELECT *
250
- FROM $wplc_tblname_chats
251
- WHERE `id` = '$cid'
252
- "
253
- );
254
- foreach ($results as $result) {
255
- return $result->email;
256
- }
257
-
258
- }
259
- function wplc_list_chats() {
260
-
261
- global $wpdb;
262
- global $wplc_tblname_chats;
263
- $status = 3;
264
- $wplc_c = 0;
265
- $results = $wpdb->get_results(
266
- "
267
- SELECT *
268
- FROM $wplc_tblname_chats
269
- WHERE `status` = 3 OR `status` = 2 OR `status` = 10
270
- ORDER BY `timestamp` ASC
271
-
272
- "
273
- );
274
-
275
- $table = "<div class='wplc_chats_container'>";
276
-
277
- if (!$results) {
278
- $table.= "<p>".__("No chat sessions available at the moment","wplivechat")."</p>";
279
- } else {
280
- $table .= "<h2>".__('Active Chats', 'wplivechat')."</h2>";
281
-
282
- foreach ($results as $result) {
283
- unset($trstyle);
284
- unset($actions);
285
- $wplc_c++;
286
-
287
-
288
- global $wplc_basic_plugin_url;
289
- $user_data = maybe_unserialize($result->ip);
290
- $user_ip = $user_data['ip'];
291
- $browser = wplc_return_browser_string($user_data['user_agent']);
292
- $browser_image = wplc_return_browser_image($browser,"16");
293
-
294
- if($user_ip == ""){
295
- $user_ip = __('IP Address not recorded', 'wplivechat');
296
- } else {
297
- $user_ip = "<a href='http://www.ip-adress.com/ip_tracer/" . $user_ip . "' title='".__('Whois for' ,'wplivechat')." ".$user_ip."' target='_BLANK'>".$user_ip."</a>";
298
- }
299
-
300
- if ($result->status == 2) {
301
- $url = admin_url( 'admin.php?page=wplivechat-menu&action=ac&cid='.$result->id);
302
- $actions = "<a href=\"".$url."\" class=\"wplc_open_chat button button-primary\" window-title=\"WP_Live_Chat_".$result->id."\">".__("Accept Chat","wplivechat")."</a>";
303
- $trstyle = "style='background-color:#FFFBE4; height:30px;'";
304
- $icon = "<i class=\"fa fa-phone wplc_pending\" title='".__('Incoming Chat', 'wplivechat')."' alt='".__('Incoming Chat', 'wplivechat')."'></i><div class='wplc_icon_message'>".__('You have an incoming chat.', 'wplivechat')."</div>";
305
- }
306
- if ($result->status == 3) {
307
- $url = admin_url( 'admin.php?page=wplivechat-menu&action=ac&cid='.$result->id);
308
- $actions = "<a href=\"".$url."\" class=\"wplc_open_chat button button-primary\" window-title=\"WP_Live_Chat_".$result->id."\">".__("Open Chat Window","wplivechat")."</a>";
309
- $trstyle = "style='background-color:#F7FCFE; height:30px;'";
310
- $icon = "<i class=\"fa fa-check-circle wplc_active\" title='".__('Chat Active', 'wplivechat')."' alt='".__('Chat Active', 'wplivechat')."'></i><div class='wplc_icon_message'>".__('This chat is active', 'wplivechat')."</div>";
311
- }
312
-
313
-
314
- /* if ($wplc_c>1) { $actions = wplc_get_msg(); } */
315
-
316
- $trstyle = "";
317
-
318
- $table .= "
319
- <div class='wplc_single_chat' id='record_".$result->id."' $trstyle>
320
- <div class='wplc_chat_section section_1'>
321
- <div class='wplc_user_image' id='chat_image_".$result->id."'>
322
- <img src=\"//www.gravatar.com/avatar/".md5($result->email)."?s=60&d=mm\" />
323
- </div>
324
- <div class='wplc_user_meta_data'>
325
- <div class='wplc_user_name' id='chat_name_".$result->id."'>
326
- <h3>".$result->name.$icon."</h3>
327
- <a href='mailto:".$result->email."' target='_BLANK'>".$result->email."</a>
328
- </div>
329
- </div>
330
- </div>
331
- <div class='wplc_chat_section section_2'>
332
- <div class='admin_visitor_advanced_info'>
333
- <strong>" . __("Site Info", "wplivechat") . "</strong>
334
- <hr />
335
- <span class='part1'>" . __("Chat initiated on:", "wplivechat") . "</span> <span class='part2'> <a href='".esc_url($result->url)."' target='_BLANK'>" . esc_url($result->url) . "</a></span>
336
- </div>
337
-
338
- <div class='admin_visitor_advanced_info'>
339
- <strong>" . __("Advanced Info", "wplivechat") . "</strong>
340
- <hr />
341
- <span class='part1'>" . __("Browser:", "wplivechat") . "</span><span class='part2'> $browser <img src='" . $wplc_basic_plugin_url . "/images/$browser_image' alt='$browser' title='$browser' /><br />
342
- <span class='part1'>" . __("IP Address:", "wplivechat") . "</span><span class='part2'> ".$user_ip."
343
- </div>
344
- </div>
345
- <div class='wplc_chat_section section_3'>
346
- <div class='wplc_agent_actions'>
347
- $actions
348
- </div>
349
- </div>
350
- </div>
351
- ";
352
- }
353
- }
354
- $table .= "</div>";
355
-
356
- return $table;
357
- }
358
-
359
- function wplc_time_ago($time_ago)
360
- {
361
- $time_ago = strtotime($time_ago);
362
- $cur_time = current_time('timestamp');
363
- $time_elapsed = $cur_time - $time_ago;
364
- $seconds = $time_elapsed ;
365
- $minutes = round($time_elapsed / 60 );
366
- $hours = round($time_elapsed / 3600);
367
- $days = round($time_elapsed / 86400 );
368
- $weeks = round($time_elapsed / 604800);
369
- $months = round($time_elapsed / 2600640 );
370
- $years = round($time_elapsed / 31207680 );
371
- // Seconds
372
- if($seconds <= 60){
373
- return "0 min";
374
- }
375
- //Minutes
376
- else if($minutes <=60){
377
- if($minutes==1){
378
- return "1 min";
379
- }
380
- else{
381
- return "$minutes min";
382
- }
383
- }
384
- //Hours
385
- else if($hours <=24){
386
- if($hours==1){
387
- return "1 hr";
388
- }else{
389
- return "$hours hrs";
390
- }
391
- }
392
- //Days
393
- else if($days <= 7){
394
- if($days==1){
395
- return "1 day";
396
- }else{
397
- return "$days days";
398
- }
399
- }
400
- //Weeks
401
- else if($weeks <= 4.3){
402
- if($weeks==1){
403
- return "1 week";
404
- }else{
405
- return "$weeks weeks";
406
- }
407
- }
408
- //Months
409
- else if($months <=12){
410
- if($months==1){
411
- return "1 month";
412
- }else{
413
- return "$months months";
414
- }
415
- }
416
- //Years
417
- else{
418
- if($years==1){
419
- return "1 year";
420
- }else{
421
- return "$years years";
422
- }
423
- }
424
- }
425
-
426
- add_filter("wplc_filter_list_chats_actions","wplc_filter_control_list_chats_actions",15,3);
427
- /**
428
- * Only allow agents access
429
- * @return void
430
- * @since 6.0.00
431
- * @version 6.0.04 Updated to ensure those with the correct access can access this function
432
- * @author Nick Duncan <nick@codecabin.co.za>
433
- */
434
- function wplc_filter_control_list_chats_actions($actions,$result,$post_data) {
435
- $aid = apply_filters("wplc_filter_aid_in_action","");
436
-
437
- $wplc_current_user = get_current_user_id();
438
-
439
- if( get_user_meta( $wplc_current_user, 'wplc_ma_agent', true ) ){
440
-
441
- if (intval($result->status) == 2) {
442
- $url_params = "&action=ac&cid=".$result->id.$aid;
443
- $url = admin_url( 'admin.php?page=wplivechat-menu'.$url_params);
444
- $actions = "<a href=\"".$url."\" class=\"wplc_open_chat button button-primary\" window-title=\"WP_Live_Chat_".$result->id."\">". apply_filters("wplc_accept_chat_button_filter", __("Accept Chat","wplivechat"), $result->id)."</a>";
445
- }
446
- else if (intval($result->status) == 3) {
447
- $url_params = "&action=ac&cid=".$result->id.$aid;
448
- $url = admin_url( 'admin.php?page=wplivechat-menu'.$url_params);
449
- if ( !isset( $result->agent_id ) || $wplc_current_user == $result->agent_id ) { //Added backwards compat checks
450
- $actions = "<a href=\"".$url."\" class=\"wplc_open_chat button button-primary\" window-title=\"WP_Live_Chat_".$result->id."\">".__("Open Chat","wplivechat")."</a>";
451
- } else {
452
- $actions = "<span class=\"wplc-chat-in-progress\">" . __( "In progress with another agent", "wplivechat" ) . "</span>";
453
- }
454
- }
455
- else if (intval($result->status) == 2) {
456
- $url_params = "&action=ac&cid=".$result->id.$aid;
457
- $url = admin_url( 'admin.php?page=wplivechat-menu'.$url_params);
458
- $actions = "<a href=\"".$url."\" class=\"wplc_open_chat button button-primary\" window-title=\"WP_Live_Chat_".$result->id."\">".__("Accept Chat","wplivechat")."</a>";
459
- }
460
- else if (intval($result->status) == 12) {
461
- $url_params = "&action=ac&cid=".$result->id.$aid;
462
- $url = admin_url( 'admin.php?page=wplivechat-menu'.$url_params);
463
- $actions = "<a href=\"".$url."\" class=\"wplc_open_chat button button-primary\" window-title=\"WP_Live_Chat_".$result->id."\">".__("Open Chat","wplivechat")."</a>";
464
- }
465
- } else {
466
- $actions = "<a href='#'>".__( 'Only chat agents can accept chats', 'wplivechat' )."</a>";
467
- }
468
- return $actions;
469
- }
470
-
471
- function wplc_list_chats_new($post_data) {
472
-
473
- global $wpdb;
474
- global $wplc_tblname_chats;
475
-
476
- $data_array = array();
477
- $id_list = array();
478
-
479
- $status = 3;
480
- $wplc_c = 0;
481
-
482
- // Retrieve count of users in same department or in no department
483
- $user_id = get_current_user_id();
484
- $user_department = get_user_meta($user_id ,"wplc_user_department", true);
485
-
486
- $wplc_chat_count_sql = "SELECT COUNT(*) FROM $wplc_tblname_chats WHERE status IN (3,2,10,5,8,9,12)";
487
- if($user_department > 0)
488
- $wplc_chat_count_sql .= " AND (department_id=0 OR department_id=$user_department)";
489
- $data_array['visitor_count'] = $wpdb->get_var($wplc_chat_count_sql);
490
-
491
- // Retrieve data
492
- $wplc_chat_sql = "SELECT * FROM $wplc_tblname_chats WHERE (`status` = 3 OR `status` = 2 OR `status` = 10 OR `status` = 5 or `status` = 8 or `status` = 9 or `status` = 12)";
493
- $wplc_chat_sql .= apply_filters("wplc_alter_chat_list_sql_before_sorting", "");
494
-
495
- $wplc_chat_sql .= " ORDER BY `timestamp` ASC";
496
-
497
- $results = $wpdb->get_results($wplc_chat_sql);
498
-
499
-
500
- if($results) {
501
-
502
-
503
- foreach ($results as $result) {
504
- unset($trstyle);
505
- unset($actions);
506
-
507
-
508
-
509
-
510
- global $wplc_basic_plugin_url;
511
- $user_data = maybe_unserialize($result->ip);
512
- $user_ip = $user_data['ip'];
513
- $browser = wplc_return_browser_string($user_data['user_agent']);
514
- $browser_image = wplc_return_browser_image($browser,"16");
515
-
516
- if($user_ip == ""){
517
- $user_ip = __('IP Address not recorded', 'wplivechat');
518
- } else {
519
- $user_ip = "<a href='http://www.ip-adress.com/ip_tracer/" . $user_ip . "' title='".__('Whois for' ,'wplivechat')." ".$user_ip."' target='_BLANK'>".$user_ip."</a>";
520
- }
521
-
522
-
523
- $actions = apply_filters("wplc_filter_list_chats_actions","",$result,$post_data);
524
-
525
-
526
- $other_data = maybe_unserialize($result->other);
527
-
528
-
529
-
530
- $trstyle = "";
531
-
532
- $id_list[intval($result->id)] = true;
533
-
534
- $data_array[$result->id]['name'] = $result->name;
535
- $data_array[$result->id]['email'] = $result->email;
536
-
537
- $data_array[$result->id]['status'] = $result->status;
538
- $data_array[$result->id]['action'] = $actions;
539
- $data_array[$result->id]['timestamp'] = wplc_time_ago($result->timestamp);
540
-
541
- if ((current_time('timestamp') - strtotime($result->timestamp)) < 3600) {
542
- $data_array[$result->id]['type'] = __("New","wplivechat");
543
- } else {
544
- $data_array[$result->id]['type'] = __("Returning","wplivechat");
545
- }
546
-
547
- $data_array[$result->id]['image'] = "<img src=\"//www.gravatar.com/avatar/".md5($result->email)."?s=30&d=mm\" class='wplc-user-message-avatar' />";
548
- $data_array[$result->id]['data']['browsing'] = $result->url;
549
- $path = parse_url($result->url, PHP_URL_PATH);
550
-
551
- if (strlen($path) > 20) {
552
- $data_array[$result->id]['data']['browsing_nice_url'] = substr($path,0,20).'...';
553
- } else {
554
- $data_array[$result->id]['data']['browsing_nice_url'] = $path;
555
- }
556
-
557
- $data_array[$result->id]['data']['browser'] = "<img src='" . $wplc_basic_plugin_url . "/images/$browser_image' alt='$browser' title='$browser' /> ";
558
- $data_array[$result->id]['data']['ip'] = $user_ip;
559
- $data_array[$result->id]['other'] = $other_data;
560
- }
561
-
562
- $data_array['ids'] = $id_list;
563
- }
564
-
565
- return json_encode($data_array);
566
- }
567
-
568
-
569
-
570
- function wplc_return_user_chat_messages($cid,$wplc_settings = false,$cdata = false) {
571
-
572
- global $wpdb;
573
- global $wplc_tblname_msgs;
574
-
575
- if (!$wplc_settings) {
576
- $wplc_settings = get_option("WPLC_SETTINGS");
577
- }
578
-
579
- if(isset($wplc_settings['wplc_display_name']) && $wplc_settings['wplc_display_name'] == 1){ $display_name = 1; } else { $display_name = 0; }
580
-
581
-
582
- $results = $wpdb->get_results(
583
- "
584
- SELECT *
585
- FROM $wplc_tblname_msgs
586
- WHERE `chat_sess_id` = '$cid' AND `status` = '0' AND (`originates` = '1' OR `originates` = '0')
587
- ORDER BY `timestamp` ASC
588
-
589
- "
590
- );
591
- if (!$cdata) {
592
- $cdata = wplc_get_chat_data($cid,__LINE__);
593
- }
594
-
595
- $msg_hist = array();
596
- foreach ($results as $result) {
597
- $system_notification = false;
598
-
599
- $id = $result->id;
600
- $from = $result->msgfrom;
601
-
602
-
603
- $msg = $result->msg;
604
-
605
- //$timestamp = strtotime($result->timestamp);
606
- //$timeshow = date("H:i",$timestamp);
607
- //
608
- if($result->originates == 1){
609
- $class = "wplc-admin-message wplc-color-bg-4 wplc-color-2 wplc-color-border-4";
610
- if(function_exists("wplc_pro_get_admin_picture")){
611
- $src = wplc_pro_get_admin_picture();
612
- if($src){
613
- $image = "<img src=".$src." width='20px' id='wp-live-chat-2-img'/>";
614
- } else {
615
- $image = "";
616
- }
617
- } else {
618
- $other = maybe_unserialize($cdata->other);
619
- if (isset($other['aid'])) {
620
-
621
-
622
- $user_info = get_userdata(intval($other['aid']));
623
- /* get agent id */
624
- $image = "<img src='//www.gravatar.com/avatar/".md5($user_info->user_email)."?s=30' class='wplc-admin-message-avatar' />";
625
- } else {
626
-
627
- /* get default setting in the notifications tab */
628
- $image = "";
629
- if(1 == 1) {
630
-
631
- } else {
632
- /* there's nothing Jim.. */
633
- $image = "";
634
- }
635
- }
636
-
637
- }
638
-
639
- $from = apply_filters("wplc_filter_admin_name",$from, $cid);
640
-
641
- }
642
- else if (intval($result->originates) == 0) {
643
- /*
644
- system notifications
645
- from version 7
646
- */
647
- $system_notification = true;
648
-
649
- }
650
- else {
651
- $class = "wplc-user-message wplc-color-bg-1 wplc-color-2 wplc-color-border-1";
652
-
653
- if(isset($_COOKIE['wplc_email']) && $_COOKIE['wplc_email'] != ""){ $wplc_user_gravatar = md5(strtolower(trim(sanitize_text_field($_COOKIE['wplc_email'])))); } else { $wplc_user_gravatar = ""; }
654
-
655
- if($wplc_user_gravatar != ""){
656
- $image = "<img src='//www.gravatar.com/avatar/$wplc_user_gravatar?s=30' class='wplc-user-message-avatar' />";
657
- } else {
658
- $image = "";
659
- }
660
- }
661
-
662
- if (!$system_notification) {
663
- /* this is a normal message */
664
- // var_dump($msg);
665
- if(function_exists('wplc_encrypt_decrypt_msg')){
666
- $msg = wplc_encrypt_decrypt_msg($msg);
667
- }
668
-
669
- $msg_array = maybe_unserialize( $msg );
670
-
671
- if( is_array( $msg_array ) ){
672
- $msg = $msg_array['m'];
673
- }
674
-
675
- $msg = stripslashes($msg);
676
-
677
- $msg = apply_filters("wplc_filter_message_control_out",$msg);
678
-
679
- $msg = stripslashes($msg);
680
-
681
-
682
-
683
- if($display_name){
684
- $msg_hist[$id] = "<span class='wplc-admin-message wplc-color-bg-4 wplc-color-2 wplc-color-border-4'>$image <strong>$from </strong> $msg</span><br /><div class='wplc-clear-float-message'></div>";
685
- } else {
686
- $msg_hist[$id] = "<span class='wplc-admin-message wplc-color-bg-4 wplc-color-2 wplc-color-border-4'>$msg</span><div class='wplc-clear-float-message'></div>";
687
- }
688
- } else {
689
- /* add the system notification to the list */
690
- $msg_hist[$id] = "<span class='wplc_system_notification wplc-color-4'>".$msg."</span>";
691
- }
692
-
693
-
694
-
695
-
696
- }
697
-
698
- return $msg_hist;
699
-
700
-
701
- }
702
-
703
- function wplc_return_no_answer_string($cid) {
704
-
705
- $wplc_settings = get_option("WPLC_SETTINGS");
706
- if (isset($wplc_settings['wplc_user_no_answer'])) {
707
- $string = stripslashes($wplc_settings['wplc_user_no_answer']);
708
- } else {
709
- $string = __("No agent was able to answer your chat request. Please try again.","wplivechat");
710
- }
711
- $string = apply_filters("wplc_filter_no_answer_string",$string,$cid);
712
- return "<span class='wplc_system_notification wplc-color-4'><center>".$string."</center></span>";
713
- }
714
- add_filter("wplc_filter_no_answer_string","wplc_filter_control_no_answer_string",10,2);
715
-
716
- /**
717
- * Add the "retry chat" button when an agent hasnt answered
718
- * @param string $string Original "No Answer" string
719
- * @param intval $cid Chat ID
720
- * @return string
721
- */
722
- function wplc_filter_control_no_answer_string($string,$cid) {
723
- $string = $string. " <br /><button class='wplc_retry_chat wplc-color-bg-1 wplc-color-2' cid='".$cid."'>".__("Request new chat","wplivechat")."</button>";
724
- return $string;
725
- }
726
-
727
-
728
- function wplc_change_chat_status($id,$status,$aid = 0) {
729
- global $wpdb;
730
- global $wplc_tblname_chats;
731
-
732
- if ($aid > 0) {
733
- /* only run when accepting a chat */
734
- $results = $wpdb->get_results("SELECT * FROM ".$wplc_tblname_chats." WHERE `id` = '".$id."' LIMIT 1");
735
- foreach ($results as $result) {
736
- $other = maybe_unserialize($result->other);
737
- if (isset($other['aid']) && $other['aid'] > 0) {
738
- /* we have recorded this already */
739
-
740
- } else {
741
- /* first time answering the chat! */
742
-
743
-
744
- /* send welcome note */
745
- /*
746
- removed in version 7. added "chat notification events" instead, i.e. Agent has joined the chat.
747
- $wplc_settings = get_option("WPLC_SETTINGS");
748
- $wplc_welcome = __('Welcome. How may I help you?', 'wplivechat');
749
- if(isset($wplc_settings['wplc_using_localization_plugin']) && $wplc_settings['wplc_using_localization_plugin'] == 1){ $wplc_using_locale = true; } else { $wplc_using_locale = false; }
750
- if (!isset($wplc_settings['wplc_user_welcome_chat']) || $wplc_settings['wplc_user_welcome_chat'] == "") { $wplc_settings['wplc_user_welcome_chat'] = $wplc_welcome; }
751
- $text2 = ($wplc_using_locale ? $wplc_welcome : stripslashes($wplc_settings['wplc_user_welcome_chat']));
752
-
753
- $chat_id = sanitize_text_field($id);
754
- $chat_msg = sanitize_text_field($text2);
755
- $wplc_rec_msg = wplc_record_chat_msg("2",$chat_id,$chat_msg);
756
-
757
- */
758
-
759
-
760
- }
761
-
762
- $other['aid'] = $aid;
763
- }
764
- }
765
-
766
-
767
-
768
-
769
- if ($aid > 0) {
770
- $wpdb->update(
771
- $wplc_tblname_chats,
772
- array(
773
- 'status' => $status,
774
- 'other' => maybe_serialize($other)
775
- ),
776
- array('id' => $id),
777
- array(
778
- '%d',
779
- '%s'
780
- ),
781
- array('%d')
782
- );
783
- } else {
784
- $wpdb->update(
785
- $wplc_tblname_chats,
786
- array(
787
- 'status' => $status
788
- ),
789
- array('id' => $id),
790
- array('%d'),
791
- array('%d')
792
- );
793
- }
794
-
795
- do_action("wplc_change_chat_status_hook", $id, $status);
796
-
797
- return true;
798
-
799
- }
800
-
801
- //come back here
802
- function wplc_return_chat_messages($cid, $transcript = false, $html = true, $wplc_settings = false, $cdata = false, $display = 'string', $only_read_message = false) {
803
- global $wpdb;
804
- global $wplc_tblname_msgs;
805
-
806
-
807
- if (!$wplc_settings) {
808
- $wplc_settings = get_option("WPLC_SETTINGS");
809
- }
810
-
811
- if(isset($wplc_settings['wplc_display_name']) && $wplc_settings['wplc_display_name'] == 1){ $display_name = 1; } else { $display_name = 0; }
812
-
813
- $results = wplc_get_chat_messages($cid, $only_read_message, $wplc_settings);
814
- if (!$results) { return; }
815
-
816
- if (!$cdata) {
817
- $cdata = wplc_get_chat_data($cid,__LINE__);
818
- }
819
- $msg_array = array();
820
- $msg_hist = "";
821
- $previous_time = "";
822
- $previous_timestamp = 0;
823
- foreach ($results as $result) {
824
-
825
- $system_notification = false;
826
-
827
- $from = $result->msgfrom;
828
- $id = $result->id;
829
- $msg = $result->msg;
830
- $timestamp = strtotime($result->timestamp);
831
-
832
- $time_diff = $timestamp - $previous_timestamp;
833
- if ($time_diff > 60) { $show_time = true; } else { $show_time = false; }
834
- // $date = new DateTime($timestamp);
835
-
836
- if( ( isset( $wplc_settings['wplc_show_date'] ) && $wplc_settings['wplc_show_date'] == '1' ) || ( isset( $wplc_settings['wplc_show_time'] ) && $wplc_settings['wplc_show_time'] == '1' ) ){
837
- /**
838
- * Only show one or the other
839
- */
840
- if( isset( $wplc_settings['wplc_show_date'] ) ){
841
- $timeshow = date('l, F d Y ',$timestamp);
842
- } else {
843
- $timeshow = date('h:i A',$timestamp);
844
- }
845
- } else if( ( isset( $wplc_settings['wplc_show_date'] ) && $wplc_settings['wplc_show_date'] == '1' ) && ( isset( $wplc_settings['wplc_show_time'] ) && $wplc_settings['wplc_show_time'] == '1' ) ){
846
- /**
847
- * Show both
848
- */
849
- $timeshow = date('l, F d Y h:i A',$timestamp);
850
- } else {
851
-
852
- $timeshow = "";
853
-
854
- }
855
-
856
- if( !isset( $wplc_settings['wplc_show_date'] ) || !isset( $wplc_settings['wplc_show_time'] ) ){
857
- /**
858
- * Doesnt exist yet, so default to being on always
859
- */
860
- $timeshow = date('l, F d Y h:i A',$timestamp);
861
- }
862
-
863
- if (!$transcript) { if ($previous_time == $timeshow || !$show_time) { $timeshow = ""; } }
864
- $previous_time = $timeshow;
865
- $previous_timestamp = $timestamp;
866
-
867
-
868
- $image = "";
869
- if($result->originates == 1){
870
- /* message from admin to user */
871
-
872
- $class = "wplc-admin-message wplc-color-bg-4 wplc-color-2 wplc-color-border-4";
873
- if(function_exists("wplc_pro_get_admin_picture")){
874
- $src = wplc_pro_get_admin_picture();
875
- if($src){
876
- $image = "<img src=".$src." width='20px' id='wp-live-chat-2-img'/>";
877
- }
878
- } else {
879
- if (isset($cdata->other)) {
880
- $other = maybe_unserialize($cdata->other);
881
- if (isset($other['aid'])) {
882
-
883
- $user_info = get_userdata(intval($other['aid']));
884
- /* get agent id */
885
- $image = "<img src='//www.gravatar.com/avatar/".md5($user_info->user_email)."?s=30' class='wplc-admin-message-avatar' />";
886
- } else {
887
- /* get default setting in the notifications tab */
888
- $image = "";
889
- }
890
- } else {
891
- $image = "";
892
- }
893
-
894
- }
895
-
896
- $from = apply_filters("wplc_filter_admin_from", $from, $cid);
897
-
898
-
899
- } else if ($result->originates == 2){
900
- /* message from user to admin */
901
- $class = "wplc-user-message wplc-color-bg-1 wplc-color-2 wplc-color-border-1";
902
-
903
- if(isset($_COOKIE['wplc_email']) && $_COOKIE['wplc_email'] != ""){ $wplc_user_gravatar = md5(strtolower(trim(sanitize_text_field($_COOKIE['wplc_email'])))); } else { $wplc_user_gravatar = ""; }
904
-
905
- if($wplc_user_gravatar != ""){
906
- $image = "<img src='//www.gravatar.com/avatar/$wplc_user_gravatar?s=30' class='wplc-user-message-avatar' />";
907
- } else {
908
- $image = "";
909
- }
910
- } else if ($result->originates == 0 || $result->originates == 3) {
911
- $system_notification = true;
912
- $cuid = get_current_user_id();
913
- $is_agent = get_user_meta(esc_html( $cuid ), 'wplc_ma_agent', true);
914
- if ($is_agent && $result->originates == 3) {
915
- /* this user is an agent and the notification is meant for an agent, therefore display it */
916
- $display_notification = true;
917
- }
918
- else if (!$is_agent && $result->originates == 0) {
919
- /* this user is a not an agent and the notification is meant for a users, therefore display it */
920
- $display_notification = true;
921
- } else {
922
- /* this notification is not intended for this user */
923
-
924
- $display_notification = false;
925
- }
926
-
927
- }
928
-
929
- if (!$system_notification) {
930
-
931
- if(function_exists('wplc_encrypt_decrypt_msg')){
932
- $msg = wplc_encrypt_decrypt_msg($msg);
933
- }
934
-
935
- $msg = apply_filters("wplc_filter_message_control_out",$msg);
936
-
937
- if( is_serialized( $msg ) ){
938
- $msg_array = maybe_unserialize( $msg );
939
-
940
- if( is_array( $msg_array ) ){
941
- $msg = $msg_array['m'];
942
- } else {
943
- $msg = $msg;
944
- }
945
-
946
- $msg = stripslashes($msg);
947
- }
948
-
949
-
950
- if($display_name){
951
- if ($html) {
952
- $str = "<span class='chat_time wplc-color-4'>$timeshow</span> <span class='$class'>$image <strong>$from </strong> $msg</span><br /><div class='wplc-clear-float-message'></div>";
953
- $msg_array[$id] = $str;
954
- $msg_hist .= $str;
955
-
956
- } else {
957
- $str = "($timeshow) $from: $msg\r\n";
958
- $msg_array[$id] = $str;
959
- $msg_hist .= $str;
960
- }
961
- } else {
962
- if ($html) {
963
- $str = "<span class='chat_time wplc-color-4'>$timeshow</span> <span class='$class'>$msg</span><br /><div class='wplc-clear-float-message'></div>";
964
- $msg_array[$id] = $str;
965
- $msg_hist .= $str;
966
- } else {
967
- $str = "($timeshow) $msg\r\n";
968
- $msg_array[$id] = $str;
969
- $msg_hist .= $str;
970
- }
971
-
972
- }
973
- } else {
974
- /* this is a system notification */
975
- if ($display_notification) {
976
- $str = "<span class='chat_time wplc-color-4'>$timeshow</span> <span class='wplc_system_notification wplc-color-4'>".$msg."</span>";
977
- $msg_array[$id] = $str;
978
- $msg_hist .= $str;
979
- }
980
- }
981
-
982
- }
983
-
984
- if ($display == 'string') { return $msg_hist; } else { return $msg_array; }
985
-
986
-
987
- }
988
-
989
-
990
- function wplc_mark_as_read_user_chat_messages($cid) {
991
- global $wpdb;
992
- global $wplc_tblname_msgs;
993
-
994
- $results = $wpdb->get_results(
995
- "
996
- SELECT *
997
- FROM $wplc_tblname_msgs
998
- WHERE `chat_sess_id` = '$cid' AND `status` = '0' AND (`originates` = 1 OR `originates` = 0)
999
- ORDER BY `timestamp` DESC
1000
-
1001
- "
1002
- );
1003
-
1004
-
1005
- foreach ($results as $result) {
1006
- $id = $result->id;
1007
-
1008
- $wpdb->update(
1009
- $wplc_tblname_msgs,
1010
- array(
1011
- 'status' => 1
1012
- ),
1013
- array('id' => $id),
1014
- array('%d'),
1015
- array('%d')
1016
- );
1017
-
1018
-
1019
- }
1020
- return "ok";
1021
-
1022
-
1023
- }
1024
- //here
1025
- function wplc_return_admin_chat_messages($cid) {
1026
- $wplc_current_user = get_current_user_id();
1027
- if( get_user_meta( $wplc_current_user, 'wplc_ma_agent', true ) ){
1028
- /*
1029
- -- modified in in 6.0.04 --
1030
-
1031
- if(current_user_can('wplc_ma_agent') || current_user_can('manage_options')){
1032
- */
1033
- $wplc_settings = get_option("WPLC_SETTINGS");
1034
-
1035
- if(isset($wplc_settings['wplc_display_name']) && $wplc_settings['wplc_display_name'] == 1){ $display_name = 1; } else { $display_name = 0; }
1036
-
1037
- global $wpdb;
1038
- global $wplc_tblname_msgs;
1039
-
1040
- /**
1041
- * `Originates` - codes:
1042
- * 0 - System notification to be delivered to users
1043
- * 1 - Message from an agent
1044
- * 2 - Message from a user
1045
- * 3 - System notification to be delivered to agents
1046
- *
1047
- */
1048
- $results = $wpdb->get_results(
1049
- "
1050
- SELECT *
1051
- FROM $wplc_tblname_msgs
1052
- WHERE `chat_sess_id` = '$cid' AND `status` = '0' AND (`originates` = '2' OR `originates` = '3')
1053
- ORDER BY `timestamp` ASC
1054
-
1055
- "
1056
- );
1057
-
1058
- $current_user = get_user_by( 'id', $wplc_current_user );
1059
-
1060
- if( $current_user ){
1061
- $wplc_user_gravatar = md5( trim($current_user->data->user_email) );
1062
- } else {
1063
- $wplc_user_gravatar = "";
1064
- }
1065
-
1066
- $msg_hist = "";
1067
- foreach ($results as $result) {
1068
-
1069
-
1070
- $system_notification = false;
1071
- $id = $result->id;
1072
- $from = $result->msgfrom;
1073
- wplc_mark_as_read_admin_chat_messages($id);
1074
- $msg = $result->msg;
1075
- //$timestamp = strtotime($result->timestamp);
1076
- //$timeshow = date("H:i",$timestamp);
1077
- $image = "";
1078
- if($result->originates == 2) {
1079
- $class = "wplc-admin-message wplc-color-bg-4 wplc-color-2 wplc-color-border-4";
1080
- if(function_exists("wplc_pro_get_admin_picture")){
1081
- $src = wplc_pro_get_admin_picture();
1082
- if($src){
1083
- $image = "<img src=".$src." width='20px' id='wp-live-chat-2-img'/>";
1084
- }
1085
- } else {
1086
- /* HERE */
1087
- $image = "<img src='//www.gravatar.com/avatar/$wplc_user_gravatar?s=20' class='wplc-admin-message-avatar' />";
1088
- }
1089
-
1090
- $from = apply_filters("wplc_filter_admin_from", $from, $cid);
1091
-
1092
- } else if (intval($result->originates) == 3) {
1093
- $system_notification = true;
1094
- }
1095
- if (!$system_notification) {
1096
-
1097
- if(function_exists('wplc_encrypt_decrypt_msg')){
1098
- $msg = wplc_encrypt_decrypt_msg($msg);
1099
- }
1100
-
1101
- $msg_array = maybe_unserialize( $msg );
1102
-
1103
- if( is_array( $msg_array ) ){
1104
- $msg = $msg_array['m'];
1105
- }
1106
-
1107
- $msg = stripslashes($msg);
1108
-
1109
- $msg = apply_filters("wplc_filter_message_control_out",$msg);
1110
-
1111
- if($display_name){
1112
- $msg_hist .= "<span class='wplc-user-message wplc-color-bg-1 wplc-color-2 wplc-color-border-1'>".$image."<strong>$from </strong> $msg</span><br /><div class='wplc-clear-float-message'></div>";
1113
- } else {
1114
- $msg_hist .= "<span class='wplc-user-message wplc-color-bg-1 wplc-color-2 wplc-color-border-1'>$msg</span><br /><div class='wplc-clear-float-message'></div>";
1115
- }
1116
- } else {
1117
- $msg_hist .= "<span class='wplc_system_notification wplc-color-4'>".$msg."</span>";
1118
- }
1119
- }
1120
-
1121
-
1122
-
1123
-
1124
- return $msg_hist;
1125
- } else {
1126
- return "security issue";
1127
- }
1128
-
1129
-
1130
- }
1131
- function wplc_mark_as_read_admin_chat_messages($mid) {
1132
- $wplc_current_user = get_current_user_id();
1133
-
1134
- if( get_user_meta( $wplc_current_user, 'wplc_ma_agent', true ) ){
1135
- /*
1136
- -- modified in in 6.0.04 --
1137
-
1138
- if(current_user_can('wplc_ma_agent') || current_user_can('manage_options')){
1139
- */
1140
-
1141
- global $wpdb;
1142
- global $wplc_tblname_msgs;
1143
-
1144
- $wpdb->update(
1145
- $wplc_tblname_msgs,
1146
- array(
1147
- 'status' => 1
1148
- ),
1149
- array('id' => $mid),
1150
- array('%d'),
1151
- array('%d')
1152
- );
1153
-
1154
- } else { return "security issue"; }
1155
-
1156
-
1157
- }
1158
-
1159
-
1160
-
1161
-
1162
-
1163
- function wplc_return_chat_session_variable($cid) {
1164
- global $wpdb;
1165
- global $wplc_tblname_chats;
1166
- $results = $wpdb->get_results(
1167
- "
1168
- SELECT *
1169
- FROM $wplc_tblname_chats
1170
- WHERE `id` = '$cid'
1171
- "
1172
- );
1173
- foreach ($results as $result) {
1174
- return $result->session;
1175
- }
1176
- }
1177
-
1178
-
1179
-
1180
- function wplc_return_chat_status($cid) {
1181
- global $wpdb;
1182
- global $wplc_tblname_chats;
1183
- $results = $wpdb->get_results(
1184
- "
1185
- SELECT *
1186
- FROM $wplc_tblname_chats
1187
- WHERE `id` = '$cid'
1188
- "
1189
- );
1190
- foreach ($results as $result) {
1191
- return $result->status;
1192
- }
1193
- }
1194
-
1195
-
1196
- function wplc_return_status($status) {
1197
- if ($status == 1) {
1198
- return __("complete","wplivechat");
1199
- }
1200
- if ($status == 2) {
1201
- return __("pending", "wplivechat");
1202
- }
1203
- if ($status == 3) {
1204
- return __("active", "wplivechat");
1205
- }
1206
- if ($status == 4) {
1207
- return __("deleted", "wplivechat");
1208
- }
1209
- if ($status == 5) {
1210
- return __("browsing", "wplivechat");
1211
- }
1212
- if ($status == 6) {
1213
- return __("requesting chat", "wplivechat");
1214
- }
1215
- if($status == 8){
1216
- return __("Chat Ended - User still browsing", "wplivechat");
1217
- }
1218
- if($status == 9){
1219
- return __("User is browsing but doesn't want to chat", "wplivechat");
1220
- }
1221
-
1222
- }
1223
-
1224
- add_filter("wplc_filter_mail_body","wplc_filter_control_mail_body",10,2);
1225
- function wplc_filter_control_mail_body($header,$msg) {
1226
- $body = '
1227
- <!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">
1228
- <html>
1229
-
1230
- <body>
1231
-
1232
-
1233
-
1234
- <table id="" border="0" cellpadding="0" cellspacing="0" width="100%" style="background-color: #ec822c;">
1235
- <tbody>
1236
- <tr>
1237
- <td width="100%" style="padding: 30px 20px 100px 20px;">
1238
- <table align="center" cellpadding="0" cellspacing="0" class="" width="100%" style="border-collapse: separate; max-width:600px;">
1239
- <tbody>
1240
- <tr>
1241
- <td style="text-align: center; padding-bottom: 20px;">
1242
-
1243
- <p>'.$header.'</p>
1244
- </td>
1245
- </tr>
1246
- </tbody>
1247
- </table>
1248
-
1249
- <table id="" align="center" cellpadding="0" cellspacing="0" class="" width="100%" style="border-collapse: separate; max-width: 600px; font-family: Georgia, serif; font-size: 12px; color: rgb(51, 62, 72); border: 0px solid rgb(255, 255, 255); border-radius: 10px; background-color: rgb(255, 255, 255);">
1250
- <tbody>
1251
- <tr>
1252
- <td class="sortable-list ui-sortable" style="padding:20px; text-align:center;">
1253
- '.nl2br($msg).'
1254
- </td>
1255
- </tr>
1256
- </tbody>
1257
- </table>
1258
-
1259
- <table align="center" cellpadding="0" cellspacing="0" class="" width="100%" style="border-collapse: separate; max-width:100%;">
1260
- <tbody>
1261
- <tr>
1262
- <td style="padding:20px;">
1263
- <table border="0" cellpadding="0" cellspacing="0" class="" width="100%">
1264
- <tbody>
1265
- <tr>
1266
- <td id="" align="center">
1267
- <p>'.get_option('siteurl').'</p>
1268
- </td>
1269
- </tr>
1270
- </tbody>
1271
- </table>
1272
- </td>
1273
- </tr>
1274
- </tbody>
1275
- </table>
1276
- </td>
1277
- </tr>
1278
- </tbody>
1279
- </table>
1280
-
1281
-
1282
-
1283
- </div>
1284
- </body>
1285
- </html>
1286
- ';
1287
- return $body;
1288
- }
1289
-
1290
-
1291
- /**
1292
- * Send an email to the admin based on the settings in the settings page
1293
- * @param string $reply_to email of the user
1294
- * @param string $reply_to_name name of the user
1295
- * @param string $subject subject
1296
- * @param string $msg message being emailed
1297
- * @return void
1298
- * @since 5.1.00
1299
- */
1300
- function wplcmail($reply_to,$reply_to_name,$subject,$msg) {
1301
-
1302
- $wplc_pro_settings = get_option("WPLC_SETTINGS");
1303
- if(isset($wplc_pro_settings['wplc_pro_chat_email_address'])){
1304
- $email_address = $wplc_pro_settings['wplc_pro_chat_email_address'];
1305
- }else{
1306
- $email_address = get_option('admin_email');
1307
- }
1308
-
1309
- $email_address = explode(',', $email_address);
1310
-
1311
- if(get_option("wplc_mail_type") == "wp_mail" || !get_option('wplc_mail_type')){
1312
- $headers[] = 'Content-type: text/html';
1313
- $headers[] = 'Reply-To: '.$reply_to_name.'<'.$reply_to.'>';
1314
- if($email_address){
1315
- foreach($email_address as $email){
1316
- /* Send offline message to each email address */
1317
- $overbody = apply_filters("wplc_filter_mail_body",$subject,$msg);
1318
- if (!wp_mail($email, $subject, $overbody, $headers)) {
1319
- $handle = fopen("wp_livechat_error_log.txt", 'a');
1320
- $error = date("Y-m-d H:i:s") . " WP-Mail Failed to send \n";
1321
- @fwrite($handle, $error);
1322
- }
1323
- }
1324
- }
1325
- // $to = $wplc_pro_settings['wplc_pro_chat_email_address'];
1326
- return;
1327
- } else {
1328
-
1329
-
1330
-
1331
- //require 'phpmailer/PHPMailerAutoload.php';
1332
- $wplc_pro_settings = get_option("WPLC_PRO_SETTINGS");
1333
- $host = get_option('wplc_mail_host');
1334
- $port = get_option('wplc_mail_port');
1335
- $username = get_option("wplc_mail_username");
1336
- $password = get_option("wplc_mail_password");
1337
- if($host && $port && $username && $password){
1338
- //Create a new PHPMailer instance
1339
-
1340
- global $phpmailer;
1341
-
1342
- // (Re)create it, if it's gone missing
1343
- if ( ! ( $phpmailer instanceof PHPMailer ) ) {
1344
- require_once ABSPATH . WPINC . '/class-phpmailer.php';
1345
- require_once ABSPATH . WPINC . '/class-smtp.php';
1346
- $mail = new PHPMailer( true );
1347
- }
1348
-
1349
-
1350
-
1351
- //$mail = new PHPMailer();
1352
-
1353
-
1354
- $mail->isSMTP();
1355
- //Enable SMTP debugging
1356
- // 0 = off (for production use)
1357
- // 1 = client messages
1358
- // 2 = client and server messages
1359
- $mail->SMTPDebug = 0;
1360
- //Ask for HTML-friendly debug output
1361
- $mail->Debugoutput = 'html';
1362
- //Set the hostname of the mail server
1363
- $mail->Host = $host;
1364
- //Set the SMTP port number - likely to be 25, 26, 465 or 587
1365
- $mail->Port = $port;
1366
- //Set the encryption system to use - ssl (deprecated) or tls
1367
- if($port == "587"){
1368
- $mail->SMTPSecure = 'tls';
1369
- } else if($port == "465"){
1370
- $mail->SMTPSecure = 'ssl';
1371
- }
1372
-
1373
- // Empty out the values that may be set
1374
- $mail->ClearAllRecipients();
1375
- $mail->ClearAttachments();
1376
- $mail->ClearCustomHeaders();
1377
- $mail->ClearReplyTos();
1378
-
1379
-
1380
- //Whether to use SMTP authentication
1381
- $mail->SMTPAuth = true;
1382
- //Username to use for SMTP authentication
1383
- $mail->Username = $username;
1384
- //Password to use for SMTP authentication
1385
- $mail->Password = $password;
1386
- //Set who the message is to be sent from
1387
- $mail->setFrom($reply_to, $reply_to_name);
1388
- //Set who the message is to be sent to
1389
- if($email_address){
1390
- foreach($email_address as $email){
1391
- $mail->addAddress($email);
1392
- }
1393
- }
1394
- //Set the subject line
1395
- $mail->Subject = $subject;
1396
- //Read an HTML message body from an external file, convert referenced images to embedded,
1397
- //convert HTML into a basic plain-text alternative body
1398
- $body = apply_filters("wplc_filter_mail_body",$subject,$msg);
1399
- $mail->msgHTML($body);
1400
- //Replace the plain text body with one created manually
1401
- $mail->AltBody = $msg;
1402
-
1403
-
1404
- //send the message, check for errors
1405
- if (!$mail->send()) {
1406
- $handle = fopen("wp_livechat_error_log.txt", 'a');
1407
- $error = date("Y-m-d H:i:s")." ".$mail->ErrorInfo." \n";
1408
- @fwrite($handle, $error);
1409
- }
1410
- return;
1411
- }
1412
- }
1413
- }
1414
- /**
1415
- * Sends offline messages to the admin (normally via ajax)
1416
- * @param string $name Name of the user
1417
- * @param string $email Email of the user
1418
- * @param string $msg The message being sent to the admin
1419
- * @param int $cid Chat ID
1420
- * @return void
1421
- */
1422
- function wplc_send_offline_msg($name,$email,$msg,$cid) {
1423
- $subject = apply_filters("wplc_offline_message_subject_filter", __("WP Live Chat Support - Offline Message from ", "wplivechat") ) . "$name";
1424
- $msg = __("Name", "wplivechat").": $name \n".
1425
- __("Email", "wplivechat").": $email\n".
1426
- __("Message", "wplivechat").": $msg\n\n".
1427
- __("Via WP Live Chat Support", "wplivechat");
1428
- wplcmail($email,$name, $subject, $msg);
1429
- return;
1430
- }
1431
-
1432
-
1433
- /**
1434
- * Saves offline messages to the database
1435
- * @param string $name User name
1436
- * @param string $email User email
1437
- * @param string $message Message being saved
1438
- * @return Void
1439
- * @since 5.1.00
1440
- */
1441
- function wplc_store_offline_message($name, $email, $message){
1442
- global $wpdb;
1443
- global $wplc_tblname_offline_msgs;
1444
-
1445
- $wplc_settings = get_option('WPLC_SETTINGS');
1446
-
1447
- if(isset($wplc_settings['wplc_record_ip_address']) && $wplc_settings['wplc_record_ip_address'] == 1){
1448
- if(isset($_SERVER['HTTP_X_FORWARDED_FOR']) && $_SERVER['HTTP_X_FORWARDED_FOR'] != '') {
1449
- $ip_address = sanitize_text_field($_SERVER['HTTP_X_FORWARDED_FOR']);
1450
- } else {
1451
- $ip_address = sanitize_text_field($_SERVER['REMOTE_ADDR']);
1452
- }
1453
- $offline_ip_address = $ip_address;
1454
- } else {
1455
- $offline_ip_address = "";
1456
- }
1457
-
1458
-
1459
- $ins_array = array(
1460
- 'timestamp' => current_time('mysql'),
1461
- 'name' => sanitize_text_field($name),
1462
- 'email' => sanitize_email($email),
1463
- 'message' => implode( "\n", array_map( 'sanitize_text_field', explode( "\n", $message ) ) ),
1464
- 'ip' => sanitize_text_field($offline_ip_address),
1465
- 'user_agent' => sanitize_text_field($_SERVER['HTTP_USER_AGENT'])
1466
- );
1467
-
1468
- $rows_affected = $wpdb->insert( $wplc_tblname_offline_msgs, $ins_array );
1469
- return;
1470
- }
1471
- /**
1472
- * Send what we have found as a system notification
1473
- */
1474
- function wplc_send_welcome($cid,$wplc_settings) {
1475
-
1476
- if (!isset($wplc_settings['wplc_welcome_msg'])) { $wplc_settings['wplc_welcome_msg'] = __("Please standby for an agent. While you wait for the agent you may type your message.","wplivechat"); }
1477
- $mdata = array(
1478
- 'msg' => $wplc_settings['wplc_welcome_msg']
1479
- );
1480
- wplc_record_chat_notification('await_agent',$cid,$mdata);
1481
- return;
1482
-
1483
- }
1484
-
1485
-
1486
- function wplc_user_initiate_chat($name,$email,$cid = null,$session) {
1487
-
1488
- global $wpdb;
1489
- global $wplc_tblname_chats;
1490
- do_action("wplc_hook_initiate_chat",array("cid" => $cid, "name" => $name, "email" => $email));
1491
-
1492
-
1493
- $wplc_settings = get_option('WPLC_SETTINGS');
1494
-
1495
- if(isset($wplc_settings['wplc_record_ip_address']) && $wplc_settings['wplc_record_ip_address'] == 1){
1496
- if(isset($_SERVER['HTTP_X_FORWARDED_FOR']) && $_SERVER['HTTP_X_FORWARDED_FOR'] != '') {
1497
- $ip_address = sanitize_text_field($_SERVER['HTTP_X_FORWARDED_FOR']);
1498
- } else {
1499
- $ip_address = sanitize_text_field($_SERVER['REMOTE_ADDR']);
1500
- }
1501
- $user_data = array(
1502
- 'ip' => $ip_address,
1503
- 'user_agent' => sanitize_text_field($_SERVER['HTTP_USER_AGENT'])
1504
- );
1505
- $wplc_ce_ip = $ip_address;
1506
- } else {
1507
- $user_data = array(
1508
- 'ip' => "",
1509
- 'user_agent' => sanitize_text_field($_SERVER['HTTP_USER_AGENT'])
1510
- );
1511
- $wplc_ce_ip = null;
1512
- }
1513
-
1514
- if(function_exists('wplc_ce_activate')){
1515
- /* Log the chat for statistical purposes as well */
1516
- if(function_exists('wplc_ce_record_initial_chat')){
1517
- wplc_ce_record_initial_chat($name, $email, $cid, $wplc_ce_ip, sanitize_text_field($_SERVER['HTTP_REFERER']));
1518
- }
1519
- }
1520
-
1521
- if ($cid != null) {
1522
- /* change from a visitor to a chat */
1523
-
1524
- /**
1525
- * This helps us identify if this user needs to be answered. The user can start typing so long but an agent still needs to answer the chat
1526
- * @var serialized array
1527
- */
1528
- $chat_data = wplc_get_chat_data($cid,__LINE__);
1529
-
1530
- if (isset($chat_data->other)) {
1531
- $other_data = maybe_unserialize( $chat_data->other );
1532
- $other_data['unanswered'] = true;
1533
-
1534
- $other_data = apply_filters("wplc_start_chat_hook_other_data_hook", $other_data);
1535
- if (!isset($other_data['welcome'])) {
1536
- wplc_send_welcome($cid,$wplc_settings);
1537
- $other_data['welcome'] = true;
1538
- }
1539
-
1540
- } else {
1541
- wplc_send_welcome($cid,$wplc_settings);
1542
- $other_data = array();
1543
- $other_data['welcome'] = true;
1544
-
1545
- }
1546
-
1547
-
1548
- $wpdb->update(
1549
- $wplc_tblname_chats,
1550
- array(
1551
- 'status' => 2,
1552
- 'timestamp' => current_time('mysql'),
1553
- 'name' => $name,
1554
- 'email' => $email,
1555
- 'session' => $session,
1556
- 'ip' => maybe_serialize($user_data),
1557
- 'url' => sanitize_text_field($_SERVER['HTTP_REFERER']),
1558
- 'last_active_timestamp' => current_time('mysql'),
1559
- 'other' => maybe_serialize($other_data)
1560
- ),
1561
- array('id' => $cid),
1562
- array(
1563
- '%d',
1564
- '%s',
1565
- '%s',
1566
- '%s',
1567
- '%s',
1568
- '%s',
1569
- '%s',
1570
- '%s',
1571
- '%s'
1572
- ),
1573
- array('%d')
1574
- );
1575
-
1576
- do_action("wplc_start_chat_hook_after_data_insert", $cid);
1577
- return $cid;
1578
- }
1579
- else {
1580
- $other_data = array();
1581
- $other_data['unanswered'] = true;
1582
-
1583
- $other_data = apply_filters("wplc_start_chat_hook_other_data_hook", $other_data);
1584
-
1585
- $wpdb->insert(
1586
- $wplc_tblname_chats,
1587
- array(
1588
- 'status' => 2,
1589
- 'timestamp' => current_time('mysql'),
1590
- 'name' => $name,
1591
- 'email' => $email,
1592
- 'session' => $session,
1593
- 'ip' => maybe_serialize($user_data),
1594
- 'url' => sanitize_text_field($_SERVER['HTTP_REFERER']),
1595
- 'last_active_timestamp' => current_time('mysql'),
1596
- 'other' => maybe_serialize($other_data)
1597
- ),
1598
- array(
1599
- '%s',
1600
- '%s',
1601
- '%s',
1602
- '%s',
1603
- '%s',
1604
- '%s',
1605
- '%s',
1606
- '%s',
1607
- '%s'
1608
- )
1609
- );
1610
-
1611
-
1612
- $lastid = $wpdb->insert_id;
1613
-
1614
-
1615
-
1616
-
1617
- /* Nick: moved from top of function to bottom of function to try speed up the process of accepting the chart - version 7 */
1618
- if (function_exists("wplc_list_chats_pro")) { /* check if functions-pro is around */
1619
- wplc_pro_notify_via_email();
1620
- }
1621
-
1622
- do_action("wplc_start_chat_hook_after_data_insert", $lastid);
1623
- return $lastid;
1624
- }
1625
-
1626
- }
1627
-
1628
-
1629
-
1630
- function wplc_get_msg() {
1631
- return "<a href=\"javascript:void(0);\" class=\"wplc_second_chat_request button button-primary\" style='cursor:not-allowed' title=\"".__("Get Pro Add-on to accept more chats","wplivechat")."\" target=\"_BLANK\">".__("Accept Chat","wplivechat")."</a>";
1632
- }
1633
- function wplc_update_chat_statuses() {
1634
-
1635
- global $wpdb;
1636
- global $wplc_tblname_chats;
1637
- $results = $wpdb->get_results(
1638
- "
1639
- SELECT *
1640
- FROM $wplc_tblname_chats
1641
- WHERE `status` = '2' OR `status` = '3' OR `status` = '5' or `status` = '8' or `status` = '9' or `status` = '10' or `status` = 12
1642
- "
1643
- );
1644
- foreach ($results as $result) {
1645
- $id = $result->id;
1646
- $timestamp = strtotime($result->last_active_timestamp);
1647
- $datenow = current_time('timestamp');
1648
- $difference = $datenow - $timestamp;
1649
-
1650
-
1651
-
1652
-
1653
- if (intval($result->status) == 2) {
1654
- if ($difference >= 60) { // 30 seconds max
1655
- wplc_change_chat_status($id,12);
1656
- }
1657
- }
1658
- else if (intval($result->status) == 12) {
1659
- if ($difference >= 120) { // 120 seconds max
1660
- wplc_change_chat_status($id,0);
1661
- }
1662
- }
1663
- else if (intval($result->status) == 3) {
1664
- if ($difference >= 300) { // 5 minutes
1665
- wplc_change_chat_status($id,1);
1666
- }
1667
- }
1668
- else if (intval($result->status) == 5) {
1669
- if ($difference >= 120) { // 2 minute timeout
1670
- wplc_change_chat_status($id,7); // 7 - timedout
1671
- }
1672
- } else if(intval($result->status) == 8){ // chat is complete but user is still browsing
1673
- if ($difference >= 45) { // 30 seconds
1674
- wplc_change_chat_status($id,1); // 1 - chat is now complete
1675
- }
1676
- } else if(intval($result->status) == 9 || $result->status == 10){
1677
- if ($difference >= 120) { // 120 seconds
1678
- wplc_change_chat_status($id,7); // 7 - timedout
1679
- }
1680
- }
1681
- }
1682
- }
1683
- function wplc_check_pending_chats(){
1684
- global $wpdb;
1685
- global $wplc_tblname_chats;
1686
- $sql = "SELECT * FROM `$wplc_tblname_chats` WHERE `status` = 2";
1687
- $wpdb->query($sql);
1688
- $results = $wpdb->get_results($sql);
1689
- if($results){
1690
- foreach ($results as $result) {
1691
- $other = maybe_unserialize($result->other);
1692
- if (isset($other['unanswered'])) {
1693
- return true;
1694
- }
1695
- }
1696
-
1697
- }
1698
- return false;
1699
- }
1700
- function wplc_get_active_and_pending_chats(){
1701
- global $wpdb;
1702
- global $wplc_tblname_chats;
1703
- $sql = "SELECT * FROM `$wplc_tblname_chats` WHERE `status` = 2 OR `status` = 3 ORDER BY `status`";
1704
- $results = $wpdb->get_results($sql);
1705
- if($results){
1706
- return $results;
1707
- } else {
1708
- return false;
1709
- }
1710
- }
1711
- function wplc_convert_array_to_string($array){
1712
- $string = "";
1713
- if($array){
1714
- foreach($array as $value){
1715
- $string.= $value->id." ;";
1716
- }
1717
- } else {
1718
- $string = false;
1719
- }
1720
- return $string;
1721
- }
1722
-
1723
- function wplc_return_browser_image($string,$size) {
1724
- switch($string) {
1725
-
1726
- case "Internet Explorer":
1727
- return "web_".$size."x".$size.".png";
1728
- break;
1729
- case "Mozilla Firefox":
1730
- return "firefox_".$size."x".$size.".png";
1731
- break;
1732
- case "Opera":
1733
- return "opera_".$size."x".$size.".png";
1734
- break;
1735
- case "Google Chrome":
1736
- return "chrome_".$size."x".$size.".png";
1737
- break;
1738
- case "Safari":
1739
- return "safari_".$size."x".$size.".png";
1740
- break;
1741
- case "Other browser":
1742
- return "web_".$size."x".$size.".png";
1743
- break;
1744
- default:
1745
- return "web_".$size."x".$size.".png";
1746
- break;
1747
- }
1748
-
1749
-
1750
- }
1751
- function wplc_return_browser_string($user_agent) {
1752
- if(strpos($user_agent, 'MSIE') !== FALSE)
1753
- return 'Internet explorer';
1754
- elseif(strpos($user_agent, 'Trident') !== FALSE) //For Supporting IE 11
1755
- return 'Internet explorer';
1756
- elseif(strpos($user_agent, 'Firefox') !== FALSE)
1757
- return 'Mozilla Firefox';
1758
- elseif(strpos($user_agent, 'Chrome') !== FALSE)
1759
- return 'Google Chrome';
1760
- elseif(strpos($user_agent, 'Opera Mini') !== FALSE)
1761
- return "Opera";
1762
- elseif(strpos($user_agent, 'Opera') !== FALSE)
1763
- return "Opera";
1764
- elseif(strpos($user_agent, 'Safari') !== FALSE)
1765
- return "Safari";
1766
- else
1767
- return 'Other browser';
1768
- }
1769
-
1770
- function wplc_error_directory() {
1771
- $upload_dir = wp_upload_dir();
1772
-
1773
- if (is_multisite()) {
1774
- if (!file_exists($upload_dir['basedir'].'/wp-live-chat-support')) {
1775
- wp_mkdir_p($upload_dir['basedir'].'/wp-live-chat-support');
1776
- $content = "Error log created";
1777
- $fp = @fopen($upload_dir['basedir'].'/wp-live-chat-support'."/error_log.txt","w+");
1778
- @fwrite($fp,$content);
1779
- }
1780
- } else {
1781
- if (!file_exists(ABSPATH.'wp-content/uploads/wp-live-chat-support')) {
1782
- wp_mkdir_p(ABSPATH.'wp-content/uploads/wp-live-chat-support');
1783
- $content = "Error log created";
1784
- $fp = @fopen(ABSPATH.'wp-content/uploads/wp-live-chat-support'."/error_log.txt","w+");
1785
- @fwrite($fp,$content);
1786
- }
1787
-
1788
- }
1789
- return true;
1790
-
1791
- }
1792
-
1793
- function wplc_error_log($error) {
1794
- return;
1795
- $content = "\r\n[".date("Y-m-d")."] [".date("H:i:s")."]".$error;
1796
- $fp = @fopen(ABSPATH.'/wp-content/uploads/wp-live-chat-support'."/error_log.txt","a+");
1797
- @fwrite($fp,$content);
1798
- @fclose($fp);
1799
-
1800
-
1801
- }
1802
- function Memory_Usage($decimals = 2)
1803
- {
1804
- $result = 0;
1805
-
1806
- if (function_exists('memory_get_usage'))
1807
- {
1808
- $result = memory_get_usage() / 1024;
1809
- }
1810
-
1811
- else
1812
- {
1813
- if (function_exists('exec'))
1814
- {
1815
- $output = array();
1816
-
1817
- if (substr(strtoupper(PHP_OS), 0, 3) == 'WIN')
1818
- {
1819
- exec('tasklist /FI "PID eq ' . getmypid() . '" /FO LIST', $output);
1820
-
1821
- $result = preg_replace('/[\D]/', '', $output[5]);
1822
- }
1823
-
1824
- else
1825
- {
1826
- exec('ps -eo%mem,rss,pid | grep ' . getmypid(), $output);
1827
-
1828
- $output = explode(' ', $output[0]);
1829
-
1830
- $result = $output[1];
1831
- }
1832
- }
1833
- }
1834
-
1835
- return number_format(intval($result) / 1024, $decimals, '.', '')." mb";
1836
- }
1837
- function wplc_get_memory_usage() {
1838
- $size = memory_get_usage(true);
1839
- $unit=array('b','kb','mb','gb','tb','pb');
1840
- return @round($size/pow(1024,($i=floor(log($size,1024)))),2).' '.$unit[$i];
1841
-
1842
- }
1843
- function wplc_record_mem() {
1844
- $data = array(
1845
- 'date' => current_time('mysql'),
1846
- 'php_mem' => wplc_get_memory_usage()
1847
- );
1848
- $fp = @fopen(ABSPATH.'/wp-content/uploads/wp-live-chat-support'."/mem_usag.csv","a+");
1849
- fputcsv($fp, $data);
1850
- fclose($fp);
1851
- }
1852
-
1853
- function wplc_admin_display_missed_chats() {
1854
-
1855
- global $wpdb;
1856
- global $wplc_tblname_chats;
1857
-
1858
-
1859
- if(isset($_GET['wplc_action']) && $_GET['wplc_action'] == 'remove_cid'){
1860
- if(isset($_GET['cid'])){
1861
- if(isset($_GET['wplc_confirm'])){
1862
- //Confirmed - delete
1863
- $delete_sql = "";
1864
- if (function_exists("wplc_register_pro_version")) {
1865
- $delete_sql = "
1866
- DELETE FROM $wplc_tblname_chats
1867
- WHERE `id` = '".intval($_GET['cid'])."'
1868
- AND (`status` = 7 OR `agent_id` = 0)
1869
- AND `email` != 'no email set'
1870
- ";
1871
- } else {
1872
- $delete_sql = "
1873
- DELETE FROM $wplc_tblname_chats
1874
- WHERE `id` = '".intval($_GET['cid'])."'
1875
- AND `status` = 7
1876
- AND `email` != 'no email set'
1877
- ";
1878
- }
1879
-
1880
- $wpdb->query($delete_sql);
1881
- if ($wpdb->last_error) {
1882
- echo "<div class='update-nag' style='margin-top: 0px;margin-bottom: 5px;'>
1883
- ".__("Error: Could not delete chat", "wplivechat")."<br>
1884
- </div>";
1885
- } else {
1886
- echo "<div class='update-nag' style='margin-top: 0px;margin-bottom: 5px;border-color:#67d552;'>
1887
- ".__("Chat Deleted", "wplivechat")."<br>
1888
- </div>";
1889
- }
1890
-
1891
- } else {
1892
- //Prompt
1893
- echo "<div class='update-nag' style='margin-top: 0px;margin-bottom: 5px;'>
1894
- ".__("Are you sure you would like to delete this chat?", "wplivechat")."<br>
1895
- <a class='button' href='?page=wplivechat-menu-missed-chats&wplc_action=remove_cid&cid=".$_GET['cid']."&wplc_confirm=1''>".__("Yes", "wplivechat")."</a> <a class='button' href='?page=wplivechat-menu-missed-chats'>".__("No", "wplivechat")."</a>
1896
- </div>";
1897
- }
1898
- }
1899
- }
1900
-
1901
- echo "
1902
- <table class=\"wp-list-table widefat fixed \" cellspacing=\"0\">
1903
- <thead>
1904
- <tr>
1905
- <th class='manage-column column-id'><span>" . __("Date", "wplivechat") . "</span></th>
1906
- <th scope='col' id='wplc_name_colum' class='manage-column column-id'><span>" . __("Name", "wplivechat") . "</span></th>
1907
- <th scope='col' id='wplc_email_colum' class='manage-column column-id'>" . __("Email", "wplivechat") . "</th>
1908
- <th scope='col' id='wplc_url_colum' class='manage-column column-id'>" . __("URL", "wplivechat") . "</th>
1909
- <th scope='col' id='wplc_url_colum' class='manage-column column-id'>" . __("Action", "wplivechat") . "</th>
1910
- </tr>
1911
- </thead>
1912
- <tbody id=\"the-list\" class='list:wp_list_text_link'>";
1913
-
1914
- if (function_exists("wplc_register_pro_version")) {
1915
- $sql = "
1916
- SELECT *
1917
- FROM $wplc_tblname_chats
1918
- WHERE (`status` = 7
1919
- OR `agent_id` = 0)
1920
- AND `email` != 'no email set'
1921
- ORDER BY `timestamp` DESC
1922
- ";
1923
- } else {
1924
- $sql = "
1925
- SELECT *
1926
- FROM $wplc_tblname_chats
1927
- WHERE `status` = 7
1928
- AND `email` != 'no email set'
1929
- ORDER BY `timestamp` DESC
1930
- ";
1931
- }
1932
-
1933
- $results = $wpdb->get_results($sql);
1934
-
1935
- if (!$results) {
1936
- echo "<tr><td></td><td>" . __("You have not missed any chat requests.", "wplivechat") . "</td></tr>";
1937
- } else {
1938
- foreach ($results as $result) {
1939
- echo "<tr id=\"record_" . $result->id . "\">";
1940
- echo "<td class='chat_id column-chat_d'>" . $result->timestamp . "</td>";
1941
- echo "<td class='chat_name column_chat_name' id='chat_name_" . $result->id . "'><img src=\"//www.gravatar.com/avatar/" . md5($result->email) . "?s=30\" class='wplc-user-message-avatar' /> " . $result->name . "</td>";
1942
- echo "<td class='chat_email column_chat_email' id='chat_email_" . $result->id . "'><a href='mailto:" . $result->email . "' title='Email " . ".$result->email." . "'>" . $result->email . "</a></td>";
1943
- echo "<td class='chat_name column_chat_url' id='chat_url_" . $result->id . "'>" . esc_url($result->url) . "</td>";
1944
- echo "<td class='chat_name column_chat_url'><a class='button' href='?page=wplivechat-menu-missed-chats&wplc_action=remove_cid&cid=".$result->id."'><i class='fa fa-trash-o'></i></a></td>";
1945
- echo "</tr>";
1946
- }
1947
- }
1948
-
1949
- echo "
1950
- </tbody>
1951
- </table>";
1952
- }
1953
-
1954
-
1955
- /**
1956
- * Compares the users IP address to the list in the banned IPs in the settings page
1957
- * @return BOOL
1958
- */
1959
- function wplc_is_user_banned_basic(){
1960
- $banned_ip = get_option('WPLC_BANNED_IP_ADDRESSES');
1961
- if($banned_ip){
1962
- $banned_ip = maybe_unserialize($banned_ip);
1963
- $banned = 0;
1964
- if (is_array($banned_ip)) {
1965
- foreach($banned_ip as $ip){
1966
-
1967
- if(isset($_SERVER['HTTP_X_FORWARDED_FOR']) && $_SERVER['HTTP_X_FORWARDED_FOR'] != '') {
1968
- $ip_address = $_SERVER['HTTP_X_FORWARDED_FOR'];
1969
- } else {
1970
- $ip_address = $_SERVER['REMOTE_ADDR'];
1971
- }
1972
-
1973
- if(isset($ip_address)){
1974
- if($ip == $ip_address){
1975
- $banned++;
1976
- }
1977
- } else {
1978
- $banned = 0;
1979
- }
1980
- }
1981
- } else {
1982
- return 0;
1983
- }
1984
- } else {
1985
- $banned = 0;
1986
- }
1987
- return $banned;
1988
- }
1989
-
1990
-
1991
-
1992
-
1993
- function wplc_return_animations_basic(){
1994
-
1995
- $wplc_settings = get_option("WPLC_SETTINGS");
1996
-
1997
- if ($wplc_settings["wplc_settings_align"] == 1) {
1998
- $original_pos = "bottom_left";
1999
- //$wplc_box_align = "left:100px; bottom:0px;";
2000
- $wplc_box_align = "bottom:0px;";
2001
- } else if ($wplc_settings["wplc_settings_align"] == 2) {
2002
- $original_pos = "bottom_right";
2003
- //$wplc_box_align = "right:100px; bottom:0px;";
2004
- $wplc_box_align = "bottom:0px;";
2005
- } else if ($wplc_settings["wplc_settings_align"] == 3) {
2006
- $original_pos = "left";
2007
- // $wplc_box_align = "left:0; bottom:100px;";
2008
- $wplc_box_align = " bottom:100px;";
2009
- $wplc_class = "wplc_left";
2010
- } else if ($wplc_settings["wplc_settings_align"] == 4) {
2011
- $original_pos = "right";
2012
- // $wplc_box_align = "right:0; bottom:100px;";
2013
- $wplc_box_align = "bottom:100px;";
2014
- $wplc_class = "wplc_right";
2015
- }
2016
-
2017
- $animation_data = array();
2018
-
2019
- if(isset($wplc_settings['wplc_animation']) && $wplc_settings['wplc_animation'] == 'animation-1'){
2020
-
2021
- if($original_pos == 'bottom_right'){
2022
- $wplc_starting_point = 'margin-bottom: -350px; right: 100px;';
2023
- $wplc_animation = 'animation-1';
2024
- } else if ($original_pos == 'bottom_left'){
2025
- $wplc_starting_point = 'margin-bottom: -350px; left: 100px;';
2026
- $wplc_animation = 'animation-1';
2027
- } else if ($original_pos == 'left'){
2028
- $wplc_starting_point = 'margin-bottom: -350px; left: 0px;';
2029
- $wplc_box_align = "left:0; bottom:100px;";
2030
- $wplc_animation = 'animation-1';
2031
- } else if ($original_pos == 'right'){
2032
- $wplc_starting_point = 'margin-bottom: -350px; right: 0px;';
2033
- $wplc_animation = 'animation-1';
2034
- $wplc_box_align = "right:0; bottom:100px;";
2035
- }
2036
-
2037
- $animation_data['animation'] = $wplc_animation;
2038
- $animation_data['starting_point'] = $wplc_starting_point;
2039
- $animation_data['box_align'] = $wplc_box_align;
2040
-
2041
- } else if (isset($wplc_settings['wplc_animation']) && $wplc_settings['wplc_animation'] == 'animation-2'){
2042
-
2043
- if($original_pos == 'bottom_right'){
2044
- $wplc_starting_point = 'margin-bottom: 0px; right: -300px;';
2045
- $wplc_animation = 'animation-2-br';
2046
- } else if ($original_pos == 'bottom_left'){
2047
- $wplc_starting_point = 'margin-bottom: 0px; left: -300px;';
2048
- $wplc_animation = 'animation-2-bl';
2049
- } else if ($original_pos == 'left'){
2050
- $wplc_starting_point = 'margin-bottom: 0px; left: -999px;';
2051
- $wplc_animation = 'animation-2-l';
2052
- } else if ($original_pos == 'right'){
2053
- $wplc_starting_point = 'margin-bottom: 0px; right: -999px;';
2054
- $wplc_animation = 'animation-2-r';
2055
- }
2056
-
2057
- $animation_data['animation'] = $wplc_animation;
2058
- $animation_data['starting_point'] = $wplc_starting_point;
2059
- $animation_data['box_align'] = $wplc_box_align;
2060
-
2061
- } else if (isset($wplc_settings['wplc_animation']) && $wplc_settings['wplc_animation'] == 'animation-3'){
2062
-
2063
- $wplc_animation = 'animation-3';
2064
-
2065
- if($original_pos == 'bottom_right'){
2066
- $wplc_starting_point = 'margin-bottom: 0; right: 100px; display: none;';
2067
- } else if ($original_pos == 'bottom_left'){
2068
- $wplc_starting_point = 'margin-bottom: 0px; left: 100px; display: none;';
2069
- } else if ($original_pos == 'left'){
2070
- $wplc_starting_point = 'margin-bottom: 100px; left: 0px; display: none;';
2071
- } else if ($original_pos == 'right'){
2072
- $wplc_starting_point = 'margin-bottom: 100px; right: 0px; display: none;';
2073
- }
2074
-
2075
- $animation_data['animation'] = $wplc_animation;
2076
- $animation_data['starting_point'] = $wplc_starting_point;
2077
- $animation_data['box_align'] = $wplc_box_align;
2078
-
2079
- } else if (isset($wplc_settings['wplc_animation']) && $wplc_settings['wplc_animation'] == 'animation-4'){
2080
- // Dont use an animation
2081
-
2082
- $wplc_animation = "animation-4";
2083
-
2084
- if($original_pos == 'bottom_right'){
2085
- $wplc_starting_point = 'margin-bottom: 0; right: 100px; display: none;';
2086
- } else if ($original_pos == 'bottom_left'){
2087
- $wplc_starting_point = 'margin-bottom: 0px; left: 100px; display: none;';
2088
- } else if ($original_pos == 'left'){
2089
- $wplc_starting_point = 'margin-bottom: 100px; left: 0px; display: none;';
2090
- } else if ($original_pos == 'right'){
2091
- $wplc_starting_point = 'margin-bottom: 100px; right: 0px; display: none;';
2092
- }
2093
-
2094
- $animation_data['animation'] = $wplc_animation;
2095
- $animation_data['starting_point'] = $wplc_starting_point;
2096
- $animation_data['box_align'] = $wplc_box_align;
2097
-
2098
- } else {
2099
-
2100
- if($original_pos == 'bottom_right'){
2101
- $wplc_starting_point = 'margin-bottom: 0; right: 100px; display: none;';
2102
- } else if ($original_pos == 'bottom_left'){
2103
- $wplc_starting_point = 'margin-bottom: 0px; left: 100px; display: none;';
2104
- } else if ($original_pos == 'left'){
2105
- $wplc_starting_point = 'margin-bottom: 100px; left: 0px; display: none;';
2106
- } else if ($original_pos == 'right'){
2107
- $wplc_starting_point = 'margin-bottom: 100px; right: 0px; display: none;';
2108
- }
2109
-
2110
- $wplc_animation = 'none';
2111
-
2112
- $animation_data['animation'] = $wplc_animation;
2113
- $animation_data['starting_point'] = $wplc_starting_point;
2114
- $animation_data['box_align'] = $wplc_box_align;
2115
- }
2116
-
2117
- return $animation_data;
2118
- }
2119
-
2120
-
2121
- add_action("wplc_advanced_settings_above_performance", "wplc_advanced_settings_above_performance_control", 10, 1);
2122
- function wplc_advanced_settings_above_performance_control($wplc_settings){
2123
- $elem_trig_action = isset($wplc_settings['wplc_elem_trigger_action']) ? $wplc_settings['wplc_elem_trigger_action'] : "0";
2124
- $elem_trig_type = isset($wplc_settings['wplc_elem_trigger_type']) ? $wplc_settings['wplc_elem_trigger_type'] : "0";
2125
- $elem_trig_id = isset($wplc_settings['wplc_elem_trigger_id']) ? $wplc_settings['wplc_elem_trigger_id'] : "";
2126
-
2127
- echo "<tr>
2128
- <td width='300'>
2129
- ".__("Open chat window via", "wplivechat").":
2130
- </td>
2131
- <td>
2132
- <select name='wplc_elem_trigger_action'>
2133
- <option value='0' ".($elem_trig_action == "0" ? "selected" : "").">".__("Click", "wplivechat")."</option>
2134
- <option value='1' ".($elem_trig_action == "1" ? "selected" : "").">".__("Hover", "wplivechat")."</option>
2135
- </select>
2136
- ".__("element with", "wplivechat").":
2137
- <select name='wplc_elem_trigger_type'>
2138
- <option value='0' ".($elem_trig_type == "0" ? "selected" : "").">".__("Class", "wplivechat")."</option>
2139
- <option value='1' ".($elem_trig_type == "1" ? "selected" : "").">".__("ID", "wplivechat")."</option>
2140
- </select>
2141
- <input type='text' name='wplc_elem_trigger_id' value='".$elem_trig_id."'>
2142
- </td>
2143
- </tr>
2144
- ";
 
 
 
 
 
 
 
 
 
2145
  }
1
+ <?php
2
+ $wplc_basic_plugin_url = get_option('siteurl')."/wp-content/plugins/wp-live-chat-support/";
3
+
4
+ function wplc_log_user_on_page($name,$email,$session, $is_mobile = false) {
5
+ global $wpdb;
6
+ global $wplc_tblname_chats;
7
+
8
+ $wplc_settings = get_option('WPLC_SETTINGS');
9
+
10
+
11
+
12
+ if(isset($wplc_settings['wplc_record_ip_address']) && $wplc_settings['wplc_record_ip_address'] == 1){
13
+
14
+ if(isset($_SERVER['HTTP_X_FORWARDED_FOR']) && $_SERVER['HTTP_X_FORWARDED_FOR'] != '') {
15
+ $ip_address = $_SERVER['HTTP_X_FORWARDED_FOR'];
16
+ } else {
17
+ $ip_address = $_SERVER['REMOTE_ADDR'];
18
+ }
19
+
20
+ $user_data = array(
21
+ 'ip' => $ip_address,
22
+ 'user_agent' => $_SERVER['HTTP_USER_AGENT']
23
+ );
24
+ } else {
25
+ $user_data = array(
26
+ 'ip' => "",
27
+ 'user_agent' => $_SERVER['HTTP_USER_AGENT']
28
+ );
29
+ }
30
+
31
+
32
+ /* user types
33
+ * 1 = new
34
+ * 2 = returning
35
+ * 3 = timed out
36
+ */
37
+
38
+ $other = array(
39
+ "user_type" => 1
40
+ );
41
+
42
+ if($is_mobile){
43
+ $other['user_is_mobile'] = true;
44
+ } else {
45
+ $other['user_is_mobile'] = false;
46
+ }
47
+
48
+ $other = apply_filters("wplc_log_user_on_page_insert_other_data_filter", $other);
49
+
50
+ $wplc_chat_session_data = array(
51
+ 'status' => '5',
52
+ 'timestamp' => current_time('mysql'),
53
+ 'name' => $name,
54
+ 'email' => $email,
55
+ 'session' => $session,
56
+ 'ip' => maybe_serialize($user_data),
57
+ 'url' => sanitize_text_field($_SERVER['HTTP_REFERER']),
58
+ 'last_active_timestamp' => current_time('mysql'),
59
+ 'other' => maybe_serialize($other),
60
+ );
61
+
62
+ $wplc_chat_session_data = apply_filters("wplc_log_user_on_page_insert_filter", $wplc_chat_session_data);
63
+
64
+ /* Omitted from inser call as this defaults to string
65
+ $wplc_chat_session_types = array(
66
+ '%s',
67
+ '%s',
68
+ '%s',
69
+ '%s',
70
+ '%s',
71
+ '%s',
72
+ '%s',
73
+ '%s',
74
+ '%s'
75
+ ); */
76
+
77
+
78
+ $wpdb->insert($wplc_tblname_chats, $wplc_chat_session_data);
79
+ $lastid = $wpdb->insert_id;
80
+
81
+ return $lastid;
82
+
83
+ }
84
+ function wplc_update_user_on_page($cid, $status = 5,$session) {
85
+
86
+ global $wpdb;
87
+ global $wplc_tblname_chats;
88
+ $wplc_settings = get_option('WPLC_SETTINGS');
89
+
90
+ if(isset($wplc_settings['wplc_record_ip_address']) && $wplc_settings['wplc_record_ip_address'] == 1){
91
+
92
+ if(isset($_SERVER['HTTP_X_FORWARDED_FOR']) && $_SERVER['HTTP_X_FORWARDED_FOR'] != '') {
93
+ $ip_address = sanitize_text_field($_SERVER['HTTP_X_FORWARDED_FOR']);
94
+ } else {
95
+ $ip_address = sanitize_text_field($_SERVER['REMOTE_ADDR']);
96
+ }
97
+ $user_data = array(
98
+ 'ip' => $ip_address,
99
+ 'user_agent' => sanitize_text_field($_SERVER['HTTP_USER_AGENT'])
100
+ );
101
+ } else {
102
+ $user_data = array(
103
+ 'ip' => "",
104
+ 'user_agent' => sanitize_text_field($_SERVER['HTTP_USER_AGENT'])
105
+ );
106
+ }
107
+
108
+
109
+
110
+ $query = $wpdb->update(
111
+ $wplc_tblname_chats,
112
+ array(
113
+ 'url' => sanitize_text_field($_SERVER['HTTP_REFERER']),
114
+ 'last_active_timestamp' => current_time('mysql'),
115
+ 'ip' => maybe_serialize($user_data),
116
+ 'status' => $status,
117
+ 'session' => $session,
118
+ ),
119
+ array('id' => $cid),
120
+ array(
121
+ '%s',
122
+ '%s',
123
+ '%s',
124
+ '%d',
125
+ '%s'
126
+ ),
127
+ array('%d')
128
+ );
129
+
130
+
131
+ return $query;
132
+
133
+
134
+ }
135
+
136
+
137
+ function wplc_record_chat_msg($from,$cid,$msg,$rest_check = false) {
138
+ global $wpdb;
139
+ global $wplc_tblname_msgs;
140
+
141
+ if ($from == "2" && $rest_check == false) {
142
+ $wplc_current_user = get_current_user_id();
143
+
144
+ if( get_user_meta( $wplc_current_user, 'wplc_ma_agent', true ) ){
145
+ /*
146
+ -- modified in in 6.0.04 --
147
+
148
+ if(current_user_can('wplc_ma_agent') || current_user_can('manage_options')){
149
+ */ } else { return "security issue"; }
150
+ }
151
+
152
+ if ($from == "1") {
153
+ $fromname = wplc_return_chat_name(sanitize_text_field($cid));
154
+ //$fromemail = wplc_return_chat_email($cid);
155
+ $orig = '2';
156
+ }
157
+ else {
158
+ $fromname = apply_filters("wplc_filter_admin_name","Admin");
159
+ //$fromemail = "SET email";
160
+ $orig = '1';
161
+ }
162
+
163
+ $orig_msg = $msg;
164
+
165
+ $msg = apply_filters("wplc_filter_message_control",$msg);
166
+
167
+ $wpdb->insert(
168
+ $wplc_tblname_msgs,
169
+ array(
170
+ 'chat_sess_id' => $cid,
171
+ 'timestamp' => current_time('mysql'),
172
+ 'msgfrom' => $fromname,
173
+ 'msg' => $msg,
174
+ 'status' => 0,
175
+ 'originates' => $orig
176
+ ),
177
+ array(
178
+ '%s',
179
+ '%s',
180
+ '%s',
181
+ '%s',
182
+ '%d',
183
+ '%s'
184
+ )
185
+ );
186
+
187
+ $data = array(
188
+ 'cid' => $cid,
189
+ 'from' => $from,
190
+ 'msg' => $orig_msg,
191
+ 'orig' => $orig
192
+ );
193
+ do_action("wplc_hook_message_sent",$data);
194
+
195
+ wplc_update_active_timestamp(sanitize_text_field($cid));
196
+
197
+
198
+ return true;
199
+
200
+ }
201
+
202
+ function wplc_update_active_timestamp($cid) {
203
+ global $wpdb;
204
+ global $wplc_tblname_chats;
205
+ // $results = $wpdb->get_results(
206
+ // "
207
+ // UPDATE $wplc_tblname_chats
208
+ // SET `last_active_timestamp` = '".date("Y-m-d H:i:s")."'
209
+ // WHERE `id` = '$cid'
210
+ // LIMIT 1
211
+ // "
212
+ // );
213
+ $wpdb->update(
214
+ $wplc_tblname_chats,
215
+ array(
216
+ 'last_active_timestamp' => current_time('mysql')
217
+ ),
218
+ array('id' => $cid),
219
+ array('%s'),
220
+ array('%d')
221
+ );
222
+
223
+ //wplc_change_chat_status(sanitize_text_field($cid),3);
224
+ return true;
225
+
226
+ }
227
+
228
+ function wplc_return_chat_name($cid) {
229
+ global $wpdb;
230
+ global $wplc_tblname_chats;
231
+
232
+ $results = $wpdb->get_results(
233
+ "
234
+ SELECT *
235
+ FROM $wplc_tblname_chats
236
+ WHERE `id` = '$cid'
237
+ "
238
+ );
239
+ foreach ($results as $result) {
240
+ return $result->name;
241
+ }
242
+
243
+ }
244
+ function wplc_return_chat_email($cid) {
245
+ global $wpdb;
246
+ global $wplc_tblname_chats;
247
+ $results = $wpdb->get_results(
248
+ "
249
+ SELECT *
250
+ FROM $wplc_tblname_chats
251
+ WHERE `id` = '$cid'
252
+ "
253
+ );
254
+ foreach ($results as $result) {
255
+ return $result->email;
256
+ }
257
+
258
+ }
259
+ function wplc_list_chats() {
260
+
261
+ global $wpdb;
262
+ global $wplc_tblname_chats;
263
+ $status = 3;
264
+ $wplc_c = 0;
265
+ $results = $wpdb->get_results(
266
+ "
267
+ SELECT *
268
+ FROM $wplc_tblname_chats
269
+ WHERE `status` = 3 OR `status` = 2 OR `status` = 10
270
+ ORDER BY `timestamp` ASC
271
+
272
+ "
273
+ );
274
+
275
+ $table = "<div class='wplc_chats_container'>";
276
+
277
+ if (!$results) {
278
+ $table.= "<p>".__("No chat sessions available at the moment","wplivechat")."</p>";
279
+ } else {
280
+ $table .= "<h2>".__('Active Chats', 'wplivechat')."</h2>";
281
+
282
+ foreach ($results as $result) {
283
+ unset($trstyle);
284
+ unset($actions);
285
+ $wplc_c++;
286
+
287
+
288
+ global $wplc_basic_plugin_url;
289
+ $user_data = maybe_unserialize($result->ip);
290
+ $user_ip = $user_data['ip'];
291
+ $browser = wplc_return_browser_string($user_data['user_agent']);
292
+ $browser_image = wplc_return_browser_image($browser,"16");
293
+
294
+ if($user_ip == ""){
295
+ $user_ip = __('IP Address not recorded', 'wplivechat');
296
+ } else {
297
+ $user_ip = "<a href='http://www.ip-adress.com/ip_tracer/" . $user_ip . "' title='".__('Whois for' ,'wplivechat')." ".$user_ip."' target='_BLANK'>".$user_ip."</a>";
298
+ }
299
+
300
+ if ($result->status == 2) {
301
+ $url = admin_url( 'admin.php?page=wplivechat-menu&action=ac&cid='.$result->id);
302
+ $actions = "<a href=\"".$url."\" class=\"wplc_open_chat button button-primary\" window-title=\"WP_Live_Chat_".$result->id."\">".__("Accept Chat","wplivechat")."</a>";
303
+ $trstyle = "style='background-color:#FFFBE4; height:30px;'";
304
+ $icon = "<i class=\"fa fa-phone wplc_pending\" title='".__('Incoming Chat', 'wplivechat')."' alt='".__('Incoming Chat', 'wplivechat')."'></i><div class='wplc_icon_message'>".__('You have an incoming chat.', 'wplivechat')."</div>";
305
+ }
306
+ if ($result->status == 3) {
307
+ $url = admin_url( 'admin.php?page=wplivechat-menu&action=ac&cid='.$result->id);
308
+ $actions = "<a href=\"".$url."\" class=\"wplc_open_chat button button-primary\" window-title=\"WP_Live_Chat_".$result->id."\">".__("Open Chat Window","wplivechat")."</a>";
309
+ $trstyle = "style='background-color:#F7FCFE; height:30px;'";
310
+ $icon = "<i class=\"fa fa-check-circle wplc_active\" title='".__('Chat Active', 'wplivechat')."' alt='".__('Chat Active', 'wplivechat')."'></i><div class='wplc_icon_message'>".__('This chat is active', 'wplivechat')."</div>";
311
+ }
312
+
313
+
314
+ /* if ($wplc_c>1) { $actions = wplc_get_msg(); } */
315
+
316
+ $trstyle = "";
317
+
318
+ $table .= "
319
+ <div class='wplc_single_chat' id='record_".$result->id."' $trstyle>
320
+ <div class='wplc_chat_section section_1'>
321
+ <div class='wplc_user_image' id='chat_image_".$result->id."'>
322
+ <img src=\"//www.gravatar.com/avatar/".md5($result->email)."?s=60&d=mm\" />
323
+ </div>
324
+ <div class='wplc_user_meta_data'>
325
+ <div class='wplc_user_name' id='chat_name_".$result->id."'>
326
+ <h3>".$result->name.$icon."</h3>
327
+ <a href='mailto:".$result->email."' target='_BLANK'>".$result->email."</a>
328
+ </div>
329
+ </div>
330
+ </div>
331
+ <div class='wplc_chat_section section_2'>
332
+ <div class='admin_visitor_advanced_info'>
333
+ <strong>" . __("Site Info", "wplivechat") . "</strong>
334
+ <hr />
335
+ <span class='part1'>" . __("Chat initiated on:", "wplivechat") . "</span> <span class='part2'> <a href='".esc_url($result->url)."' target='_BLANK'>" . esc_url($result->url) . "</a></span>
336
+ </div>
337
+
338
+ <div class='admin_visitor_advanced_info'>
339
+ <strong>" . __("Advanced Info", "wplivechat") . "</strong>
340
+ <hr />
341
+ <span class='part1'>" . __("Browser:", "wplivechat") . "</span><span class='part2'> $browser <img src='" . $wplc_basic_plugin_url . "/images/$browser_image' alt='$browser' title='$browser' /><br />
342
+ <span class='part1'>" . __("IP Address:", "wplivechat") . "</span><span class='part2'> ".$user_ip."
343
+ </div>
344
+ </div>
345
+ <div class='wplc_chat_section section_3'>
346
+ <div class='wplc_agent_actions'>
347
+ $actions
348
+ </div>
349
+ </div>
350
+ </div>
351
+ ";
352
+ }
353
+ }
354
+ $table .= "</div>";
355
+
356
+ return $table;
357
+ }
358
+
359
+ function wplc_time_ago($time_ago)
360
+ {
361
+ $time_ago = strtotime($time_ago);
362
+ $cur_time = current_time('timestamp');
363
+ $time_elapsed = $cur_time - $time_ago;
364
+ $seconds = $time_elapsed ;
365
+ $minutes = round($time_elapsed / 60 );
366
+ $hours = round($time_elapsed / 3600);
367
+ $days = round($time_elapsed / 86400 );
368
+ $weeks = round($time_elapsed / 604800);
369
+ $months = round($time_elapsed / 2600640 );
370
+ $years = round($time_elapsed / 31207680 );
371
+ // Seconds
372
+ if($seconds <= 60){
373
+ return "0 min";
374
+ }
375
+ //Minutes
376
+ else if($minutes <=60){
377
+ if($minutes==1){
378
+ return "1 min";
379
+ }
380
+ else{
381
+ return "$minutes min";
382
+ }
383
+ }
384
+ //Hours
385
+ else if($hours <=24){
386
+ if($hours==1){
387
+ return "1 hr";
388
+ }else{
389
+ return "$hours hrs";
390
+ }
391
+ }
392
+ //Days
393
+ else if($days <= 7){
394
+ if($days==1){
395
+ return "1 day";
396
+ }else{
397
+ return "$days days";
398
+ }
399
+ }
400
+ //Weeks
401
+ else if($weeks <= 4.3){
402
+ if($weeks==1){
403
+ return "1 week";
404
+ }else{
405
+ return "$weeks weeks";
406
+ }
407
+ }
408
+ //Months
409
+ else if($months <=12){
410
+ if($months==1){
411
+ return "1 month";
412
+ }else{
413
+ return "$months months";
414
+ }
415
+ }
416
+ //Years
417
+ else{
418
+ if($years==1){
419
+ return "1 year";
420
+ }else{
421
+ return "$years years";
422
+ }
423
+ }
424
+ }
425
+
426
+ add_filter("wplc_filter_list_chats_actions","wplc_filter_control_list_chats_actions",15,3);
427
+ /**
428
+ * Only allow agents access
429
+ * @return void
430
+ * @since 6.0.00
431
+ * @version 6.0.04 Updated to ensure those with the correct access can access this function
432
+ * @author Nick Duncan <nick@codecabin.co.za>
433
+ */
434
+ function wplc_filter_control_list_chats_actions($actions,$result,$post_data) {
435
+ $aid = apply_filters("wplc_filter_aid_in_action","");
436
+
437
+ $wplc_current_user = get_current_user_id();
438
+
439
+ if( get_user_meta( $wplc_current_user, 'wplc_ma_agent', true ) ){
440
+
441
+ if (intval($result->status) == 2) {
442
+ $url_params = "&action=ac&cid=".$result->id.$aid;
443
+ $url = admin_url( 'admin.php?page=wplivechat-menu'.$url_params);
444
+ $actions = "<a href=\"".$url."\" class=\"wplc_open_chat button button-primary\" window-title=\"WP_Live_Chat_".$result->id."\">". apply_filters("wplc_accept_chat_button_filter", __("Accept Chat","wplivechat"), $result->id)."</a>";
445
+ }
446
+ else if (intval($result->status) == 3 || intval($result->status) == 10) {
447
+ $url_params = "&action=ac&cid=".$result->id.$aid;
448
+ $url = admin_url( 'admin.php?page=wplivechat-menu'.$url_params);
449
+ if ( ! function_exists("wplc_pro_version_control") || !isset( $result->agent_id ) || $wplc_current_user == $result->agent_id ) { //Added backwards compat checks
450
+ $actions = "<a href=\"".$url."\" class=\"wplc_open_chat button button-primary\" window-title=\"WP_Live_Chat_".$result->id."\">".__("Open Chat","wplivechat")."</a>";
451
+ } else {
452
+ $actions = "<span class=\"wplc-chat-in-progress\">" . __( "In progress with another agent", "wplivechat" ) . "</span>";
453
+ }
454
+ }
455
+ else if (intval($result->status) == 2) {
456
+ $url_params = "&action=ac&cid=".$result->id.$aid;
457
+ $url = admin_url( 'admin.php?page=wplivechat-menu'.$url_params);
458
+ $actions = "<a href=\"".$url."\" class=\"wplc_open_chat button button-primary\" window-title=\"WP_Live_Chat_".$result->id."\">".__("Accept Chat","wplivechat")."</a>";
459
+ }
460
+ else if (intval($result->status) == 12 ) {
461
+ $url_params = "&action=ac&cid=".$result->id.$aid;
462
+ $url = admin_url( 'admin.php?page=wplivechat-menu'.$url_params);
463
+ $actions = "<a href=\"".$url."\" class=\"wplc_open_chat button button-primary\" window-title=\"WP_Live_Chat_".$result->id."\">".__("Open Chat","wplivechat")."</a>";
464
+ }
465
+ } else {
466
+ $actions = "<a href='#'>".__( 'Only chat agents can accept chats', 'wplivechat' )."</a>";
467
+ }
468
+ return $actions;
469
+ }
470
+
471
+ function wplc_list_chats_new($post_data) {
472
+
473
+ global $wpdb;
474
+ global $wplc_tblname_chats;
475
+
476
+ $data_array = array();
477
+ $id_list = array();
478
+
479
+ $status = 3;
480
+ $wplc_c = 0;
481
+
482
+ // Retrieve count of users in same department or in no department
483
+ $user_id = get_current_user_id();
484
+ $user_department = get_user_meta($user_id ,"wplc_user_department", true);
485
+
486
+ $wplc_chat_count_sql = "SELECT COUNT(*) FROM $wplc_tblname_chats WHERE status IN (3,2,10,5,8,9,12)";
487
+ if($user_department > 0)
488
+ $wplc_chat_count_sql .= " AND (department_id=0 OR department_id=$user_department)";
489
+ $data_array['visitor_count'] = $wpdb->get_var($wplc_chat_count_sql);
490
+
491
+ // Retrieve data
492
+ $wplc_chat_sql = "SELECT * FROM $wplc_tblname_chats WHERE (`status` = 3 OR `status` = 2 OR `status` = 10 OR `status` = 5 or `status` = 8 or `status` = 9 or `status` = 12)";
493
+ $wplc_chat_sql .= apply_filters("wplc_alter_chat_list_sql_before_sorting", "");
494
+
495
+ $wplc_chat_sql .= " ORDER BY `timestamp` ASC";
496
+
497
+ $results = $wpdb->get_results($wplc_chat_sql);
498
+
499
+
500
+ if($results) {
501
+
502
+
503
+ foreach ($results as $result) {
504
+ unset($trstyle);
505
+ unset($actions);
506
+
507
+
508
+
509
+
510
+ global $wplc_basic_plugin_url;
511
+ $user_data = maybe_unserialize($result->ip);
512
+ $user_ip = $user_data['ip'];
513
+ $browser = wplc_return_browser_string($user_data['user_agent']);
514
+ $browser_image = wplc_return_browser_image($browser,"16");
515
+
516
+ if($user_ip == ""){
517
+ $user_ip = __('IP Address not recorded', 'wplivechat');
518
+ } else {
519
+ $user_ip = "<a href='http://www.ip-adress.com/ip_tracer/" . $user_ip . "' title='".__('Whois for' ,'wplivechat')." ".$user_ip."' target='_BLANK'>".$user_ip."</a>";
520
+ }
521
+
522
+
523
+ $actions = apply_filters("wplc_filter_list_chats_actions","",$result,$post_data);
524
+
525
+
526
+ $other_data = maybe_unserialize($result->other);
527
+
528
+
529
+
530
+ $trstyle = "";
531
+
532
+ $id_list[intval($result->id)] = true;
533
+
534
+ $data_array[$result->id]['name'] = $result->name;
535
+ $data_array[$result->id]['email'] = $result->email;
536
+
537
+ $data_array[$result->id]['status'] = $result->status;
538
+ $data_array[$result->id]['action'] = $actions;
539
+ $data_array[$result->id]['timestamp'] = wplc_time_ago($result->timestamp);
540
+
541
+ if ((current_time('timestamp') - strtotime($result->timestamp)) < 3600) {
542
+ $data_array[$result->id]['type'] = __("New","wplivechat");
543
+ } else {
544
+ $data_array[$result->id]['type'] = __("Returning","wplivechat");
545
+ }
546
+
547
+ $data_array[$result->id]['image'] = "<img src=\"//www.gravatar.com/avatar/".md5($result->email)."?s=30&d=mm\" class='wplc-user-message-avatar' />";
548
+ $data_array[$result->id]['data']['browsing'] = $result->url;
549
+ $path = parse_url($result->url, PHP_URL_PATH);
550
+
551
+ if (strlen($path) > 20) {
552
+ $data_array[$result->id]['data']['browsing_nice_url'] = substr($path,0,20).'...';
553
+ } else {
554
+ $data_array[$result->id]['data']['browsing_nice_url'] = $path;
555
+ }
556
+
557
+ $data_array[$result->id]['data']['browser'] = "<img src='" . $wplc_basic_plugin_url . "/images/$browser_image' alt='$browser' title='$browser' /> ";
558
+ $data_array[$result->id]['data']['ip'] = $user_ip;
559
+ $data_array[$result->id]['other'] = $other_data;
560
+ }
561
+
562
+ $data_array['ids'] = $id_list;
563
+ }
564
+
565
+ return json_encode($data_array);
566
+ }
567
+
568
+
569
+
570
+ function wplc_return_user_chat_messages($cid,$wplc_settings = false,$cdata = false) {
571
+ global $wpdb;
572
+ global $wplc_tblname_msgs;
573
+
574
+ if (!$wplc_settings) {
575
+ $wplc_settings = get_option("WPLC_SETTINGS");
576
+ }
577
+
578
+ if(isset($wplc_settings['wplc_display_name']) && $wplc_settings['wplc_display_name'] == 1){ $display_name = 1; } else { $display_name = 0; }
579
+
580
+
581
+ $results = $wpdb->get_results(
582
+ "
583
+ SELECT *
584
+ FROM $wplc_tblname_msgs
585
+ WHERE `chat_sess_id` = '$cid' AND `status` = '0' AND (`originates` = '1' OR `originates` = '0')
586
+ ORDER BY `timestamp` ASC
587
+
588
+ "
589
+ );
590
+ if (!$cdata) {
591
+ $cdata = wplc_get_chat_data($cid,__LINE__);
592
+ }
593
+
594
+ $msg_hist = array();
595
+ foreach ($results as $result) {
596
+ $system_notification = false;
597
+
598
+ $id = $result->id;
599
+ $from = $result->msgfrom;
600
+
601
+
602
+ $msg = $result->msg;
603
+
604
+ //$timestamp = strtotime($result->timestamp);
605
+ //$timeshow = date("H:i",$timestamp);
606
+ //
607
+ if($result->originates == 1){
608
+ $class = "wplc-admin-message wplc-color-bg-4 wplc-color-2 wplc-color-border-4";
609
+ if(function_exists("wplc_pro_get_admin_picture")){
610
+ $src = wplc_pro_get_admin_picture();
611
+ if($src){
612
+ $image = "<img src=".$src." width='20px' id='wp-live-chat-2-img'/>";
613
+ } else {
614
+ $image = "";
615
+ }
616
+ } else {
617
+ $other = maybe_unserialize($cdata->other);
618
+ if (isset($other['aid'])) {
619
+
620
+
621
+ $user_info = get_userdata(intval($other['aid']));
622
+ /* get agent id */
623
+ $image = "<img src='//www.gravatar.com/avatar/".md5($user_info->user_email)."?s=30' class='wplc-admin-message-avatar' />";
624
+ } else {
625
+
626
+ /* get default setting in the notifications tab */
627
+ $image = "";
628
+ if(1 == 1) {
629
+
630
+ } else {
631
+ /* there's nothing Jim.. */
632
+ $image = "";
633
+ }
634
+ }
635
+
636
+ }
637
+
638
+ $from = apply_filters("wplc_filter_admin_name",$from, $cid);
639
+
640
+ }
641
+ else if (intval($result->originates) == 0) {
642
+ /*
643
+ system notifications
644
+ from version 7
645
+ */
646
+ $system_notification = true;
647
+
648
+ }
649
+ else {
650
+ $class = "wplc-user-message wplc-color-bg-1 wplc-color-2 wplc-color-border-1";
651
+
652
+ if(isset($_COOKIE['wplc_email']) && $_COOKIE['wplc_email'] != ""){ $wplc_user_gravatar = md5(strtolower(trim(sanitize_text_field($_COOKIE['wplc_email'])))); } else { $wplc_user_gravatar = ""; }
653
+
654
+ if($wplc_user_gravatar != ""){
655
+ $image = "<img src='//www.gravatar.com/avatar/$wplc_user_gravatar?s=30' class='wplc-user-message-avatar' />";
656
+ } else {
657
+ $image = "";
658
+ }
659
+ }
660
+
661
+ if (!$system_notification) {
662
+ /* this is a normal message */
663
+ // var_dump($msg);
664
+ if(function_exists('wplc_encrypt_decrypt_msg')){
665
+ $msg = wplc_encrypt_decrypt_msg($msg);
666
+ }
667
+
668
+ $msg_array = maybe_unserialize( $msg );
669
+
670
+ if( is_array( $msg_array ) ){
671
+ $msg = $msg_array['m'];
672
+ }
673
+
674
+ $msg = stripslashes($msg);
675
+
676
+ $msg = apply_filters("wplc_filter_message_control_out",$msg);
677
+
678
+ $msg = stripslashes($msg);
679
+
680
+
681
+
682
+ if($display_name){
683
+ $msg_hist[$id] = "<span class='wplc-admin-message wplc-color-bg-4 wplc-color-2 wplc-color-border-4'>$image <strong>$from </strong> $msg</span><br /><div class='wplc-clear-float-message'></div>";
684
+ } else {
685
+ $msg_hist[$id] = "<span class='wplc-admin-message wplc-color-bg-4 wplc-color-2 wplc-color-border-4'>$msg</span><div class='wplc-clear-float-message'></div>";
686
+ }
687
+ } else {
688
+ /* add the system notification to the list */
689
+ $msg_hist[$id] = "<span class='wplc_system_notification wplc-color-4'>".$msg."</span>";
690
+ }
691
+
692
+
693
+
694
+
695
+ }
696
+
697
+ return $msg_hist;
698
+
699
+
700
+ }
701
+
702
+ function wplc_return_no_answer_string($cid) {
703
+
704
+ $wplc_settings = get_option("WPLC_SETTINGS");
705
+ if (isset($wplc_settings['wplc_user_no_answer'])) {
706
+ $string = stripslashes($wplc_settings['wplc_user_no_answer']);
707
+ } else {
708
+ $string = __("No agent was able to answer your chat request. Please try again.","wplivechat");
709
+ }
710
+ $string = apply_filters("wplc_filter_no_answer_string",$string,$cid);
711
+ return "<span class='wplc_system_notification wplc-color-4'><center>".$string."</center></span>";
712
+ }
713
+ add_filter("wplc_filter_no_answer_string","wplc_filter_control_no_answer_string",10,2);
714
+
715
+ /**
716
+ * Add the "retry chat" button when an agent hasnt answered
717
+ * @param string $string Original "No Answer" string
718
+ * @param intval $cid Chat ID
719
+ * @return string
720
+ */
721
+ function wplc_filter_control_no_answer_string($string,$cid) {
722
+ $string = $string. " <br /><button class='wplc_retry_chat wplc-color-bg-1 wplc-color-2' cid='".$cid."'>".__("Request new chat","wplivechat")."</button>";
723
+ return $string;
724
+ }
725
+
726
+
727
+ function wplc_change_chat_status($id,$status,$aid = 0) {
728
+ global $wpdb;
729
+ global $wplc_tblname_chats;
730
+
731
+ if ($aid > 0) {
732
+ /* only run when accepting a chat */
733
+ $results = $wpdb->get_results("SELECT * FROM ".$wplc_tblname_chats." WHERE `id` = '".$id."' LIMIT 1");
734
+ foreach ($results as $result) {
735
+ $other = maybe_unserialize($result->other);
736
+ if (isset($other['aid']) && $other['aid'] > 0) {
737
+ /* we have recorded this already */
738
+
739
+ } else {
740
+ /* first time answering the chat! */
741
+
742
+
743
+ /* send welcome note */
744
+ /*
745
+ removed in version 7. added "chat notification events" instead, i.e. Agent has joined the chat.
746
+ $wplc_settings = get_option("WPLC_SETTINGS");
747
+ $wplc_welcome = __('Welcome. How may I help you?', 'wplivechat');
748
+ if(isset($wplc_settings['wplc_using_localization_plugin']) && $wplc_settings['wplc_using_localization_plugin'] == 1){ $wplc_using_locale = true; } else { $wplc_using_locale = false; }
749
+ if (!isset($wplc_settings['wplc_user_welcome_chat']) || $wplc_settings['wplc_user_welcome_chat'] == "") { $wplc_settings['wplc_user_welcome_chat'] = $wplc_welcome; }
750
+ $text2 = ($wplc_using_locale ? $wplc_welcome : stripslashes($wplc_settings['wplc_user_welcome_chat']));
751
+
752
+ $chat_id = sanitize_text_field($id);
753
+ $chat_msg = sanitize_text_field($text2);
754
+ $wplc_rec_msg = wplc_record_chat_msg("2",$chat_id,$chat_msg);
755
+
756
+ */
757
+
758
+
759
+ }
760
+
761
+ $other['aid'] = $aid;
762
+ }
763
+ }
764
+
765
+
766
+
767
+
768
+ if ($aid > 0) {
769
+ $wpdb->update(
770
+ $wplc_tblname_chats,
771
+ array(
772
+ 'status' => $status,
773
+ 'other' => maybe_serialize($other)
774
+ ),
775
+ array('id' => $id),
776
+ array(
777
+ '%d',
778
+ '%s'
779
+ ),
780
+ array('%d')
781
+ );
782
+ } else {
783
+ $wpdb->update(
784
+ $wplc_tblname_chats,
785
+ array(
786
+ 'status' => $status
787
+ ),
788
+ array('id' => $id),
789
+ array('%d'),
790
+ array('%d')
791
+ );
792
+ }
793
+
794
+ do_action("wplc_change_chat_status_hook", $id, $status);
795
+
796
+ return true;
797
+
798
+ }
799
+
800
+ //come back here
801
+ function wplc_return_chat_messages($cid, $transcript = false, $html = true, $wplc_settings = false, $cdata = false, $display = 'string', $only_read_message = false) {
802
+ global $wpdb;
803
+ global $wplc_tblname_msgs;
804
+
805
+
806
+ if (!$wplc_settings) {
807
+ $wplc_settings = get_option("WPLC_SETTINGS");
808
+ }
809
+
810
+ if(isset($wplc_settings['wplc_display_name']) && $wplc_settings['wplc_display_name'] == 1){ $display_name = 1; } else { $display_name = 0; }
811
+
812
+ $results = wplc_get_chat_messages($cid, $only_read_message, $wplc_settings);
813
+ if (!$results) { return; }
814
+
815
+ if (!$cdata) {
816
+ $cdata = wplc_get_chat_data($cid,__LINE__);
817
+ }
818
+ $msg_array = array();
819
+ $msg_hist = "";
820
+ $previous_time = "";
821
+ $previous_timestamp = 0;
822
+ foreach ($results as $result) {
823
+ $display_notification = false;
824
+ $system_notification = false;
825
+
826
+ $from = $result->msgfrom;
827
+ $id = $result->id;
828
+ $msg = $result->msg;
829
+ $timestamp = strtotime($result->timestamp);
830
+
831
+ $time_diff = $timestamp - $previous_timestamp;
832
+ if ($time_diff > 60) { $show_time = true; } else { $show_time = false; }
833
+ // $date = new DateTime($timestamp);
834
+
835
+ if( ( isset( $wplc_settings['wplc_show_date'] ) && $wplc_settings['wplc_show_date'] == '1' ) || ( isset( $wplc_settings['wplc_show_time'] ) && $wplc_settings['wplc_show_time'] == '1' ) ){
836
+ /**
837
+ * Only show one or the other
838
+ */
839
+ if( isset( $wplc_settings['wplc_show_date'] ) ){
840
+ $timeshow = date('l, F d Y ',$timestamp);
841
+ } else {
842
+ $timeshow = date('h:i A',$timestamp);
843
+ }
844
+ } else if( ( isset( $wplc_settings['wplc_show_date'] ) && $wplc_settings['wplc_show_date'] == '1' ) && ( isset( $wplc_settings['wplc_show_time'] ) && $wplc_settings['wplc_show_time'] == '1' ) ){
845
+ /**
846
+ * Show both
847
+ */
848
+ $timeshow = date('l, F d Y h:i A',$timestamp);
849
+ } else {
850
+
851
+ $timeshow = "";
852
+
853
+ }
854
+
855
+ if( !isset( $wplc_settings['wplc_show_date'] ) || !isset( $wplc_settings['wplc_show_time'] ) ){
856
+ /**
857
+ * Doesnt exist yet, so default to being on always
858
+ */
859
+ $timeshow = date('l, F d Y h:i A',$timestamp);
860
+ }
861
+
862
+ if (!$transcript) { if ($previous_time == $timeshow || !$show_time) { $timeshow = ""; } }
863
+ $previous_time = $timeshow;
864
+ $previous_timestamp = $timestamp;
865
+
866
+
867
+ $image = "";
868
+ if($result->originates == 1){
869
+ /* message from admin to user */
870
+
871
+ $class = "wplc-admin-message wplc-color-bg-4 wplc-color-2 wplc-color-border-4";
872
+ if(function_exists("wplc_pro_get_admin_picture")){
873
+ $src = wplc_pro_get_admin_picture();
874
+ if($src){
875
+ $image = "<img src=".$src." width='20px' id='wp-live-chat-2-img'/>";
876
+ }
877
+ } else {
878
+ if (isset($cdata->other)) {
879
+ $other = maybe_unserialize($cdata->other);
880
+ if (isset($other['aid'])) {
881
+
882
+ $user_info = get_userdata(intval($other['aid']));
883
+ /* get agent id */
884
+ $image = "<img src='//www.gravatar.com/avatar/".md5($user_info->user_email)."?s=30' class='wplc-admin-message-avatar' />";
885
+ } else {
886
+ /* get default setting in the notifications tab */
887
+ $image = "";
888
+ }
889
+ } else {
890
+ $image = "";
891
+ }
892
+
893
+ }
894
+
895
+ $from = apply_filters("wplc_filter_admin_from", $from, $cid);
896
+
897
+
898
+ } else if ($result->originates == 2){
899
+ /* message from user to admin */
900
+ $class = "wplc-user-message wplc-color-bg-1 wplc-color-2 wplc-color-border-1";
901
+
902
+ if(isset($_COOKIE['wplc_email']) && $_COOKIE['wplc_email'] != ""){ $wplc_user_gravatar = md5(strtolower(trim(sanitize_text_field($_COOKIE['wplc_email'])))); } else { $wplc_user_gravatar = ""; }
903
+
904
+ if($wplc_user_gravatar != ""){
905
+ $image = "<img src='//www.gravatar.com/avatar/$wplc_user_gravatar?s=30' class='wplc-user-message-avatar' />";
906
+ } else {
907
+ $image = "";
908
+ }
909
+
910
+ } else if ($result->originates == 0 || $result->originates == 3) {
911
+
912
+ $system_notification = true;
913
+ $cuid = get_current_user_id();
914
+ $is_agent = get_user_meta(esc_html( $cuid ), 'wplc_ma_agent', true);
915
+ if ($is_agent && $result->originates == 3 ) {
916
+ /* this user is an agent and the notification is meant for an agent, therefore display it */
917
+ $display_notification = true;
918
+
919
+ /* check if this came from the front end.. if it did, then dont display it (if this code is removed, all notifications will be displayed to agents who are logged in and chatting with themselves during testing, which may cause confusion) */
920
+ if (isset($_POST) && isset($_POST['action']) && sanitize_text_field( $_POST['action'] ) == "wplc_call_to_server_visitor") {
921
+ $display_notification = false;
922
+ }
923
+ }
924
+ else if (!$is_agent && $result->originates == 0) {
925
+ /* this user is a not an agent and the notification is meant for a users, therefore display it */
926
+ $display_notification = true;
927
+ } else {
928
+ /* this notification is not intended for this user */
929
+
930
+ $display_notification = false;
931
+ }
932
+ }
933
+
934
+ if (!$system_notification) {
935
+
936
+ if(function_exists('wplc_encrypt_decrypt_msg')){
937
+ $msg = wplc_encrypt_decrypt_msg($msg);
938
+ }
939
+
940
+ $msg = apply_filters("wplc_filter_message_control_out",$msg);
941
+
942
+ if( is_serialized( $msg ) ){
943
+ $msg_array = maybe_unserialize( $msg );
944
+
945
+ if( is_array( $msg_array ) ){
946
+ $msg = $msg_array['m'];
947
+ } else {
948
+ $msg = $msg;
949
+ }
950
+
951
+ $msg = stripslashes($msg);
952
+ }
953
+
954
+
955
+ if($display_name){
956
+ if ($html) {
957
+ $str = "<span class='chat_time wplc-color-4'>$timeshow</span> <span class='$class'>$image <strong>$from </strong> $msg</span><br /><div class='wplc-clear-float-message'></div>";
958
+ $msg_array[$id] = $str;
959
+ $msg_hist .= $str;
960
+
961
+ } else {
962
+ $str = "($timeshow) $from: $msg\r\n";
963
+ $msg_array[$id] = $str;
964
+ $msg_hist .= $str;
965
+ }
966
+ } else {
967
+ if ($html) {
968
+ $str = "<span class='chat_time wplc-color-4'>$timeshow</span> <span class='$class'>$msg</span><br /><div class='wplc-clear-float-message'></div>";
969
+ $msg_array[$id] = $str;
970
+ $msg_hist .= $str;
971
+ } else {
972
+ $str = "($timeshow) $msg\r\n";
973
+ $msg_array[$id] = $str;
974
+ $msg_hist .= $str;
975
+ }
976
+
977
+ }
978
+ } else {
979
+ /* this is a system notification */
980
+ if ($display_notification) {
981
+ $str = "<span class='chat_time wplc-color-4'>$timeshow</span> <span class='wplc_system_notification wplc-color-4'>".$msg."</span>";
982
+ $msg_array[$id] = $str;
983
+ $msg_hist .= $str;
984
+ }
985
+ }
986
+
987
+ }
988
+
989
+ if ($display == 'string') { return $msg_hist; } else { return $msg_array; }
990
+
991
+
992
+ }
993
+
994
+
995
+ function wplc_mark_as_read_user_chat_messages($cid) {
996
+ global $wpdb;
997
+ global $wplc_tblname_msgs;
998
+
999
+ $results = $wpdb->get_results(
1000
+ "
1001
+ SELECT *
1002
+ FROM $wplc_tblname_msgs
1003
+ WHERE `chat_sess_id` = '$cid' AND `status` = '0' AND (`originates` = 1 OR `originates` = 0)
1004
+ ORDER BY `timestamp` DESC
1005
+
1006
+ "
1007
+ );
1008
+
1009
+
1010
+ foreach ($results as $result) {
1011
+ $id = $result->id;
1012
+
1013
+ $wpdb->update(
1014
+ $wplc_tblname_msgs,
1015
+ array(
1016
+ 'status' => 1
1017
+ ),
1018
+ array('id' => $id),
1019
+ array('%d'),
1020
+ array('%d')
1021
+ );
1022
+
1023
+
1024
+ }
1025
+ return "ok";
1026
+
1027
+
1028
+ }
1029
+ //here
1030
+ function wplc_return_admin_chat_messages($cid) {
1031
+ $wplc_current_user = get_current_user_id();
1032
+ if( get_user_meta( $wplc_current_user, 'wplc_ma_agent', true ) ){
1033
+ /*
1034
+ -- modified in in 6.0.04 --
1035
+
1036
+ if(current_user_can('wplc_ma_agent') || current_user_can('manage_options')){
1037
+ */
1038
+ $wplc_settings = get_option("WPLC_SETTINGS");
1039
+
1040
+ if(isset($wplc_settings['wplc_display_name']) && $wplc_settings['wplc_display_name'] == 1){ $display_name = 1; } else { $display_name = 0; }
1041
+
1042
+ global $wpdb;
1043
+ global $wplc_tblname_msgs;
1044
+
1045
+ /**
1046
+ * `Originates` - codes:
1047
+ * 0 - System notification to be delivered to users
1048
+ * 1 - Message from an agent
1049
+ * 2 - Message from a user
1050
+ * 3 - System notification to be delivered to agents
1051
+ *
1052
+ */
1053
+ $results = $wpdb->get_results(
1054
+ "
1055
+ SELECT *
1056
+ FROM $wplc_tblname_msgs
1057
+ WHERE `chat_sess_id` = '$cid' AND `status` = '0' AND (`originates` = '2' OR `originates` = '3')
1058
+ ORDER BY `timestamp` ASC
1059
+
1060
+ "
1061
+ );
1062
+
1063
+ $current_user = get_user_by( 'id', $wplc_current_user );
1064
+
1065
+ if( $current_user ){
1066
+ $wplc_user_gravatar = md5( trim($current_user->data->user_email) );
1067
+ } else {
1068
+ $wplc_user_gravatar = "";
1069
+ }
1070
+
1071
+ $msg_hist = "";
1072
+ foreach ($results as $result) {
1073
+
1074
+
1075
+ $system_notification = false;
1076
+ $id = $result->id;
1077
+ $from = $result->msgfrom;
1078
+ wplc_mark_as_read_admin_chat_messages($id);
1079
+ $msg = $result->msg;
1080
+ //$timestamp = strtotime($result->timestamp);
1081
+ //$timeshow = date("H:i",$timestamp);
1082
+ $image = "";
1083
+ if($result->originates == 2) {
1084
+ $class = "wplc-admin-message wplc-color-bg-4 wplc-color-2 wplc-color-border-4";
1085
+ if(function_exists("wplc_pro_get_admin_picture")){
1086
+ $src = wplc_pro_get_admin_picture();
1087
+ if($src){
1088
+ $image = "<img src=".$src." width='20px' id='wp-live-chat-2-img'/>";
1089
+ }
1090
+ } else {
1091
+ /* HERE */
1092
+ $image = "<img src='//www.gravatar.com/avatar/$wplc_user_gravatar?s=20' class='wplc-admin-message-avatar' />";
1093
+ }
1094
+
1095
+ $from = apply_filters("wplc_filter_admin_from", $from, $cid);
1096
+
1097
+ } else if (intval($result->originates) == 3) {
1098
+ $system_notification = true;
1099
+ }
1100
+ if (!$system_notification) {
1101
+
1102
+ if(function_exists('wplc_encrypt_decrypt_msg')){
1103
+ $msg = wplc_encrypt_decrypt_msg($msg);
1104
+ }
1105
+
1106
+ $msg_array = maybe_unserialize( $msg );
1107
+
1108
+ if( is_array( $msg_array ) ){
1109
+ $msg = $msg_array['m'];
1110
+ }
1111
+
1112
+ $msg = stripslashes($msg);
1113
+
1114
+ $msg = apply_filters("wplc_filter_message_control_out",$msg);
1115
+
1116
+ if($display_name){
1117
+ $msg_hist .= "<span class='wplc-user-message wplc-color-bg-1 wplc-color-2 wplc-color-border-1'>".$image."<strong>$from </strong> $msg</span><br /><div class='wplc-clear-float-message'></div>";
1118
+ } else {
1119
+ $msg_hist .= "<span class='wplc-user-message wplc-color-bg-1 wplc-color-2 wplc-color-border-1'>$msg</span><br /><div class='wplc-clear-float-message'></div>";
1120
+ }
1121
+ } else {
1122
+ $msg_hist .= "<span class='wplc_system_notification wplc-color-4'>".$msg."</span>";
1123
+ }
1124
+ }
1125
+
1126
+
1127
+
1128
+
1129
+ return $msg_hist;
1130
+ } else {
1131
+ return "security issue";
1132
+ }
1133
+
1134
+
1135
+ }
1136
+ function wplc_mark_as_read_admin_chat_messages($mid) {
1137
+ $wplc_current_user = get_current_user_id();
1138
+
1139
+ if( get_user_meta( $wplc_current_user, 'wplc_ma_agent', true ) ){
1140
+ /*
1141
+ -- modified in in 6.0.04 --
1142
+
1143
+ if(current_user_can('wplc_ma_agent') || current_user_can('manage_options')){
1144
+ */
1145
+
1146
+ global $wpdb;
1147
+ global $wplc_tblname_msgs;
1148
+
1149
+ $wpdb->update(
1150
+ $wplc_tblname_msgs,
1151
+ array(
1152
+ 'status' => 1
1153
+ ),
1154
+ array('id' => $mid),
1155
+ array('%d'),
1156
+ array('%d')
1157
+ );
1158
+
1159
+ } else { return "security issue"; }
1160
+
1161
+
1162
+ }
1163
+
1164
+
1165
+
1166
+
1167
+
1168
+ function wplc_return_chat_session_variable($cid) {
1169
+ global $wpdb;
1170
+ global $wplc_tblname_chats;
1171
+ $results = $wpdb->get_results(
1172
+ "
1173
+ SELECT *
1174
+ FROM $wplc_tblname_chats
1175
+ WHERE `id` = '$cid'
1176
+ "
1177
+ );
1178
+ foreach ($results as $result) {
1179
+ return $result->session;
1180
+ }
1181
+ }
1182
+
1183
+
1184
+
1185
+ function wplc_return_chat_status($cid) {
1186
+ global $wpdb;
1187
+ global $wplc_tblname_chats;
1188
+ $results = $wpdb->get_results(
1189
+ "
1190
+ SELECT *
1191
+ FROM $wplc_tblname_chats
1192
+ WHERE `id` = '$cid'
1193
+ "
1194
+ );
1195
+ foreach ($results as $result) {
1196
+ return $result->status;
1197
+ }
1198
+ }
1199
+
1200
+
1201
+ function wplc_return_status($status) {
1202
+ if ($status == 1) {
1203
+ return __("complete","wplivechat");
1204
+ }
1205
+ if ($status == 2) {
1206
+ return __("pending", "wplivechat");
1207
+ }
1208
+ if ($status == 3) {
1209
+ return __("active", "wplivechat");
1210
+ }
1211
+ if ($status == 4) {
1212
+ return __("deleted", "wplivechat");
1213
+ }
1214
+ if ($status == 5) {
1215
+ return __("browsing", "wplivechat");
1216
+ }
1217
+ if ($status == 6) {
1218
+ return __("requesting chat", "wplivechat");
1219
+ }
1220
+ if($status == 8){
1221
+ return __("Chat Ended - User still browsing", "wplivechat");
1222
+ }
1223
+ if($status == 9){
1224
+ return __("User is browsing but doesn't want to chat", "wplivechat");
1225
+ }
1226
+
1227
+ }
1228
+
1229
+ add_filter("wplc_filter_mail_body","wplc_filter_control_mail_body",10,2);
1230
+ function wplc_filter_control_mail_body($header,$msg) {
1231
+ $body = '
1232
+ <!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">
1233
+ <html>
1234
+
1235
+ <body>
1236
+
1237
+
1238
+
1239
+ <table id="" border="0" cellpadding="0" cellspacing="0" width="100%" style="background-color: #ec822c;">
1240
+ <tbody>
1241
+ <tr>
1242
+ <td width="100%" style="padding: 30px 20px 100px 20px;">
1243
+ <table align="center" cellpadding="0" cellspacing="0" class="" width="100%" style="border-collapse: separate; max-width:600px;">
1244
+ <tbody>
1245
+ <tr>
1246
+ <td style="text-align: center; padding-bottom: 20px;">
1247
+
1248
+ <p>'.$header.'</p>
1249
+ </td>
1250
+ </tr>
1251
+ </tbody>
1252
+ </table>
1253
+
1254
+ <table id="" align="center" cellpadding="0" cellspacing="0" class="" width="100%" style="border-collapse: separate; max-width: 600px; font-family: Georgia, serif; font-size: 12px; color: rgb(51, 62, 72); border: 0px solid rgb(255, 255, 255); border-radius: 10px; background-color: rgb(255, 255, 255);">
1255
+ <tbody>
1256
+ <tr>
1257
+ <td class="sortable-list ui-sortable" style="padding:20px; text-align:center;">
1258
+ '.nl2br($msg).'
1259
+ </td>
1260
+ </tr>
1261
+ </tbody>
1262
+ </table>
1263
+
1264
+ <table align="center" cellpadding="0" cellspacing="0" class="" width="100%" style="border-collapse: separate; max-width:100%;">
1265
+ <tbody>
1266
+ <tr>
1267
+ <td style="padding:20px;">
1268
+ <table border="0" cellpadding="0" cellspacing="0" class="" width="100%">
1269
+ <tbody>
1270
+ <tr>
1271
+ <td id="" align="center">
1272
+ <p>'.get_option('siteurl').'</p>
1273
+ </td>
1274
+ </tr>
1275
+ </tbody>
1276
+ </table>
1277
+ </td>
1278
+ </tr>
1279
+ </tbody>
1280
+ </table>
1281
+ </td>
1282
+ </tr>
1283
+ </tbody>
1284
+ </table>
1285
+
1286
+
1287
+
1288
+ </div>
1289
+ </body>
1290
+ </html>
1291
+ ';
1292
+ return $body;
1293
+ }
1294
+
1295
+
1296
+ /**
1297
+ * Send an email to the admin based on the settings in the settings page
1298
+ * @param string $reply_to email of the user
1299
+ * @param string $reply_to_name name of the user
1300
+ * @param string $subject subject
1301
+ * @param string $msg message being emailed
1302
+ * @return void
1303
+ * @since 5.1.00
1304
+ */
1305
+ function wplcmail($reply_to,$reply_to_name,$subject,$msg) {
1306
+
1307
+ $wplc_pro_settings = get_option("WPLC_SETTINGS");
1308
+ if(isset($wplc_pro_settings['wplc_pro_chat_email_address'])){
1309
+ $email_address = $wplc_pro_settings['wplc_pro_chat_email_address'];
1310
+ }else{
1311
+ $email_address = get_option('admin_email');
1312
+ }
1313
+
1314
+ $email_address = explode(',', $email_address);
1315
+
1316
+ if(get_option("wplc_mail_type") == "wp_mail" || !get_option('wplc_mail_type')){
1317
+ $headers[] = 'Content-type: text/html';
1318
+ $headers[] = 'Reply-To: '.$reply_to_name.'<'.$reply_to.'>';
1319
+ if($email_address){
1320
+ foreach($email_address as $email){
1321
+ /* Send offline message to each email address */
1322
+ $overbody = apply_filters("wplc_filter_mail_body",$subject,$msg);
1323
+ if (!wp_mail($email, $subject, $overbody, $headers)) {
1324
+ $handle = fopen("wp_livechat_error_log.txt", 'a');
1325
+ $error = date("Y-m-d H:i:s") . " WP-Mail Failed to send \n";
1326
+ @fwrite($handle, $error);
1327
+ }
1328
+ }
1329
+ }
1330
+ // $to = $wplc_pro_settings['wplc_pro_chat_email_address'];
1331
+ return;
1332
+ } else {
1333
+
1334
+
1335
+
1336
+ //require 'phpmailer/PHPMailerAutoload.php';
1337
+ $wplc_pro_settings = get_option("WPLC_PRO_SETTINGS");
1338
+ $host = get_option('wplc_mail_host');
1339
+ $port = get_option('wplc_mail_port');
1340
+ $username = get_option("wplc_mail_username");
1341
+ $password = get_option("wplc_mail_password");
1342
+ if($host && $port && $username && $password){
1343
+ //Create a new PHPMailer instance
1344
+
1345
+ global $phpmailer;
1346
+
1347
+ // (Re)create it, if it's gone missing
1348
+ if ( ! ( $phpmailer instanceof PHPMailer ) ) {
1349
+ require_once ABSPATH . WPINC . '/class-phpmailer.php';
1350
+ require_once ABSPATH . WPINC . '/class-smtp.php';
1351
+ $mail = new PHPMailer( true );
1352
+ }
1353
+
1354
+
1355
+
1356
+ //$mail = new PHPMailer();
1357
+
1358
+
1359
+ $mail->isSMTP();
1360
+ //Enable SMTP debugging
1361
+ // 0 = off (for production use)
1362
+ // 1 = client messages
1363
+ // 2 = client and server messages
1364
+ $mail->SMTPDebug = 0;
1365
+ //Ask for HTML-friendly debug output
1366
+ $mail->Debugoutput = 'html';
1367
+ //Set the hostname of the mail server
1368
+ $mail->Host = $host;
1369
+ //Set the SMTP port number - likely to be 25, 26, 465 or 587
1370
+ $mail->Port = $port;
1371
+ //Set the encryption system to use - ssl (deprecated) or tls
1372
+ if($port == "587"){
1373
+ $mail->SMTPSecure = 'tls';
1374
+ } else if($port == "465"){
1375
+ $mail->SMTPSecure = 'ssl';
1376
+ }
1377
+
1378
+ // Empty out the values that may be set
1379
+ $mail->ClearAllRecipients();
1380
+ $mail->ClearAttachments();
1381
+ $mail->ClearCustomHeaders();
1382
+ $mail->ClearReplyTos();
1383
+
1384
+
1385
+ //Whether to use SMTP authentication
1386
+ $mail->SMTPAuth = true;
1387
+ //Username to use for SMTP authentication
1388
+ $mail->Username = $username;
1389
+ //Password to use for SMTP authentication
1390
+ $mail->Password = $password;
1391
+ //Set who the message is to be sent from
1392
+ $mail->setFrom($reply_to, $reply_to_name);
1393
+ //Set who the message is to be sent to
1394
+ if($email_address){
1395
+ foreach($email_address as $email){
1396
+ $mail->addAddress($email);
1397
+ }
1398
+ }
1399
+ //Set the subject line
1400
+ $mail->Subject = $subject;
1401
+ //Read an HTML message body from an external file, convert referenced images to embedded,
1402
+ //convert HTML into a basic plain-text alternative body
1403
+ $body = apply_filters("wplc_filter_mail_body",$subject,$msg);
1404
+ $mail->msgHTML($body);
1405
+ //Replace the plain text body with one created manually
1406
+ $mail->AltBody = $msg;
1407
+
1408
+
1409
+ //send the message, check for errors
1410
+ if (!$mail->send()) {
1411
+ $handle = fopen("wp_livechat_error_log.txt", 'a');
1412
+ $error = date("Y-m-d H:i:s")." ".$mail->ErrorInfo." \n";
1413
+ @fwrite($handle, $error);
1414
+ }
1415
+ return;
1416
+ }
1417
+ }
1418
+ }
1419
+ /**
1420
+ * Sends offline messages to the admin (normally via ajax)
1421
+ * @param string $name Name of the user
1422
+ * @param string $email Email of the user
1423
+ * @param string $msg The message being sent to the admin
1424
+ * @param int $cid Chat ID
1425
+ * @return void
1426
+ */
1427
+ function wplc_send_offline_msg($name,$email,$msg,$cid) {
1428
+ $subject = apply_filters("wplc_offline_message_subject_filter", __("WP Live Chat Support - Offline Message from ", "wplivechat") ) . "$name";
1429
+ $msg = __("Name", "wplivechat").": $name \n".
1430
+ __("Email", "wplivechat").": $email\n".
1431
+ __("Message", "wplivechat").": $msg\n\n".
1432
+ __("Via WP Live Chat Support", "wplivechat");
1433
+ wplcmail($email,$name, $subject, $msg);
1434
+ return;
1435
+ }
1436
+
1437
+
1438
+ /**
1439
+ * Saves offline messages to the database
1440
+ * @param string $name User name
1441
+ * @param string $email User email
1442
+ * @param string $message Message being saved
1443
+ * @return Void
1444
+ * @since 5.1.00
1445
+ */
1446
+ function wplc_store_offline_message($name, $email, $message){
1447
+ global $wpdb;
1448
+ global $wplc_tblname_offline_msgs;
1449
+
1450
+ $wplc_settings = get_option('WPLC_SETTINGS');
1451
+
1452
+ if(isset($wplc_settings['wplc_record_ip_address']) && $wplc_settings['wplc_record_ip_address'] == 1){
1453
+ if(isset($_SERVER['HTTP_X_FORWARDED_FOR']) && $_SERVER['HTTP_X_FORWARDED_FOR'] != '') {
1454
+ $ip_address = sanitize_text_field($_SERVER['HTTP_X_FORWARDED_FOR']);
1455
+ } else {
1456
+ $ip_address = sanitize_text_field($_SERVER['REMOTE_ADDR']);
1457
+ }
1458
+ $offline_ip_address = $ip_address;
1459
+ } else {
1460
+ $offline_ip_address = "";
1461
+ }
1462
+
1463
+
1464
+ $ins_array = array(
1465
+ 'timestamp' => current_time('mysql'),
1466
+ 'name' => sanitize_text_field($name),
1467
+ 'email' => sanitize_email($email),
1468
+ 'message' => implode( "\n", array_map( 'sanitize_text_field', explode( "\n", $message ) ) ),
1469
+ 'ip' => sanitize_text_field($offline_ip_address),
1470
+ 'user_agent' => sanitize_text_field($_SERVER['HTTP_USER_AGENT'])
1471
+ );
1472
+
1473
+ $rows_affected = $wpdb->insert( $wplc_tblname_offline_msgs, $ins_array );
1474
+ return;
1475
+ }
1476
+ /**
1477
+ * Send what we have found as a system notification
1478
+ */
1479
+ function wplc_send_welcome($cid,$wplc_settings) {
1480
+
1481
+ if (!isset($wplc_settings['wplc_welcome_msg'])) { $wplc_settings['wplc_welcome_msg'] = __("Please standby for an agent. While you wait for the agent you may type your message.","wplivechat"); }
1482
+ $mdata = array(
1483
+ 'msg' => $wplc_settings['wplc_welcome_msg']
1484
+ );
1485
+ wplc_record_chat_notification('await_agent',$cid,$mdata);
1486
+ return;
1487
+
1488
+ }
1489
+
1490
+
1491
+ function wplc_user_initiate_chat($name,$email,$cid = null,$session) {
1492
+
1493
+ global $wpdb;
1494
+ global $wplc_tblname_chats;
1495
+
1496
+
1497
+ $wplc_settings = get_option('WPLC_SETTINGS');
1498
+
1499
+ if(isset($wplc_settings['wplc_record_ip_address']) && $wplc_settings['wplc_record_ip_address'] == 1){
1500
+ if(isset($_SERVER['HTTP_X_FORWARDED_FOR']) && $_SERVER['HTTP_X_FORWARDED_FOR'] != '') {
1501
+ $ip_address = sanitize_text_field($_SERVER['HTTP_X_FORWARDED_FOR']);
1502
+ } else {
1503
+ $ip_address = sanitize_text_field($_SERVER['REMOTE_ADDR']);
1504
+ }
1505
+ $user_data = array(
1506
+ 'ip' => $ip_address,
1507
+ 'user_agent' => sanitize_text_field($_SERVER['HTTP_USER_AGENT'])
1508
+ );
1509
+ $wplc_ce_ip = $ip_address;
1510
+ } else {
1511
+ $user_data = array(
1512
+ 'ip' => "",
1513
+ 'user_agent' => sanitize_text_field($_SERVER['HTTP_USER_AGENT'])
1514
+ );
1515
+ $wplc_ce_ip = null;
1516
+ }
1517
+
1518
+ if(function_exists('wplc_ce_activate')){
1519
+ /* Log the chat for statistical purposes as well */
1520
+ if(function_exists('wplc_ce_record_initial_chat')){
1521
+ wplc_ce_record_initial_chat($name, $email, $cid, $wplc_ce_ip, sanitize_text_field($_SERVER['HTTP_REFERER']));
1522
+ }
1523
+ }
1524
+
1525
+ if ($cid != null) {
1526
+ /* change from a visitor to a chat */
1527
+
1528
+ /**
1529
+ * This helps us identify if this user needs to be answered. The user can start typing so long but an agent still needs to answer the chat
1530
+ * @var serialized array
1531
+ */
1532
+ $chat_data = wplc_get_chat_data($cid,__LINE__);
1533
+
1534
+ if (isset($chat_data->other)) {
1535
+ $other_data = maybe_unserialize( $chat_data->other );
1536
+ $other_data['unanswered'] = true;
1537
+
1538
+ $other_data = apply_filters("wplc_start_chat_hook_other_data_hook", $other_data);
1539
+ if (!isset($other_data['welcome'])) {
1540
+ wplc_send_welcome($cid,$wplc_settings);
1541
+ $other_data['welcome'] = true;
1542
+ }
1543
+
1544
+ } else {
1545
+ wplc_send_welcome($cid,$wplc_settings);
1546
+ $other_data = array();
1547
+ $other_data['welcome'] = true;
1548
+
1549
+ }
1550
+
1551
+
1552
+ $wpdb->update(
1553
+ $wplc_tblname_chats,
1554
+ array(
1555
+ 'status' => 2,
1556
+ 'timestamp' => current_time('mysql'),
1557
+ 'name' => $name,
1558
+ 'email' => $email,
1559
+ 'session' => $session,
1560
+ 'ip' => maybe_serialize($user_data),
1561
+ 'url' => sanitize_text_field($_SERVER['HTTP_REFERER']),
1562
+ 'last_active_timestamp' => current_time('mysql'),
1563
+ 'other' => maybe_serialize($other_data)
1564
+ ),
1565
+ array('id' => $cid),
1566
+ array(
1567
+ '%d',
1568
+ '%s',
1569
+ '%s',
1570
+ '%s',
1571
+ '%s',
1572
+ '%s',
1573
+ '%s',
1574
+ '%s',
1575
+ '%s'
1576
+ ),
1577
+ array('%d')
1578
+ );
1579
+ do_action("wplc_hook_initiate_chat",array("cid" => $cid, "name" => $name, "email" => $email));
1580
+
1581
+ do_action("wplc_start_chat_hook_after_data_insert", $cid);
1582
+ return $cid;
1583
+ }
1584
+ else {
1585
+ $other_data = array();
1586
+ $other_data['unanswered'] = true;
1587
+
1588
+ $other_data = apply_filters("wplc_start_chat_hook_other_data_hook", $other_data);
1589
+
1590
+ $wpdb->insert(
1591
+ $wplc_tblname_chats,
1592
+ array(
1593
+ 'status' => 2,
1594
+ 'timestamp' => current_time('mysql'),
1595
+ 'name' => $name,
1596
+ 'email' => $email,
1597
+ 'session' => $session,
1598
+ 'ip' => maybe_serialize($user_data),
1599
+ 'url' => sanitize_text_field($_SERVER['HTTP_REFERER']),
1600
+ 'last_active_timestamp' => current_time('mysql'),
1601
+ 'other' => maybe_serialize($other_data)
1602
+ ),
1603
+ array(
1604
+ '%s',
1605
+ '%s',
1606
+ '%s',
1607
+ '%s',
1608
+ '%s',
1609
+ '%s',
1610
+ '%s',
1611
+ '%s',
1612
+ '%s'
1613
+ )
1614
+ );
1615
+
1616
+
1617
+ $lastid = $wpdb->insert_id;
1618
+
1619
+
1620
+
1621
+
1622
+ /* Nick: moved from top of function to bottom of function to try speed up the process of accepting the chart - version 7 */
1623
+ if (function_exists("wplc_list_chats_pro")) { /* check if functions-pro is around */
1624
+ wplc_pro_notify_via_email();
1625
+ }
1626
+
1627
+ do_action("wplc_start_chat_hook_after_data_insert", $lastid);
1628
+ return $lastid;
1629
+ }
1630
+
1631
+ }
1632
+
1633
+
1634
+
1635
+ function wplc_get_msg() {
1636
+ return "<a href=\"javascript:void(0);\" class=\"wplc_second_chat_request button button-primary\" style='cursor:not-allowed' title=\"".__("Get Pro Add-on to accept more chats","wplivechat")."\" target=\"_BLANK\">".__("Accept Chat","wplivechat")."</a>";
1637
+ }
1638
+ function wplc_update_chat_statuses() {
1639
+
1640
+ global $wpdb;
1641
+ global $wplc_tblname_chats;
1642
+ $results = $wpdb->get_results(
1643
+ "
1644
+ SELECT *
1645
+ FROM $wplc_tblname_chats
1646
+ WHERE `status` = '2' OR `status` = '3' OR `status` = '5' or `status` = '8' or `status` = '9' or `status` = '10' or `status` = 12
1647
+ "
1648
+ );
1649
+ foreach ($results as $result) {
1650
+ $id = $result->id;
1651
+ $timestamp = strtotime($result->last_active_timestamp);
1652
+ $datenow = current_time('timestamp');
1653
+ $difference = $datenow - $timestamp;
1654
+
1655
+
1656
+
1657
+
1658
+ if (intval($result->status) == 2) {
1659
+ if ($difference >= 60) { // 30 seconds max
1660
+ wplc_change_chat_status($id,12);
1661
+ }
1662
+ }
1663
+ else if (intval($result->status) == 12) {
1664
+ if ($difference >= 120) { // 120 seconds max
1665
+ wplc_change_chat_status($id,0);
1666
+ }
1667
+ }
1668
+ else if (intval($result->status) == 3) {
1669
+ if ($difference >= 300) { // 5 minutes
1670
+ wplc_change_chat_status($id,1);
1671
+ }
1672
+ }
1673
+ else if (intval($result->status) == 5) {
1674
+ if ($difference >= 120) { // 2 minute timeout
1675
+ wplc_change_chat_status($id,7); // 7 - timedout
1676
+ }
1677
+ } else if(intval($result->status) == 8){ // chat is complete but user is still browsing
1678
+ if ($difference >= 45) { // 30 seconds
1679
+ wplc_change_chat_status($id,1); // 1 - chat is now complete
1680
+ }
1681
+ } else if(intval($result->status) == 9 || $result->status == 10){
1682
+ if ($difference >= 120) { // 120 seconds
1683
+ wplc_change_chat_status($id,7); // 7 - timedout
1684
+ }
1685
+ }
1686
+ }
1687
+ }
1688
+ function wplc_check_pending_chats(){
1689
+ global $wpdb;
1690
+ global $wplc_tblname_chats;
1691
+ $sql = "SELECT * FROM `$wplc_tblname_chats` WHERE `status` = 2";
1692
+ $wpdb->query($sql);
1693
+ $results = $wpdb->get_results($sql);
1694
+ if($results){
1695
+ foreach ($results as $result) {
1696
+ $other = maybe_unserialize($result->other);
1697
+ if (isset($other['unanswered'])) {
1698
+ return true;
1699
+ }
1700
+ }
1701
+
1702
+ }
1703
+ return false;
1704
+ }
1705
+ function wplc_get_active_and_pending_chats(){
1706
+ global $wpdb;
1707
+ global $wplc_tblname_chats;
1708
+ $sql = "SELECT * FROM `$wplc_tblname_chats` WHERE `status` = 2 OR `status` = 3 ORDER BY `status`";
1709
+ $results = $wpdb->get_results($sql);
1710
+ if($results){
1711
+ return $results;
1712
+ } else {
1713
+ return false;
1714
+ }
1715
+ }
1716
+ function wplc_convert_array_to_string($array){
1717
+ $string = "";
1718
+ if($array){
1719
+ foreach($array as $value){
1720
+ $string.= $value->id." ;";
1721
+ }
1722
+ } else {
1723
+ $string = false;
1724
+ }
1725
+ return $string;
1726
+ }
1727
+
1728
+ function wplc_return_browser_image($string,$size) {
1729
+ switch($string) {
1730
+
1731
+ case "Internet Explorer":
1732
+ return "internet-explorer_".$size."x".$size.".png";
1733
+ break;
1734
+ case "Mozilla Firefox":
1735
+ return "firefox_".$size."x".$size.".png";
1736
+ break;
1737
+ case "Opera":
1738
+ return "opera_".$size."x".$size.".png";
1739
+ break;
1740
+ case "Google Chrome":
1741
+ return "chrome_".$size."x".$size.".png";
1742
+ break;
1743
+ case "Safari":
1744
+ return "safari_".$size."x".$size.".png";
1745
+ break;
1746
+ case "Other browser":
1747
+ return "web_".$size."x".$size.".png";
1748
+ break;
1749
+ default:
1750
+ return "web_".$size."x".$size.".png";
1751
+ break;
1752
+ }
1753
+
1754
+
1755
+ }
1756
+ function wplc_return_browser_string($user_agent) {
1757
+ if(strpos($user_agent, 'MSIE') !== FALSE)
1758
+ return 'Internet Explorer';
1759
+ elseif(strpos($user_agent, 'Trident') !== FALSE) //For Supporting IE 11
1760
+ return 'Internet Explorer';
1761
+ elseif(strpos($user_agent, 'Edge') !== FALSE)
1762
+ return 'Internet Explorer';
1763
+ elseif(strpos($user_agent, 'Firefox') !== FALSE)
1764
+ return 'Mozilla Firefox';
1765
+ elseif(strpos($user_agent, 'Chrome') !== FALSE)
1766
+ return 'Google Chrome';
1767
+ elseif(strpos($user_agent, 'Opera Mini') !== FALSE)
1768
+ return "Opera";
1769
+ elseif(strpos($user_agent, 'Opera') !== FALSE)
1770
+ return "Opera";
1771
+ elseif(strpos($user_agent, 'Safari') !== FALSE)
1772
+ return "Safari";
1773
+ else
1774
+ return 'Other browser';
1775
+ }
1776
+
1777
+ function wplc_error_directory() {
1778
+ $upload_dir = wp_upload_dir();
1779
+
1780
+ if (is_multisite()) {
1781
+ if (!file_exists($upload_dir['basedir'].'/wp-live-chat-support')) {
1782
+ wp_mkdir_p($upload_dir['basedir'].'/wp-live-chat-support');
1783
+ $content = "Error log created";
1784
+ $fp = @fopen($upload_dir['basedir'].'/wp-live-chat-support'."/error_log.txt","w+");
1785
+ @fwrite($fp,$content);
1786
+ }
1787
+ } else {
1788
+ if (!file_exists(ABSPATH.'wp-content/uploads/wp-live-chat-support')) {
1789
+ wp_mkdir_p(ABSPATH.'wp-content/uploads/wp-live-chat-support');
1790
+ $content = "Error log created";
1791
+ $fp = @fopen(ABSPATH.'wp-content/uploads/wp-live-chat-support'."/error_log.txt","w+");
1792
+ @fwrite($fp,$content);
1793
+ }
1794
+
1795
+ }
1796
+ return true;
1797
+
1798
+ }
1799
+
1800
+ function wplc_error_log($error) {
1801
+ return;
1802
+ $content = "\r\n[".date("Y-m-d")."] [".date("H:i:s")."]".$error;
1803
+ $fp = @fopen(ABSPATH.'/wp-content/uploads/wp-live-chat-support'."/error_log.txt","a+");
1804
+ @fwrite($fp,$content);
1805
+ @fclose($fp);
1806
+
1807
+
1808
+ }
1809
+ function Memory_Usage($decimals = 2)
1810
+ {
1811
+ $result = 0;
1812
+
1813
+ if (function_exists('memory_get_usage'))
1814
+ {
1815
+ $result = memory_get_usage() / 1024;
1816
+ }
1817
+
1818
+ else
1819
+ {
1820
+ if (function_exists('exec'))
1821
+ {
1822
+ $output = array();
1823
+
1824
+ if (substr(strtoupper(PHP_OS), 0, 3) == 'WIN')
1825
+ {
1826
+ exec('tasklist /FI "PID eq ' . getmypid() . '" /FO LIST', $output);
1827
+
1828
+ $result = preg_replace('/[\D]/', '', $output[5]);
1829
+ }
1830
+
1831
+ else
1832
+ {
1833
+ exec('ps -eo%mem,rss,pid | grep ' . getmypid(), $output);
1834
+
1835
+ $output = explode(' ', $output[0]);
1836
+
1837
+ $result = $output[1];
1838
+ }
1839
+ }
1840
+ }
1841
+
1842
+ return number_format(intval($result) / 1024, $decimals, '.', '')." mb";
1843
+ }
1844
+ function wplc_get_memory_usage() {
1845
+ $size = memory_get_usage(true);
1846
+ $unit=array('b','kb','mb','gb','tb','pb');
1847
+ return @round($size/pow(1024,($i=floor(log($size,1024)))),2).' '.$unit[$i];
1848
+
1849
+ }
1850
+ function wplc_record_mem() {
1851
+ $data = array(
1852
+ 'date' => current_time('mysql'),
1853
+ 'php_mem' => wplc_get_memory_usage()
1854
+ );
1855
+ $fp = @fopen(ABSPATH.'/wp-content/uploads/wp-live-chat-support'."/mem_usag.csv","a+");
1856
+ fputcsv($fp, $data);
1857
+ fclose($fp);
1858
+ }
1859
+
1860
+ function wplc_admin_display_missed_chats() {
1861
+
1862
+ global $wpdb;
1863
+ global $wplc_tblname_chats;
1864
+
1865
+
1866
+ if(isset($_GET['wplc_action']) && $_GET['wplc_action'] == 'remove_cid'){
1867
+ if(isset($_GET['cid'])){
1868
+ if(isset($_GET['wplc_confirm'])){
1869
+ //Confirmed - delete
1870
+ $delete_sql = "";
1871
+ if (function_exists("wplc_register_pro_version")) {
1872
+ $delete_sql = "
1873
+ DELETE FROM $wplc_tblname_chats
1874
+ WHERE `id` = '".intval($_GET['cid'])."'
1875
+ AND (`status` = 7 OR `agent_id` = 0)
1876
+ AND `email` != 'no email set'
1877
+ ";
1878
+ } else {
1879
+ $delete_sql = "
1880
+ DELETE FROM $wplc_tblname_chats
1881
+ WHERE `id` = '".intval($_GET['cid'])."'
1882
+ AND `status` = 7
1883
+ AND `email` != 'no email set'
1884
+ ";
1885
+ }
1886
+
1887
+ $wpdb->query($delete_sql);
1888
+ if ($wpdb->last_error) {
1889
+ echo "<div class='update-nag' style='margin-top: 0px;margin-bottom: 5px;'>
1890
+ ".__("Error: Could not delete chat", "wplivechat")."<br>
1891
+ </div>";
1892
+ } else {
1893
+ echo "<div class='update-nag' style='margin-top: 0px;margin-bottom: 5px;border-color:#67d552;'>
1894
+ ".__("Chat Deleted", "wplivechat")."<br>
1895
+ </div>";
1896
+ }
1897
+
1898
+ } else {
1899
+ //Prompt
1900
+ echo "<div class='update-nag' style='margin-top: 0px;margin-bottom: 5px;'>
1901
+ ".__("Are you sure you would like to delete this chat?", "wplivechat")."<br>
1902
+ <a class='button' href='?page=wplivechat-menu-missed-chats&wplc_action=remove_cid&cid=".$_GET['cid']."&wplc_confirm=1''>".__("Yes", "wplivechat")."</a> <a class='button' href='?page=wplivechat-menu-missed-chats'>".__("No", "wplivechat")."</a>
1903
+ </div>";
1904
+ }
1905
+ }
1906
+ }
1907
+
1908
+ echo "
1909
+ <table class=\"wp-list-table widefat fixed \" cellspacing=\"0\">
1910
+ <thead>
1911
+ <tr>
1912
+ <th class='manage-column column-id'><span>" . __("Date", "wplivechat") . "</span></th>
1913
+ <th scope='col' id='wplc_name_colum' class='manage-column column-id'><span>" . __("Name", "wplivechat") . "</span></th>
1914
+ <th scope='col' id='wplc_email_colum' class='manage-column column-id'>" . __("Email", "wplivechat") . "</th>
1915
+ <th scope='col' id='wplc_url_colum' class='manage-column column-id'>" . __("URL", "wplivechat") . "</th>
1916
+ <th scope='col' id='wplc_url_colum' class='manage-column column-id'>" . __("Action", "wplivechat") . "</th>
1917
+ </tr>
1918
+ </thead>
1919
+ <tbody id=\"the-list\" class='list:wp_list_text_link'>";
1920
+
1921
+ if (function_exists("wplc_register_pro_version")) {
1922
+ $sql = "
1923
+ SELECT *
1924
+ FROM $wplc_tblname_chats
1925
+ WHERE (`status` = 7
1926
+ OR `agent_id` = 0)
1927
+ AND `email` != 'no email set'
1928
+ AND `email` NOT REGEXP '^[0-9]{6}@[0-9]{6}\.com$'
1929
+ ORDER BY `timestamp` DESC
1930
+ ";
1931
+ } else {
1932
+ $sql = "
1933
+ SELECT *
1934
+ FROM $wplc_tblname_chats
1935
+ WHERE `status` = 7
1936
+ AND `email` != 'no email set'
1937
+ AND `email` NOT REGEXP '^[0-9]{6}@[0-9]{6}\.com$'
1938
+ ORDER BY `timestamp` DESC
1939
+ ";
1940
+ }
1941
+
1942
+ $results = $wpdb->get_results($sql);
1943
+
1944
+ if (!$results) {
1945
+ echo "<tr><td></td><td>" . __("You have not missed any chat requests.", "wplivechat") . "</td></tr>";
1946
+ } else {
1947
+ foreach ($results as $result) {
1948
+ echo "<tr id=\"record_" . $result->id . "\">";
1949
+ echo "<td class='chat_id column-chat_d'>" . $result->timestamp . "</td>";
1950
+ echo "<td class='chat_name column_chat_name' id='chat_name_" . $result->id . "'><img src=\"//www.gravatar.com/avatar/" . md5($result->email) . "?s=30\" class='wplc-user-message-avatar' /> " . $result->name . "</td>";
1951
+ echo "<td class='chat_email column_chat_email' id='chat_email_" . $result->id . "'><a href='mailto:" . $result->email . "' title='Email " . ".$result->email." . "'>" . $result->email . "</a></td>";
1952
+ echo "<td class='chat_name column_chat_url' id='chat_url_" . $result->id . "'>" . esc_url($result->url) . "</td>";
1953
+ echo "<td class='chat_name column_chat_url'><a class='button' href='?page=wplivechat-menu-missed-chats&wplc_action=remove_cid&cid=".$result->id."'><i class='fa fa-trash-o'></i></a></td>";
1954
+ echo "</tr>";
1955
+ }
1956
+ }
1957
+
1958
+ echo "
1959
+ </tbody>
1960
+ </table>";
1961
+ }
1962
+
1963
+
1964
+ /**
1965
+ * Compares the users IP address to the list in the banned IPs in the settings page
1966
+ * @return BOOL
1967
+ */
1968
+ function wplc_is_user_banned_basic(){
1969
+ $banned_ip = get_option('WPLC_BANNED_IP_ADDRESSES');
1970
+ if($banned_ip){
1971
+ $banned_ip = maybe_unserialize($banned_ip);
1972
+ $banned = 0;
1973
+ if (is_array($banned_ip)) {
1974
+ foreach($banned_ip as $ip){
1975
+
1976
+ if(isset($_SERVER['HTTP_X_FORWARDED_FOR']) && $_SERVER['HTTP_X_FORWARDED_FOR'] != '') {
1977
+ $ip_address = $_SERVER['HTTP_X_FORWARDED_FOR'];
1978
+ } else {
1979
+ $ip_address = $_SERVER['REMOTE_ADDR'];
1980
+ }
1981
+
1982
+ if(isset($ip_address)){
1983
+ if($ip == $ip_address){
1984
+ $banned++;
1985
+ }
1986
+ } else {
1987
+ $banned = 0;
1988
+ }
1989
+ }
1990
+ } else {
1991
+ return 0;
1992
+ }
1993
+ } else {
1994
+ $banned = 0;
1995
+ }
1996
+ return $banned;
1997
+ }
1998
+
1999
+
2000
+
2001
+
2002
+ function wplc_return_animations_basic(){
2003
+
2004
+ $wplc_settings = get_option("WPLC_SETTINGS");
2005
+
2006
+ if ($wplc_settings["wplc_settings_align"] == 1) {
2007
+ $original_pos = "bottom_left";
2008
+ //$wplc_box_align = "left:100px; bottom:0px;";
2009
+ $wplc_box_align = "bottom:0px;";
2010
+ } else if ($wplc_settings["wplc_settings_align"] == 2) {
2011
+ $original_pos = "bottom_right";
2012
+ //$wplc_box_align = "right:100px; bottom:0px;";
2013
+ $wplc_box_align = "bottom:0px;";
2014
+ } else if ($wplc_settings["wplc_settings_align"] == 3) {
2015
+ $original_pos = "left";
2016
+ // $wplc_box_align = "left:0; bottom:100px;";
2017
+ $wplc_box_align = " bottom:100px;";
2018
+ $wplc_class = "wplc_left";
2019
+ } else if ($wplc_settings["wplc_settings_align"] == 4) {
2020
+ $original_pos = "right";
2021
+ // $wplc_box_align = "right:0; bottom:100px;";
2022
+ $wplc_box_align = "bottom:100px;";
2023
+ $wplc_class = "wplc_right";
2024
+ }
2025
+
2026
+ $animation_data = array();
2027
+
2028
+ if(isset($wplc_settings['wplc_animation']) && $wplc_settings['wplc_animation'] == 'animation-1'){
2029
+
2030
+ if($original_pos == 'bottom_right'){
2031
+ $wplc_starting_point = 'margin-bottom: -350px; right: 100px;';
2032
+ $wplc_animation = 'animation-1';
2033
+ } else if ($original_pos == 'bottom_left'){
2034
+ $wplc_starting_point = 'margin-bottom: -350px; left: 100px;';
2035
+ $wplc_animation = 'animation-1';
2036
+ } else if ($original_pos == 'left'){
2037
+ $wplc_starting_point = 'margin-bottom: -350px; left: 0px;';
2038
+ $wplc_box_align = "left:0; bottom:100px;";
2039
+ $wplc_animation = 'animation-1';
2040
+ } else if ($original_pos == 'right'){
2041
+ $wplc_starting_point = 'margin-bottom: -350px; right: 0px;';
2042
+ $wplc_animation = 'animation-1';
2043
+ $wplc_box_align = "right:0; bottom:100px;";
2044
+ }
2045
+
2046
+ $animation_data['animation'] = $wplc_animation;
2047
+ $animation_data['starting_point'] = $wplc_starting_point;
2048
+ $animation_data['box_align'] = $wplc_box_align;
2049
+
2050
+ } else if (isset($wplc_settings['wplc_animation']) && $wplc_settings['wplc_animation'] == 'animation-2'){
2051
+
2052
+ if($original_pos == 'bottom_right'){
2053
+ $wplc_starting_point = 'margin-bottom: 0px; right: -300px;';
2054
+ $wplc_animation = 'animation-2-br';
2055
+ } else if ($original_pos == 'bottom_left'){
2056
+ $wplc_starting_point = 'margin-bottom: 0px; left: -300px;';
2057
+ $wplc_animation = 'animation-2-bl';
2058
+ } else if ($original_pos == 'left'){
2059
+ $wplc_starting_point = 'margin-bottom: 0px; left: -999px;';
2060
+ $wplc_animation = 'animation-2-l';
2061
+ } else if ($original_pos == 'right'){
2062
+ $wplc_starting_point = 'margin-bottom: 0px; right: -999px;';
2063
+ $wplc_animation = 'animation-2-r';
2064
+ }
2065
+
2066
+ $animation_data['animation'] = $wplc_animation;
2067
+ $animation_data['starting_point'] = $wplc_starting_point;
2068
+ $animation_data['box_align'] = $wplc_box_align;
2069
+
2070
+ } else if (isset($wplc_settings['wplc_animation']) && $wplc_settings['wplc_animation'] == 'animation-3'){
2071
+
2072
+ $wplc_animation = 'animation-3';
2073
+
2074
+ if($original_pos == 'bottom_right'){
2075
+ $wplc_starting_point = 'margin-bottom: 0; right: 100px; display: none;';
2076
+ } else if ($original_pos == 'bottom_left'){
2077
+ $wplc_starting_point = 'margin-bottom: 0px; left: 100px; display: none;';
2078
+ } else if ($original_pos == 'left'){
2079
+ $wplc_starting_point = 'margin-bottom: 100px; left: 0px; display: none;';
2080
+ } else if ($original_pos == 'right'){
2081
+ $wplc_starting_point = 'margin-bottom: 100px; right: 0px; display: none;';
2082
+ }
2083
+
2084
+ $animation_data['animation'] = $wplc_animation;
2085
+ $animation_data['starting_point'] = $wplc_starting_point;
2086
+ $animation_data['box_align'] = $wplc_box_align;
2087
+
2088
+ } else if (isset($wplc_settings['wplc_animation']) && $wplc_settings['wplc_animation'] == 'animation-4'){
2089
+ // Dont use an animation
2090
+
2091
+ $wplc_animation = "animation-4";
2092
+
2093
+ if($original_pos == 'bottom_right'){
2094
+ $wplc_starting_point = 'margin-bottom: 0; right: 100px; display: none;';
2095
+ } else if ($original_pos == 'bottom_left'){
2096
+ $wplc_starting_point = 'margin-bottom: 0px; left: 100px; display: none;';
2097
+ } else if ($original_pos == 'left'){
2098
+ $wplc_starting_point = 'margin-bottom: 100px; left: 0px; display: none;';
2099
+ } else if ($original_pos == 'right'){
2100
+ $wplc_starting_point = 'margin-bottom: 100px; right: 0px; display: none;';
2101
+ }
2102
+
2103
+ $animation_data['animation'] = $wplc_animation;
2104
+ $animation_data['starting_point'] = $wplc_starting_point;
2105
+ $animation_data['box_align'] = $wplc_box_align;
2106
+
2107
+ } else {
2108
+
2109
+ if($original_pos == 'bottom_right'){
2110
+ $wplc_starting_point = 'margin-bottom: 0; right: 100px; display: none;';
2111
+ } else if ($original_pos == 'bottom_left'){
2112
+ $wplc_starting_point = 'margin-bottom: 0px; left: 100px; display: none;';
2113
+ } else if ($original_pos == 'left'){
2114
+ $wplc_starting_point = 'margin-bottom: 100px; left: 0px; display: none;';
2115
+ } else if ($original_pos == 'right'){
2116
+ $wplc_starting_point = 'margin-bottom: 100px; right: 0px; display: none;';
2117
+ }
2118
+
2119
+ $wplc_animation = 'none';
2120
+
2121
+ $animation_data['animation'] = $wplc_animation;
2122
+ $animation_data['starting_point'] = $wplc_starting_point;
2123
+ $animation_data['box_align'] = $wplc_box_align;
2124
+ }
2125
+
2126
+ return $animation_data;
2127
+ }
2128
+
2129
+
2130
+ add_action("wplc_advanced_settings_above_performance", "wplc_advanced_settings_above_performance_control", 10, 1);
2131
+ function wplc_advanced_settings_above_performance_control($wplc_settings){
2132
+ $elem_trig_action = isset($wplc_settings['wplc_elem_trigger_action']) ? $wplc_settings['wplc_elem_trigger_action'] : "0";
2133
+ $elem_trig_type = isset($wplc_settings['wplc_elem_trigger_type']) ? $wplc_settings['wplc_elem_trigger_type'] : "0";
2134
+ $elem_trig_id = isset($wplc_settings['wplc_elem_trigger_id']) ? $wplc_settings['wplc_elem_trigger_id'] : "";
2135
+
2136
+ echo "<tr>
2137
+ <td width='300'>
2138
+ ".__("Open chat window via", "wplivechat").":
2139
+ </td>
2140
+ <td>
2141
+ <select name='wplc_elem_trigger_action'>
2142
+ <option value='0' ".($elem_trig_action == "0" ? "selected" : "").">".__("Click", "wplivechat")."</option>
2143
+ <option value='1' ".($elem_trig_action == "1" ? "selected" : "").">".__("Hover", "wplivechat")."</option>
2144
+ </select>
2145
+ ".__("element with", "wplivechat").":
2146
+ <select name='wplc_elem_trigger_type'>
2147
+ <option value='0' ".($elem_trig_type == "0" ? "selected" : "").">".__("Class", "wplivechat")."</option>
2148
+ <option value='1' ".($elem_trig_type == "1" ? "selected" : "").">".__("ID", "wplivechat")."</option>
2149
+ </select>
2150
+ <input type='text' name='wplc_elem_trigger_id' value='".$elem_trig_id."'>
2151
+ </td>
2152
+ </tr>
2153
+ ";
2154
  }
includes/settings_page.php CHANGED
@@ -1,939 +1,1019 @@
1
- <style>
2
- .ui-tabs-vertical { }
3
- .ui-tabs-vertical .ui-tabs-nav {
4
- padding: .2em .1em .2em .2em;
5
- float: left;
6
- /* width: 10%; */
7
- max-width: 20%;
8
- min-width: 190px;
9
- }
10
- .ui-tabs-vertical .ui-tabs-nav li { clear: left; width: 100%; border-bottom-width: 1px !important; border-right-width: 0 !important; margin: 0 -1px .2em 0; }
11
- .ui-tabs-vertical .ui-tabs-nav li a { display:block; }
12
- .ui-tabs-vertical .ui-tabs-nav li.ui-tabs-active { padding-bottom: 0; padding-right: .1em; border-right-width: 1px; }
13
- .ui-tabs-vertical .ui-tabs-panel {
14
- /* padding: 1em; */
15
- float: left;
16
- min-width: 67%;
17
- max-width: 67%;
18
- }
19
- textarea, input[type='text'], input[type='email'], input[type='password']{ width: 100% !important; }
20
- </style>
21
-
22
- <?php
23
- /**
24
- * Removes the ajax loader and forces the settings page to load as is after 3 seconds.
25
- *
26
- * This has been put here to counter any PHP fatal warnings that may be experienced on the settings page.
27
- *
28
- * Putting this in the wplc_tabs.js file will not work as that file is not loaded if there is a PHP fatal error
29
- */
30
- ?>
31
- <script>
32
- setTimeout( function() {
33
- jQuery("#wplc_settings_page_loader").remove();
34
- jQuery(".wrap").css('display','block');
35
- jQuery(".wplc_settings_save_notice").css('display','block');
36
- },3000);
37
- </script>
38
-
39
- <?php wplc_stats("settings");
40
-
41
-
42
- if (function_exists("wplc_string_check")) { wplc_string_check(); }
43
- $wplc_settings = get_option("WPLC_SETTINGS");
44
-
45
- ?>
46
-
47
- <?php
48
- if (get_option("WPLC_HIDE_CHAT") == true) {
49
- $wplc_hide_chat = "checked";
50
- } else {
51
- $wplc_hide_chat = "";
52
- };
53
-
54
- ?>
55
- <img src='<?php echo WPLC_BASIC_PLUGIN_URL.'images/ajax-loader.gif'; ?>' id='wplc_settings_page_loader' style='display: block; margin: 20px auto;' />
56
- <div class="wrap" style='display: none;'>
57
-
58
- <style>
59
- .wplc_light_grey{
60
- color: #666;
61
- }
62
- </style>
63
- <div id="icon-edit" class="icon32 icon32-posts-post">
64
- <br>
65
- </div>
66
- <h2><?php _e("WP Live Chat Support Settings","wplivechat")?></h2>
67
- <?php
68
-
69
- $wplc_mail_type = get_option("wplc_mail_type");
70
- if (!isset($wplc_mail_type) || $wplc_mail_type == "" || !$wplc_mail_type) { $wplc_mail_type = "wp_mail"; }
71
- if (isset($wplc_settings["wplc_settings_align"])) { $wplc_settings_align[intval($wplc_settings["wplc_settings_align"])] = "SELECTED"; }
72
- if (isset($wplc_settings["wplc_settings_enabled"])) { $wplc_settings_enabled[intval($wplc_settings["wplc_settings_enabled"])] = "SELECTED"; }
73
- if (isset($wplc_settings["wplc_settings_fill"])) { $wplc_settings_fill = $wplc_settings["wplc_settings_fill"]; } else { $wplc_settings_fill = "ed832f"; }
74
- if (isset($wplc_settings["wplc_settings_font"])) { $wplc_settings_font = $wplc_settings["wplc_settings_font"]; } else { $wplc_settings_font = "FFFFFF"; }
75
- if (isset($wplc_settings["wplc_settings_color1"])) { $wplc_settings_color1 = $wplc_settings["wplc_settings_color1"]; } else { $wplc_settings_color1 = "ED832F"; }
76
- if (isset($wplc_settings["wplc_settings_color2"])) { $wplc_settings_color2 = $wplc_settings["wplc_settings_color2"]; } else { $wplc_settings_color2 = "FFFFFF"; }
77
- if (isset($wplc_settings["wplc_settings_color3"])) { $wplc_settings_color3 = $wplc_settings["wplc_settings_color3"]; } else { $wplc_settings_color3 = "EEEEEE"; }
78
- if (isset($wplc_settings["wplc_settings_color4"])) { $wplc_settings_color4 = $wplc_settings["wplc_settings_color4"]; } else { $wplc_settings_color4 = "666666"; }
79
- if (isset($wplc_settings["wplc_environment"])) { $wplc_environment[intval($wplc_settings["wplc_environment"])] = "SELECTED"; }
80
-
81
- if(get_option("WPLC_HIDE_CHAT") == true) { $wplc_hide_chat = "checked"; } else { $wplc_hide_chat = ""; };
82
-
83
- ?>
84
- <form action='' name='wplc_settings' method='POST' id='wplc_settings'>
85
-
86
- <div id="wplc_tabs">
87
- <ul>
88
- <?php
89
- $tab_array = array(
90
- 0 => array(
91
- "href" => "#tabs-1",
92
- "icon" => 'fa fa-gear',
93
- "label" => __("General Settings","wplivechat")
94
- ),
95
- 1 => array(
96
- "href" => "#tabs-2",
97
- "icon" => 'fa fa-envelope',
98
- "label" => __("Chat Box","wplivechat")
99
- ),
100
- 2 => array(
101
- "href" => "#tabs-3",
102
- "icon" => 'fa fa-book',
103
- "label" => __("Offline Messages","wplivechat")
104
- ),
105
- 3 => array(
106
- "href" => "#tabs-4",
107
- "icon" => 'fa fa-pencil',
108
- "label" => __("Styling","wplivechat")
109
- ),
110
- 4 => array(
111
- "href" => "#tabs-5",
112
- "icon" => 'fa fa-users',
113
- "label" => __("Agents","wplivechat")
114
- ),
115
- 5 => array(
116
- "href" => "#tabs-7",
117
- "icon" => 'fa fa-gavel',
118
- "label" => __("Blocked Visitors","wplivechat")
119
- )
120
- );
121
- $tabs_top = apply_filters("wplc_filter_setting_tabs",$tab_array);
122
-
123
- foreach ($tabs_top as $tab) {
124
- echo "<li><a href=\"".$tab['href']."\"><i class=\"".$tab['icon']."\"></i> ".$tab['label']."</a></li>";
125
- }
126
-
127
- ?>
128
-
129
- </ul>
130
- <div id="tabs-1">
131
- <h3><?php _e("Main Settings",'wplivechat')?></h3>
132
- <table class='wp-list-table widefat fixed striped pages' width='700'>
133
- <tr>
134
- <td width='300' valign='top'><?php _e("Chat enabled","wplivechat")?>: </td>
135
- <td>
136
- <select id='wplc_settings_enabled' name='wplc_settings_enabled'>
137
- <option value="1" <?php if (isset($wplc_settings_enabled[1])) { echo $wplc_settings_enabled[1]; } ?>><?php _e("Yes","wplivechat"); ?></option>
138
- <option value="2" <?php if (isset($wplc_settings_enabled[2])) { echo $wplc_settings_enabled[2]; }?>><?php _e("No","wplivechat"); ?></option>
139
- </select>
140
- </td>
141
- </tr>
142
- <?php /*
143
- <tr>
144
- <td width='200' valign='top'>
145
- <?php _e("Show the 'Powered by WP Live Chat Support' link", "wplivechat") ?>: <i class="fa fa-question-circle wplc_light_grey wplc_settings_tooltip" title="<?php _e('Checking this will display a Powered by WP Live Chat Support link', 'wplivechat'); ?>"></i>
146
- </td>
147
- <td>
148
- <input type="checkbox" value="1" name="wplc_powered_by_link" <?php if (isset($wplc_settings['wplc_powered_by_link']) && $wplc_settings['wplc_powered_by_link'] == 1) { echo "checked"; } ?> />
149
- </td>
150
- </tr>
151
- */ ?>
152
-
153
- <!--
154
- <tr>
155
- <td width='400' valign='top'>
156
- <?php _e("Hide Chat", "wplivechat") ?>: <i class="fa fa-question-circle wplc_light_grey wplc_settings_tooltip" title="<?php _e("Hides chat for 24hrs when user clicks X", "wplivechat") ?>"></i>
157
- </td>
158
- <td valign='top'>
159
- <input type="checkbox" name="wplc_hide_chat" value="true" <?php echo $wplc_hide_chat ?>/>
160
- </td>
161
- </tr>
162
- -->
163
- <tr>
164
- <td width='300' valign='top'>
165
- <?php _e("Require Name And Email","wplivechat")?>: <i class="fa fa-question-circle wplc_light_grey wplc_settings_tooltip" title="<?php _e("Users will have to enter their Name and Email Address when starting a chat", "wplivechat") ?>"></i>
166
- </td>
167
- <td valign='top'>
168
- <input type="checkbox" value="1" name="wplc_require_user_info" <?php if(isset($wplc_settings['wplc_require_user_info']) && $wplc_settings['wplc_require_user_info'] == 1 ) { echo "checked"; } ?> />
169
- </td>
170
- </tr>
171
- <tr>
172
- <td width='300' valign='top'>
173
- <?php _e("Input Field Replacement Text","wplivechat")?>: <i class="fa fa-question-circle wplc_light_grey wplc_settings_tooltip" title="<?php _e("This is the text that will show in place of the Name And Email fields", "wplivechat") ?>"></i>
174
- </td>
175
- <td valign='top'>
176
- <textarea cols="45" rows="5" name="wplc_user_alternative_text" ><?php if(isset($wplc_settings['wplc_user_alternative_text'])) { echo stripslashes($wplc_settings['wplc_user_alternative_text']); } ?></textarea>
177
- </td>
178
- </tr>
179
- <tr>
180
- <td width='300' valign='top'>
181
- <?php _e("Use Logged In User Details","wplivechat")?>: <i class="fa fa-question-circle wplc_light_grey wplc_settings_tooltip" title="<?php _e("A user's Name and Email Address will be used by default if they are logged in.", "wplivechat") ?>"></i>
182
- </td>
183
- <td valign='top'>
184
- <input type="checkbox" value="1" name="wplc_loggedin_user_info" <?php if(isset($wplc_settings['wplc_loggedin_user_info']) && $wplc_settings['wplc_loggedin_user_info'] == 1 ) { echo "checked"; } ?> />
185
- </td>
186
- </tr>
187
- <tr>
188
- <td width='200' valign='top'>
189
- <?php _e("Enable On Mobile Devices","wplivechat"); ?>: <i class="fa fa-question-circle wplc_light_grey wplc_settings_tooltip" title="<?php _e("Disabling this will mean that the Chat Box will not be displayed on mobile devices. (Smartphones and Tablets)", "wplivechat") ?>"></i>
190
- </td>
191
- <td valign='top'>
192
- <input type="checkbox" value="1" name="wplc_enabled_on_mobile" <?php if(isset($wplc_settings['wplc_enabled_on_mobile']) && $wplc_settings['wplc_enabled_on_mobile'] == 1 ) { echo "checked"; } ?> />
193
- </td>
194
- </tr>
195
- <tr>
196
- <td width='300' valign='top'>
197
- <?php _e("Record a visitor's IP Address","wplivechat"); ?>: <i class="fa fa-question-circle wplc_light_grey wplc_settings_tooltip" title="<?php _e("Disable this to enable anonymity for your visitors", "wplivechat") ?>"></i>
198
- </td>
199
- <td valign='top'>
200
- <input type="checkbox" value="1" name="wplc_record_ip_address" <?php if(isset($wplc_settings['wplc_record_ip_address']) && $wplc_settings['wplc_record_ip_address'] == 1 ) { echo "checked"; } ?> />
201
- </td>
202
- </tr>
203
- <tr>
204
- <td width='300' valign='top'>
205
- <?php _e("Play a sound when a new message is received","wplivechat"); ?>: <i class="fa fa-question-circle wplc_light_grey wplc_settings_tooltip" title="<?php _e("Disable this to mute the sound that is played when a new chat message is received", "wplivechat") ?>"></i>
206
- </td>
207
- <td valign='top'>
208
- <input type="checkbox" value="1" name="wplc_enable_msg_sound" <?php if(isset($wplc_settings['wplc_enable_msg_sound']) && $wplc_settings['wplc_enable_msg_sound'] == 1 ) { echo "checked"; } ?> />
209
- </td>
210
- </tr>
211
- <?php if (!function_exists("wplc_pro_activate")) { ?>
212
-
213
- <tr>
214
- <td width='300' valign='top'>
215
- <?php _e("Include chat window on the following pages","wplivechat"); ?>: <i class="fa fa-question-circle wplc_light_grey wplc_settings_tooltip" title="<?php _e("Show the chat window on the following pages. Leave blank to show on all. (Use comma-separated Page ID's)", "wplivechat") ?>"></i>
216
- </td>
217
- <td valign='top'>
218
- <input type="text" readonly="readonly" />
219
- <small>
220
- <i>
221
- <?php _e("available in the","wplivechat")?>
222
- <a href="http://www.wp-livechat.com/purchase-pro/?utm_source=plugin&utm_medium=link&utm_campaign=include_pages" title="<?php _e("Pro Add-on","wplivechat")?>" target="_BLANK"><?php _e("Pro Add-on","wplivechat")?></a>
223
- <?php _e("only","wplivechat")?>
224
- </i>
225
- </small>
226
- </td>
227
- </tr>
228
- <tr>
229
- <td width='200' valign='top'>
230
- <?php _e("Exclude chat window on the following pages","wplivechat"); ?>: <i class="fa fa-question-circle wplc_light_grey wplc_settings_tooltip" title="<?php _e("Do not show the chat window on the following pages. Leave blank to show on all. (Use comma-separated Page ID's)", "wplivechat") ?>"></i>
231
- </td>
232
- <td valign='top'>
233
- <input type="text" readonly="readonly"/>
234
- <small>
235
- <i>
236
- <?php _e("available in the","wplivechat")?>
237
- <a href="http://www.wp-livechat.com/purchase-pro/?utm_source=plugin&utm_medium=link&utm_campaign=exclude_pages" title="<?php _e("Pro Add-on","wplivechat")?>" target="_BLANK"><?php _e("Pro Add-on","wplivechat")?></a>
238
- <?php _e("only","wplivechat")?>
239
- </i>
240
- </small>
241
- </td>
242
- </tr>
243
-
244
-
245
-
246
- <?php } ?>
247
- </table>
248
- <?php do_action('wplc_hook_admin_settings_main_settings_after'); ?>
249
-
250
-
251
- </div>
252
- <div id="tabs-2">
253
- <h3><?php _e("Chat Window Settings",'wplivechat')?></h3>
254
- <table class='wp-list-table widefat fixed striped pages'>
255
- <tr>
256
- <td width='300' valign='top'><?php _e("Chat box alignment","wplivechat")?>:</td>
257
- <td>
258
- <select id='wplc_settings_align' name='wplc_settings_align'>
259
- <option value="1" <?php if (isset($wplc_settings_align[1])) { echo $wplc_settings_align[1]; } ?>><?php _e("Bottom left","wplivechat"); ?></option>
260
- <option value="2" <?php if (isset($wplc_settings_align[2])) { echo $wplc_settings_align[2]; } ?>><?php _e("Bottom right","wplivechat"); ?></option>
261
- <option value="3" <?php if (isset($wplc_settings_align[3])) { echo $wplc_settings_align[3]; } ?>><?php _e("Left","wplivechat"); ?></option>
262
- <option value="4" <?php if (isset($wplc_settings_align[4])) { echo $wplc_settings_align[4]; } ?>><?php _e("Right","wplivechat"); ?></option>
263
- </select>
264
- </td>
265
- </tr>
266
- <tr>
267
- <td width='300'>
268
- <?php _e("Auto Pop-up","wplivechat") ?> <i class="fa fa-question-circle wplc_light_grey wplc_settings_tooltip" title="<?php _e("Expand the chat box automatically (prompts the user to enter their name and email address).","wplivechat") ?>"></i>
269
- </td>
270
- <td>
271
- <input type="checkbox" name="wplc_auto_pop_up" value="1" <?php if(isset($wplc_settings['wplc_auto_pop_up']) && $wplc_settings['wplc_auto_pop_up'] == 1 ) { echo "checked"; } ?>/>
272
- </td>
273
- </tr>
274
- <tr>
275
-
276
- <?php if (!function_exists("wplc_pro_activate")) { ?>
277
- <tr>
278
- <td width='300'>
279
- <?php _e("Display typing indicator","wplivechat") ?> <i class="fa fa-question-circle wplc_light_grey wplc_settings_tooltip" title="<?php _e("Display a typing animation as soon as someone starts typing.","wplivechat") ?>"></i>
280
- </td>
281
- <td>
282
- <input type="checkbox" name="" value="" disabled />
283
- <small>
284
- <i>
285
- <?php _e("available in the","wplivechat")?>
286
- <a href="http://www.wp-livechat.com/purchase-pro/?utm_source=plugin&utm_medium=link&utm_campaign=typing" title="<?php _e("Pro Add-on","wplivechat")?>" target="_BLANK"><?php _e("Pro Add-on","wplivechat")?></a>
287
- <?php _e("only","wplivechat")?>
288
- </i>
289
- </small>
290
- </td>
291
- </tr>
292
- <tr>
293
- <tr>
294
-
295
- <td width='300' valign='top'>
296
- <?php _e("Name","wplivechat")?>:
297
- </td>
298
- <td>
299
- <input type='text' size='50' maxlength='50' disabled readonly value='admin' />
300
- <small>
301
- <i>
302
- <?php _e("available in the","wplivechat")?>
303
- <a href="http://www.wp-livechat.com/purchase-pro/?utm_source=plugin&utm_medium=link&utm_campaign=name" title="<?php _e("Pro Add-on","wplivechat")?>" target="_BLANK"><?php _e("Pro Add-on","wplivechat")?></a>
304
- <?php _e("only","wplivechat")?>
305
- </i>
306
- </small>
307
- </td>
308
- </tr>
309
- <!-- Chat Pic-->
310
- <tr>
311
- <td width='300' valign='top'>
312
- <?php _e("Picture","wplivechat")?>:
313
- </td>
314
- <td>
315
- <input id="wplc_pro_pic_button" type="button" value="<?php _e("Upload Image","wplivechat")?>" readonly disabled />
316
- <small>
317
- <i>
318
- <?php _e("available in the","wplivechat")?>
319
- <a href="http://www.wp-livechat.com/purchase-pro/?utm_source=plugin&utm_medium=link&utm_campaign=pic" title="<?php _e("Pro Add-on","wplivechat")?>" target="_BLANK"><?php _e("Pro Add-on","wplivechat")?></a>
320
- <?php _e("only","wplivechat")?>
321
- </i>
322
- </small>
323
- </td>
324
- </tr>
325
- <!-- Chat Logo-->
326
- <tr>
327
- <td width='300' valign='top'>
328
- <?php _e("Logo","wplivechat")?>:
329
- </td>
330
- <td>
331
- <input id="wplc_pro_logo_button" type="button" value="<?php _e("Upload Image","wplivechat")?>" readonly disabled />
332
- <small>
333
- <i>
334
- <?php _e("available in the","wplivechat")?>
335
- <a href="http://www.wp-livechat.com/purchase-pro/?utm_source=plugin&utm_medium=link&utm_campaign=pic" title="<?php _e("Pro Add-on","wplivechat")?>" target="_BLANK"><?php _e("Pro Add-on","wplivechat")?></a>
336
- <?php _e("only","wplivechat")?>
337
- </i>
338
- </small>
339
- </td>
340
- </tr>
341
- <!-- Chat Delay-->
342
- <tr>
343
- <td width='300' valign='top'>
344
- <?php _e("Chat delay (seconds)","wplivechat")?>:
345
- </td>
346
- <td>
347
- <input type='text' size='50' maxlength='50' disabled readonly value='10' />
348
- <small>
349
- <i>
350
- <?php _e("available in the","wplivechat")?>
351
- <a href="http://www.wp-livechat.com/purchase-pro/?utm_source=plugin&utm_medium=link&utm_campaign=delay" title="<?php _e("Pro Add-on","wplivechat")?>" target="_BLANK"><?php _e("Pro Add-on","wplivechat")?></a>
352
- <?php _e("only","wplivechat")?>
353
- </i>
354
- </small>
355
- </td>
356
- </tr>
357
- <!-- Chat Notification if want to chat-->
358
- <tr>
359
- <td width='300' valign='top'>
360
- <?php _e("Chat notifications", "wplivechat") ?>:
361
- </td>
362
- <td>
363
- <input id='wplc_pro_chat_notification' name='wplc_pro_chat_notification' type='checkbox' value='yes' disabled="disabled" readonly/>
364
- <?php _e("Alert me via email as soon as someone wants to chat", "wplivechat") ?>
365
- <small>
366
- <i>
367
- <?php _e("available in the", "wplivechat") ?>
368
- <a href="http://www.wp-livechat.com/purchase-pro/?utm_source=plugin&utm_medium=link&utm_campaign=alert" title="<?php _e("Pro Add-on", "wplivechat") ?>" target="_BLANK"><?php _e("Pro Add-on", "wplivechat") ?></a>
369
- <?php _e("only", "wplivechat") ?>
370
- </i>
371
- </small>
372
- </td>
373
- </tr>
374
- <?php } ?>
375
-
376
- <!-- <tr>
377
- <td>
378
- <?php //_e("Display name and avatar in chat", "wplivechat") ?> <i class="fa fa-question-circle wplc_light_grey wplc_settings_tooltip" title="<?php //_e("Display the agent and user name above each message in the chat window.", "wplivechat") ?>"></i>
379
- </td>
380
- <td>
381
- <input type="checkbox" name="wplc_display_name" value="1" <?php //if (isset($wplc_settings['wplc_display_name']) && $wplc_settings['wplc_display_name'] == 1) {
382
- //echo "checked";
383
- //} ?>/>
384
- </td>
385
- </tr> -->
386
- <tr>
387
- <td>
388
- <?php _e("Display details in chat message", "wplivechat") ?>
389
- </td>
390
- <td> <!-- $wplc_settings['wplc_display_name'] Remember for backwards compat -->
391
- <?php if (isset($wplc_settings['wplc_show_name']) && $wplc_settings['wplc_show_name'] == 1) { $checked = "checked"; } else { $checked = ''; } ?>
392
- <input type="checkbox" name="wplc_show_name" value="1" <?php echo $checked; ?>/> <label><?php _e("Show Name", "wplivechat"); ?></label><br/>
393
- <?php if (isset($wplc_settings['wplc_show_avatar']) && $wplc_settings['wplc_show_avatar'] == 1) { $checked = "checked"; } else { $checked = ''; } ?>
394
- <input type="checkbox" name="wplc_show_avatar" value="1" <?php echo $checked; ?>/> <label><?php _e("Show Avatar", "wplivechat"); ?></label>
395
- </td>
396
- </tr>
397
- <tr>
398
- <td>
399
- <?php _e("Only show the chat window to users that are logged in", "wplivechat") ?> <i class="fa fa-question-circle wplc_light_grey wplc_settings_tooltip" title="<?php _e("By checking this, only users that are logged in will be able to chat with you.", "wplivechat") ?>"></i>
400
- </td>
401
- <td>
402
- <input type="checkbox" name="wplc_display_to_loggedin_only" value="1" <?php
403
- if (isset($wplc_settings['wplc_display_to_loggedin_only']) && $wplc_settings['wplc_display_to_loggedin_only'] == 1) {
404
- echo "checked";
405
- }
406
- ?>/>
407
- </td>
408
- </tr>
409
- <tr>
410
- <td>
411
- <?php _e("Display a timestamp in the chat window", "wplivechat") ?>
412
- </td>
413
- <td>
414
- <?php if (isset($wplc_settings['wplc_show_date']) && $wplc_settings['wplc_show_date'] == 1) { $checked = "checked"; } else { $checked = ''; } ?>
415
- <input type="checkbox" name="wplc_show_date" value="1" <?php echo $checked; ?>/> <label><?php _e("Show Date", "wplivechat"); ?></label><br/>
416
- <?php if (isset($wplc_settings['wplc_show_time']) && $wplc_settings['wplc_show_time'] == 1) { $checked = "checked"; } else { $checked = ''; } ?>
417
- <input type="checkbox" name="wplc_show_time" value="1" <?php echo $checked; ?>/> <label><?php _e("Show Time", "wplivechat"); ?></label>
418
- </td>
419
- </tr>
420
- <tr>
421
- <td>
422
- <?php _e("Redirect user to thank you page when chat is ended", "wplivechat") ?> <i class="fa fa-question-circle wplc_light_grey wplc_settings_tooltip" title="<?php _e("By checking this, users will be redirected to your thank you page when a chat is completed.", "wplivechat") ?>"></i>
423
- </td>
424
- <td>
425
- <input type="checkbox" name="wplc_redirect_to_thank_you_page" value="1" <?php echo (isset($wplc_settings['wplc_redirect_to_thank_you_page']) && $wplc_settings['wplc_redirect_to_thank_you_page'] == 1 ? "checked" : "" ); ?> />
426
- <input type="text" name="wplc_redirect_thank_you_url" value="<?php echo (isset($wplc_settings['wplc_redirect_thank_you_url']) ? urldecode($wplc_settings['wplc_redirect_thank_you_url']) : '' ); ?>" placeholder="<?php _e('Thank You Page URL', 'wplivechat'); ?>" />
427
- </td>
428
- </tr>
429
- </table>
430
-
431
- <?php if(!function_exists("wplc_chat_social_div") && !function_exists("wplc_pro_activate")){ ?>
432
-
433
- <h3><?php _e("Social", 'wplivechat') ?></h3>
434
- <hr>
435
- <table class='wp-list-table widefat fixed striped pages' >
436
- <tbody>
437
- <tr>
438
- <td width='300' valign='top'><?php _e("Facebook URL", "wplivechat") ?>: <i class="fa fa-question-circle wplc_light_grey wplc_settings_tooltip" title="<?php _e("Link your Facebook page here. Leave blank to hide", "wplivechat") ?>"></i></td>
439
- <td>
440
- <input id='wplc_social_fb' name='wplc_social_fb' placeholder="<?php _e("Facebook URL...", "wplivechat") ?>" type='text' disabled/>
441
- <small>
442
- <i>
443
- <?php _e("available in the","wplivechat")?>
444
- <a href="http://www.wp-livechat.com/purchase-pro/?utm_source=plugin&utm_medium=link&utm_campaign=social_media" title="<?php _e("Pro Add-on","wplivechat")?>" target="_BLANK"><?php _e("Pro Add-on","wplivechat")?></a>
445
- <?php _e("only","wplivechat")?>
446
- </i>
447
- </small>
448
- </td>
449
- </tr>
450
- <tr>
451
- <td width='300' valign='top'><?php _e("Twitter URL", "wplivechat") ?>: <i class="fa fa-question-circle wplc_light_grey wplc_settings_tooltip" title="<?php _e("Link your Twitter page here. Leave blank to hide", "wplivechat") ?>"></i></td>
452
- <td>
453
- <input id='wplc_social_tw' name='wplc_social_tw' placeholder="<?php _e("Twitter URL...", "wplivechat") ?>" type='text' disabled/>
454
- <small>
455
- <i>
456
- <?php _e("available in the","wplivechat")?>
457
- <a href="http://www.wp-livechat.com/purchase-pro/?utm_source=plugin&utm_medium=link&utm_campaign=social_media" title="<?php _e("Pro Add-on","wplivechat")?>" target="_BLANK"><?php _e("Pro Add-on","wplivechat")?></a>
458
- <?php _e("only","wplivechat")?>
459
- </i>
460
- </small>
461
- </td>
462
- </tr>
463
- </tbody>
464
- </table>
465
- <?php } ?>
466
-
467
- <?php do_action('wplc_hook_admin_settings_chat_box_settings_after'); ?>
468
-
469
- </div>
470
- <div id="tabs-3">
471
- <h3><?php _e("Offline Messages", 'wplivechat') ?></h3>
472
- <table class='form-table wp-list-table widefat fixed striped pages' width='100%'>
473
- <tr>
474
- <td width='300'>
475
- <?php _e("Do not allow users to send offline messages", "wplivechat") ?> <i class="fa fa-question-circle wplc_light_grey wplc_settings_tooltip" title="<?php _e("The chat window will be hidden when it is offline. Users will not be able to send offline messages to you", "wplivechat") ?>"></i>
476
- </td>
477
- <td>
478
- <input type="checkbox" name="wplc_hide_when_offline" value="1" <?php
479
- if (isset($wplc_settings['wplc_hide_when_offline']) && $wplc_settings['wplc_hide_when_offline'] == 1) {
480
- echo "checked";
481
- }
482
- ?>/>
483
- </td>
484
- </tr>
485
- <tr>
486
- <td width="300" valign="top"><?php _e("Offline Chat Box Title", "wplivechat") ?>:</td>
487
- <td>
488
- <input id="wplc_pro_na" name="wplc_pro_na" type="text" size="50" maxlength="50" class="regular-text" value="<?php if (isset($wplc_settings['wplc_pro_na'])) { echo stripslashes($wplc_settings['wplc_pro_na']); } ?>" /> <br />
489
-
490
-
491
- </td>
492
- </tr>
493
- <tr>
494
- <td width="300" valign="top"><?php _e("Offline Text Fields", "wplivechat") ?>:</td>
495
- <td>
496
- <input id="wplc_pro_offline1" name="wplc_pro_offline1" type="text" size="50" maxlength="150" class="regular-text" value="<?php if (isset($wplc_settings['wplc_pro_offline1'])) { echo stripslashes($wplc_settings['wplc_pro_offline1']); } ?>" /> <br />
497
- <input id="wplc_pro_offline2" name="wplc_pro_offline2" type="text" size="50" maxlength="50" class="regular-text" value="<?php if (isset($wplc_settings['wplc_pro_offline2'])) { echo stripslashes($wplc_settings['wplc_pro_offline2']); } ?>" /> <br />
498
- <input id="wplc_pro_offline3" name="wplc_pro_offline3" type="text" size="50" maxlength="150" class="regular-text" value="<?php if (isset($wplc_settings['wplc_pro_offline3'])) { echo stripslashes($wplc_settings['wplc_pro_offline3']); } ?>" /> <br />
499
-
500
-
501
- </td>
502
- </tr>
503
- <tr>
504
- <td width="300" valign="top"><?php _e("Custom fields", "wplivechat") ?>:</td>
505
- <td>
506
- <?php do_action( "wplc_hook_offline_custom_fields_integration_settings" ); ?>
507
- </td>
508
- </tr>
509
-
510
- </table>
511
-
512
- <h4><?php _e("Email settings", 'wplivechat') ?></h4>
513
-
514
-
515
- <table class='form-table wp-list-table widefat fixed striped pages'>
516
- <tr>
517
- <td width='300' valign='top'>
518
- <?php _e("Email Address", "wplivechat") ?>: <i class="fa fa-question-circle wplc_light_grey wplc_settings_tooltip" title="<?php _e("Email address where offline messages are delivered to. Use comma separated email addresses to send to more than one email address", "wplivechat") ?>"></i>
519
- </td>
520
- <td>
521
- <input id="wplc_pro_chat_email_address" name="wplc_pro_chat_email_address" class="regular-text" type="text" value="<?php if (isset($wplc_settings['wplc_pro_chat_email_address'])) {
522
- echo $wplc_settings['wplc_pro_chat_email_address']; } ?>" />
523
- </td>
524
- </tr>
525
-
526
- <tr>
527
- <td width='300' valign='top'>
528
- <?php _e("Subject", "wplivechat") ?>: <i class="fa fa-question-circle wplc_light_grey wplc_settings_tooltip" title="<?php _e("User name will be appended to the end of the subject.", "wplivechat") ?>"></i>
529
- </td>
530
- <td>
531
- <input id="wplc_pro_chat_email_offline_subject" name="wplc_pro_chat_email_offline_subject" class="regular-text" type="text" value="<?php echo(isset($wplc_settings['wplc_pro_chat_email_offline_subject']) ? $wplc_settings['wplc_pro_chat_email_offline_subject'] : ""); ?>" placeholder="<?php echo __("WP Live Chat Support - Offline Message from ", "wplivechat"); ?>"/>
532
- </td>
533
- </tr>
534
-
535
- </table>
536
-
537
- <table class='form-table wp-list-table widefat fixed striped pages'>
538
- <tr>
539
- <td width="33%"><?php _e("Sending Method", "wplivechat") ?></td>
540
- <td width="33%" style="text-align: center;"><?php _e("WP Mail", "wplivechat") ?></td>
541
- <td width="33%" style="text-align: center;"><?php _e("PHP Mailer", "wplivechat") ?></td>
542
- </tr>
543
- <tr>
544
- <td></td>
545
- <td style="text-align: center;"><input class="wplc_mail_type_radio" type="radio" value="wp_mail" name="wplc_mail_type" <?php if ($wplc_mail_type == "wp_mail") {
546
- echo "checked";
547
- } ?>></td>
548
- <td style="text-align: center;"><input id="wpcl_mail_type_php" class="wplc_mail_type_radio" type="radio" value="php_mailer" name="wplc_mail_type" <?php if ($wplc_mail_type == "php_mailer") {
549
- echo "checked";
550
- } ?>></td>
551
- </tr>
552
- </table>
553
- <hr/>
554
- <table id="wplc_smtp_details" class='form-table wp-list-table widefat fixed striped pages' width='100%'>
555
- <tr>
556
- <td width="300" valign="top">
557
- <?php _e("Host", "wplivechat") ?>:
558
- </td>
559
- <td>
560
- <input id="wplc_mail_host" name="wplc_mail_host" type="text" class="regular-text" value="<?php echo get_option("wplc_mail_host") ?>" placeholder="smtp.example.com" />
561
- </td>
562
- </tr>
563
- <tr>
564
- <td>
565
- <?php _e("Port", "wplivechat") ?>:
566
- </td>
567
- <td>
568
- <input id="wplc_mail_port" name="wplc_mail_port" type="text" class="regular-text" value="<?php echo get_option("wplc_mail_port") ?>" placeholder="25" />
569
- </td>
570
- </tr>
571
- <tr>
572
- <td>
573
- <?php _e("Username", "wplivechat") ?>:
574
- </td>
575
- <td>
576
- <input id="wplc_mail_username" name="wplc_mail_username" type="text" class="regular-text" value="<?php echo get_option("wplc_mail_username") ?>" placeholder="me@example.com" />
577
- </td>
578
- </tr>
579
- <tr>
580
- <td>
581
- <?php _e("Password", "wplivechat") ?>:
582
- </td>
583
- <td>
584
- <input id="wplc_mail_password" name="wplc_mail_password" type="password" class="regular-text" value="<?php echo get_option("wplc_mail_password") ?>" placeholder="Password" />
585
- </td>
586
- </tr>
587
- </table>
588
- <?php do_action('wplc_hook_admin_settings_offline_messages_settings_after'); ?>
589
- </div>
590
-
591
-
592
-
593
- <div id="tabs-4">
594
- <style>
595
- .wplc_theme_block img{
596
- border: 1px solid #CCC;
597
- border-radius: 5px;
598
- padding: 5px;
599
- margin: 5px;
600
- }
601
- .wplc_theme_single{
602
- width: 162px;
603
- height: 162px;
604
- text-align: center;
605
- display: inline-block;
606
- vertical-align: top;
607
- margin: 5px;
608
- }
609
- .wplc_animation_block div{
610
- display: inline-block;
611
- width: 150px;
612
- height: 150px;
613
- border: 1px solid #CCC;
614
- border-radius: 5px;
615
- text-align: center;
616
- margin: 10px;
617
- }
618
- .wplc_animation_block i{
619
- font-size: 3em;
620
- line-height: 150px;
621
- }
622
- .wplc_animation_block .wplc_red{
623
- color: #E31230;
624
- }
625
- .wplc_animation_block .wplc_orange{
626
- color: #EB832C;
627
- }
628
- .wplc_animation_active, .wplc_theme_active{
629
- box-shadow: 2px 2px 2px #666666;
630
- }
631
- </style>
632
- <style>
633
- .wplc_animation_block div{
634
- display: inline-block;
635
- width: 150px;
636
- height: 150px;
637
- border: 1px solid #CCC;
638
- border-radius: 5px;
639
- text-align: center;
640
- margin: 10px;
641
- }
642
- .wplc_animation_block i{
643
- font-size: 3em;
644
- line-height: 150px;
645
- }
646
- .wplc_animation_block .wplc_red{
647
- color: #E31230;
648
- }
649
- .wplc_animation_block .wplc_orange{
650
- color: #EB832C;
651
- }
652
- .wplc_animation_active{
653
- box-shadow: 2px 2px 2px #CCC;
654
- }
655
- </style>
656
- <h3><?php _e("Styling",'wplivechat')?></h3>
657
- <table class='form-table wp-list-table widefat fixed striped pages'>
658
-
659
-
660
- <tr style='margin-bottom: 10px;'>
661
- <td width='200'><label for=""><?php _e('Choose a theme', 'wplivechat'); ?></label></td>
662
- <td>
663
- <div class='wplc_theme_block'>
664
- <div class='wplc_theme_image' id=''>
665
- <div class='wplc_theme_single'>
666
- <img style='width:162px;' src='<?php echo WPLC_BASIC_PLUGIN_URL.'images/themes/newtheme-1.jpg'; ?>' title="<?php _e('Classic', 'wplivechat'); ?>" alt="<?php _e('Classic', 'wplivechat'); ?>" class='<?php if (isset($wplc_settings['wplc_newtheme']) && $wplc_settings['wplc_newtheme'] == 'theme-1') { echo 'wplc_theme_active'; } ?>' id='wplc_newtheme_1'/>
667
- <?php _e('Classic', 'wplivechat'); ?>
668
- </div>
669
- <div class='wplc_theme_single'>
670
- <img style='width:162px;' src='<?php echo WPLC_BASIC_PLUGIN_URL.'images/themes/newtheme-2.jpg'; ?>' title="<?php _e('Modern', 'wplivechat'); ?>" alt="<?php _e('Modern', 'wplivechat'); ?>" class='<?php if (isset($wplc_settings['wplc_newtheme']) && $wplc_settings['wplc_newtheme'] == 'theme-2') { echo 'wplc_theme_active'; } ?>' id='wplc_newtheme_2'/>
671
- <?php _e('Modern', 'wplivechat'); ?>
672
- </div>
673
-
674
- </div>
675
- </div>
676
- <input type="radio" name="wplc_newtheme" value="theme-1" class="wplc_hide_input" id="wplc_new_rb_theme_1" <?php if (isset($wplc_settings['wplc_newtheme']) && $wplc_settings['wplc_newtheme'] == 'theme-1') { echo 'checked'; } ?>/>
677
- <input type="radio" name="wplc_newtheme" value="theme-2" class="wplc_hide_input" id="wplc_new_rb_theme_2" <?php if (isset($wplc_settings['wplc_newtheme']) && $wplc_settings['wplc_newtheme'] == 'theme-2') { echo 'checked'; } ?>/>
678
-
679
- </td>
680
- </tr>
681
- <tr height="30">
682
- <td>&nbsp;</td>
683
- <td>&nbsp;</td>
684
- </tr>
685
-
686
- <tr style='margin-bottom: 10px;'>
687
- <td><label for=""><?php _e('Colour Scheme', 'wplivechat'); ?></label></td>
688
- <td>
689
- <div class='wplc_theme_block'>
690
- <div class='wplc_palette'>
691
- <div class='wplc_palette_single'>
692
- <div class='wplc-palette-selection <?php if (isset($wplc_settings['wplc_theme']) && $wplc_settings['wplc_theme'] == 'theme-default') { echo 'wplc_theme_active'; } ?>' id='wplc_theme_default'>
693
- <div class='wplc-palette-top' style='background-color:#ED832F;'></div>
694
- <div class='wplc-palette-top' style='background-color:#FFF;'></div>
695
- <div class='wplc-palette-top' style='background-color:#EEE;'></div>
696
- <div class='wplc-palette-top' style='background-color:#666;'></div>
697
- </div>
698
- </div>
699
-
700
- <div class='wplc_palette_single'>
701
- <div class='wplc-palette-selection <?php if (isset($wplc_settings['wplc_theme']) && $wplc_settings['wplc_theme'] == 'theme-1') { echo 'wplc_theme_active'; } ?>' id='wplc_theme_1'>
702
- <div class='wplc-palette-top' style='background-color:#DB0000;'></div>
703
- <div class='wplc-palette-top' style='background-color:#FFF;'></div>
704
- <div class='wplc-palette-top' style='background-color:#000;'></div>
705
- <div class='wplc-palette-top' style='background-color:#666;'></div>
706
- </div>
707
- </div>
708
- <div class='wplc_palette_single'>
709
- <div class='wplc-palette-selection <?php if (isset($wplc_settings['wplc_theme']) && $wplc_settings['wplc_theme'] == 'theme-2') { echo 'wplc_theme_active'; } ?>' id='wplc_theme_2'>
710
- <div class='wplc-palette-top' style='background-color:#000;'></div>
711
- <div class='wplc-palette-top' style='background-color:#FFF;'></div>
712
- <div class='wplc-palette-top' style='background-color:#888;'></div>
713
- <div class='wplc-palette-top' style='background-color:#666;'></div>
714
- </div>
715
- </div>
716
- <div class='wplc_palette_single'>
717
- <div class='wplc-palette-selection <?php if (isset($wplc_settings['wplc_theme']) && $wplc_settings['wplc_theme'] == 'theme-3') { echo 'wplc_theme_active'; } ?>' id='wplc_theme_3'>
718
- <div class='wplc-palette-top' style='background-color:#B97B9D;'></div>
719
- <div class='wplc-palette-top' style='background-color:#FFF;'></div>
720
- <div class='wplc-palette-top' style='background-color:#EEE;'></div>
721
- <div class='wplc-palette-top' style='background-color:#5A0031;'></div>
722
- </div>
723
- </div>
724
- <div class='wplc_palette_single'>
725
- <div class='wplc-palette-selection <?php if (isset($wplc_settings['wplc_theme']) && $wplc_settings['wplc_theme'] == 'theme-4') { echo 'wplc_theme_active'; } ?>' id='wplc_theme_4'>
726
- <div class='wplc-palette-top' style='background-color:#1A14DB;'></div>
727
- <div class='wplc-palette-top' style='background-color:#FDFDFF;'></div>
728
- <div class='wplc-palette-top' style='background-color:#7F7FB3;'></div>
729
- <div class='wplc-palette-top' style='background-color:#666;'></div>
730
- </div>
731
- </div>
732
- <div class='wplc_palette_single'>
733
- <div class='wplc-palette-selection <?php if (isset($wplc_settings['wplc_theme']) && $wplc_settings['wplc_theme'] == 'theme-5') { echo 'wplc_theme_active'; } ?>' id='wplc_theme_5'>
734
- <div class='wplc-palette-top' style='background-color:#3DCC13;'></div>
735
- <div class='wplc-palette-top' style='background-color:#FDFDFF;'></div>
736
- <div class='wplc-palette-top' style='background-color:#EEE;'></div>
737
- <div class='wplc-palette-top' style='background-color:#666;'></div>
738
- </div>
739
- </div>
740
- <div class='wplc_palette_single'>
741
- <div class='wplc-palette-selection <?php if (isset($wplc_settings['wplc_theme']) && $wplc_settings['wplc_theme'] == 'theme-6') { echo 'wplc_theme_active'; } ?>' id='wplc_theme_6'>
742
- <div class='wplc-palette-top' style='padding-top:3px'><?php _e("Choose","wplivechat"); ?></div>
743
- <div class='wplc-palette-top' style='padding-top:3px'><?php _e("Your","wplivechat"); ?></div>
744
- <div class='wplc-palette-top' style='padding-top:3px'><?php _e("Colors","wplivechat"); ?></div>
745
- <div class='wplc-palette-top' style='padding-top:3px'><?php _e("Below","wplivechat"); ?></div>
746
- </div>
747
- </div>
748
-
749
-
750
- </div>
751
- </div>
752
- <input type="radio" name="wplc_theme" value="theme-default" class="wplc_hide_input" id="wplc_rb_theme_default" <?php if (isset($wplc_settings['wplc_theme']) && $wplc_settings['wplc_theme'] == 'theme-default') { echo 'checked'; } ?>/>
753
- <input type="radio" name="wplc_theme" value="theme-1" class="wplc_hide_input" id="wplc_rb_theme_1" <?php if (isset($wplc_settings['wplc_theme']) && $wplc_settings['wplc_theme'] == 'theme-1') { echo 'checked'; } ?>/>
754
- <input type="radio" name="wplc_theme" value="theme-2" class="wplc_hide_input" id="wplc_rb_theme_2" <?php if (isset($wplc_settings['wplc_theme']) && $wplc_settings['wplc_theme'] == 'theme-2') { echo 'checked'; } ?>/>
755
- <input type="radio" name="wplc_theme" value="theme-3" class="wplc_hide_input" id="wplc_rb_theme_3" <?php if (isset($wplc_settings['wplc_theme']) && $wplc_settings['wplc_theme'] == 'theme-3') { echo 'checked'; } ?>/>
756
- <input type="radio" name="wplc_theme" value="theme-4" class="wplc_hide_input" id="wplc_rb_theme_4" <?php if (isset($wplc_settings['wplc_theme']) && $wplc_settings['wplc_theme'] == 'theme-4') { echo 'checked'; } ?>/>
757
- <input type="radio" name="wplc_theme" value="theme-5" class="wplc_hide_input" id="wplc_rb_theme_5" <?php if (isset($wplc_settings['wplc_theme']) && $wplc_settings['wplc_theme'] == 'theme-5') { echo 'checked'; } ?>/>
758
- <input type="radio" name="wplc_theme" value="theme-6" class="wplc_hide_input" id="wplc_rb_theme_6" <?php if (isset($wplc_settings['wplc_theme']) && $wplc_settings['wplc_theme'] == 'theme-6') { echo 'checked'; } ?>/>
759
-
760
- </td>
761
- </tr>
762
- <tr height="30">
763
- <td>&nbsp;</td>
764
- <td>&nbsp;</td>
765
- </tr>
766
- <tr>
767
- <td width='200' valign='top'><?php _e("Palette Color 1","wplivechat")?>:</td>
768
- <td>
769
- <input id="wplc_settings_color1" name="wplc_settings_color1" type="text" class="color" value="<?php if (isset($wplc_settings_color1)) { echo $wplc_settings_color1; } else { echo 'ED832F'; } ?>" />
770
- </td>
771
- </tr>
772
- <tr>
773
- <td width='200' valign='top'><?php _e("Palette Color 2","wplivechat")?>:</td>
774
- <td>
775
- <input id="wplc_settings_color2" name="wplc_settings_color2" type="text" class="color" value="<?php if (isset($wplc_settings_color2)) { echo $wplc_settings_color2; } else { echo 'FFFFFF'; } ?>" />
776
- </td>
777
- </tr>
778
- <tr>
779
- <td width='200' valign='top'><?php _e("Palette Color 3","wplivechat")?>:</td>
780
- <td>
781
- <input id="wplc_settings_color3" name="wplc_settings_color3" type="text" class="color" value="<?php if (isset($wplc_settings_color3)) { echo $wplc_settings_color3; } else { echo 'EEEEEE'; } ?>" />
782
- </td>
783
- </tr>
784
- <tr>
785
- <td width='200' valign='top'><?php _e("Palette Color 4","wplivechat")?>:</td>
786
- <td>
787
- <input id="wplc_settings_color4" name="wplc_settings_color4" type="text" class="color" value="<?php if (isset($wplc_settings_color4)) { echo $wplc_settings_color4; } else { echo '666666'; } ?>" />
788
- </td>
789
- </tr>
790
-
791
- <tr>
792
- <td width="200" valign="top"><?php _e("I'm using a localization plugin", "wplivechat") ?></td>
793
- <td>
794
- <input type="checkbox" name="wplc_using_localization_plugin" id="wplc_using_localization_plugin" value="1" <?php if (isset($wplc_settings['wplc_using_localization_plugin']) && $wplc_settings['wplc_using_localization_plugin'] == 1) { echo 'checked'; } ?>/>
795
- <br/><small><?php echo sprintf( __("Enable this if you are using a localization plugin. Should you wish to change the below strings with this option enabled, please visit the documentation %s", "wplivechat"), "<a href='https://wp-livechat.com/documentation/changing-strings-in-the-chat-window-when-using-a-localization-plugin/' target='_BLANK'>".__("here", "wplivechat") ); ?></small>
796
- </td>
797
- </tr>
798
-
799
- <tr style='height:30px;'><td></td><td></td></tr>
800
- <tr class="wplc_localization_strings">
801
- <td width="200" valign="top"><?php _e("First Section Text", "wplivechat") ?>:</td>
802
- <td>
803
- <input id="wplc_pro_fst1" name="wplc_pro_fst1" type="text" size="50" maxlength="50" class="regular-text" value="<?php echo stripslashes($wplc_settings['wplc_pro_fst1']) ?>" /> <br />
804
- <input id="wplc_pro_fst2" name="wplc_pro_fst2" type="text" size="50" maxlength="50" class="regular-text" value="<?php echo stripslashes($wplc_settings['wplc_pro_fst2']) ?>" /> <br />
805
- </td>
806
- </tr>
807
- <tr class="wplc_localization_strings">
808
- <td width="200" valign="top"><?php _e("Intro Text", "wplivechat") ?>:</td>
809
- <td>
810
- <input id="wplc_pro_intro" name="wplc_pro_intro" type="text" size="50" maxlength="150" class="regular-text" value="<?php echo stripslashes($wplc_settings['wplc_pro_intro']) ?>" /> <br />
811
- </td>
812
- </tr>
813
- <tr class="wplc_localization_strings">
814
- <td width="200" valign="top"><?php _e("Second Section Text", "wplivechat") ?>:</td>
815
- <td>
816
- <input id="wplc_pro_sst1" name="wplc_pro_sst1" type="text" size="50" maxlength="30" class="regular-text" value="<?php echo stripslashes($wplc_settings['wplc_pro_sst1']) ?>" /> <br />
817
- <input id="wplc_pro_sst2" name="wplc_pro_sst2" type="text" size="50" maxlength="70" class="regular-text" value="<?php echo stripslashes($wplc_settings['wplc_pro_sst2']) ?>" /> <br />
818
- </td>
819
- </tr>
820
- <tr class="wplc_localization_strings">
821
- <td width="200" valign="top"><?php _e("Reactivate Chat Section Text", "wplivechat") ?>:</td>
822
- <td>
823
- <input id="wplc_pro_tst1" name="wplc_pro_tst1" type="text" size="50" maxlength="50" class="regular-text" value="<?php echo stripslashes($wplc_settings['wplc_pro_tst1']) ?>" /> <br />
824
-
825
-
826
- </td>
827
- </tr>
828
- <?php /* removed as this has been replaced with the "welcome_msg" below
829
- <tr class="wplc_localization_strings">
830
- <td width="200" valign="top"><?php _e("User chat welcome", "wplivechat") ?>:</td>
831
- <td>
832
- <input id="wplc_user_welcome_chat" name="wplc_user_welcome_chat" type="text" size="50" maxlength="150" class="regular-text" value="<?php echo stripslashes($wplc_settings['wplc_user_welcome_chat']) ?>" /> <br />
833
- </td>
834
- </tr>
835
- */ ?>
836
- <tr class="wplc_localization_strings">
837
- <td width="200" valign="top"><?php _e("Welcome message", "wplivechat") ?>:</td>
838
- <td>
839
- <input id="wplc_welcome_msg" name="wplc_welcome_msg" type="text" size="50" maxlength="350" class="regular-text" value="<?php echo stripslashes($wplc_settings['wplc_welcome_msg']) ?>" /> <span class='description'><?php _e('This text is shown as soon as a user starts a chat and waits for an agent to join', 'wplivechat'); ?></span><br />
840
- </td>
841
- </tr>
842
- <tr class="wplc_localization_strings">
843
- <td width="200" valign="top"><?php _e("No answer", "wplivechat") ?>:</td>
844
- <td>
845
- <input id="wplc_user_no_answer" name="wplc_user_no_answer" type="text" size="50" maxlength="150" class="regular-text" value="<?php echo (isset($wplc_settings['wplc_user_no_answer']) ? stripslashes($wplc_settings['wplc_user_no_answer']) : __("There is No Answer. Please Try Again Later.","wplivechat")); ?>" /> <span class='description'><?php _e('This text is shown to the user when an agent has failed to answer a chat ', 'wplivechat'); ?></span><br />
846
- </td>
847
- </tr>
848
- <tr class="wplc_localization_strings">
849
- <td width="200" valign="top"><?php _e("Other text", "wplivechat") ?>:</td>
850
- <td>
851
- <input id="wplc_user_enter" name="wplc_user_enter" type="text" size="50" maxlength="150" class="regular-text" value="<?php echo stripslashes($wplc_settings['wplc_user_enter']) ?>" /> <span class='description'><?php _e('This text is shown above the user chat input field', 'wplivechat'); ?></span><br />
852
- </td>
853
- </tr>
854
-
855
- <tr>
856
- <th><label for=""><?php _e('Choose an animation', 'wplivechat'); ?></label></th>
857
-
858
- <td>
859
- <div class='wplc_animation_block'>
860
- <div class='wplc_animation_image <?php if (isset($wplc_settings['wplc_animation']) && $wplc_settings['wplc_animation'] == 'animation-1') {
861
- echo 'wplc_animation_active';
862
- } ?>' id='wplc_animation_1'>
863
- <i class="fa fa-arrow-circle-up wplc_orange"></i>
864
- <p><?php _e('Slide Up', 'wplivechat'); ?></p>
865
- </div>
866
- <div class='wplc_animation_image <?php if (isset($wplc_settings['wplc_animation']) && $wplc_settings['wplc_animation'] == 'animation-2') {
867
- echo 'wplc_animation_active';
868
- } ?>' id='wplc_animation_2'>
869
- <i class="fa fa-arrows-h wplc_red"></i>
870
- <p><?php _e('Slide From The Side', 'wplivechat'); ?></p>
871
- </div>
872
- <div class='wplc_animation_image <?php if (isset($wplc_settings['wplc_animation']) && $wplc_settings['wplc_animation'] == 'animation-3') {
873
- echo 'wplc_animation_active';
874
- } ?>' id='wplc_animation_3'>
875
- <i class="fa fa-arrows-alt wplc_orange"></i>
876
- <p><?php _e('Fade In', 'wplivechat'); ?></p>
877
- </div>
878
- <div class='wplc_animation_image <?php if ((isset($wplc_settings['wplc_animation']) && $wplc_settings['wplc_animation'] == 'animation-4') || !isset($wplc_settings['wplc_animation'])) {
879
- echo 'wplc_animation_active';
880
- } ?>' id='wplc_animation_4'>
881
- <i class="fa fa-thumb-tack wplc_red"></i>
882
- <p><?php _e('No Animation', 'wplivechat'); ?></p>
883
- </div>
884
- </div>
885
- <input type="radio" name="wplc_animation" value="animation-1" class="wplc_hide_input" id="wplc_rb_animation_1" class='wplc_hide_input' <?php if (isset($wplc_settings['wplc_animation']) && $wplc_settings['wplc_animation'] == 'animation-1') {
886
- echo 'checked';
887
- } ?>/>
888
- <input type="radio" name="wplc_animation" value="animation-2" class="wplc_hide_input" id="wplc_rb_animation_2" class='wplc_hide_input' <?php if (isset($wplc_settings['wplc_animation']) && $wplc_settings['wplc_animation'] == 'animation-2') {
889
- echo 'checked';
890
- } ?>/>
891
- <input type="radio" name="wplc_animation" value="animation-3" class="wplc_hide_input" id="wplc_rb_animation_3" class='wplc_hide_input' <?php if (isset($wplc_settings['wplc_animation']) && $wplc_settings['wplc_animation'] == 'animation-3') {
892
- echo 'checked';
893
- } ?>/>
894
- <input type="radio" name="wplc_animation" value="animation-4" class="wplc_hide_input" id="wplc_rb_animation_4" class='wplc_hide_input' <?php if (isset($wplc_settings['wplc_animation']) && $wplc_settings['wplc_animation'] == 'animation-4') {
895
- echo 'checked';
896
- } ?>/>
897
- </td>
898
- </tr>
899
- </table>
900
- </div>
901
- <div id="tabs-5">
902
-
903
-
904
- <?php do_action("wplc_hook_agents_settings"); ?>
905
-
906
-
907
- </div>
908
- <div id="tabs-7">
909
- <h3><?php _e("Blocked Visitors - Based on IP Address", "wplivechat") ?></h3>
910
- <table class='form-table wp-list-table widefat fixed striped pages' width='100%'>
911
- <tr>
912
- <td>
913
- <textarea name="wplc_ban_users_ip" style="width: 50%; min-height: 200px;" placeholder="<?php _e('Enter each IP Address you would like to block on a new line', 'wplivechat'); ?>" autocomplete="false"><?php
914
- $ip_addresses = get_option('WPLC_BANNED_IP_ADDRESSES');
915
- if($ip_addresses){
916
- $ip_addresses = maybe_unserialize($ip_addresses);
917
- if ($ip_addresses && is_array($ip_addresses)) {
918
- foreach($ip_addresses as $ip){
919
- echo $ip."\n";
920
- }
921
- }
922
- }
923
- ?></textarea>
924
- <p class="description"><?php _e('Blocking a user\'s IP Address here will hide the chat window from them, preventing them from chatting with you. Each IP Address must be on a new line', 'wplivechat'); ?></p>
925
- </td>
926
- </tr>
927
- </table>
928
- </div>
929
-
930
-
931
-
932
- <?php do_action("wplc_hook_settings_page_more_tabs"); ?>
933
-
934
- </div>
935
- <p class='submit'><input type='submit' name='wplc_save_settings' class='button-primary' value='<?php _e("Save Settings","wplivechat")?>' /></p>
936
- </form>
937
-
938
- </div>
939
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <style>
2
+ .ui-tabs-vertical { }
3
+ .ui-tabs-vertical .ui-tabs-nav {
4
+ padding: .2em .1em .2em .2em;
5
+ float: left;
6
+ /* width: 10%; */
7
+ max-width: 20%;
8
+ min-width: 190px;
9
+ }
10
+ .ui-tabs-vertical .ui-tabs-nav li { clear: left; width: 100%; border-bottom-width: 1px !important; border-right-width: 0 !important; margin: 0 -1px .2em 0; }
11
+ .ui-tabs-vertical .ui-tabs-nav li a { display:block; }
12
+ .ui-tabs-vertical .ui-tabs-nav li.ui-tabs-active { padding-bottom: 0; padding-right: .1em; border-right-width: 1px; }
13
+ .ui-tabs-vertical .ui-tabs-panel {
14
+ /* padding: 1em; */
15
+ float: left;
16
+ min-width: 67%;
17
+ max-width: 67%;
18
+ }
19
+ textarea, input[type='text'], input[type='email'], input[type='password']{ width: 100% !important; }
20
+ </style>
21
+
22
+ <?php
23
+ /**
24
+ * Removes the ajax loader and forces the settings page to load as is after 3 seconds.
25
+ *
26
+ * This has been put here to counter any PHP fatal warnings that may be experienced on the settings page.
27
+ *
28
+ * Putting this in the wplc_tabs.js file will not work as that file is not loaded if there is a PHP fatal error
29
+ */
30
+ ?>
31
+ <script>
32
+ setTimeout( function() {
33
+ jQuery("#wplc_settings_page_loader").remove();
34
+ jQuery(".wrap").css('display','block');
35
+ jQuery(".wplc_settings_save_notice").css('display','block');
36
+ },3000);
37
+ </script>
38
+
39
+ <?php wplc_stats("settings");
40
+
41
+
42
+ if (function_exists("wplc_string_check")) { wplc_string_check(); }
43
+ $wplc_settings = get_option("WPLC_SETTINGS");
44
+
45
+ ?>
46
+
47
+ <?php
48
+ if (get_option("WPLC_HIDE_CHAT") == true) {
49
+ $wplc_hide_chat = "checked";
50
+ } else {
51
+ $wplc_hide_chat = "";
52
+ };
53
+
54
+ ?>
55
+ <img src='<?php echo WPLC_BASIC_PLUGIN_URL.'images/ajax-loader.gif'; ?>' id='wplc_settings_page_loader' style='display: block; margin: 20px auto;' />
56
+ <div class="wrap" style='display: none;'>
57
+
58
+ <style>
59
+ .wplc_light_grey{
60
+ color: #666;
61
+ }
62
+ </style>
63
+ <div id="icon-edit" class="icon32 icon32-posts-post">
64
+ <br>
65
+ </div>
66
+ <h2><?php _e("WP Live Chat Support Settings","wplivechat")?></h2>
67
+ <?php
68
+
69
+ $wplc_mail_type = get_option("wplc_mail_type");
70
+ if (!isset($wplc_mail_type) || $wplc_mail_type == "" || !$wplc_mail_type) { $wplc_mail_type = "wp_mail"; }
71
+ if (isset($wplc_settings["wplc_settings_align"])) { $wplc_settings_align[intval($wplc_settings["wplc_settings_align"])] = "SELECTED"; }
72
+ if (isset($wplc_settings["wplc_settings_enabled"])) { $wplc_settings_enabled[intval($wplc_settings["wplc_settings_enabled"])] = "SELECTED"; }
73
+ if (isset($wplc_settings["wplc_settings_fill"])) { $wplc_settings_fill = $wplc_settings["wplc_settings_fill"]; } else { $wplc_settings_fill = "ed832f"; }
74
+ if (isset($wplc_settings["wplc_settings_font"])) { $wplc_settings_font = $wplc_settings["wplc_settings_font"]; } else { $wplc_settings_font = "FFFFFF"; }
75
+ if (isset($wplc_settings["wplc_settings_color1"])) { $wplc_settings_color1 = $wplc_settings["wplc_settings_color1"]; } else { $wplc_settings_color1 = "ED832F"; }
76
+ if (isset($wplc_settings["wplc_settings_color2"])) { $wplc_settings_color2 = $wplc_settings["wplc_settings_color2"]; } else { $wplc_settings_color2 = "FFFFFF"; }
77
+ if (isset($wplc_settings["wplc_settings_color3"])) { $wplc_settings_color3 = $wplc_settings["wplc_settings_color3"]; } else { $wplc_settings_color3 = "EEEEEE"; }
78
+ if (isset($wplc_settings["wplc_settings_color4"])) { $wplc_settings_color4 = $wplc_settings["wplc_settings_color4"]; } else { $wplc_settings_color4 = "666666"; }
79
+ if (isset($wplc_settings["wplc_environment"])) { $wplc_environment[intval($wplc_settings["wplc_environment"])] = "SELECTED"; }
80
+
81
+ if(get_option("WPLC_HIDE_CHAT") == true) { $wplc_hide_chat = "checked"; } else { $wplc_hide_chat = ""; };
82
+
83
+ ?>
84
+ <form action='' name='wplc_settings' method='POST' id='wplc_settings'>
85
+
86
+ <div id="wplc_tabs">
87
+ <ul>
88
+ <?php
89
+ $tab_array = array(
90
+ 0 => array(
91
+ "href" => "#tabs-1",
92
+ "icon" => 'fa fa-gear',
93
+ "label" => __("General Settings","wplivechat")
94
+ ),
95
+ 1 => array(
96
+ "href" => "#tabs-2",
97
+ "icon" => 'fa fa-envelope',
98
+ "label" => __("Chat Box","wplivechat")
99
+ ),
100
+ 2 => array(
101
+ "href" => "#tabs-3",
102
+ "icon" => 'fa fa-book',
103
+ "label" => __("Offline Messages","wplivechat")
104
+ ),
105
+ 3 => array(
106
+ "href" => "#tabs-4",
107
+ "icon" => 'fa fa-pencil',
108
+ "label" => __("Styling","wplivechat")
109
+ ),
110
+ 4 => array(
111
+ "href" => "#tabs-5",
112
+ "icon" => 'fa fa-users',
113
+ "label" => __("Agents","wplivechat")
114
+ ),
115
+ 5 => array(
116
+ "href" => "#tabs-7",
117
+ "icon" => 'fa fa-gavel',
118
+ "label" => __("Blocked Visitors","wplivechat")
119
+ )
120
+ );
121
+ $tabs_top = apply_filters("wplc_filter_setting_tabs",$tab_array);
122
+
123
+ foreach ($tabs_top as $tab) {
124
+ echo "<li><a href=\"".$tab['href']."\"><i class=\"".$tab['icon']."\"></i> ".$tab['label']."</a></li>";
125
+ }
126
+
127
+ ?>
128
+
129
+ </ul>
130
+ <div id="tabs-1">
131
+ <h3><?php _e("Main Settings",'wplivechat')?></h3>
132
+ <table class='wp-list-table widefat fixed striped pages' width='700'>
133
+ <tr>
134
+ <td width='300' valign='top'><?php _e("Chat enabled","wplivechat")?>: </td>
135
+ <td>
136
+ <select id='wplc_settings_enabled' name='wplc_settings_enabled'>
137
+ <option value="1" <?php if (isset($wplc_settings_enabled[1])) { echo $wplc_settings_enabled[1]; } ?>><?php _e("Yes","wplivechat"); ?></option>
138
+ <option value="2" <?php if (isset($wplc_settings_enabled[2])) { echo $wplc_settings_enabled[2]; }?>><?php _e("No","wplivechat"); ?></option>
139
+ </select>
140
+ </td>
141
+ </tr>
142
+ <?php /*
143
+ <tr>
144
+ <td width='200' valign='top'>
145
+ <?php _e("Show the 'Powered by WP Live Chat Support' link", "wplivechat") ?>: <i class="fa fa-question-circle wplc_light_grey wplc_settings_tooltip" title="<?php _e('Checking this will display a Powered by WP Live Chat Support link', 'wplivechat'); ?>"></i>
146
+ </td>
147
+ <td>
148
+ <input type="checkbox" value="1" name="wplc_powered_by_link" <?php if (isset($wplc_settings['wplc_powered_by_link']) && $wplc_settings['wplc_powered_by_link'] == 1) { echo "checked"; } ?> />
149
+ </td>
150
+ </tr>
151
+ */ ?>
152
+
153
+ <!--
154
+ <tr>
155
+ <td width='400' valign='top'>
156
+ <?php _e("Hide Chat", "wplivechat") ?>: <i class="fa fa-question-circle wplc_light_grey wplc_settings_tooltip" title="<?php _e("Hides chat for 24hrs when user clicks X", "wplivechat") ?>"></i>
157
+ </td>
158
+ <td valign='top'>
159
+ <input type="checkbox" name="wplc_hide_chat" value="true" <?php echo $wplc_hide_chat ?>/>
160
+ </td>
161
+ </tr>
162
+ -->
163
+ <tr>
164
+ <td width='300' valign='top'>
165
+ <?php _e("Required Chat Box Fields","wplivechat")?>: <i class="fa fa-question-circle wplc_light_grey wplc_settings_tooltip" title="<?php _e("Set default fields that will be displayed when users starting a chat", "wplivechat") ?>"></i>
166
+ </td>
167
+ <td valign='top'>
168
+ <div class="wplc-require-user-info__item">
169
+ <input type="radio" value="1" name="wplc_require_user_info" id="wplc_require_user_info_both" <?php if (isset($wplc_settings['wplc_require_user_info']) && $wplc_settings['wplc_require_user_info'] == '1') { echo "checked"; } ?> />
170
+ <label for="wplc_require_user_info_both"><?php _e( 'Name and email', 'wplivechat' ); ?></label>
171
+ </div>
172
+ <div class="wplc-require-user-info__item">
173
+ <input type="radio" value="email" name="wplc_require_user_info" id="wplc_require_user_info_email" <?php if (isset($wplc_settings['wplc_require_user_info']) && $wplc_settings['wplc_require_user_info'] == 'email') { echo "checked"; } ?> />
174
+ <label for="wplc_require_user_info_email"><?php _e( 'Email', 'wplivechat' ); ?></label>
175
+ </div>
176
+ <div class="wplc-require-user-info__item">
177
+ <input type="radio" value="name" name="wplc_require_user_info" id="wplc_require_user_info_name" <?php if (isset($wplc_settings['wplc_require_user_info']) && $wplc_settings['wplc_require_user_info'] == 'name') { echo "checked"; } ?> />
178
+ <label for="wplc_require_user_info_name"><?php _e( 'Name', 'wplivechat' ); ?></label>
179
+ </div>
180
+ <div class="wplc-require-user-info__item">
181
+ <input type="radio" value="0" name="wplc_require_user_info" id="wplc_require_user_info_none" <?php if (isset($wplc_settings['wplc_require_user_info']) && $wplc_settings['wplc_require_user_info'] == '0') { echo "checked"; } ?> />
182
+ <label for="wplc_require_user_info_none"><?php _e( 'No fields', 'wplivechat' ); ?></label>
183
+ </div>
184
+ </td>
185
+ </tr>
186
+ <tr class="wplc-user-default-visitor-name__row">
187
+ <td width='300' valign='top'>
188
+ <?php _e("Default visitor name","wplivechat"); ?>: <i class="fa fa-question-circle wplc_light_grey wplc_settings_tooltip" title="<?php _e("This name will be displayed for all not logged in visitors", "wplivechat") ?>"></i>
189
+ </td>
190
+ <td valign='top'>
191
+ <input type="text" name="wplc_user_default_visitor_name" id="wplc_user_default_visitor_name" value="<?php if ( isset( $wplc_settings['wplc_user_default_visitor_name'] ) ) { echo stripslashes( $wplc_settings['wplc_user_default_visitor_name'] ); } else { echo __( "Guest", "wplivechat" ); } ?>" />
192
+ </td>
193
+ </tr>
194
+ <tr>
195
+ <td width='300' valign='top'>
196
+ <?php _e("Input Field Replacement Text","wplivechat")?>: <i class="fa fa-question-circle wplc_light_grey wplc_settings_tooltip" title="<?php _e("This is the text that will show in place of the Name And Email fields", "wplivechat") ?>"></i>
197
+ </td>
198
+ <td valign='top'>
199
+ <textarea cols="45" rows="5" name="wplc_user_alternative_text" ><?php if(isset($wplc_settings['wplc_user_alternative_text'])) { echo stripslashes($wplc_settings['wplc_user_alternative_text']); } ?></textarea>
200
+ </td>
201
+ </tr>
202
+ <tr>
203
+ <td width='300' valign='top'>
204
+ <?php _e("Use Logged In User Details","wplivechat")?>: <i class="fa fa-question-circle wplc_light_grey wplc_settings_tooltip" title="<?php _e("A user's Name and Email Address will be used by default if they are logged in.", "wplivechat") ?>"></i>
205
+ </td>
206
+ <td valign='top'>
207
+ <input type="checkbox" value="1" name="wplc_loggedin_user_info" <?php if(isset($wplc_settings['wplc_loggedin_user_info']) && $wplc_settings['wplc_loggedin_user_info'] == 1 ) { echo "checked"; } ?> />
208
+ </td>
209
+ </tr>
210
+ <tr>
211
+ <td width='200' valign='top'>
212
+ <?php _e("Enable On Mobile Devices","wplivechat"); ?>: <i class="fa fa-question-circle wplc_light_grey wplc_settings_tooltip" title="<?php _e("Disabling this will mean that the Chat Box will not be displayed on mobile devices. (Smartphones and Tablets)", "wplivechat") ?>"></i>
213
+ </td>
214
+ <td valign='top'>
215
+ <input type="checkbox" value="1" name="wplc_enabled_on_mobile" <?php if(isset($wplc_settings['wplc_enabled_on_mobile']) && $wplc_settings['wplc_enabled_on_mobile'] == 1 ) { echo "checked"; } ?> />
216
+ </td>
217
+ </tr>
218
+ <tr>
219
+ <td width='300' valign='top'>
220
+ <?php _e("Record a visitor's IP Address","wplivechat"); ?>: <i class="fa fa-question-circle wplc_light_grey wplc_settings_tooltip" title="<?php _e("Disable this to enable anonymity for your visitors", "wplivechat") ?>"></i>
221
+ </td>
222
+ <td valign='top'>
223
+ <input type="checkbox" value="1" name="wplc_record_ip_address" <?php if(isset($wplc_settings['wplc_record_ip_address']) && $wplc_settings['wplc_record_ip_address'] == 1 ) { echo "checked"; } ?> />
224
+ </td>
225
+ </tr>
226
+ <tr>
227
+ <td width='300' valign='top'>
228
+ <?php _e("Play a sound when a new message is received","wplivechat"); ?>: <i class="fa fa-question-circle wplc_light_grey wplc_settings_tooltip" title="<?php _e("Disable this to mute the sound that is played when a new chat message is received", "wplivechat") ?>"></i>
229
+ </td>
230
+ <td valign='top'>
231
+ <input type="checkbox" value="1" name="wplc_enable_msg_sound" <?php if(isset($wplc_settings['wplc_enable_msg_sound']) && $wplc_settings['wplc_enable_msg_sound'] == 1 ) { echo "checked"; } ?> />
232
+ </td>
233
+ </tr>
234
+ <tr>
235
+ <td width='300' valign='top'>
236
+ <?php _e("Enable Font Awesome set","wplivechat"); ?>: <i class="fa fa-question-circle wplc_light_grey wplc_settings_tooltip" title="<?php _e("Disable this if you have Font Awesome set included with your theme", "wplivechat") ?>"></i>
237
+ </td>
238
+ <td valign='top'>
239
+ <input type="checkbox" value="1" name="wplc_enable_font_awesome" <?php if(isset($wplc_settings['wplc_enable_font_awesome']) && $wplc_settings['wplc_enable_font_awesome'] == 1 ) { echo "checked"; } ?> />
240
+ </td>
241
+ </tr>
242
+ <?php if (!function_exists("wplc_pro_activate")) { ?>
243
+
244
+ <tr>
245
+ <td width='300' valign='top'>
246
+ <?php _e("Include chat window on the following pages","wplivechat"); ?>: <i class="fa fa-question-circle wplc_light_grey wplc_settings_tooltip" title="<?php _e("Show the chat window on the following pages. Leave blank to show on all. (Use comma-separated Page ID's)", "wplivechat") ?>"></i>
247
+ </td>
248
+ <td valign='top'>
249
+ <input type="text" readonly="readonly" />
250
+ <small>
251
+ <i>
252
+ <?php _e("available in the","wplivechat")?>
253
+ <a href="http://www.wp-livechat.com/purchase-pro/?utm_source=plugin&utm_medium=link&utm_campaign=include_pages" title="<?php _e("Pro Add-on","wplivechat")?>" target="_BLANK"><?php _e("Pro Add-on","wplivechat")?></a>
254
+ <?php _e("only","wplivechat")?>
255
+ </i>
256
+ </small>
257
+ </td>
258
+ </tr>
259
+ <tr>
260
+ <td width='200' valign='top'>
261
+ <?php _e("Exclude chat window on the following pages","wplivechat"); ?>: <i class="fa fa-question-circle wplc_light_grey wplc_settings_tooltip" title="<?php _e("Do not show the chat window on the following pages. Leave blank to show on all. (Use comma-separated Page ID's)", "wplivechat") ?>"></i>
262
+ </td>
263
+ <td valign='top'>
264
+ <input type="text" readonly="readonly"/>
265
+ <small>
266
+ <i>
267
+ <?php _e("available in the","wplivechat")?>
268
+ <a href="http://www.wp-livechat.com/purchase-pro/?utm_source=plugin&utm_medium=link&utm_campaign=exclude_pages" title="<?php _e("Pro Add-on","wplivechat")?>" target="_BLANK"><?php _e("Pro Add-on","wplivechat")?></a>
269
+ <?php _e("only","wplivechat")?>
270
+ </i>
271
+ </small>
272
+ </td>
273
+ </tr>
274
+
275
+ <tr class="wplc-exclude-post-types__row">
276
+ <td width='200' valign='top'>
277
+ <?php _e("Exclude chat window on selected post types","wplivechat"); ?>: <i class="fa fa-question-circle wplc_light_grey wplc_settings_tooltip" title="<?php _e("Do not show the chat window on the following post types pages.", "wplivechat") ?>"></i>
278
+ </td>
279
+ <td valign='top'>
280
+ <input type="text" readonly="readonly"/>
281
+ <small>
282
+ <i>
283
+ <?php _e("available in the","wplivechat")?>
284
+ <a href="http://www.wp-livechat.com/purchase-pro/?utm_source=plugin&utm_medium=link&utm_campaign=exclude_pages" title="<?php _e("Pro Add-on","wplivechat")?>" target="_BLANK"><?php _e("Pro Add-on","wplivechat")?></a>
285
+ <?php _e("only","wplivechat")?>
286
+ </i>
287
+ </small>
288
+ </td>
289
+ </tr>
290
+
291
+ <?php } ?>
292
+ </table>
293
+ <?php do_action('wplc_hook_admin_settings_main_settings_after'); ?>
294
+
295
+
296
+ </div>
297
+ <div id="tabs-2">
298
+ <h3><?php _e("Chat Window Settings",'wplivechat')?></h3>
299
+ <table class='wp-list-table widefat fixed striped pages'>
300
+ <tr>
301
+ <td width='300' valign='top'><?php _e("Chat box alignment","wplivechat")?>:</td>
302
+ <td>
303
+ <select id='wplc_settings_align' name='wplc_settings_align'>
304
+ <option value="1" <?php if (isset($wplc_settings_align[1])) { echo $wplc_settings_align[1]; } ?>><?php _e("Bottom left","wplivechat"); ?></option>
305
+ <option value="2" <?php if (isset($wplc_settings_align[2])) { echo $wplc_settings_align[2]; } ?>><?php _e("Bottom right","wplivechat"); ?></option>
306
+ <option value="3" <?php if (isset($wplc_settings_align[3])) { echo $wplc_settings_align[3]; } ?>><?php _e("Left","wplivechat"); ?></option>
307
+ <option value="4" <?php if (isset($wplc_settings_align[4])) { echo $wplc_settings_align[4]; } ?>><?php _e("Right","wplivechat"); ?></option>
308
+ </select>
309
+ </td>
310
+ </tr>
311
+ <tr>
312
+ <td width='300'>
313
+ <?php _e("Auto Pop-up","wplivechat") ?> <i class="fa fa-question-circle wplc_light_grey wplc_settings_tooltip" title="<?php _e("Expand the chat box automatically (prompts the user to enter their name and email address).","wplivechat") ?>"></i>
314
+ </td>
315
+ <td>
316
+ <input type="checkbox" name="wplc_auto_pop_up" value="1" <?php if(isset($wplc_settings['wplc_auto_pop_up']) && $wplc_settings['wplc_auto_pop_up'] == 1 ) { echo "checked"; } ?>/>
317
+ </td>
318
+ </tr>
319
+ <tr>
320
+
321
+ <?php if (!function_exists("wplc_pro_activate")) { ?>
322
+ <tr>
323
+ <td width='300'>
324
+ <?php _e("Display typing indicator","wplivechat") ?> <i class="fa fa-question-circle wplc_light_grey wplc_settings_tooltip" title="<?php _e("Display a typing animation as soon as someone starts typing.","wplivechat") ?>"></i>
325
+ </td>
326
+ <td>
327
+ <input type="checkbox" name="" value="" disabled />
328
+ <small>
329
+ <i>
330
+ <?php _e("available in the","wplivechat")?>
331
+ <a href="http://www.wp-livechat.com/purchase-pro/?utm_source=plugin&utm_medium=link&utm_campaign=typing" title="<?php _e("Pro Add-on","wplivechat")?>" target="_BLANK"><?php _e("Pro Add-on","wplivechat")?></a>
332
+ <?php _e("only","wplivechat")?>
333
+ </i>
334
+ </small>
335
+ </td>
336
+ </tr>
337
+ <tr>
338
+ <tr>
339
+
340
+ <td width='300' valign='top'>
341
+ <?php _e("Name","wplivechat")?>:
342
+ </td>
343
+ <td>
344
+ <input type='text' size='50' maxlength='50' disabled readonly value='admin' />
345
+ <small>
346
+ <i>
347
+ <?php _e("available in the","wplivechat")?>
348
+ <a href="http://www.wp-livechat.com/purchase-pro/?utm_source=plugin&utm_medium=link&utm_campaign=name" title="<?php _e("Pro Add-on","wplivechat")?>" target="_BLANK"><?php _e("Pro Add-on","wplivechat")?></a>
349
+ <?php _e("only","wplivechat")?>
350
+ </i>
351
+ </small>
352
+ </td>
353
+ </tr>
354
+ <!-- Chat Icon-->
355
+ <tr>
356
+ <td width='300' valign='top'>
357
+ <?php _e("Icon","wplivechat")?>:
358
+ </td>
359
+ <td>
360
+ <input id="wplc_pro_chat_button" type="button" value="<?php _e("Upload Image","wplivechat")?>" readonly disabled />
361
+ <small>
362
+ <i>
363
+ <?php _e("available in the","wplivechat")?>
364
+ <a href="http://www.wp-livechat.com/purchase-pro/?utm_source=plugin&utm_medium=link&utm_campaign=pic" title="<?php _e("Pro Add-on","wplivechat")?>" target="_BLANK"><?php _e("Pro Add-on","wplivechat")?></a>
365
+ <?php _e("only","wplivechat")?>
366
+ </i>
367
+ </small>
368
+ </td>
369
+ </tr>
370
+ <!-- Chat Pic-->
371
+ <tr>
372
+ <td width='300' valign='top'>
373
+ <?php _e("Picture","wplivechat")?>:
374
+ </td>
375
+ <td>
376
+ <input id="wplc_pro_pic_button" type="button" value="<?php _e("Upload Image","wplivechat")?>" readonly disabled />
377
+ <small>
378
+ <i>
379
+ <?php _e("available in the","wplivechat")?>
380
+ <a href="http://www.wp-livechat.com/purchase-pro/?utm_source=plugin&utm_medium=link&utm_campaign=pic" title="<?php _e("Pro Add-on","wplivechat")?>" target="_BLANK"><?php _e("Pro Add-on","wplivechat")?></a>
381
+ <?php _e("only","wplivechat")?>
382
+ </i>
383
+ </small>
384
+ </td>
385
+ </tr>
386
+ <!-- Chat Logo-->
387
+ <tr>
388
+ <td width='300' valign='top'>
389
+ <?php _e("Logo","wplivechat")?>:
390
+ </td>
391
+ <td>
392
+ <input id="wplc_pro_logo_button" type="button" value="<?php _e("Upload Image","wplivechat")?>" readonly disabled />
393
+ <small>
394
+ <i>
395
+ <?php _e("available in the","wplivechat")?>
396
+ <a href="http://www.wp-livechat.com/purchase-pro/?utm_source=plugin&utm_medium=link&utm_campaign=pic" title="<?php _e("Pro Add-on","wplivechat")?>" target="_BLANK"><?php _e("Pro Add-on","wplivechat")?></a>
397
+ <?php _e("only","wplivechat")?>
398
+ </i>
399
+ </small>
400
+ </td>
401
+ </tr>
402
+ <!-- Chat Delay-->
403
+ <tr>
404
+ <td width='300' valign='top'>
405
+ <?php _e("Chat delay (seconds)","wplivechat")?>:
406
+ </td>
407
+ <td>
408
+ <input type='text' size='50' maxlength='50' disabled readonly value='10' />
409
+ <small>
410
+ <i>
411
+ <?php _e("available in the","wplivechat")?>
412
+ <a href="http://www.wp-livechat.com/purchase-pro/?utm_source=plugin&utm_medium=link&utm_campaign=delay" title="<?php _e("Pro Add-on","wplivechat")?>" target="_BLANK"><?php _e("Pro Add-on","wplivechat")?></a>
413
+ <?php _e("only","wplivechat")?>
414
+ </i>
415
+ </small>
416
+ </td>
417
+ </tr>
418
+ <!-- Chat Notification if want to chat-->
419
+ <tr>
420
+ <td width='300' valign='top'>
421
+ <?php _e("Chat notifications", "wplivechat") ?>:
422
+ </td>
423
+ <td>
424
+ <input id='wplc_pro_chat_notification' name='wplc_pro_chat_notification' type='checkbox' value='yes' disabled="disabled" readonly/>
425
+ <?php _e("Alert me via email as soon as someone wants to chat", "wplivechat") ?>
426
+ <small>
427
+ <i>
428
+ <?php _e("available in the", "wplivechat") ?>
429
+ <a href="http://www.wp-livechat.com/purchase-pro/?utm_source=plugin&utm_medium=link&utm_campaign=alert" title="<?php _e("Pro Add-on", "wplivechat") ?>" target="_BLANK"><?php _e("Pro Add-on", "wplivechat") ?></a>
430
+ <?php _e("only", "wplivechat") ?>
431
+ </i>
432
+ </small>
433
+ </td>
434
+ </tr>
435
+ <?php } ?>
436
+
437
+ <!-- <tr>
438
+ <td>
439
+ <?php //_e("Display name and avatar in chat", "wplivechat") ?> <i class="fa fa-question-circle wplc_light_grey wplc_settings_tooltip" title="<?php //_e("Display the agent and user name above each message in the chat window.", "wplivechat") ?>"></i>
440
+ </td>
441
+ <td>
442
+ <input type="checkbox" name="wplc_display_name" value="1" <?php //if (isset($wplc_settings['wplc_display_name']) && $wplc_settings['wplc_display_name'] == 1) {
443
+ //echo "checked";
444
+ //} ?>/>
445
+ </td>
446
+ </tr> -->
447
+ <tr>
448
+ <td>
449
+ <?php _e("Display details in chat message", "wplivechat") ?>
450
+ </td>
451
+ <td> <!-- $wplc_settings['wplc_display_name'] Remember for backwards compat -->
452
+ <?php if (isset($wplc_settings['wplc_show_name']) && $wplc_settings['wplc_show_name'] == 1) { $checked = "checked"; } else { $checked = ''; } ?>
453
+ <input type="checkbox" name="wplc_show_name" value="1" <?php echo $checked; ?>/> <label><?php _e("Show Name", "wplivechat"); ?></label><br/>
454
+ <?php if (isset($wplc_settings['wplc_show_avatar']) && $wplc_settings['wplc_show_avatar'] == 1) { $checked = "checked"; } else { $checked = ''; } ?>
455
+ <input type="checkbox" name="wplc_show_avatar" value="1" <?php echo $checked; ?>/> <label><?php _e("Show Avatar", "wplivechat"); ?></label>
456
+ </td>
457
+ </tr>
458
+ <tr>
459
+ <td>
460
+ <?php _e("Only show the chat window to users that are logged in", "wplivechat") ?> <i class="fa fa-question-circle wplc_light_grey wplc_settings_tooltip" title="<?php _e("By checking this, only users that are logged in will be able to chat with you.", "wplivechat") ?>"></i>
461
+ </td>
462
+ <td>
463
+ <input type="checkbox" name="wplc_display_to_loggedin_only" value="1" <?php
464
+ if (isset($wplc_settings['wplc_display_to_loggedin_only']) && $wplc_settings['wplc_display_to_loggedin_only'] == 1) {
465
+ echo "checked";
466
+ }
467
+ ?>/>
468
+ </td>
469
+ </tr>
470
+ <tr>
471
+ <td>
472
+ <?php _e("Display a timestamp in the chat window", "wplivechat") ?>
473
+ </td>
474
+ <td>
475
+ <?php if (isset($wplc_settings['wplc_show_date']) && $wplc_settings['wplc_show_date'] == 1) { $checked = "checked"; } else { $checked = ''; } ?>
476
+ <input type="checkbox" name="wplc_show_date" value="1" <?php echo $checked; ?>/> <label><?php _e("Show Date", "wplivechat"); ?></label><br/>
477
+ <?php if (isset($wplc_settings['wplc_show_time']) && $wplc_settings['wplc_show_time'] == 1) { $checked = "checked"; } else { $checked = ''; } ?>
478
+ <input type="checkbox" name="wplc_show_time" value="1" <?php echo $checked; ?>/> <label><?php _e("Show Time", "wplivechat"); ?></label>
479
+ </td>
480
+ </tr>
481
+ <tr>
482
+ <td>
483
+ <?php _e("Redirect user to thank you page when chat is ended", "wplivechat") ?> <i class="fa fa-question-circle wplc_light_grey wplc_settings_tooltip" title="<?php _e("By checking this, users will be redirected to your thank you page when a chat is completed.", "wplivechat") ?>"></i>
484
+ </td>
485
+ <td>
486
+ <input type="checkbox" name="wplc_redirect_to_thank_you_page" value="1" <?php echo (isset($wplc_settings['wplc_redirect_to_thank_you_page']) && $wplc_settings['wplc_redirect_to_thank_you_page'] == 1 ? "checked" : "" ); ?> />
487
+ <input type="text" name="wplc_redirect_thank_you_url" value="<?php echo (isset($wplc_settings['wplc_redirect_thank_you_url']) ? urldecode($wplc_settings['wplc_redirect_thank_you_url']) : '' ); ?>" placeholder="<?php _e('Thank You Page URL', 'wplivechat'); ?>" />
488
+ </td>
489
+ </tr>
490
+ </table>
491
+
492
+ <?php if(!function_exists("wplc_chat_social_div") && !function_exists("wplc_pro_activate")){ ?>
493
+
494
+ <h3><?php _e("Social", 'wplivechat') ?></h3>
495
+ <hr>
496
+ <table class='wp-list-table widefat fixed striped pages' >
497
+ <tbody>
498
+ <tr>
499
+ <td width='300' valign='top'><?php _e("Facebook URL", "wplivechat") ?>: <i class="fa fa-question-circle wplc_light_grey wplc_settings_tooltip" title="<?php _e("Link your Facebook page here. Leave blank to hide", "wplivechat") ?>"></i></td>
500
+ <td>
501
+ <input id='wplc_social_fb' name='wplc_social_fb' placeholder="<?php _e("Facebook URL...", "wplivechat") ?>" type='text' disabled/>
502
+ <small>
503
+ <i>
504
+ <?php _e("available in the","wplivechat")?>
505
+ <a href="http://www.wp-livechat.com/purchase-pro/?utm_source=plugin&utm_medium=link&utm_campaign=social_media" title="<?php _e("Pro Add-on","wplivechat")?>" target="_BLANK"><?php _e("Pro Add-on","wplivechat")?></a>
506
+ <?php _e("only","wplivechat")?>
507
+ </i>
508
+ </small>
509
+ </td>
510
+ </tr>
511
+ <tr>
512
+ <td width='300' valign='top'><?php _e("Twitter URL", "wplivechat") ?>: <i class="fa fa-question-circle wplc_light_grey wplc_settings_tooltip" title="<?php _e("Link your Twitter page here. Leave blank to hide", "wplivechat") ?>"></i></td>
513
+ <td>
514
+ <input id='wplc_social_tw' name='wplc_social_tw' placeholder="<?php _e("Twitter URL...", "wplivechat") ?>" type='text' disabled/>
515
+ <small>
516
+ <i>
517
+ <?php _e("available in the","wplivechat")?>
518
+ <a href="http://www.wp-livechat.com/purchase-pro/?utm_source=plugin&utm_medium=link&utm_campaign=social_media" title="<?php _e("Pro Add-on","wplivechat")?>" target="_BLANK"><?php _e("Pro Add-on","wplivechat")?></a>
519
+ <?php _e("only","wplivechat")?>
520
+ </i>
521
+ </small>
522
+ </td>
523
+ </tr>
524
+ </tbody>
525
+ </table>
526
+ <?php } ?>
527
+
528
+ <?php do_action('wplc_hook_admin_settings_chat_box_settings_after'); ?>
529
+
530
+ </div>
531
+ <div id="tabs-3">
532
+ <h3><?php _e("Offline Messages", 'wplivechat') ?></h3>
533
+ <table class='form-table wp-list-table widefat fixed striped pages' width='100%'>
534
+ <tr>
535
+ <td width='300'>
536
+ <?php _e("Do not allow users to send offline messages", "wplivechat") ?> <i class="fa fa-question-circle wplc_light_grey wplc_settings_tooltip" title="<?php _e("The chat window will be hidden when it is offline. Users will not be able to send offline messages to you", "wplivechat") ?>"></i>
537
+ </td>
538
+ <td>
539
+ <input type="checkbox" name="wplc_hide_when_offline" value="1" <?php
540
+ if (isset($wplc_settings['wplc_hide_when_offline']) && $wplc_settings['wplc_hide_when_offline'] == 1) {
541
+ echo "checked";
542
+ }
543
+ ?>/>
544
+ </td>
545
+ </tr>
546
+ <tr>
547
+ <td width="300" valign="top"><?php _e("Offline Chat Box Title", "wplivechat") ?>:</td>
548
+ <td>
549
+ <input id="wplc_pro_na" name="wplc_pro_na" type="text" size="50" maxlength="50" class="regular-text" value="<?php if (isset($wplc_settings['wplc_pro_na'])) { echo stripslashes($wplc_settings['wplc_pro_na']); } ?>" /> <br />
550
+
551
+
552
+ </td>
553
+ </tr>
554
+ <tr>
555
+ <td width="300" valign="top"><?php _e("Offline Text Fields", "wplivechat") ?>:</td>
556
+ <td>
557
+ <input id="wplc_pro_offline1" name="wplc_pro_offline1" type="text" size="50" maxlength="150" class="regular-text" value="<?php if (isset($wplc_settings['wplc_pro_offline1'])) { echo stripslashes($wplc_settings['wplc_pro_offline1']); } ?>" /> <br />
558
+ <input id="wplc_pro_offline2" name="wplc_pro_offline2" type="text" size="50" maxlength="50" class="regular-text" value="<?php if (isset($wplc_settings['wplc_pro_offline2'])) { echo stripslashes($wplc_settings['wplc_pro_offline2']); } ?>" /> <br />
559
+ <input id="wplc_pro_offline3" name="wplc_pro_offline3" type="text" size="50" maxlength="150" class="regular-text" value="<?php if (isset($wplc_settings['wplc_pro_offline3'])) { echo stripslashes($wplc_settings['wplc_pro_offline3']); } ?>" /> <br />
560
+
561
+
562
+ </td>
563
+ </tr>
564
+ <tr>
565
+ <td width="300" valign="top"><?php _e("Offline Button Text", "wplivechat") ?>:</td>
566
+ <td>
567
+ <input id="wplc_pro_offline_btn" name="wplc_pro_offline_btn" type="text" size="50" maxlength="50" class="regular-text" value="<?php if (isset($wplc_settings['wplc_pro_offline_btn'])) { echo stripslashes($wplc_settings['wplc_pro_offline_btn']); } ?>" /> <br />
568
+ </td>
569
+ </tr>
570
+ <tr>
571
+ <td width="300" valign="top"><?php _e("Offline Send Button Text", "wplivechat") ?>:</td>
572
+ <td>
573
+ <input id="wplc_pro_offline_btn_send" name="wplc_pro_offline_btn_send" type="text" size="50" maxlength="50" class="regular-text" value="<?php if (isset($wplc_settings['wplc_pro_offline_btn_send'])) { echo stripslashes($wplc_settings['wplc_pro_offline_btn_send']); } ?>" /> <br />
574
+ </td>
575
+ </tr>
576
+ <tr>
577
+ <td width="300" valign="top"><?php _e("Custom fields", "wplivechat") ?>:</td>
578
+ <td>
579
+ <?php do_action( "wplc_hook_offline_custom_fields_integration_settings" ); ?>
580
+ </td>
581
+ </tr>
582
+
583
+ </table>
584
+
585
+ <h4><?php _e("Email settings", 'wplivechat') ?></h4>
586
+
587
+
588
+ <table class='form-table wp-list-table widefat fixed striped pages'>
589
+ <tr>
590
+ <td width='300' valign='top'>
591
+ <?php _e("Email Address", "wplivechat") ?>: <i class="fa fa-question-circle wplc_light_grey wplc_settings_tooltip" title="<?php _e("Email address where offline messages are delivered to. Use comma separated email addresses to send to more than one email address", "wplivechat") ?>"></i>
592
+ </td>
593
+ <td>
594
+ <input id="wplc_pro_chat_email_address" name="wplc_pro_chat_email_address" class="regular-text" type="text" value="<?php if (isset($wplc_settings['wplc_pro_chat_email_address'])) {
595
+ echo $wplc_settings['wplc_pro_chat_email_address']; } ?>" />
596
+ </td>
597
+ </tr>
598
+
599
+ <tr>
600
+ <td width='300' valign='top'>
601
+ <?php _e("Subject", "wplivechat") ?>: <i class="fa fa-question-circle wplc_light_grey wplc_settings_tooltip" title="<?php _e("User name will be appended to the end of the subject.", "wplivechat") ?>"></i>
602
+ </td>
603
+ <td>
604
+ <input id="wplc_pro_chat_email_offline_subject" name="wplc_pro_chat_email_offline_subject" class="regular-text" type="text" value="<?php echo(isset($wplc_settings['wplc_pro_chat_email_offline_subject']) ? $wplc_settings['wplc_pro_chat_email_offline_subject'] : ""); ?>" placeholder="<?php echo __("WP Live Chat Support - Offline Message from ", "wplivechat"); ?>"/>
605
+ </td>
606
+ </tr>
607
+
608
+ </table>
609
+
610
+ <table class='form-table wp-list-table widefat fixed striped pages'>
611
+ <tr>
612
+ <td width="33%"><?php _e("Sending Method", "wplivechat") ?></td>
613
+ <td width="33%" style="text-align: center;"><?php _e("WP Mail", "wplivechat") ?></td>
614
+ <td width="33%" style="text-align: center;"><?php _e("PHP Mailer", "wplivechat") ?></td>
615
+ </tr>
616
+ <tr>
617
+ <td></td>
618
+ <td style="text-align: center;"><input class="wplc_mail_type_radio" type="radio" value="wp_mail" name="wplc_mail_type" <?php if ($wplc_mail_type == "wp_mail") {
619
+ echo "checked";
620
+ } ?>></td>
621
+ <td style="text-align: center;"><input id="wpcl_mail_type_php" class="wplc_mail_type_radio" type="radio" value="php_mailer" name="wplc_mail_type" <?php if ($wplc_mail_type == "php_mailer") {
622
+ echo "checked";
623
+ } ?>></td>
624
+ </tr>
625
+ </table>
626
+ <hr/>
627
+ <table id="wplc_smtp_details" class='form-table wp-list-table widefat fixed striped pages' width='100%'>
628
+ <tr>
629
+ <td width="300" valign="top">
630
+ <?php _e("Host", "wplivechat") ?>:
631
+ </td>
632
+ <td>
633
+ <input id="wplc_mail_host" name="wplc_mail_host" type="text" class="regular-text" value="<?php echo get_option("wplc_mail_host") ?>" placeholder="smtp.example.com" />
634
+ </td>
635
+ </tr>
636
+ <tr>
637
+ <td>
638
+ <?php _e("Port", "wplivechat") ?>:
639
+ </td>
640
+ <td>
641
+ <input id="wplc_mail_port" name="wplc_mail_port" type="text" class="regular-text" value="<?php echo get_option("wplc_mail_port") ?>" placeholder="25" />
642
+ </td>
643
+ </tr>
644
+ <tr>
645
+ <td>
646
+ <?php _e("Username", "wplivechat") ?>:
647
+ </td>
648
+ <td>
649
+ <input id="wplc_mail_username" name="wplc_mail_username" type="text" class="regular-text" value="<?php echo get_option("wplc_mail_username") ?>" placeholder="me@example.com" />
650
+ </td>
651
+ </tr>
652
+ <tr>
653
+ <td>
654
+ <?php _e("Password", "wplivechat") ?>:
655
+ </td>
656
+ <td>
657
+ <input id="wplc_mail_password" name="wplc_mail_password" type="password" class="regular-text" value="<?php echo get_option("wplc_mail_password") ?>" placeholder="Password" />
658
+ </td>
659
+ </tr>
660
+ </table>
661
+ <?php do_action('wplc_hook_admin_settings_offline_messages_settings_after'); ?>
662
+ </div>
663
+
664
+
665
+
666
+ <div id="tabs-4">
667
+ <style>
668
+ .wplc_theme_block img{
669
+ border: 1px solid #CCC;
670
+ border-radius: 5px;
671
+ padding: 5px;
672
+ margin: 5px;
673
+ }
674
+ .wplc_theme_single{
675
+ width: 162px;
676
+ height: 162px;
677
+ text-align: center;
678
+ display: inline-block;
679
+ vertical-align: top;
680
+ margin: 5px;
681
+ }
682
+ .wplc_animation_block div{
683
+ display: inline-block;
684
+ width: 150px;
685
+ height: 150px;
686
+ border: 1px solid #CCC;
687
+ border-radius: 5px;
688
+ text-align: center;
689
+ margin: 10px;
690
+ }
691
+ .wplc_animation_block i{
692
+ font-size: 3em;
693
+ line-height: 150px;
694
+ }
695
+ .wplc_animation_block .wplc_red{
696
+ color: #E31230;
697
+ }
698
+ .wplc_animation_block .wplc_orange{
699
+ color: #EB832C;
700
+ }
701
+ .wplc_animation_active, .wplc_theme_active{
702
+ box-shadow: 2px 2px 2px #666666;
703
+ }
704
+ </style>
705
+ <style>
706
+ .wplc_animation_block div{
707
+ display: inline-block;
708
+ width: 150px;
709
+ height: 150px;
710
+ border: 1px solid #CCC;
711
+ border-radius: 5px;
712
+ text-align: center;
713
+ margin: 10px;
714
+ }
715
+ .wplc_animation_block i{
716
+ font-size: 3em;
717
+ line-height: 150px;
718
+ }
719
+ .wplc_animation_block .wplc_red{
720
+ color: #E31230;
721
+ }
722
+ .wplc_animation_block .wplc_orange{
723
+ color: #EB832C;
724
+ }
725
+ .wplc_animation_active{
726
+ box-shadow: 2px 2px 2px #CCC;
727
+ }
728
+ </style>
729
+ <h3><?php _e("Styling",'wplivechat')?></h3>
730
+ <table class='form-table wp-list-table widefat fixed striped pages'>
731
+
732
+
733
+ <tr style='margin-bottom: 10px;'>
734
+ <td width='200'><label for=""><?php _e('Choose a theme', 'wplivechat'); ?></label></td>
735
+ <td>
736
+ <div class='wplc_theme_block'>
737
+ <div class='wplc_theme_image' id=''>
738
+ <div class='wplc_theme_single'>
739
+ <img style='width:162px;' src='<?php echo WPLC_BASIC_PLUGIN_URL.'images/themes/newtheme-1.jpg'; ?>' title="<?php _e('Classic', 'wplivechat'); ?>" alt="<?php _e('Classic', 'wplivechat'); ?>" class='<?php if (isset($wplc_settings['wplc_newtheme']) && $wplc_settings['wplc_newtheme'] == 'theme-1') { echo 'wplc_theme_active'; } ?>' id='wplc_newtheme_1'/>
740
+ <?php _e('Classic', 'wplivechat'); ?>
741
+ </div>
742
+ <div class='wplc_theme_single'>
743
+ <img style='width:162px;' src='<?php echo WPLC_BASIC_PLUGIN_URL.'images/themes/newtheme-2.jpg'; ?>' title="<?php _e('Modern', 'wplivechat'); ?>" alt="<?php _e('Modern', 'wplivechat'); ?>" class='<?php if (isset($wplc_settings['wplc_newtheme']) && $wplc_settings['wplc_newtheme'] == 'theme-2') { echo 'wplc_theme_active'; } ?>' id='wplc_newtheme_2'/>
744
+ <?php _e('Modern', 'wplivechat'); ?>
745
+ </div>
746
+
747
+ </div>
748
+ </div>
749
+ <input type="radio" name="wplc_newtheme" value="theme-1" class="wplc_hide_input" id="wplc_new_rb_theme_1" <?php if (isset($wplc_settings['wplc_newtheme']) && $wplc_settings['wplc_newtheme'] == 'theme-1') { echo 'checked'; } ?>/>
750
+ <input type="radio" name="wplc_newtheme" value="theme-2" class="wplc_hide_input" id="wplc_new_rb_theme_2" <?php if (isset($wplc_settings['wplc_newtheme']) && $wplc_settings['wplc_newtheme'] == 'theme-2') { echo 'checked'; } ?>/>
751
+
752
+ </td>
753
+ </tr>
754
+ <tr height="30">
755
+ <td>&nbsp;</td>
756
+ <td>&nbsp;</td>
757
+ </tr>
758
+
759
+ <tr style='margin-bottom: 10px;'>
760
+ <td><label for=""><?php _e('Colour Scheme', 'wplivechat'); ?></label></td>
761
+ <td>
762
+ <div class='wplc_theme_block'>
763
+ <div class='wplc_palette'>
764
+ <div class='wplc_palette_single'>
765
+ <div class='wplc-palette-selection <?php if (isset($wplc_settings['wplc_theme']) && $wplc_settings['wplc_theme'] == 'theme-default') { echo 'wplc_theme_active'; } ?>' id='wplc_theme_default'>
766
+ <div class='wplc-palette-top' style='background-color:#ED832F;'></div>
767
+ <div class='wplc-palette-top' style='background-color:#FFF;'></div>
768
+ <div class='wplc-palette-top' style='background-color:#EEE;'></div>
769
+ <div class='wplc-palette-top' style='background-color:#666;'></div>
770
+ </div>
771
+ </div>
772
+
773
+ <div class='wplc_palette_single'>
774
+ <div class='wplc-palette-selection <?php if (isset($wplc_settings['wplc_theme']) && $wplc_settings['wplc_theme'] == 'theme-1') { echo 'wplc_theme_active'; } ?>' id='wplc_theme_1'>
775
+ <div class='wplc-palette-top' style='background-color:#DB0000;'></div>
776
+ <div class='wplc-palette-top' style='background-color:#FFF;'></div>
777
+ <div class='wplc-palette-top' style='background-color:#000;'></div>
778
+ <div class='wplc-palette-top' style='background-color:#666;'></div>
779
+ </div>
780
+ </div>
781
+ <div class='wplc_palette_single'>
782
+ <div class='wplc-palette-selection <?php if (isset($wplc_settings['wplc_theme']) && $wplc_settings['wplc_theme'] == 'theme-2') { echo 'wplc_theme_active'; } ?>' id='wplc_theme_2'>
783
+ <div class='wplc-palette-top' style='background-color:#000;'></div>
784
+ <div class='wplc-palette-top' style='background-color:#FFF;'></div>
785
+ <div class='wplc-palette-top' style='background-color:#888;'></div>
786
+ <div class='wplc-palette-top' style='background-color:#666;'></div>
787
+ </div>
788
+ </div>
789
+ <div class='wplc_palette_single'>
790
+ <div class='wplc-palette-selection <?php if (isset($wplc_settings['wplc_theme']) && $wplc_settings['wplc_theme'] == 'theme-3') { echo 'wplc_theme_active'; } ?>' id='wplc_theme_3'>
791
+ <div class='wplc-palette-top' style='background-color:#B97B9D;'></div>
792
+ <div class='wplc-palette-top' style='background-color:#FFF;'></div>
793
+ <div class='wplc-palette-top' style='background-color:#EEE;'></div>
794
+ <div class='wplc-palette-top' style='background-color:#5A0031;'></div>
795
+ </div>
796
+ </div>
797
+ <div class='wplc_palette_single'>
798
+ <div class='wplc-palette-selection <?php if (isset($wplc_settings['wplc_theme']) && $wplc_settings['wplc_theme'] == 'theme-4') { echo 'wplc_theme_active'; } ?>' id='wplc_theme_4'>
799
+ <div class='wplc-palette-top' style='background-color:#1A14DB;'></div>
800
+ <div class='wplc-palette-top' style='background-color:#FDFDFF;'></div>
801
+ <div class='wplc-palette-top' style='background-color:#7F7FB3;'></div>
802
+ <div class='wplc-palette-top' style='background-color:#666;'></div>
803
+ </div>
804
+ </div>
805
+ <div class='wplc_palette_single'>
806
+ <div class='wplc-palette-selection <?php if (isset($wplc_settings['wplc_theme']) && $wplc_settings['wplc_theme'] == 'theme-5') { echo 'wplc_theme_active'; } ?>' id='wplc_theme_5'>
807
+ <div class='wplc-palette-top' style='background-color:#3DCC13;'></div>
808
+ <div class='wplc-palette-top' style='background-color:#FDFDFF;'></div>
809
+ <div class='wplc-palette-top' style='background-color:#EEE;'></div>
810
+ <div class='wplc-palette-top' style='background-color:#666;'></div>
811
+ </div>
812
+ </div>
813
+ <div class='wplc_palette_single'>
814
+ <div class='wplc-palette-selection <?php if (isset($wplc_settings['wplc_theme']) && $wplc_settings['wplc_theme'] == 'theme-6') { echo 'wplc_theme_active'; } ?>' id='wplc_theme_6'>
815
+ <div class='wplc-palette-top' style='padding-top:3px'><?php _e("Choose","wplivechat"); ?></div>
816
+ <div class='wplc-palette-top' style='padding-top:3px'><?php _e("Your","wplivechat"); ?></div>
817
+ <div class='wplc-palette-top' style='padding-top:3px'><?php _e("Colors","wplivechat"); ?></div>
818
+ <div class='wplc-palette-top' style='padding-top:3px'><?php _e("Below","wplivechat"); ?></div>
819
+ </div>
820
+ </div>
821
+
822
+
823
+ </div>
824
+ </div>
825
+ <input type="radio" name="wplc_theme" value="theme-default" class="wplc_hide_input" id="wplc_rb_theme_default" <?php if (isset($wplc_settings['wplc_theme']) && $wplc_settings['wplc_theme'] == 'theme-default') { echo 'checked'; } ?>/>
826
+ <input type="radio" name="wplc_theme" value="theme-1" class="wplc_hide_input" id="wplc_rb_theme_1" <?php if (isset($wplc_settings['wplc_theme']) && $wplc_settings['wplc_theme'] == 'theme-1') { echo 'checked'; } ?>/>
827
+ <input type="radio" name="wplc_theme" value="theme-2" class="wplc_hide_input" id="wplc_rb_theme_2" <?php if (isset($wplc_settings['wplc_theme']) && $wplc_settings['wplc_theme'] == 'theme-2') { echo 'checked'; } ?>/>
828
+ <input type="radio" name="wplc_theme" value="theme-3" class="wplc_hide_input" id="wplc_rb_theme_3" <?php if (isset($wplc_settings['wplc_theme']) && $wplc_settings['wplc_theme'] == 'theme-3') { echo 'checked'; } ?>/>
829
+ <input type="radio" name="wplc_theme" value="theme-4" class="wplc_hide_input" id="wplc_rb_theme_4" <?php if (isset($wplc_settings['wplc_theme']) && $wplc_settings['wplc_theme'] == 'theme-4') { echo 'checked'; } ?>/>
830
+ <input type="radio" name="wplc_theme" value="theme-5" class="wplc_hide_input" id="wplc_rb_theme_5" <?php if (isset($wplc_settings['wplc_theme']) && $wplc_settings['wplc_theme'] == 'theme-5') { echo 'checked'; } ?>/>
831
+ <input type="radio" name="wplc_theme" value="theme-6" class="wplc_hide_input" id="wplc_rb_theme_6" <?php if (isset($wplc_settings['wplc_theme']) && $wplc_settings['wplc_theme'] == 'theme-6') { echo 'checked'; } ?>/>
832
+
833
+ </td>
834
+ </tr>
835
+ <tr height="30">
836
+ <td>&nbsp;</td>
837
+ <td>&nbsp;</td>
838
+ </tr>
839
+ <tr>
840
+ <td width='200' valign='top'><?php _e("Palette Color 1","wplivechat")?>:</td>
841
+ <td>
842
+ <input id="wplc_settings_color1" name="wplc_settings_color1" type="text" class="color" value="<?php if (isset($wplc_settings_color1)) { echo $wplc_settings_color1; } else { echo 'ED832F'; } ?>" />
843
+ </td>
844
+ </tr>
845
+ <tr>
846
+ <td width='200' valign='top'><?php _e("Palette Color 2","wplivechat")?>:</td>
847
+ <td>
848
+ <input id="wplc_settings_color2" name="wplc_settings_color2" type="text" class="color" value="<?php if (isset($wplc_settings_color2)) { echo $wplc_settings_color2; } else { echo 'FFFFFF'; } ?>" />
849
+ </td>
850
+ </tr>
851
+ <tr>
852
+ <td width='200' valign='top'><?php _e("Palette Color 3","wplivechat")?>:</td>
853
+ <td>
854
+ <input id="wplc_settings_color3" name="wplc_settings_color3" type="text" class="color" value="<?php if (isset($wplc_settings_color3)) { echo $wplc_settings_color3; } else { echo 'EEEEEE'; } ?>" />
855
+ </td>
856
+ </tr>
857
+ <tr>
858
+ <td width='200' valign='top'><?php _e("Palette Color 4","wplivechat")?>:</td>
859
+ <td>
860
+ <input id="wplc_settings_color4" name="wplc_settings_color4" type="text" class="color" value="<?php if (isset($wplc_settings_color4)) { echo $wplc_settings_color4; } else { echo '666666'; } ?>" />
861
+ </td>
862
+ </tr>
863
+
864
+ <tr>
865
+ <td width="200" valign="top"><?php _e("I'm using a localization plugin", "wplivechat") ?></td>
866
+ <td>
867
+ <input type="checkbox" name="wplc_using_localization_plugin" id="wplc_using_localization_plugin" value="1" <?php if (isset($wplc_settings['wplc_using_localization_plugin']) && $wplc_settings['wplc_using_localization_plugin'] == 1) { echo 'checked'; } ?>/>
868
+ <br/><small><?php echo sprintf( __("Enable this if you are using a localization plugin. Should you wish to change the below strings with this option enabled, please visit the documentation %s", "wplivechat"), "<a href='https://wp-livechat.com/documentation/changing-strings-in-the-chat-window-when-using-a-localization-plugin/' target='_BLANK'>".__("here", "wplivechat") ); ?></small>
869
+ </td>
870
+ </tr>
871
+
872
+ <tr style='height:30px;'><td></td><td></td></tr>
873
+ <tr class="wplc_localization_strings">
874
+ <td width="200" valign="top"><?php _e("First Section Text", "wplivechat") ?>:</td>
875
+ <td>
876
+ <input id="wplc_pro_fst1" name="wplc_pro_fst1" type="text" size="50" maxlength="50" class="regular-text" value="<?php echo stripslashes($wplc_settings['wplc_pro_fst1']) ?>" /> <br />
877
+ <input id="wplc_pro_fst2" name="wplc_pro_fst2" type="text" size="50" maxlength="50" class="regular-text" value="<?php echo stripslashes($wplc_settings['wplc_pro_fst2']) ?>" /> <br />
878
+ </td>
879
+ </tr>
880
+ <tr class="wplc_localization_strings">
881
+ <td width="200" valign="top"><?php _e("Intro Text", "wplivechat") ?>:</td>
882
+ <td>
883
+ <input id="wplc_pro_intro" name="wplc_pro_intro" type="text" size="50" maxlength="150" class="regular-text" value="<?php echo stripslashes($wplc_settings['wplc_pro_intro']) ?>" /> <br />
884
+ </td>
885
+ </tr>
886
+ <tr class="wplc_localization_strings">
887
+ <td width="200" valign="top"><?php _e("Second Section Text", "wplivechat") ?>:</td>
888
+ <td>
889
+ <input id="wplc_pro_sst1" name="wplc_pro_sst1" type="text" size="50" maxlength="30" class="regular-text" value="<?php echo stripslashes($wplc_settings['wplc_pro_sst1']) ?>" /> <br />
890
+ <input id="wplc_pro_sst2" name="wplc_pro_sst2" type="text" size="50" maxlength="70" class="regular-text" value="<?php echo stripslashes($wplc_settings['wplc_pro_sst2']) ?>" /> <br />
891
+ </td>
892
+ </tr>
893
+ <tr class="wplc_localization_strings">
894
+ <td width="200" valign="top"><?php _e("Reactivate Chat Section Text", "wplivechat") ?>:</td>
895
+ <td>
896
+ <input id="wplc_pro_tst1" name="wplc_pro_tst1" type="text" size="50" maxlength="50" class="regular-text" value="<?php echo stripslashes($wplc_settings['wplc_pro_tst1']) ?>" /> <br />
897
+
898
+
899
+ </td>
900
+ </tr>
901
+ <?php /* removed as this has been replaced with the "welcome_msg" below
902
+ <tr class="wplc_localization_strings">
903
+ <td width="200" valign="top"><?php _e("User chat welcome", "wplivechat") ?>:</td>
904
+ <td>
905
+ <input id="wplc_user_welcome_chat" name="wplc_user_welcome_chat" type="text" size="50" maxlength="150" class="regular-text" value="<?php echo stripslashes($wplc_settings['wplc_user_welcome_chat']) ?>" /> <br />
906
+ </td>
907
+ </tr>
908
+ */ ?>
909
+ <tr class="wplc_localization_strings">
910
+ <td width="200" valign="top"><?php _e("Welcome message", "wplivechat") ?>:</td>
911
+ <td>
912
+ <input id="wplc_welcome_msg" name="wplc_welcome_msg" type="text" size="50" maxlength="350" class="regular-text" value="<?php echo stripslashes($wplc_settings['wplc_welcome_msg']) ?>" /> <span class='description'><?php _e('This text is shown as soon as a user starts a chat and waits for an agent to join', 'wplivechat'); ?></span><br />
913
+ </td>
914
+ </tr>
915
+ <tr class="wplc_localization_strings">
916
+ <td width="200" valign="top"><?php _e("No answer", "wplivechat") ?>:</td>
917
+ <td>
918
+ <input id="wplc_user_no_answer" name="wplc_user_no_answer" type="text" size="50" maxlength="150" class="regular-text" value="<?php echo (isset($wplc_settings['wplc_user_no_answer']) ? stripslashes($wplc_settings['wplc_user_no_answer']) : __("There is No Answer. Please Try Again Later.","wplivechat")); ?>" /> <span class='description'><?php _e('This text is shown to the user when an agent has failed to answer a chat ', 'wplivechat'); ?></span><br />
919
+ </td>
920
+ </tr>
921
+ <tr class="wplc_localization_strings">
922
+ <td width="200" valign="top"><?php _e("Other text", "wplivechat") ?>:</td>
923
+ <td>
924
+ <input id="wplc_user_enter" name="wplc_user_enter" type="text" size="50" maxlength="150" class="regular-text" value="<?php echo stripslashes($wplc_settings['wplc_user_enter']) ?>" /> <span class='description'><?php _e('This text is shown above the user chat input field', 'wplivechat'); ?></span><br />
925
+ </td>
926
+ </tr>
927
+ <tr class="wplc_localization_strings">
928
+ <td width="200" valign="top"><?php _e("Close Button Text", "wplivechat") ?>:</td>
929
+ <td>
930
+ <input id="wplc_close_btn_text" name="wplc_close_btn_text" type="text" size="50" maxlength="150" class="regular-text" value="<?php echo stripslashes($wplc_settings['wplc_close_btn_text']) ?>" /><br />
931
+ </td>
932
+ </tr>
933
+
934
+ <tr>
935
+ <th><label for=""><?php _e('Choose an animation', 'wplivechat'); ?></label></th>
936
+
937
+ <td>
938
+ <div class='wplc_animation_block'>
939
+ <div class='wplc_animation_image <?php if (isset($wplc_settings['wplc_animation']) && $wplc_settings['wplc_animation'] == 'animation-1') {
940
+ echo 'wplc_animation_active';
941
+ } ?>' id='wplc_animation_1'>
942
+ <i class="fa fa-arrow-circle-up wplc_orange"></i>
943
+ <p><?php _e('Slide Up', 'wplivechat'); ?></p>
944
+ </div>
945
+ <div class='wplc_animation_image <?php if (isset($wplc_settings['wplc_animation']) && $wplc_settings['wplc_animation'] == 'animation-2') {
946
+ echo 'wplc_animation_active';
947
+ } ?>' id='wplc_animation_2'>
948
+ <i class="fa fa-arrows-h wplc_red"></i>
949
+ <p><?php _e('Slide From The Side', 'wplivechat'); ?></p>
950
+ </div>
951
+ <div class='wplc_animation_image <?php if (isset($wplc_settings['wplc_animation']) && $wplc_settings['wplc_animation'] == 'animation-3') {
952
+ echo 'wplc_animation_active';
953
+ } ?>' id='wplc_animation_3'>
954
+ <i class="fa fa-arrows-alt wplc_orange"></i>
955
+ <p><?php _e('Fade In', 'wplivechat'); ?></p>
956
+ </div>
957
+ <div class='wplc_animation_image <?php if ((isset($wplc_settings['wplc_animation']) && $wplc_settings['wplc_animation'] == 'animation-4') || !isset($wplc_settings['wplc_animation'])) {
958
+ echo 'wplc_animation_active';
959
+ } ?>' id='wplc_animation_4'>
960
+ <i class="fa fa-thumb-tack wplc_red"></i>
961
+ <p><?php _e('No Animation', 'wplivechat'); ?></p>
962
+ </div>
963
+ </div>
964
+ <input type="radio" name="wplc_animation" value="animation-1" class="wplc_hide_input" id="wplc_rb_animation_1" class='wplc_hide_input' <?php if (isset($wplc_settings['wplc_animation']) && $wplc_settings['wplc_animation'] == 'animation-1') {
965
+ echo 'checked';
966
+ } ?>/>
967
+ <input type="radio" name="wplc_animation" value="animation-2" class="wplc_hide_input" id="wplc_rb_animation_2" class='wplc_hide_input' <?php if (isset($wplc_settings['wplc_animation']) && $wplc_settings['wplc_animation'] == 'animation-2') {
968
+ echo 'checked';
969
+ } ?>/>
970
+ <input type="radio" name="wplc_animation" value="animation-3" class="wplc_hide_input" id="wplc_rb_animation_3" class='wplc_hide_input' <?php if (isset($wplc_settings['wplc_animation']) && $wplc_settings['wplc_animation'] == 'animation-3') {
971
+ echo 'checked';
972
+ } ?>/>
973
+ <input type="radio" name="wplc_animation" value="animation-4" class="wplc_hide_input" id="wplc_rb_animation_4" class='wplc_hide_input' <?php if (isset($wplc_settings['wplc_animation']) && $wplc_settings['wplc_animation'] == 'animation-4') {
974
+ echo 'checked';
975
+ } ?>/>
976
+ </td>
977
+ </tr>
978
+ </table>
979
+ </div>
980
+ <div id="tabs-5">
981
+
982
+
983
+ <?php do_action("wplc_hook_agents_settings"); ?>
984
+
985
+
986
+ </div>
987
+ <div id="tabs-7">
988
+ <h3><?php _e("Blocked Visitors - Based on IP Address", "wplivechat") ?></h3>
989
+ <table class='form-table wp-list-table widefat fixed striped pages' width='100%'>
990
+ <tr>
991
+ <td>
992
+ <textarea name="wplc_ban_users_ip" style="width: 50%; min-height: 200px;" placeholder="<?php _e('Enter each IP Address you would like to block on a new line', 'wplivechat'); ?>" autocomplete="false"><?php
993
+ $ip_addresses = get_option('WPLC_BANNED_IP_ADDRESSES');
994
+ if($ip_addresses){
995
+ $ip_addresses = maybe_unserialize($ip_addresses);
996
+ if ($ip_addresses && is_array($ip_addresses)) {
997
+ foreach($ip_addresses as $ip){
998
+ echo $ip."\n";
999
+ }
1000
+ }
1001
+ }
1002
+ ?></textarea>
1003
+ <p class="description"><?php _e('Blocking a user\'s IP Address here will hide the chat window from them, preventing them from chatting with you. Each IP Address must be on a new line', 'wplivechat'); ?></p>
1004
+ </td>
1005
+ </tr>
1006
+ </table>
1007
+ </div>
1008
+
1009
+
1010
+
1011
+ <?php do_action("wplc_hook_settings_page_more_tabs"); ?>
1012
+
1013
+ </div>
1014
+ <p class='submit'><input type='submit' name='wplc_save_settings' class='button-primary' value='<?php _e("Save Settings","wplivechat")?>' /></p>
1015
+ </form>
1016
+
1017
+ </div>
1018
+
1019
+
js/themes/classic.js CHANGED
@@ -1,128 +1,130 @@
1
- jQuery(document).on("wplc_minimize_chat", function( e ) {
2
- jQuery('#wp-live-chat').height("");
3
- if(jQuery("#wp-live-chat").attr("original_pos") === "bottom_right"){
4
- jQuery("#wp-live-chat").css("left", "");
5
- jQuery("#wp-live-chat").css("bottom", "0");
6
- jQuery("#wp-live-chat").css("right", "100px");
7
- } else if(jQuery("#wp-live-chat").attr("original_pos") === "bottom_left"){
8
- jQuery("#wp-live-chat").css("left", "100px");
9
- jQuery("#wp-live-chat").css("bottom", "0");
10
- jQuery("#wp-live-chat").css("right", "");
11
- } else if(jQuery("#wp-live-chat").attr("original_pos") === "left"){
12
- jQuery("#wp-live-chat").css("left", "0");
13
- jQuery("#wp-live-chat").css("bottom", "100px");
14
- } else if(jQuery("#wp-live-chat").attr("original_pos") === "right"){
15
- jQuery("#wp-live-chat").css("left", "");
16
- jQuery("#wp-live-chat").css("right", "0");
17
- jQuery("#wp-live-chat").css("bottom", "100px");
18
- jQuery("#wp-live-chat").css("width", "");
19
- }
20
- jQuery('#wp-live-chat').addClass("wplc_close");
21
- jQuery('#wp-live-chat').removeClass("wplc_open");
22
- //jQuery("#wp-live-chat").css(jQuery("#wp-live-chat").attr("original_pos"), "100px");
23
- jQuery("#wp-live-chat").css("top", "");
24
- jQuery("#wp-live-chat-1").show();
25
- jQuery("#wp-live-chat-1").css('cursor', 'pointer');
26
- jQuery("#wp-live-chat-2").hide();
27
- jQuery("#wp-live-chat-3").hide();
28
- jQuery("#wp-live-chat-4").hide();
29
- jQuery("#wplc_social_holder").hide();
30
- jQuery("#nifty_ratings_holder").hide();
31
- jQuery("#wp-live-chat-react").hide();
32
- jQuery("#wp-live-chat-minimize").hide();
33
-
34
-
35
-
36
-
37
- });
38
-
39
- jQuery(document).on("wplc_start_chat", function( e ) {
40
- jQuery("#wp-live-chat-2-inner").hide("slow");
41
- /* changed in version 7 as we now allow users to start typing immediately */
42
- /* jQuery("#wp-live-chat-3").show(); */
43
- jQuery.event.trigger({type: "wplc_open_chat_1"});
44
- jQuery.event.trigger({type: "wplc_open_chat_2", wplc_online: wplc_online});
45
- });
46
- jQuery(document).on( "wplc_open_chat_1", function( e ) {
47
-
48
-
49
- jQuery('#wp-live-chat').removeClass("wplc_close");
50
- jQuery('#wp-live-chat').addClass("wplc_open");
51
- //jQuery("#wp-live-chat-1").hide();
52
- jQuery("#wp-live-chat-react").hide();
53
- jQuery("#wp-live-chat-header").css('cursor', 'all-scroll');
54
- //jQuery("#wp-live-chat-1").css('cursor', 'all-scroll');
55
- Cookies.set('wplc_hide', "", { expires: 1, path: '/' });
56
- jQuery("#wp-live-chat-minimize").show();
57
-
58
- jQuery(function() {
59
- jQuery( "#wp-live-chat" ).draggable({
60
- handle: "#wp-live-chat-header",
61
- drag: function( event, ui ) {
62
- jQuery(this).css("right","");
63
- jQuery(this).css("bottom","inherit");
64
- }
65
- });
66
- });
67
-
68
-
69
- });
70
-
71
- jQuery(document).on( "wplc_open_chat_2", function( e ) {
72
-
73
- jQuery("#wp-live-chat-2").hide();
74
-
75
- wplc_chat_status = Cookies.get('wplc_chat_status');
76
- if (typeof e.wplc_online !== "undefined" && e.wplc_online === true) {
77
- jQuery("#wp-live-chat-4").show();
78
- jQuery("#wplc_social_holder").show();
79
- jQuery("#nifty_ratings_holder").show();
80
- jQuery("#wplc_chatmsg").focus();
81
- jQuery("#wp-live-chat-1").css("cursor","pointer");
82
- } else if (e.wplc_online === false) {
83
- jQuery("#wp-live-chat-2").show();
84
- jQuery("#wp-live-chat-4").hide();
85
- jQuery("#wplc_social_holder").hide();
86
- jQuery("#nifty_ratings_holder").hide();
87
- jQuery("#wplc_chatmsg").focus();
88
- jQuery("#wp-live-chat-1").css("cursor","pointer");
89
- }
90
-
91
- jQuery("#wp-live-chat-3").hide();
92
- jQuery("#wp-live-chat-close").hide();
93
- //jQuery("#wp-live-chat-minimize").css("right","23px");
94
- Cookies.set('wplc_minimize', "", { expires: 1, path: '/' });
95
- });
96
-
97
- jQuery(document).ready(function() {
98
- //opens chat when clicked on top bar
99
- jQuery("body").on("click", "#wp-live-chat-1", function() {
100
- jQuery.event.trigger({type: "wplc_open_chat"});
101
- });
102
- jQuery("body").on("click", ".wplc_retry_chat", function() {
103
-
104
- Cookies.set('wplc_chat_status', 5);
105
-
106
- jQuery("#wplc_chatbox").html("");
107
- jQuery("#wp-live-chat-4").fadeOut();
108
- jQuery("#wp-live-chat-2").fadeIn();
109
- jQuery("#wp-live-chat-2-inner").fadeIn();
110
-
111
-
112
- });
113
- jQuery("body").on("click", "#speeching_button", function() {
114
- jQuery("#wplc_hovercard").hide();
115
- wplc_is_chat_open = true;
116
- jQuery.event.trigger({type: "wplc_open_chat"});
117
-
118
-
119
- });
120
-
121
- jQuery("body").on("click", "#wplc_hovercard_min", function(){
122
- jQuery("#wplc_hovercard").fadeOut();
123
- });
124
-
125
- jQuery("body").on("click", "#wp-live-chat-header", function(){
126
- jQuery("#wplc_hovercard").hide();
127
- });
 
 
128
  });
1
+ jQuery(document).on("wplc_minimize_chat", function( e ) {
2
+ jQuery('#wp-live-chat').height("");
3
+ if(jQuery("#wp-live-chat").attr("original_pos") === "bottom_right"){
4
+ jQuery("#wp-live-chat").css("left", "");
5
+ jQuery("#wp-live-chat").css("bottom", "0");
6
+ jQuery("#wp-live-chat").css("right", "100px");
7
+ } else if(jQuery("#wp-live-chat").attr("original_pos") === "bottom_left"){
8
+ jQuery("#wp-live-chat").css("left", "100px");
9
+ jQuery("#wp-live-chat").css("bottom", "0");
10
+ jQuery("#wp-live-chat").css("right", "");
11
+ } else if(jQuery("#wp-live-chat").attr("original_pos") === "left"){
12
+ jQuery("#wp-live-chat").css("left", "0");
13
+ jQuery("#wp-live-chat").css("bottom", "100px");
14
+ } else if(jQuery("#wp-live-chat").attr("original_pos") === "right"){
15
+ jQuery("#wp-live-chat").css("left", "");
16
+ jQuery("#wp-live-chat").css("right", "0");
17
+ jQuery("#wp-live-chat").css("bottom", "100px");
18
+ jQuery("#wp-live-chat").css("width", "");
19
+ }
20
+ jQuery('#wp-live-chat').addClass("wplc_close");
21
+ jQuery('#wp-live-chat').removeClass("wplc_open");
22
+ //jQuery("#wp-live-chat").css(jQuery("#wp-live-chat").attr("original_pos"), "100px");
23
+ jQuery("#wp-live-chat").css("top", "");
24
+ jQuery("#wp-live-chat-1").show();
25
+ jQuery("#wp-live-chat-1").css('cursor', 'pointer');
26
+ jQuery("#wp-live-chat-2").hide();
27
+ jQuery("#wp-live-chat-3").hide();
28
+ jQuery("#wp-live-chat-4").hide();
29
+ jQuery("#wplc_social_holder").hide();
30
+ jQuery("#nifty_ratings_holder").hide();
31
+ jQuery("#wp-live-chat-react").hide();
32
+ jQuery("#wp-live-chat-minimize").hide();
33
+
34
+
35
+
36
+
37
+ });
38
+
39
+ jQuery(document).on("wplc_start_chat", function( e ) {
40
+ jQuery("#wp-live-chat-2-inner").hide("slow");
41
+ /* changed in version 7 as we now allow users to start typing immediately */
42
+ /* jQuery("#wp-live-chat-3").show(); */
43
+ jQuery.event.trigger({type: "wplc_open_chat_1"});
44
+ jQuery.event.trigger({type: "wplc_open_chat_2", wplc_online: wplc_online});
45
+ });
46
+ jQuery(document).on( "wplc_open_chat_1", function( e ) {
47
+
48
+
49
+ jQuery('#wp-live-chat').removeClass("wplc_close");
50
+ jQuery('#wp-live-chat').addClass("wplc_open");
51
+ //jQuery("#wp-live-chat-1").hide();
52
+ jQuery("#wp-live-chat-react").hide();
53
+ jQuery("#wp-live-chat-header").css('cursor', 'all-scroll');
54
+ //jQuery("#wp-live-chat-1").css('cursor', 'all-scroll');
55
+ Cookies.set('wplc_hide', "", { expires: 1, path: '/' });
56
+ jQuery("#wp-live-chat-minimize").show();
57
+
58
+ jQuery(function() {
59
+ jQuery( "#wp-live-chat" ).draggable({
60
+ handle: "#wp-live-chat-header",
61
+ drag: function( event, ui ) {
62
+ jQuery(this).css("right","");
63
+ jQuery(this).css("bottom","inherit");
64
+ }
65
+ });
66
+ });
67
+
68
+
69
+ });
70
+
71
+ jQuery(document).on( "wplc_open_chat_2", function( e ) {
72
+
73
+ jQuery("#wp-live-chat-2").hide();
74
+
75
+ wplc_chat_status = Cookies.get('wplc_chat_status');
76
+ if (typeof e.wplc_online !== "undefined" && e.wplc_online === true) {
77
+ jQuery("#wp-live-chat-4").show();
78
+ jQuery("#wplc_social_holder").show();
79
+ jQuery("#nifty_ratings_holder").show();
80
+ jQuery("#wplc_chatmsg").focus();
81
+ jQuery("#wp-live-chat-1").css("cursor","pointer");
82
+ } else if (e.wplc_online === false) {
83
+ jQuery("#wp-live-chat-2").show();
84
+ jQuery("#wp-live-chat-4").hide();
85
+ jQuery("#wplc_social_holder").hide();
86
+ jQuery("#nifty_ratings_holder").hide();
87
+ jQuery("#wplc_chatmsg").focus();
88
+ jQuery("#wp-live-chat-1").css("cursor","pointer");
89
+ }
90
+
91
+ jQuery("#wp-live-chat-3").hide();
92
+ jQuery("#wp-live-chat-close").hide();
93
+ //jQuery("#wp-live-chat-minimize").css("right","23px");
94
+ Cookies.set('wplc_minimize', "", { expires: 1, path: '/' });
95
+ });
96
+
97
+ jQuery(document).ready(function() {
98
+ //opens chat when clicked on top bar
99
+ jQuery("body").on("click", "#wp-live-chat-1", function() {
100
+ jQuery.event.trigger({type: "wplc_open_chat"});
101
+ });
102
+ jQuery("body").on("click", ".wplc_retry_chat", function() {
103
+
104
+ Cookies.set('wplc_chat_status', 5);
105
+
106
+ jQuery("#wplc_chatbox").html("");
107
+ jQuery("#wp-live-chat-4").fadeOut();
108
+ jQuery("#wp-live-chat-2").fadeIn();
109
+ jQuery("#wp-live-chat-2-inner").fadeIn();
110
+
111
+
112
+ });
113
+ jQuery("body").on("click", "#speeching_button", function() {
114
+ jQuery("#wplc_hovercard").hide();
115
+ wplc_is_chat_open = true;
116
+ jQuery.event.trigger({type: "wplc_open_chat"});
117
+
118
+
119
+ });
120
+
121
+ jQuery("body").on("click", "#wplc_hovercard_min", function(){
122
+ jQuery("#wplc_hovercard").fadeOut();
123
+ });
124
+
125
+ jQuery("body").on("click", "#wp-live-chat-header", function(){
126
+ jQuery("#wplc_hovercard").hide();
127
+ jQuery("#wplc-chat-alert").removeClass('is-active');
128
+ });
129
+
130
  });
js/themes/modern.js CHANGED
@@ -1,136 +1,139 @@
1
- jQuery(document).on("wplc_minimize_chat", function( e ) {
2
- wplc_is_chat_open = false;
3
- jQuery('#wp-live-chat').height("");
4
- if(jQuery("#wp-live-chat").attr("original_pos") === "bottom_right"){
5
- jQuery("#wp-live-chat").css("left", "");
6
- jQuery("#wp-live-chat").css("bottom", "0");
7
- jQuery("#wp-live-chat").css("right", "100px");
8
- } else if(jQuery("#wp-live-chat").attr("original_pos") === "bottom_left"){
9
- jQuery("#wp-live-chat").css("left", "100px");
10
- jQuery("#wp-live-chat").css("bottom", "0");
11
- jQuery("#wp-live-chat").css("right", "");
12
- } else if(jQuery("#wp-live-chat").attr("original_pos") === "left"){
13
- jQuery("#wp-live-chat").css("left", "0");
14
- jQuery("#wp-live-chat").css("bottom", "100px");
15
- } else if(jQuery("#wp-live-chat").attr("original_pos") === "right"){
16
- jQuery("#wp-live-chat").css("left", "");
17
- jQuery("#wp-live-chat").css("right", "0");
18
- jQuery("#wp-live-chat").css("bottom", "100px");
19
- jQuery("#wp-live-chat").css("width", "");
20
- }
21
- jQuery('#wp-live-chat').addClass("wplc_close");
22
- jQuery('#wp-live-chat').removeClass("wplc_open");
23
- //jQuery("#wp-live-chat").css(jQuery("#wp-live-chat").attr("original_pos"), "100px");
24
- jQuery("#wp-live-chat").css("top", "");
25
- jQuery("#wp-live-chat-1").show();
26
- jQuery("#wp-live-chat-1").css('cursor', 'pointer');
27
- jQuery("#wp-live-chat-2").hide();
28
- jQuery("#wp-live-chat-3").hide();
29
- jQuery("#wp-live-chat-4").hide();
30
- jQuery("#wplc_social_holder").hide();
31
- jQuery("#nifty_ratings_holder").hide();
32
- jQuery("#nifty_ratings_holder").hide();
33
- jQuery("#wp-live-chat-react").hide();
34
- jQuery("#wp-live-chat-minimize").hide();
35
-
36
- jQuery("#wp-live-chat-header").show();
37
-
38
- });
39
-
40
- jQuery(document).on("wplc_start_chat", function( e ) {
41
- jQuery("#wp-live-chat-2-inner").hide("slow");
42
- /* changed in version 7 as we now allow users to start typing immediately */
43
- /* jQuery("#wp-live-chat-3").show(); */
44
- jQuery.event.trigger({type: "wplc_open_chat_1"});
45
- jQuery.event.trigger({type: "wplc_open_chat_2", wplc_online: wplc_online});
46
-
47
- });
48
-
49
- jQuery(document).on( "wplc_open_chat_1", function( e ) {
50
- jQuery('#wp-live-chat').removeClass("wplc_close");
51
- jQuery('#wp-live-chat').addClass("wplc_open");
52
- jQuery("#wp-live-chat-react").hide();
53
- jQuery("#wp-live-chat-header").hide();
54
- Cookies.set('wplc_hide', "", { expires: 1, path: '/' });
55
- jQuery("#wp-live-chat-minimize").show();
56
-
57
-
58
-
59
-
60
- });
61
-
62
-
63
- jQuery(document).on("wplc_animation_done", function(e) {
64
- jQuery("#wplc_chatbox").css("top",
65
- 35+jQuery("#wplc_logo").height()+"px"
66
- );
67
- jQuery("#wplc_chatbox").css("bottom",
68
- jQuery("#wplc_user_message_div").outerHeight()+"px"
69
- );
70
-
71
-
72
- });
73
- jQuery(document).on( "wplc_open_chat_2", function( e ) {
74
- jQuery("#wp-live-chat-1").hide();
75
- jQuery("#wp-live-chat-2-inner").hide();
76
-
77
- jQuery("#wp-live-chat-2").show();
78
-
79
- wplc_chat_status = Cookies.get('wplc_chat_status');
80
- //console.log("x1");
81
- if (typeof e.wplc_online !== "undefined" && e.wplc_online === true) {
82
- //console.log("x2");
83
- jQuery("#wp-live-chat-4").show();
84
- jQuery("#wplc_social_holder").show();
85
- jQuery("#nifty_ratings_holder").show();
86
- jQuery.event.trigger({type: "wplc_animation_done"});
87
- jQuery("#wplc_chatmsg").focus();
88
- }
89
-
90
- jQuery("#wp-live-chat-3").hide();
91
-
92
- jQuery("#wp-live-chat-minimize").css("right","23px");
93
- Cookies.set('wplc_minimize', "", { expires: 1, path: '/' });
94
-
95
-
96
-
97
- });
98
-
99
-
100
- jQuery(document).ready(function() {
101
-
102
-
103
-
104
- //opens chat when clicked on top bar
105
- jQuery("body").on("click", "#wp-live-chat-header", function() {
106
- jQuery("#wplc_hovercard").fadeOut("fast");
107
- wplc_is_chat_open = true;
108
- jQuery.event.trigger({type: "wplc_open_chat"});
109
- });
110
-
111
- jQuery("body").on("click", ".wplc_retry_chat", function() {
112
- jQuery("#wplc_chatbox").html("");
113
- jQuery("#wp-live-chat-4").fadeOut();
114
- Cookies.remove('wplc_cid');
115
- Cookies.remove('wplc_chat_status');
116
- jQuery("#wp-live-chat-2-inner").fadeIn();
117
- });
118
-
119
-
120
- jQuery("body").on("hover", "#wp-live-chat-header", function(){
121
- if (!wplc_is_chat_open) {
122
- jQuery("#wplc_hovercard").fadeIn('fast');
123
- }
124
- });
125
- jQuery("body").on("click", "#wplc_hovercard_min", function() {
126
- jQuery("#wplc_hovercard").fadeOut('fast');
127
- });
128
- jQuery("body").on("click", "#speeching_button", function() {
129
- jQuery("#wp-live-chat-header").click();
130
- });
131
-
132
-
133
-
134
-
135
-
 
 
 
136
  });
1
+
2
+ jQuery(document).on("wplc_minimize_chat", function( e ) {
3
+ wplc_is_chat_open = false;
4
+ jQuery('#wp-live-chat').height("");
5
+ if(jQuery("#wp-live-chat").attr("original_pos") === "bottom_right"){
6
+ jQuery("#wp-live-chat").css("left", "");
7
+ jQuery("#wp-live-chat").css("bottom", "0");
8
+ jQuery("#wp-live-chat").css("right", "100px");
9
+ } else if(jQuery("#wp-live-chat").attr("original_pos") === "bottom_left"){
10
+ jQuery("#wp-live-chat").css("left", "100px");
11
+ jQuery("#wp-live-chat").css("bottom", "0");
12
+ jQuery("#wp-live-chat").css("right", "");
13
+ } else if(jQuery("#wp-live-chat").attr("original_pos") === "left"){
14
+ jQuery("#wp-live-chat").css("left", "0");
15
+ jQuery("#wp-live-chat").css("bottom", "100px");
16
+ } else if(jQuery("#wp-live-chat").attr("original_pos") === "right"){
17
+ jQuery("#wp-live-chat").css("left", "");
18
+ jQuery("#wp-live-chat").css("right", "0");
19
+ jQuery("#wp-live-chat").css("bottom", "100px");
20
+ jQuery("#wp-live-chat").css("width", "");
21
+ }
22
+ jQuery('#wp-live-chat').addClass("wplc_close");
23
+ jQuery('#wp-live-chat').removeClass("wplc_open");
24
+ //jQuery("#wp-live-chat").css(jQuery("#wp-live-chat").attr("original_pos"), "100px");
25
+ jQuery("#wp-live-chat").css("top", "");
26
+ jQuery("#wp-live-chat-1").show();
27
+ jQuery("#wp-live-chat-1").css('cursor', 'pointer');
28
+ jQuery("#wp-live-chat-2").hide();
29
+ jQuery("#wp-live-chat-3").hide();
30
+ jQuery("#wp-live-chat-4").hide();
31
+ jQuery("#wplc_social_holder").hide();
32
+ jQuery("#nifty_ratings_holder").hide();
33
+ jQuery("#nifty_ratings_holder").hide();
34
+ jQuery("#wp-live-chat-react").hide();
35
+ jQuery("#wp-live-chat-minimize").hide();
36
+
37
+ jQuery("#wp-live-chat-header").show();
38
+
39
+ });
40
+
41
+ jQuery(document).on("wplc_start_chat", function( e ) {
42
+ jQuery("#wp-live-chat-2-inner").hide("slow");
43
+ /* changed in version 7 as we now allow users to start typing immediately */
44
+ /* jQuery("#wp-live-chat-3").show(); */
45
+ jQuery.event.trigger({type: "wplc_open_chat_1"});
46
+ jQuery.event.trigger({type: "wplc_open_chat_2", wplc_online: wplc_online});
47
+
48
+ });
49
+
50
+ jQuery(document).on( "wplc_open_chat_1", function( e ) {
51
+ jQuery('#wp-live-chat').removeClass("wplc_close");
52
+ jQuery('#wp-live-chat').addClass("wplc_open");
53
+ jQuery("#wp-live-chat-react").hide();
54
+ jQuery("#wp-live-chat-header").hide();
55
+ Cookies.set('wplc_hide', "", { expires: 1, path: '/' });
56
+ jQuery("#wp-live-chat-minimize").show();
57
+
58
+
59
+
60
+
61
+ });
62
+
63
+
64
+ jQuery(document).on("wplc_animation_done", function(e) {
65
+ jQuery("#wplc_chatbox").css("top",
66
+ 35+jQuery("#wplc_logo").height()+"px"
67
+ );
68
+ jQuery("#wplc_chatbox").css("bottom",
69
+ jQuery("#wplc_user_message_div").outerHeight()+"px"
70
+ );
71
+
72
+
73
+ });
74
+ jQuery(document).on( "wplc_open_chat_2", function( e ) {
75
+ jQuery("#wp-live-chat-1").hide();
76
+ jQuery("#wp-live-chat-2-inner").hide();
77
+
78
+ jQuery("#wp-live-chat-2").show();
79
+
80
+ wplc_chat_status = Cookies.get('wplc_chat_status');
81
+ //console.log("x1");
82
+ if (typeof e.wplc_online !== "undefined" && e.wplc_online === true) {
83
+ //console.log("x2");
84
+ jQuery("#wp-live-chat-4").show();
85
+ jQuery("#wplc_social_holder").show();
86
+ jQuery("#nifty_ratings_holder").show();
87
+ jQuery.event.trigger({type: "wplc_animation_done"});
88
+ jQuery("#wplc_chatmsg").focus();
89
+ }
90
+
91
+ jQuery("#wp-live-chat-3").hide();
92
+
93
+ jQuery("#wp-live-chat-minimize").css("right","23px");
94
+ Cookies.set('wplc_minimize', "", { expires: 1, path: '/' });
95
+
96
+
97
+
98
+ });
99
+
100
+
101
+ jQuery(document).ready(function() {
102
+
103
+
104
+
105
+ //opens chat when clicked on top bar
106
+ jQuery("body").on("click", "#wp-live-chat-header", function() {
107
+ jQuery("#wplc_hovercard").fadeOut("fast");
108
+ jQuery("#wplc-chat-alert").removeClass('is-active');
109
+ wplc_is_chat_open = true;
110
+ jQuery.event.trigger({type: "wplc_open_chat"});
111
+ });
112
+
113
+ jQuery("body").on("click", ".wplc_retry_chat", function() {
114
+ jQuery("#wplc_chatbox").html("");
115
+ jQuery("#wp-live-chat-4").fadeOut();
116
+ Cookies.remove('wplc_cid');
117
+ Cookies.remove('wplc_chat_status');
118
+ jQuery("#wp-live-chat-2-inner").fadeIn();
119
+ });
120
+
121
+
122
+ jQuery("body").on("hover", "#wp-live-chat-header", function(){
123
+ if (!wplc_is_chat_open) {
124
+ jQuery("#wplc_hovercard").fadeIn('fast');
125
+ }
126
+ });
127
+ jQuery("body").on("click", "#wplc_hovercard_min", function() {
128
+ jQuery("#wplc_hovercard").fadeOut('fast');
129
+ });
130
+ jQuery("body").on("click", "#speeching_button", function() {
131
+ jQuery("#wp-live-chat-header").click();
132
+ });
133
+
134
+
135
+
136
+
137
+
138
+
139
  });
js/wplc_error_handling.js CHANGED
@@ -1,5 +1,5 @@
1
- /* developed to stop other plugins and themes erroneous code from stopping our plugin from working */
2
- window.onerror = function (errorMsg, url, lineNumber, column, errorObj) {
3
- if (window.console) { console.log('Error: ' + errorMsg + ' \nScript: ' + url + ' \nLine: ' + lineNumber + ' \nColumn: ' + column + ' \nStackTrace: ' + errorObj); }
4
- return true;
5
- }
1
+ /* developed to stop other plugins and themes erroneous code from stopping our plugin from working */
2
+ window.onerror = function (errorMsg, url, lineNumber, column, errorObj) {
3
+ if (window.console) { console.log('Error: ' + errorMsg + ' \nScript: ' + url + ' \nLine: ' + lineNumber + ' \nColumn: ' + column + ' \nStackTrace: ' + errorObj); }
4
+ return true;
5
+ }
js/wplc_plugin_row.js CHANGED
@@ -1,51 +1,51 @@
1
- jQuery(document).ready(function(){
2
-
3
- jQuery("body").on("click", "#wplc_signup_newsletter_btn", function() {
4
-
5
- var a_email = jQuery("#wplc_signup_newsletter").val();
6
- jQuery("#wplc_signup_newsletter").hide('slow');
7
- jQuery("#wplc_signup_newsletter_btn").hide('slow');
8
- jQuery("#wplc_signup_newsletter_hide").hide('slow');
9
- jQuery("#wplc_subscribe_div").html("Thank you!");
10
- var data = {
11
- action: 'wplc_subscribe',
12
- prod: 'wplcs',
13
- a_email: a_email
14
-
15
- };
16
- jQuery.post('//ccplugins.co/newsletter-subscription/index.php', data, function(response) {
17
- returned_data = JSON.parse(response);
18
-
19
- });
20
-
21
- var data = {
22
- action: 'wplc_subscribe_hide',
23
- security: wplc_sub_nonce
24
-
25
- };
26
- jQuery.post(ajaxurl, data, function(response) {
27
-
28
- });
29
-
30
-
31
- });
32
-
33
- jQuery("body").on("click", "#wplc_signup_newsletter_hide", function() {
34
-
35
- jQuery(".wplc_sub_div").hide("fast");
36
- jQuery("#wplc_signup_newsletter").hide('slow');
37
- jQuery("#wplc_signup_newsletter_btn").hide('slow');
38
- jQuery("#wplc_signup_newsletter_hide").hide('slow');
39
-
40
- var data = {
41
- action: 'wplc_subscribe_hide',
42
- security: wplc_sub_nonce
43
- };
44
-
45
- jQuery.post(ajaxurl, data, function(response) {
46
-
47
- });
48
-
49
- });
50
-
51
- });
1
+ jQuery(document).ready(function(){
2
+
3
+ jQuery("body").on("click", "#wplc_signup_newsletter_btn", function() {
4
+
5
+ var a_email = jQuery("#wplc_signup_newsletter").val();
6
+ jQuery("#wplc_signup_newsletter").hide('slow');
7
+ jQuery("#wplc_signup_newsletter_btn").hide('slow');
8
+ jQuery("#wplc_signup_newsletter_hide").hide('slow');
9
+ jQuery("#wplc_subscribe_div").html("Thank you!");
10
+ var data = {
11
+ action: 'wplc_subscribe',
12
+ prod: 'wplcs',
13
+ a_email: a_email
14
+
15
+ };
16
+ jQuery.post('//ccplugins.co/newsletter-subscription/index.php', data, function(response) {
17
+ returned_data = JSON.parse(response);
18
+
19
+ });
20
+
21
+ var data = {
22
+ action: 'wplc_subscribe_hide',
23
+ security: wplc_sub_nonce
24
+
25
+ };
26
+ jQuery.post(ajaxurl, data, function(response) {
27
+
28
+ });
29
+
30
+
31
+ });
32
+
33
+ jQuery("body").on("click", "#wplc_signup_newsletter_hide", function() {
34
+
35
+ jQuery(".wplc_sub_div").hide("fast");
36
+ jQuery("#wplc_signup_newsletter").hide('slow');
37
+ jQuery("#wplc_signup_newsletter_btn").hide('slow');
38
+ jQuery("#wplc_signup_newsletter_hide").hide('slow');
39
+
40
+ var data = {
41
+ action: 'wplc_subscribe_hide',
42
+ security: wplc_sub_nonce
43
+ };
44
+
45
+ jQuery.post(ajaxurl, data, function(response) {
46
+
47
+ });
48
+
49
+ });
50
+
51
+ });
js/wplc_surveys.js CHANGED
@@ -1,19 +1,19 @@
1
- var orig_title_wplc;
2
- jQuery(document).on("wplc_end_chat", function( e ) {
3
- if (typeof wplc_extra_div_enabled !== "undefined" && wplc_extra_div_enabled === "1") {
4
- jQuery("#wp-live-chat-4").hide();
5
- jQuery("#wplc-extra-div").show();
6
- orig_title_wplc = jQuery("#wplc_first_message").html();
7
- jQuery("#wplc_first_message").html(wplc_end_chat_string);
8
- }
9
- });
10
-
11
-
12
- jQuery(document).on("wplc_minimize_chat", function( e ) {
13
- if (typeof wplc_extra_div_enabled !== "undefined" && wplc_extra_div_enabled === "1") {
14
- jQuery("#wplc-extra-div").hide();
15
- jQuery("#wplc_first_message").html(orig_title_wplc);
16
- }
17
-
18
-
19
  });
1
+ var orig_title_wplc;
2
+ jQuery(document).on("wplc_end_chat", function( e ) {
3
+ if (typeof wplc_extra_div_enabled !== "undefined" && wplc_extra_div_enabled === "1") {
4
+ jQuery("#wp-live-chat-4").hide();
5
+ jQuery("#wplc-extra-div").show();
6
+ orig_title_wplc = jQuery("#wplc_first_message").html();
7
+ jQuery("#wplc_first_message").html(wplc_end_chat_string);
8
+ }
9
+ });
10
+
11
+
12
+ jQuery(document).on("wplc_minimize_chat", function( e ) {
13
+ if (typeof wplc_extra_div_enabled !== "undefined" && wplc_extra_div_enabled === "1") {
14
+ jQuery("#wplc-extra-div").hide();
15
+ jQuery("#wplc_first_message").html(orig_title_wplc);
16
+ }
17
+
18
+
19
  });
js/wplc_tabs.js CHANGED
@@ -1,219 +1,219 @@
1
-
2
- jQuery("document").ready(function() {
3
-
4
- if(jQuery("input[type=radio][name='wplc_mail_type']:checked").val() === "php_mailer"){
5
- jQuery("#wplc_smtp_details").show();
6
- } else {
7
- jQuery("#wplc_smtp_details").hide();
8
- }
9
-
10
- jQuery('.wplc_mail_type_radio').click(
11
- function(e){
12
- if (jQuery(this).is(':checked') && jQuery(this).val() === "php_mailer"){
13
- jQuery("#wplc_smtp_details").show();
14
- } else {
15
- jQuery("#wplc_smtp_details").hide();
16
- }
17
- });
18
-
19
-
20
-
21
- jQuery("#wplc_tabs").tabs( { create: function(event, ui) { jQuery("#wplc_settings_page_loader").remove(); jQuery(".wrap").fadeIn(); jQuery(".wplc_settings_save_notice").fadeIn(); } } ).addClass( "ui-tabs-vertical ui-helper-clearfix" );
22
- jQuery( "#wplc_tabs li" ).removeClass( "ui-corner-top" ).addClass( "ui-corner-left" );
23
-
24
-
25
-
26
- jQuery(".wplc_hide_input").hide();
27
-
28
- jQuery("#wplc_animation_1").click(function() {
29
- jQuery("#wplc_rb_animation_1").attr('checked', true);
30
- jQuery("#wplc_rb_animation_2").attr('checked', false);
31
- jQuery("#wplc_rb_animation_3").attr('checked', false);
32
- jQuery("#wplc_rb_animation_4").attr('checked', false);
33
- jQuery("#wplc_animation_1").addClass("wplc_animation_active");
34
- jQuery("#wplc_animation_2").removeClass("wplc_animation_active");
35
- jQuery("#wplc_animation_3").removeClass("wplc_animation_active");
36
- jQuery("#wplc_animation_4").removeClass("wplc_animation_active");
37
- });
38
-
39
- jQuery("#wplc_animation_2").click(function() {
40
- jQuery("#wplc_rb_animation_1").attr('checked', false);
41
- jQuery("#wplc_rb_animation_2").attr('checked', true);
42
- jQuery("#wplc_rb_animation_3").attr('checked', false);
43
- jQuery("#wplc_rb_animation_4").attr('checked', false);
44
- jQuery("#wplc_animation_1").removeClass("wplc_animation_active");
45
- jQuery("#wplc_animation_2").addClass("wplc_animation_active");
46
- jQuery("#wplc_animation_3").removeClass("wplc_animation_active");
47
- jQuery("#wplc_animation_4").removeClass("wplc_animation_active");
48
- });
49
-
50
- jQuery("#wplc_animation_3").click(function() {
51
- jQuery("#wplc_rb_animation_1").attr('checked', false);
52
- jQuery("#wplc_rb_animation_2").attr('checked', false);
53
- jQuery("#wplc_rb_animation_3").attr('checked', true);
54
- jQuery("#wplc_rb_animation_4").attr('checked', false);
55
- jQuery("#wplc_animation_1").removeClass("wplc_animation_active");
56
- jQuery("#wplc_animation_2").removeClass("wplc_animation_active");
57
- jQuery("#wplc_animation_3").addClass("wplc_animation_active");
58
- jQuery("#wplc_animation_4").removeClass("wplc_animation_active");
59
- });
60
-
61
- jQuery("#wplc_animation_4").click(function() {
62
- jQuery("#wplc_rb_animation_1").attr('checked', false);
63
- jQuery("#wplc_rb_animation_2").attr('checked', false);
64
- jQuery("#wplc_rb_animation_3").attr('checked', false);
65
- jQuery("#wplc_rb_animation_4").attr('checked', true);
66
- jQuery("#wplc_animation_1").removeClass("wplc_animation_active");
67
- jQuery("#wplc_animation_2").removeClass("wplc_animation_active");
68
- jQuery("#wplc_animation_3").removeClass("wplc_animation_active");
69
- jQuery("#wplc_animation_4").addClass("wplc_animation_active");
70
- });
71
-
72
-
73
- /* Themes */
74
- jQuery("#wplc_newtheme_1").click(function() {
75
- jQuery("#wplc_new_rb_theme_1").attr('checked', true);
76
- jQuery("#wplc_new_rb_theme_2").attr('checked', false);
77
- jQuery("#wplc_newtheme_1").addClass("wplc_theme_active");
78
- jQuery("#wplc_newtheme_2").removeClass("wplc_theme_active");
79
- });
80
-
81
- jQuery("#wplc_newtheme_2").click(function() {
82
- jQuery("#wplc_new_rb_theme_1").attr('checked', false);
83
- jQuery("#wplc_new_rb_theme_2").attr('checked', true);
84
- jQuery("#wplc_newtheme_1").removeClass("wplc_theme_active");
85
- jQuery("#wplc_newtheme_2").addClass("wplc_theme_active");
86
- });
87
-
88
-
89
- /* Colour Schemes */
90
-
91
- jQuery("#wplc_theme_default").click(function() {
92
- jQuery("#wplc_rb_theme_default").attr('checked', true);
93
- jQuery("#wplc_rb_theme_1").attr('checked', false);
94
- jQuery("#wplc_rb_theme_2").attr('checked', false);
95
- jQuery("#wplc_rb_theme_3").attr('checked', false);
96
- jQuery("#wplc_rb_theme_4").attr('checked', false);
97
- jQuery("#wplc_rb_theme_5").attr('checked', false);
98
- jQuery("#wplc_rb_theme_6").attr('checked', false);
99
- jQuery("#wplc_theme_default").addClass("wplc_theme_active");
100
- jQuery("#wplc_theme_1").removeClass("wplc_theme_active");
101
- jQuery("#wplc_theme_2").removeClass("wplc_theme_active");
102
- jQuery("#wplc_theme_3").removeClass("wplc_theme_active");
103
- jQuery("#wplc_theme_4").removeClass("wplc_theme_active");
104
- jQuery("#wplc_theme_5").removeClass("wplc_theme_active");
105
- jQuery("#wplc_theme_6").removeClass("wplc_theme_active");
106
- });
107
-
108
- jQuery("#wplc_theme_1").click(function() {
109
- jQuery("#wplc_rb_theme_default").attr('checked', false);
110
- jQuery("#wplc_rb_theme_1").attr('checked', true);
111
- jQuery("#wplc_rb_theme_2").attr('checked', false);
112
- jQuery("#wplc_rb_theme_3").attr('checked', false);
113
- jQuery("#wplc_rb_theme_4").attr('checked', false);
114
- jQuery("#wplc_rb_theme_5").attr('checked', false);
115
- jQuery("#wplc_rb_theme_6").attr('checked', false);
116
- jQuery("#wplc_theme_default").removeClass("wplc_theme_active");
117
- jQuery("#wplc_theme_1").addClass("wplc_theme_active");
118
- jQuery("#wplc_theme_2").removeClass("wplc_theme_active");
119
- jQuery("#wplc_theme_3").removeClass("wplc_theme_active");
120
- jQuery("#wplc_theme_4").removeClass("wplc_theme_active");
121
- jQuery("#wplc_theme_5").removeClass("wplc_theme_active");
122
- jQuery("#wplc_theme_6").removeClass("wplc_theme_active");
123
- });
124
-
125
- jQuery("#wplc_theme_2").click(function() {
126
- jQuery("#wplc_rb_theme_default").attr('checked', false);
127
- jQuery("#wplc_rb_theme_1").attr('checked', false);
128
- jQuery("#wplc_rb_theme_2").attr('checked', true);
129
- jQuery("#wplc_rb_theme_3").attr('checked', false);
130
- jQuery("#wplc_rb_theme_4").attr('checked', false);
131
- jQuery("#wplc_rb_theme_5").attr('checked', false);
132
- jQuery("#wplc_rb_theme_6").attr('checked', false);
133
- jQuery("#wplc_theme_default").removeClass("wplc_theme_active");
134
- jQuery("#wplc_theme_1").removeClass("wplc_theme_active");
135
- jQuery("#wplc_theme_2").addClass("wplc_theme_active");
136
- jQuery("#wplc_theme_3").removeClass("wplc_theme_active");
137
- jQuery("#wplc_theme_4").removeClass("wplc_theme_active");
138
- jQuery("#wplc_theme_5").removeClass("wplc_theme_active");
139
- jQuery("#wplc_theme_6").removeClass("wplc_theme_active");
140
- });
141
-
142
- jQuery("#wplc_theme_3").click(function() {
143
- jQuery("#wplc_rb_theme_default").attr('checked', false);
144
- jQuery("#wplc_rb_theme_1").attr('checked', false);
145
- jQuery("#wplc_rb_theme_2").attr('checked', false);
146
- jQuery("#wplc_rb_theme_3").attr('checked', true);
147
- jQuery("#wplc_rb_theme_4").attr('checked', false);
148
- jQuery("#wplc_rb_theme_5").attr('checked', false);
149
- jQuery("#wplc_rb_theme_6").attr('checked', false);
150
- jQuery("#wplc_theme_default").removeClass("wplc_theme_active");
151
- jQuery("#wplc_theme_1").removeClass("wplc_theme_active");
152
- jQuery("#wplc_theme_2").removeClass("wplc_theme_active");
153
- jQuery("#wplc_theme_3").addClass("wplc_theme_active");
154
- jQuery("#wplc_theme_4").removeClass("wplc_theme_active");
155
- jQuery("#wplc_theme_5").removeClass("wplc_theme_active");
156
- jQuery("#wplc_theme_6").removeClass("wplc_theme_active");
157
- });
158
-
159
- jQuery("#wplc_theme_4").click(function() {
160
- jQuery("#wplc_rb_theme_default").attr('checked', false);
161
- jQuery("#wplc_rb_theme_1").attr('checked', false);
162
- jQuery("#wplc_rb_theme_2").attr('checked', false);
163
- jQuery("#wplc_rb_theme_3").attr('checked', false);
164
- jQuery("#wplc_rb_theme_4").attr('checked', true);
165
- jQuery("#wplc_rb_theme_5").attr('checked', false);
166
- jQuery("#wplc_rb_theme_6").attr('checked', false);
167
- jQuery("#wplc_theme_default").removeClass("wplc_theme_active");
168
- jQuery("#wplc_theme_1").removeClass("wplc_theme_active");
169
- jQuery("#wplc_theme_2").removeClass("wplc_theme_active");
170
- jQuery("#wplc_theme_3").removeClass("wplc_theme_active");
171
- jQuery("#wplc_theme_4").addClass("wplc_theme_active");
172
- jQuery("#wplc_theme_5").removeClass("wplc_theme_active");
173
- jQuery("#wplc_theme_6").removeClass("wplc_theme_active");
174
- });
175
-
176
- jQuery("#wplc_theme_5").click(function() {
177
- jQuery("#wplc_rb_theme_default").attr('checked', false);
178
- jQuery("#wplc_rb_theme_1").attr('checked', false);
179
- jQuery("#wplc_rb_theme_2").attr('checked', false);
180
- jQuery("#wplc_rb_theme_3").attr('checked', false);
181
- jQuery("#wplc_rb_theme_4").attr('checked', false);
182
- jQuery("#wplc_rb_theme_5").attr('checked', true);
183
- jQuery("#wplc_rb_theme_6").attr('checked', false);
184
- jQuery("#wplc_theme_default").removeClass("wplc_theme_active");
185
- jQuery("#wplc_theme_1").removeClass("wplc_theme_active");
186
- jQuery("#wplc_theme_2").removeClass("wplc_theme_active");
187
- jQuery("#wplc_theme_3").removeClass("wplc_theme_active");
188
- jQuery("#wplc_theme_4").removeClass("wplc_theme_active");
189
- jQuery("#wplc_theme_5").addClass("wplc_theme_active");
190
- jQuery("#wplc_theme_6").removeClass("wplc_theme_active");
191
- });
192
-
193
- jQuery("#wplc_theme_6").click(function() {
194
- jQuery("#wplc_rb_theme_default").attr('checked', false);
195
- jQuery("#wplc_rb_theme_1").attr('checked', false);
196
- jQuery("#wplc_rb_theme_2").attr('checked', false);
197
- jQuery("#wplc_rb_theme_3").attr('checked', false);
198
- jQuery("#wplc_rb_theme_4").attr('checked', false);
199
- jQuery("#wplc_rb_theme_5").attr('checked', false);
200
- jQuery("#wplc_rb_theme_6").attr('checked', true);
201
- jQuery("#wplc_theme_default").removeClass("wplc_theme_active");
202
- jQuery("#wplc_theme_1").removeClass("wplc_theme_active");
203
- jQuery("#wplc_theme_2").removeClass("wplc_theme_active");
204
- jQuery("#wplc_theme_3").removeClass("wplc_theme_active");
205
- jQuery("#wplc_theme_4").removeClass("wplc_theme_active");
206
- jQuery("#wplc_theme_5").removeClass("wplc_theme_active");
207
- jQuery("#wplc_theme_6").addClass("wplc_theme_active");
208
- });
209
-
210
-
211
-
212
-
213
-
214
- jQuery(function () {
215
- jQuery(".wplc_settings_tooltip").tooltip({
216
- position: {my: "left+15 center", at: "right center"}
217
- });
218
- });
219
  });
1
+
2
+ jQuery("document").ready(function() {
3
+
4
+ if(jQuery("input[type=radio][name='wplc_mail_type']:checked").val() === "php_mailer"){
5
+ jQuery("#wplc_smtp_details").show();
6
+ } else {
7
+ jQuery("#wplc_smtp_details").hide();
8
+ }
9
+
10
+ jQuery('.wplc_mail_type_radio').click(
11
+ function(e){
12
+ if (jQuery(this).is(':checked') && jQuery(this).val() === "php_mailer"){
13
+ jQuery("#wplc_smtp_details").show();
14
+ } else {
15
+ jQuery("#wplc_smtp_details").hide();
16
+ }
17
+ });
18
+
19
+
20
+
21
+ jQuery("#wplc_tabs").tabs( { create: function(event, ui) { jQuery("#wplc_settings_page_loader").remove(); jQuery(".wrap").fadeIn(); jQuery(".wplc_settings_save_notice").fadeIn(); } } ).addClass( "ui-tabs-vertical ui-helper-clearfix" );
22
+ jQuery( "#wplc_tabs li" ).removeClass( "ui-corner-top" ).addClass( "ui-corner-left" );
23
+
24
+
25
+
26
+ jQuery(".wplc_hide_input").hide();
27
+
28
+ jQuery("#wplc_animation_1").click(function() {
29
+ jQuery("#wplc_rb_animation_1").attr('checked', true);
30
+ jQuery("#wplc_rb_animation_2").attr('checked', false);
31
+ jQuery("#wplc_rb_animation_3").attr('checked', false);
32
+ jQuery("#wplc_rb_animation_4").attr('checked', false);
33
+ jQuery("#wplc_animation_1").addClass("wplc_animation_active");
34
+ jQuery("#wplc_animation_2").removeClass("wplc_animation_active");
35
+ jQuery("#wplc_animation_3").removeClass("wplc_animation_active");
36
+ jQuery("#wplc_animation_4").removeClass("wplc_animation_active");
37
+ });
38
+
39
+ jQuery("#wplc_animation_2").click(function() {
40
+ jQuery("#wplc_rb_animation_1").attr('checked', false);
41
+ jQuery("#wplc_rb_animation_2").attr('checked', true);
42
+ jQuery("#wplc_rb_animation_3").attr('checked', false);
43
+ jQuery("#wplc_rb_animation_4").attr('checked', false);
44
+ jQuery("#wplc_animation_1").removeClass("wplc_animation_active");
45
+ jQuery("#wplc_animation_2").addClass("wplc_animation_active");
46
+ jQuery("#wplc_animation_3").removeClass("wplc_animation_active");
47
+ jQuery("#wplc_animation_4").removeClass("wplc_animation_active");
48
+ });
49
+
50
+ jQuery("#wplc_animation_3").click(function() {
51
+ jQuery("#wplc_rb_animation_1").attr('checked', false);
52
+ jQuery("#wplc_rb_animation_2").attr('checked', false);
53
+ jQuery("#wplc_rb_animation_3").attr('checked', true);
54
+ jQuery("#wplc_rb_animation_4").attr('checked', false);
55
+ jQuery("#wplc_animation_1").removeClass("wplc_animation_active");
56
+ jQuery("#wplc_animation_2").removeClass("wplc_animation_active");
57
+ jQuery("#wplc_animation_3").addClass("wplc_animation_active");
58
+ jQuery("#wplc_animation_4").removeClass("wplc_animation_active");
59
+ });
60
+
61
+ jQuery("#wplc_animation_4").click(function() {
62
+ jQuery("#wplc_rb_animation_1").attr('checked', false);
63
+ jQuery("#wplc_rb_animation_2").attr('checked', false);
64
+ jQuery("#wplc_rb_animation_3").attr('checked', false);
65
+ jQuery("#wplc_rb_animation_4").attr('checked', true);
66
+ jQuery("#wplc_animation_1").removeClass("wplc_animation_active");
67
+ jQuery("#wplc_animation_2").removeClass("wplc_animation_active");
68
+ jQuery("#wplc_animation_3").removeClass("wplc_animation_active");
69
+ jQuery("#wplc_animation_4").addClass("wplc_animation_active");
70
+ });
71
+
72
+
73
+ /* Themes */
74
+ jQuery("#wplc_newtheme_1").click(function() {
75
+ jQuery("#wplc_new_rb_theme_1").attr('checked', true);
76
+ jQuery("#wplc_new_rb_theme_2").attr('checked', false);
77
+ jQuery("#wplc_newtheme_1").addClass("wplc_theme_active");
78
+ jQuery("#wplc_newtheme_2").removeClass("wplc_theme_active");
79
+ });
80
+
81
+ jQuery("#wplc_newtheme_2").click(function() {
82
+ jQuery("#wplc_new_rb_theme_1").attr('checked', false);
83
+ jQuery("#wplc_new_rb_theme_2").attr('checked', true);
84
+ jQuery("#wplc_newtheme_1").removeClass("wplc_theme_active");
85
+ jQuery("#wplc_newtheme_2").addClass("wplc_theme_active");
86
+ });
87
+
88
+
89
+ /* Colour Schemes */
90
+
91
+ jQuery("#wplc_theme_default").click(function() {
92
+ jQuery("#wplc_rb_theme_default").attr('checked', true);
93
+ jQuery("#wplc_rb_theme_1").attr('checked', false);
94
+ jQuery("#wplc_rb_theme_2").attr('checked', false);
95
+ jQuery("#wplc_rb_theme_3").attr('checked', false);
96
+ jQuery("#wplc_rb_theme_4").attr('checked', false);
97
+ jQuery("#wplc_rb_theme_5").attr('checked', false);
98
+ jQuery("#wplc_rb_theme_6").attr('checked', false);
99
+ jQuery("#wplc_theme_default").addClass("wplc_theme_active");
100
+ jQuery("#wplc_theme_1").removeClass("wplc_theme_active");
101
+ jQuery("#wplc_theme_2").removeClass("wplc_theme_active");
102
+ jQuery("#wplc_theme_3").removeClass("wplc_theme_active");
103
+ jQuery("#wplc_theme_4").removeClass("wplc_theme_active");
104
+ jQuery("#wplc_theme_5").removeClass("wplc_theme_active");
105
+ jQuery("#wplc_theme_6").removeClass("wplc_theme_active");
106
+ });
107
+
108
+ jQuery("#wplc_theme_1").click(function() {
109
+ jQuery("#wplc_rb_theme_default").attr('checked', false);
110
+ jQuery("#wplc_rb_theme_1").attr('checked', true);
111
+ jQuery("#wplc_rb_theme_2").attr('checked', false);
112
+ jQuery("#wplc_rb_theme_3").attr('checked', false);
113
+ jQuery("#wplc_rb_theme_4").attr('checked', false);
114
+ jQuery("#wplc_rb_theme_5").attr('checked', false);
115
+ jQuery("#wplc_rb_theme_6").attr('checked', false);
116
+ jQuery("#wplc_theme_default").removeClass("wplc_theme_active");
117
+ jQuery("#wplc_theme_1").addClass("wplc_theme_active");
118
+ jQuery("#wplc_theme_2").removeClass("wplc_theme_active");
119
+ jQuery("#wplc_theme_3").removeClass("wplc_theme_active");
120
+ jQuery("#wplc_theme_4").removeClass("wplc_theme_active");
121
+ jQuery("#wplc_theme_5").removeClass("wplc_theme_active");
122
+ jQuery("#wplc_theme_6").removeClass("wplc_theme_active");
123
+ });
124
+
125
+ jQuery("#wplc_theme_2").click(function() {
126
+ jQuery("#wplc_rb_theme_default").attr('checked', false);
127
+ jQuery("#wplc_rb_theme_1").attr('checked', false);
128
+ jQuery("#wplc_rb_theme_2").attr('checked', true);
129
+ jQuery("#wplc_rb_theme_3").attr('checked', false);
130
+ jQuery("#wplc_rb_theme_4").attr('checked', false);
131
+ jQuery("#wplc_rb_theme_5").attr('checked', false);
132
+ jQuery("#wplc_rb_theme_6").attr('checked', false);
133
+ jQuery("#wplc_theme_default").removeClass("wplc_theme_active");
134
+ jQuery("#wplc_theme_1").removeClass("wplc_theme_active");
135
+ jQuery("#wplc_theme_2").addClass("wplc_theme_active");
136
+ jQuery("#wplc_theme_3").removeClass("wplc_theme_active");
137
+ jQuery("#wplc_theme_4").removeClass("wplc_theme_active");
138
+ jQuery("#wplc_theme_5").removeClass("wplc_theme_active");
139
+ jQuery("#wplc_theme_6").removeClass("wplc_theme_active");
140
+ });
141
+
142
+ jQuery("#wplc_theme_3").click(function() {
143
+ jQuery("#wplc_rb_theme_default").attr('checked', false);
144
+ jQuery("#wplc_rb_theme_1").attr('checked', false);
145
+ jQuery("#wplc_rb_theme_2").attr('checked', false);
146
+ jQuery("#wplc_rb_theme_3").attr('checked', true);
147
+ jQuery("#wplc_rb_theme_4").attr('checked', false);
148
+ jQuery("#wplc_rb_theme_5").attr('checked', false);
149
+ jQuery("#wplc_rb_theme_6").attr('checked', false);
150
+ jQuery("#wplc_theme_default").removeClass("wplc_theme_active");
151
+ jQuery("#wplc_theme_1").removeClass("wplc_theme_active");
152
+ jQuery("#wplc_theme_2").removeClass("wplc_theme_active");
153
+ jQuery("#wplc_theme_3").addClass("wplc_theme_active");
154
+ jQuery("#wplc_theme_4").removeClass("wplc_theme_active");
155
+ jQuery("#wplc_theme_5").removeClass("wplc_theme_active");
156
+ jQuery("#wplc_theme_6").removeClass("wplc_theme_active");
157
+ });
158
+
159
+ jQuery("#wplc_theme_4").click(function() {
160
+ jQuery("#wplc_rb_theme_default").attr('checked', false);
161
+ jQuery("#wplc_rb_theme_1").attr('checked', false);
162
+ jQuery("#wplc_rb_theme_2").attr('checked', false);
163
+ jQuery("#wplc_rb_theme_3").attr('checked', false);
164
+ jQuery("#wplc_rb_theme_4").attr('checked', true);
165
+ jQuery("#wplc_rb_theme_5").attr('checked', false);
166
+ jQuery("#wplc_rb_theme_6").attr('checked', false);
167
+ jQuery("#wplc_theme_default").removeClass("wplc_theme_active");
168
+ jQuery("#wplc_theme_1").removeClass("wplc_theme_active");
169
+ jQuery("#wplc_theme_2").removeClass("wplc_theme_active");
170
+ jQuery("#wplc_theme_3").removeClass("wplc_theme_active");
171
+ jQuery("#wplc_theme_4").addClass("wplc_theme_active");
172
+ jQuery("#wplc_theme_5").removeClass("wplc_theme_active");
173
+ jQuery("#wplc_theme_6").removeClass("wplc_theme_active");
174
+ });
175
+
176
+ jQuery("#wplc_theme_5").click(function() {
177
+ jQuery("#wplc_rb_theme_default").attr('checked', false);
178
+ jQuery("#wplc_rb_theme_1").attr('checked', false);
179
+ jQuery("#wplc_rb_theme_2").attr('checked', false);
180
+ jQuery("#wplc_rb_theme_3").attr('checked', false);
181
+ jQuery("#wplc_rb_theme_4").attr('checked', false);
182
+ jQuery("#wplc_rb_theme_5").attr('checked', true);
183
+ jQuery("#wplc_rb_theme_6").attr('checked', false);
184
+ jQuery("#wplc_theme_default").removeClass("wplc_theme_active");
185
+ jQuery("#wplc_theme_1").removeClass("wplc_theme_active");
186
+ jQuery("#wplc_theme_2").removeClass("wplc_theme_active");
187
+ jQuery("#wplc_theme_3").removeClass("wplc_theme_active");
188
+ jQuery("#wplc_theme_4").removeClass("wplc_theme_active");
189
+ jQuery("#wplc_theme_5").addClass("wplc_theme_active");
190
+ jQuery("#wplc_theme_6").removeClass("wplc_theme_active");
191
+ });
192
+
193
+ jQuery("#wplc_theme_6").click(function() {
194
+ jQuery("#wplc_rb_theme_default").attr('checked', false);
195
+ jQuery("#wplc_rb_theme_1").attr('checked', false);
196
+ jQuery("#wplc_rb_theme_2").attr('checked', false);
197
+ jQuery("#wplc_rb_theme_3").attr('checked', false);
198
+ jQuery("#wplc_rb_theme_4").attr('checked', false);
199
+ jQuery("#wplc_rb_theme_5").attr('checked', false);
200
+ jQuery("#wplc_rb_theme_6").attr('checked', true);
201
+ jQuery("#wplc_theme_default").removeClass("wplc_theme_active");
202
+ jQuery("#wplc_theme_1").removeClass("wplc_theme_active");
203
+ jQuery("#wplc_theme_2").removeClass("wplc_theme_active");
204
+ jQuery("#wplc_theme_3").removeClass("wplc_theme_active");
205
+ jQuery("#wplc_theme_4").removeClass("wplc_theme_active");
206
+ jQuery("#wplc_theme_5").removeClass("wplc_theme_active");
207
+ jQuery("#wplc_theme_6").addClass("wplc_theme_active");
208
+ });
209
+
210
+
211
+
212
+
213
+
214
+ jQuery(function () {
215
+ jQuery(".wplc_settings_tooltip").tooltip({
216
+ position: {my: "left+15 center", at: "right center"}
217
+ });
218
+ });
219
  });
js/wplc_u.js CHANGED
@@ -1,1216 +1,1238 @@
1
- /*
2
- * Cookie Status
3
- *
4
- * 1 - complete - user has left site
5
- * 2 - pending - user waiting for chat to be answered by admin
6
- * 3 - active chat - user and admin are chatting
7
- * 4 - deleted
8
- * 5 - browsing - no data has been inputted
9
- * 6 - requesting chat - admin has requested a chat with user
10
- * 7 - timed out - visitor has timed out
11
- * 8 - complete but now browsing again
12
- * 9 - user closed chat before starting chat
13
- * 10 - user minimized active chat
14
- * 11 - user moved on to another page (session variable is different)
15
- * 12 - user has not been answered after sending chat request and is still active
16
- *
17
- */
18
- var wplc_is_chat_open = false;
19
- var wplc_online = false;
20
- var wplc_agent_name = "";
21
- var msg_history = new Array();
22
- var wplc_is_minimized = false; /* global to hold whether or not the chat box is minimized */
23
-
24
- var wplc_retry_interval = null;
25
-
26
- var wplc_run = true;
27
-
28
- var wplc_server = null;
29
- wplc_server = new WPLCServer();
30
-
31
- var wplc_server_last_loop_data = null;
32
-
33
- jQuery(document).ready(function() {
34
- var wplc_session_variable = new Date().getTime();
35
- var wplc_cid;
36
- var wplc_check_hide_cookie;
37
- var wplc_chat_status = "";
38
- var wplc_cookie_name = "";
39
- var wplc_cookie_email = "";
40
- var wplc_init_chat_box_check = true;
41
- var wplc_cid = null;
42
-
43
- var initial_data = {};
44
- var wplc_fist_run = true;
45
- var wplc_long_poll_delay = 1500;
46
-
47
-
48
- wplc_cid = Cookies.get('wplc_cid');
49
-
50
- if(typeof wplc_cid === 'undefined'){
51
- wplc_cid = null;
52
- } else {
53
- wplc_cid = Cookies.get('wplc_cid');
54
- }
55
-
56
- wplc_check_hide_cookie = Cookies.get('wplc_hide');
57
- wplc_check_minimize_cookie = Cookies.get('wplc_minimize');
58
- wplc_chat_status = Cookies.get('wplc_chat_status');
59
- wplc_cookie_name = Cookies.get('wplc_name');
60
- wplc_cookie_email = Cookies.get('wplc_email');
61
- // Always start on 5 - ajax will then return chat status if active
62
- Cookies.set('wplc_chat_status', 5, { expires: 1, path: '/' });
63
- wplc_chat_status = 5;
64
-
65
- var data = {
66
- action: 'wplc_get_chat_box',
67
- security: wplc_nonce,
68
- cid: wplc_cid
69
- };
70
-
71
- jQuery.ajax({
72
- url: wplc_ajaxurl_site,
73
- data:data,
74
- type:"POST",
75
- success: function(response) {
76
- /* inject html */
77
- if(response){
78
- if (response === "0") { if (window.console) { console.log('WP Live Chat Support Return Error'); } wplc_run = false; return; }
79
- response = JSON.parse(response);
80
-
81
-
82
- jQuery( "body" ).append( response['cbox']);
83
-
84
- if( typeof wplc_cookie_name == 'undefined' || typeof wplc_cookie_email == 'undefined' ){
85
-
86
- var wplc_cookie_name = jQuery( jQuery.parseHTML( response['cbox'] ) ).find( "#wplc_name" ).val();
87
- var wplc_cookie_email = jQuery( jQuery.parseHTML( response['cbox'] ) ).find( "#wplc_email" ).val();
88
-
89
- }
90
-
91
- /* is an agent online? */
92
- if (response['online'] === false) {
93
- wplc_run = false;
94
- wplc_online = false;
95
- } else {
96
- wplc_online = true;
97
- }
98
- if (wplc_filter_run_override !== "1" || wplc_online === false) { wplc_run = false; } else { /* we can run */ }
99
-
100
- /*Support mobile loggin*/
101
- var wplc_mobile_check = false;
102
- if(typeof wplc_is_mobile !== "undefined" && (wplc_is_mobile === "true" || wplc_is_mobile === true)){
103
- wplc_mobile_check = true;
104
- }
105
-
106
- /* start long polling */
107
- var data = {
108
- action: 'wplc_call_to_server_visitor',
109
- security: wplc_nonce,
110
- cid:wplc_cid,
111
- wplc_name: wplc_cookie_name,
112
- wplc_email: wplc_cookie_email,
113
- status:wplc_chat_status,
114
- wplcsession:wplc_session_variable,
115
- wplc_is_mobile: wplc_mobile_check,
116
- wplc_extra_data:wplc_extra_data
117
- };
118
-
119
- if(wplc_server.browserIsSocketReady()){
120
- data.socket = true;
121
- }
122
-
123
- initial_data = data;
124
- // ajax long polling function
125
- if (wplc_filter_run_override !== "1" || wplc_online === false) {
126
- wplc_call_to_server_chat(data,true,true);
127
- } else {
128
- wplc_call_to_server_chat(data,true,false);
129
- }
130
-
131
- if(wplc_cid !== null && wplc_init_chat_box_check == true && wplc_init_chat_box !== false){
132
- wplc_init_chat_box(wplc_cid,wplc_chat_status);
133
- }
134
-
135
-
136
- }
137
-
138
- }
139
-
140
- });
141
-
142
- function wplc_user_message_receiver(data){
143
- if(typeof wplc_loop_response_handler !== "undefined" && typeof wplc_loop_response_handler === "function"){
144
- wplc_loop_response_handler(data, wplc_server_last_loop_data);
145
- data = JSON.parse(data);
146
- if(typeof data['status'] !== "undefined"){
147
- delete wplc_server_last_loop_data.status;
148
- }
149
-
150
- if(data.keep_alive === true){
151
- setTimeout(function(){
152
- wplc_call_to_server_chat(wplc_server_last_loop_data);
153
- },100);
154
- }
155
- }
156
- }
157
-
158
- function wplc_user_retry_handler(data){
159
- var tstatus = Cookies.get("wplc_chat_status");
160
-
161
- if (tstatus !== "undefined") {
162
- if(tstatus !== 8 || tstatus !== 1){
163
- wplc_retry_interval = setTimeout(function(){
164
-
165
- wplc_server.prepareTransport(function(){
166
- //Transport ready...
167
- wplc_server_last_loop_data.status = parseInt(tstatus); //Set to existing status
168
- wplc_call_to_server_chat(wplc_server_last_loop_data);
169
- }, wplc_user_message_receiver, wplc_user_retry_handler, wplc_log_connection_error);
170
-
171
-
172
- },500);
173
- }
174
-
175
- }
176
- }
177
-
178
- function wplc_call_to_server_chat(data,first_run,short_poll) {
179
-
180
-
181
- if (typeof first_run === "undefined") { first_run = false; };
182
- if (typeof short_poll === "undefined") { short_poll = false; };
183
- data.first_run = first_run;
184
- data.short_poll = short_poll;
185
-
186
- if(typeof Cookies.get('wplc_name') !== "undefined"){
187
- data.msg_from_print = Cookies.get('wplc_name');
188
- }
189
-
190
- wplc_server_last_loop_data = data;
191
-
192
- wplc_server.send(wplc_ajaxurl, data, "POST", 120000,
193
- function(response) {
194
- wplc_long_poll_delay = 1500;
195
- wplc_loop_response_handler(response, data);
196
- },
197
- function(jqXHR, exception) {
198
- wplc_long_poll_delay = 5000;
199
-
200
- if (jqXHR.status == 404) {
201
- wplc_log_connection_error('Error: Requested page not found. [404]');
202
- wplc_run = false;
203
- } else if (jqXHR.status == 500) {
204
- wplc_log_connection_error('Error: Internal Server Error [500].');
205
- wplc_log_connection_error('Retrying in 5 seconds...');
206
- wplc_run = true;
207
- } else if (exception === 'parsererror') {
208
- wplc_log_connection_error('Error: Requested JSON parse failed.');
209
- wplc_run = false;
210
- } else if (exception === 'abort') {
211
- wplc_log_connection_error('Error: Ajax request aborted.');
212
- wplc_run = false;
213
- } else {
214
- wplc_log_connection_error('Error: Uncaught Error.\n' + jqXHR.responseText);
215
- wplc_log_connection_error('Retrying in 5 seconds...');
216
- wplc_run = true;
217
- }
218
- },
219
- function(response){
220
- if (wplc_run) {
221
- if(wplc_server.isInSocketMode() === false && wplc_server.isPreparingSocketMode() === false){
222
- setTimeout(function() {
223
- wplc_call_to_server_chat(data,false,false);
224
- }, wplc_long_poll_delay);
225
- } else if ((wplc_server.isInSocketMode() === false && wplc_server.isPreparingSocketMode() === true) && (typeof wplc_transport_prepared !== "undefined" && wplc_transport_prepared === false)) {
226
- /* Allows for initiate chat to work on the node server */
227
- if (typeof wplc_use_node_server !== "undefined" && wplc_use_node_server === "true") {
228
- /* do not run this if using not the node jedi */
229
- setTimeout(function() {
230
- wplc_call_to_server_chat(data,false,true);
231
- }, 7500);
232
- }
233
- } else {
234
- if(typeof response !== "undefined" && typeof response.responseText !== "undefined"){
235
- var response_data = JSON.parse(response.responseText);
236
- if (typeof wplc_transport_prepared !== "undefined") {
237
- if(wplc_transport_prepared !== true && (parseInt(response_data.status) === 3 || parseInt(response_data.status) === 2)){
238
- //Transport is unprepared and the user has returned to the page with a status 3/2
239
- wplc_server.prepareTransport(function(){
240
- wplc_call_to_server_chat(data,false,false);
241
- }, wplc_user_message_receiver, wplc_user_retry_handler, wplc_log_connection_error);
242
- }
243
- }
244
- }
245
- }
246
- }
247
- }
248
- );
249
-
250
- };
251
-
252
- function wplc_loop_response_handler(response, data){
253
- if(response){
254
- if (response === "0") { if (window.console) { console.log('WP Live Chat Support Return Error'); } wplc_run = false; return; }
255
- if (typeof response !== "object") {
256
- response = JSON.parse(response);
257
- }
258
-
259
- data['action_2'] = "";
260
- if(typeof response['wplc_name'] !== "undefined"){ data['wplc_name'] = response['wplc_name']; /* Cookies.set('wplc_name', response['wplc_name'], { expires: 1, path: '/' });*/ }
261
- if(typeof response['wplc_email'] !== "undefined"){ data['wplc_email'] = response['wplc_email']; /* Cookies.set('wplc_email', response['wplc_email'], { expires: 1, path: '/' }); */ }
262
- if(typeof response['cid'] !== "undefined"){ data['cid'] = response['cid']; Cookies.set('wplc_cid', response['cid'], { expires: 1, path: '/' }); }
263
- if(typeof response['aname'] !== "undefined") { wplc_agent_name = response['aname']; }
264
- if(typeof response['cid'] !== "undefined" && wplc_cid !== jQuery.trim(response['cid'])){ wplc_cid = jQuery.trim(response['cid']); }
265
- if(typeof response['status'] !== "undefined" && parseInt(wplc_chat_status) !== parseInt(response['status'])){
266
- wplc_chat_status = response['status'];
267
- Cookies.set('wplc_chat_status', null, { path: '/' });
268
- Cookies.set('wplc_chat_status', wplc_chat_status, { expires: 1, path: '/' });
269
- }
270
-
271
- /* Trigger for handling responses */
272
- jQuery.event.trigger({type: "wplc_user_chat_loop",response:response});
273
-
274
- /* Process status changes */
275
- if(data['status'] == response['status']){
276
-
277
- if(data['status'] == 5 && wplc_init_chat_box_check === true && wplc_init_chat_box !== false){ // open chat box on load
278
- wplc_init_chat_box(data['cid'], data['status']);
279
- }
280
- if((response['status'] == 3 || response['status'] == 2) && response['data'] != null){ // if active and data is returned
281
- wplc_run = true;
282
- var wplc_new_message_sound = false;
283
- if (typeof response['data'] === "object") {
284
- for (var index in response['data']) {
285
- if(typeof response['data'][index] !== "object"){
286
- if (typeof msg_history[index] === "undefined") {
287
- //Not from node
288
- /* we dont have this message */
289
- // console.log("new message!: "+response['data'][index]);
290
- msg_history[index] = true;
291
-
292
- if(typeof niftyFormatParser !== "undefined"){
293
- jQuery("#wplc_chatbox").append(niftyFormatParser(response['data'][index].wplcStripSlashes()));
294
- } else{
295
- jQuery("#wplc_chatbox").append(response['data'][index].wplcStripSlashes());
296
- }
297
-
298
- wplc_new_message_sound = true;
299
-
300
- } else {
301
- /* we already have this message */
302
- // console.log("we already have "+response['data'][index]);
303
- }
304
- } else {
305
- var the_message = response['data'][index];
306
-
307
- if(typeof the_message.originates !== "undefined" && the_message.originates !== null && the_message.originates !== "null"){
308
- var message_class = "";
309
- var grav_hash = "";
310
- var message_grav = "";
311
- var message_from = "";
312
- var message_content = "";
313
-
314
- if(parseInt(the_message.originates) === 1){
315
- //From Admin
316
- message_class = "wplc-admin-message wplc-color-bg-4 wplc-color-2 wplc-color-border-4";
317
- // message_grav = "<img src='//www.gravatar.com/avatar/MD5_this_section_with_email?s=30' class='wplc-admin-message-avatar' />";
318
- message_grav = "";
319
- // message_from = (typeof the_message.msgfrom !== "undefined" ? the_message.msgfrom : "") + ": ";
320
- message_from = "";
321
- message_content = the_message.msg.wplcStripSlashes();
322
-
323
- wplc_new_message_sound = true;
324
- } else if (parseInt(the_message.originates) === 0){
325
- //System Notification
326
- message_class = "wplc_system_notification wplc-color-4";
327
- message_content = the_message.msg;
328
- } else {
329
- message_class = "wplc-user-message wplc-color-bg-1 wplc-color-2 wplc-color-border-1";
330
- // message_grav = md5(wplc_cookie_email);
331
- // message_grav = "<img src='//www.gravatar.com/avatar/" + message_grav + "?s=30' class='wplc-admin-message-avatar' />";
332
- message_grav = "";
333
- message_from = Cookies.get("wplc_name") + ": ";
334
- message_from = "";
335
- message_content = the_message.msg.wplcStripSlashes();
336
- wplc_new_message_sound = false;
337
- }
338
-
339
- if(message_content !== ""){
340
- var concatenated_message = "<span class='" + message_class + "'>";
341
- // concatenated_message += message_grav;
342
- // concatenated_message += message_from;
343
- concatenated_message += message_content;
344
- concatenated_message += "</span>";
345
-
346
- if(typeof niftyFormatParser !== "undefined"){
347
- jQuery("#wplc_chatbox").append(niftyFormatParser(concatenated_message));
348
- } else{
349
- jQuery("#wplc_chatbox").append(concatenated_message);
350
- }
351
- var height = jQuery('#wplc_chatbox')[0].scrollHeight;
352
- jQuery('#wplc_chatbox').scrollTop(height);
353
- }
354
- }
355
- }
356
- }
357
- }
358
- else {
359
- /* backwards compatibility - response['data'] is a string */
360
- if(typeof niftyFormatParser !== "undefined"){
361
- jQuery("#wplc_chatbox").append(niftyFormatParser(response['data'].wplcStripSlashes()));
362
- } else{
363
- jQuery("#wplc_chatbox").append(response['data'].wplcStripSlashes());
364
-
365
- }
366
- wplc_new_message_sound = true;
367
- }
368
-
369
- if(wplc_new_message_sound){
370
- var height = jQuery('#wplc_chatbox')[0].scrollHeight;
371
- jQuery('#wplc_chatbox').scrollTop(height);
372
- if (typeof wplc_enable_ding !== 'undefined' && wplc_enable_ding === "1") {
373
- new Audio(wplc_plugin_url+'/wp-live-chat-support/ding.mp3').play();
374
- }
375
- }
376
- }
377
-
378
- } else {
379
- data['status'] = wplc_chat_status;
380
- Cookies.set('wplc_chat_status', wplc_chat_status, { expires: 1, path: '/' });
381
- if(response['status'] == 0 || response['status'] == 12){ // no answer from admin
382
- jQuery("#wp-live-chat-3").hide();
383
- if (typeof response['data'] !== "undefined") {
384
- jQuery("#wplc_chatbox").append(response['data'].wplcStripSlashes()+"<hr />");
385
- }
386
-
387
- }
388
- else if(response['status'] == 8){ // chat has been ended by admin
389
- wplc_run = false;
390
-
391
- jQuery("#wp-live-chat-minimize").show();
392
- document.getElementById('wplc_chatmsg').disabled = true;
393
-
394
- if(typeof response['data'] === "object") {
395
- for (var index in response['data']) {
396
- if(typeof response['data'][index] === "object"){
397
- var the_message = response['data'][index];
398
- if(typeof the_message.originates !== "undefined"){
399
- var message_class = "";
400
- var message_content = "";
401
-
402
- if (parseInt(the_message.originates) === 0){
403
- //System Notification
404
- message_class = "wplc_system_notification wplc-color-4";
405
- message_content = the_message.msg;
406
- if(message_content !== ""){
407
- var concatenated_message = "<span class='" + message_class + "'>";
408
- concatenated_message += message_content;
409
- concatenated_message += "</span>";
410
-
411
- if(typeof niftyFormatParser !== "undefined"){
412
- jQuery("#wplc_chatbox").append(niftyFormatParser(concatenated_message));
413
- } else{
414
- jQuery("#wplc_chatbox").append(concatenated_message);
415
- }
416
- }
417
- }
418
- }
419
- }
420
- }
421
- } else {
422
- //Backwards Compat
423
- jQuery("#wplc_chatbox").append("<em>"+response['data']+"</em><br />");
424
- }
425
- var height = jQuery('#wplc_chatbox')[0].scrollHeight;
426
- jQuery('#wplc_chatbox').scrollTop(height);
427
-
428
-
429
- jQuery.event.trigger({type: "wplc_end_chat"});
430
-
431
- }
432
- else if(parseInt(response['status']) == 11){ /* use moved on to another page (perhaps in another tab so close this instance */
433
- jQuery("#wp-live-chat").css({ "display" : "none" });
434
- wplc_run = false;
435
- }
436
- else if(parseInt(response['status']) == 3 || parseInt(response['status']) == 2 || parseInt(response['status']) == 10){ // re-initialize chat
437
- wplc_run = true;
438
- jQuery("#wplc_cid").val(wplc_cid);
439
- if(parseInt(response['status']) == 3) { // only if not minimized open aswell
440
- /* HERE NODE */
441
-
442
- if (typeof wplc_use_node_server !== "undefined" && wplc_use_node_server === "true") {
443
- /* do not run this if using not the node jedi */
444
-
445
- if (typeof wplc_transport_prepared !== "undefined" && wplc_transport_prepared === false) {
446
- wplc_server.prepareTransport(function(){
447
- wplc_call_to_server_chat(wplc_server_last_loop_data,false,false);
448
- }, wplc_user_message_receiver, wplc_user_retry_handler, wplc_log_connection_error);
449
- }
450
- }
451
- if (!wplc_is_minimized) {
452
- open_chat(0);
453
- }
454
-
455
-
456
- if(jQuery('#wp-live-chat').hasClass('wplc_left') === true || jQuery('#wp-live-chat').hasClass('wplc_right') === true){
457
- jQuery('#wp-live-chat').height("400px");
458
- }
459
- }
460
- if(parseInt(response['status']) == 10) { // only if not minimized open aswell
461
- wplc_run = true;
462
- open_chat(0);
463
-
464
- }
465
- if(response['data'] != null){ // append messages to chat area
466
- if (typeof response['data'] === "object") {
467
- for (var index in response['data']) {
468
- wplc_new_message_sound = false;
469
- if(typeof response['data'][index] !== "object"){
470
- if (typeof msg_history[index] === "undefined") {
471
- /* we dont have this message */
472
- // console.log("new message!: "+response['data'][index]);
473
- msg_history[index] = true;
474
- if(typeof niftyFormatParser !== "undefined"){
475
- jQuery("#wplc_chatbox").append(niftyFormatParser(response['data'][index].wplcStripSlashes()));
476
- } else{
477
- jQuery("#wplc_chatbox").append(response['data'][index].wplcStripSlashes());
478
- }
479
-
480
- wplc_new_message_sound = true;
481
- } else {
482
- /* we already have this message */
483
- // console.log("we already have "+response['data'][index]);
484
- }
485
- } else {
486
- var the_message = response['data'][index];
487
-
488
- if(typeof the_message.originates !== "undefined" && the_message.originates !== null && the_message.originates !== "null"){
489
- var message_class = "";
490
- var grav_hash = "";
491
- var message_grav = "";
492
- var message_from = "";
493
- var message_content = "";
494
-
495
- if(parseInt(the_message.originates) === 1){
496
- //From Admin
497
- message_class = "wplc-admin-message wplc-color-bg-4 wplc-color-2 wplc-color-border-4";
498
- message_grav = "<img src='//www.gravatar.com/avatar/MD5_this_section_with_email?s=30' class='wplc-admin-message-avatar' />";
499
- message_from = (typeof the_message.msgfrom !== "undefined" ? the_message.msgfrom : "") + ": ";
500
- message_content = the_message.msg.wplcStripSlashes();
501
-
502
- wplc_new_message_sound = true;
503
- } else if (parseInt(the_message.originates) === 0){
504
- //System Notification
505
- message_class = "wplc_system_notification wplc-color-4";
506
- message_content = the_message.msg;
507
- } else {
508
- message_class = "wplc-user-message wplc-color-bg-1 wplc-color-2 wplc-color-border-1";
509
- message_grav = md5(wplc_email);
510
- message_grav = "<img src='//www.gravatar.com/avatar/" + message_grav + "?s=30' class='wplc-admin-message-avatar' />";
511
- message_from = Cookies.get("wplc_name") + ": ";
512
- message_content = the_message.msg.wplcStripSlashes();
513
- }
514
-
515
- if(message_content !== ""){
516
- var concatenated_message = "<span class='" + message_class + "'>";
517
- // concatenated_message += message_grav;
518
- // concatenated_message += message_from;
519
- concatenated_message += message_content;
520
- concatenated_message += "</span>";
521
-
522
- if(typeof niftyFormatParser !== "undefined"){
523
- jQuery("#wplc_chatbox").append(niftyFormatParser(concatenated_message));
524
- } else{
525
- jQuery("#wplc_chatbox").append(concatenated_message);
526
- }
527
- // var height = jQuery('#wplc_chatbox')[0].scrollHeight;
528
- // jQuery('#wplc_chatbox').scrollTop(height);
529
- }
530
- }
531
- }
532
-
533
- if(wplc_new_message_sound){
534
- var height = jQuery('#wplc_chatbox')[0].scrollHeight;
535
- jQuery('#wplc_chatbox').scrollTop(height);
536
- if (typeof wplc_enable_ding !== 'undefined' && wplc_enable_ding === "1") {
537
- new Audio(wplc_plugin_url+'/wp-live-chat-support/ding.mp3').play();
538
- }
539
- }
540
- }
541
- }
542
- else {
543
- /* backwards compatibility - response['data'] is a string */
544
- if(typeof niftyFormatParser !== "undefined"){
545
- jQuery("#wplc_chatbox").append(niftyFormatParser(response['data'].wplcStripSlashes()));
546
- } else{
547
- jQuery("#wplc_chatbox").append(response['data'].wplcStripSlashes());
548
-
549
- }
550
- }
551
-
552
- if(response['data']){
553
- var height = jQuery('#wplc_chatbox')[0].scrollHeight;
554
- jQuery('#wplc_chatbox').scrollTop(height);
555
-
556
- }
557
- }
558
- }
559
- }
560
- }
561
- }
562
-
563
- function wplc_log_connection_error(error){
564
- if (window.console) { console.log(error); }
565
-
566
- jQuery("#wplc_chatbox").append("<small>" + error + "</small><br>");
567
- var height = jQuery('#wplc_chatbox')[0].scrollHeight;
568
- jQuery('#wplc_chatbox').scrollTop(height);
569
- }
570
-
571
- function wplc_display_error(error) {
572
- jQuery("#wplc_chatbox").append(wplc_error_messages.server_connection_lost+" "+error);
573
- var height = jQuery('#wplc_chatbox')[0].scrollHeight;
574
- jQuery('#wplc_chatbox').scrollTop(height);
575
- }
576
-
577
- function wplc_init_chat_box(cid, status){
578
- if(wplc_chat_status == 9 && wplc_check_hide_cookie == "yes"){
579
-
580
- } else {
581
- if(wplc_check_hide_cookie != "yes"){
582
- wplc_dc = setTimeout(function (){
583
- /*
584
- * 1- Slide Up
585
- * 2- Slide Across (Left/Right)
586
- * 3- Slide Down
587
- * 4- Fade In
588
- */
589
-
590
- var wplc_window_id = jQuery("#wp-live-chat");
591
-
592
- var wplc_theme_chosen = jQuery(wplc_window_id).attr('wplc_animation');
593
-
594
- switch(wplc_theme_chosen){
595
- case 'none':
596
- jQuery(wplc_window_id).css('display', 'block');
597
- break;
598
- case 'animation-1':
599
- // Slide Up
600
- jQuery(wplc_window_id).animate({'marginBottom' : '0px'}, 1000);
601
- break;
602
- case 'animation-2-bl':
603
- // Slide Accross from left
604
- jQuery(wplc_window_id).animate({'left' : '100px'}, 1000);
605
- break;
606
- case 'animation-2-br':
607
- // Slide Accross from right
608
- jQuery(wplc_window_id).animate({'right' : '100px'}, 1000);
609
- break;
610
- case 'animation-2-l':
611
- // Slide Accross from left
612
- jQuery(wplc_window_id).animate({"left" : '0px'}, 1000);
613
- break;
614
- case 'animation-2-r':
615
- // Slide Accross from right
616
- jQuery(wplc_window_id).animate({'right' : '0px'}, 1000);
617
- break;
618
- case 'animation-3':
619
- // Fade In
620
- jQuery(wplc_window_id).fadeIn('slow');
621
- case 'animation-4':
622
- jQuery(wplc_window_id).css('display', 'block');
623
- break;
624
- default:
625
- jQuery(wplc_window_id).css('display', 'block');
626
- break;
627
- }
628
-
629
- //jQuery("#wp-live-chat").css({ "display" : "block" });
630
- if(jQuery("#wp-live-chat").attr('wplc-auto-pop-up') === "1"){
631
- open_chat(0);
632
- }
633
-
634
- jQuery.event.trigger({type: "wplc_animation_done"});
635
- }, parseInt(window.wplc_delay));
636
- }
637
- }
638
- wplc_init_chat_box = false;
639
- }
640
-
641
-
642
- function wplc_sound(source,volume,loop) {
643
- this.source=source;
644
- this.volume=volume;
645
- this.loop=loop;
646
- var son;
647
- this.son=son;
648
- this.finish=false;
649
- this.stop=function()
650
- {
651
- document.body.removeChild(this.son);
652
- }
653
- this.start=function()
654
- {
655
- if(this.finish)return false;
656
- this.son=document.createElement("embed");
657
- this.son.setAttribute("src",this.source);
658
- this.son.setAttribute("hidden","true");
659
- this.son.setAttribute("volume",this.volume);
660
- this.son.setAttribute("autostart","true");
661
- this.son.setAttribute("loop",this.loop);
662
- document.body.appendChild(this.son);
663
- }
664
- this.remove=function()
665
- {
666
- document.body.removeChild(this.son);
667
- this.finish=true;
668
- }
669
- this.init=function(volume,loop)
670
- {
671
- this.finish=false;
672
- this.volume=volume;
673
- this.loop=loop;
674
- }
675
- }
676
-
677
-
678
-
679
- //placeholder text fix for IE
680
- jQuery('#wp-live-chat [placeholder]').focus(function() {
681
- var input = jQuery(this);
682
- if (input.val() == input.attr('placeholder')) {
683
- input.val('');
684
- input.removeClass('placeholder');
685
- }
686
- }).blur(function() {
687
- var input = jQuery(this);
688
- if (input.val() == '' || input.val() == input.attr('placeholder')) {
689
- input.addClass('placeholder');
690
- input.val(input.attr('placeholder'));
691
- }
692
- }).blur();
693
-
694
-
695
- /* minimize chat window */
696
- jQuery("body").on("click", "#wp-live-chat-minimize", function() {
697
- jQuery.event.trigger({type: "wplc_minimize_chat"});
698
- wplc_is_minimized = true;
699
-
700
- Cookies.set('wplc_minimize', "yes", { expires: 1, path: '/' });
701
- wplc_chat_status = Cookies.get('wplc_chat_status');
702
- if(wplc_chat_status != 5 && wplc_chat_status != 10 && wplc_chat_status != 9 && wplc_chat_status != 8){
703
- var data = {
704
- action: 'wplc_user_minimize_chat',
705
- security: wplc_nonce,
706
- cid: wplc_cid
707
- };
708
-
709
- jQuery.post(wplc_ajaxurl, data, function(response) {
710
-
711
- });
712
- }
713
-
714
- });
715
-
716
-
717
- /* close chat window */
718
- jQuery("body").on("click", "#wp-live-chat-close", function() {
719
-
720
- jQuery("#wp-live-chat").hide();
721
- jQuery("#wp-live-chat-1").hide();
722
- jQuery("#wp-live-chat-2").hide();
723
- jQuery("#wp-live-chat-3").hide();
724
- jQuery("#wp-live-chat-4").hide();
725
- jQuery("#wplc_social_holder").hide();
726
- jQuery("#nifty_ratings_holder").hide();
727
- jQuery("#wp-live-chat-react").hide();
728
- jQuery("#wp-live-chat-minimize").hide();
729
- if (typeof wplc_hide_chat !== "undefined" && wplc_hide_chat !== "" && wplc_hide_chat !== null) { Cookies.set('wplc_hide', wplc_hide_chat , { expires: 1, path: '/' }); } else {
730
- var wplc_expire_date = new Date();
731
- var minutes = 2;
732
- wplc_expire_date.setTime(wplc_expire_date.getTime() + (minutes * 60 * 1000));
733
- Cookies.set('wplc_hide', "yes" , { expires: wplc_expire_date , path: '/' });
734
- }
735
- var data = {
736
- action: 'wplc_user_close_chat',
737
- security: wplc_nonce,
738
- cid: wplc_cid,
739
- status: wplc_chat_status
740
- };
741
- jQuery.post(wplc_ajaxurl, data, function(response) {
742
-
743
-
744
- });
745
- });
746
- //open chat window function
747
-
748
- function open_chat(force){
749
- jQuery.event.trigger({type: "wplc_open_chat_1"});
750
-
751
-
752
-
753
- wplc_chat_status = Cookies.get('wplc_chat_status');
754
- if (parseInt(wplc_chat_status) == 3 || parseInt(wplc_chat_status) == 2 || parseInt(wplc_chat_status) == 0 || parseInt(wplc_chat_status) == 12) {
755
-
756
- jQuery.event.trigger({type: "wplc_open_chat_2", wplc_online: wplc_online});
757
-
758
- Cookies.set('wplc_had_chat', true, { path: '/' });
759
-
760
- if (parseInt(wplc_chat_status) == 0 || parseInt( wplc_chat_status ) == 11 || parseInt(wplc_chat_status) == 12) {
761
- /* user was a missed chat, now lets change them back to "pending" */
762
- wplc_chat_status = 2;
763
- }
764
- if (typeof wplc_use_node_server === "undefined" || wplc_use_node_server === 'false') {
765
- var data = {
766
- action: 'wplc_user_maximize_chat',
767
- security: wplc_nonce,
768
- cid: wplc_cid,
769
- chat_status : parseInt(wplc_chat_status)
770
- };
771
- jQuery.post(wplc_ajaxurl, data, function(response) {
772
-
773
- //log("user maximized chat success");
774
- });
775
- }
776
- }
777
- else if (parseInt(wplc_chat_status) == 10) {
778
- jQuery("#wp-live-chat-minimize").trigger("click");
779
-
780
- }
781
-
782
- else if (wplc_chat_status == 5 || wplc_chat_status == 9 || wplc_chat_status == 8){
783
- if(jQuery("#wp-live-chat-2").is(":visible") === false && jQuery("#wp-live-chat-4").is(":visible") === false){
784
- jQuery("#wp-live-chat-2").show();
785
- jQuery("#wp-live-chat-2-inner").show();
786
- var wplc_visitor_name = Cookies.get('wplc_name');
787
- if(Cookies.get('wplc_email') !== "no email set" && typeof wplc_visitor_name !== "undefined"){
788
- jQuery("#wplc_name").val(Cookies.get('wplc_name'));
789
- jQuery("#wplc_email").val(Cookies.get('wplc_email'));
790
- }
791
- }
792
- }
793
- /*else if (wplc_chat_status == 2){
794
- jQuery("#wp-live-chat-3").show();
795
- } */
796
- else if(wplc_chat_status == 1){
797
- jQuery("#wp-live-chat-4").show();
798
- jQuery("#wplc_social_holder").show();
799
- jQuery("#nifty_ratings_holder").show();
800
- jQuery.event.trigger({type: "wplc_animation_done"});
801
- jQuery("#wplc_chatbox").append(wplc_error_messages.chat_ended_by_operator+"<br />");
802
- var height = jQuery('#wplc_chatbox')[0].scrollHeight;
803
- jQuery('#wplc_chatbox').scrollTop(height);
804
- jQuery("#wp-live-chat-minimize").hide();
805
- document.getElementById('wplc_chatmsg').disabled = true;
806
- }
807
-
808
-
809
- }
810
-
811
- //allows for a class to open chat window now
812
- jQuery("body").on("click", ".wp-live-chat-now", function() {
813
- open_chat(0);
814
- });
815
-
816
- jQuery(document).on("wplc_minimize_chat", function() {
817
- if (typeof wplc_enable_ga !== "undefined" && wplc_enable_ga === '1') {
818
- if (typeof ga !== "undefined") {
819
- ga('send', {
820
- hitType: 'event',
821
- eventCategory: 'WP_Live_Chat_Support',
822
- eventAction: 'Event',
823
- eventLabel: 'Minimize Chat'
824
- });
825
- }
826
- }
827
- });
828
- jQuery(document).on("wplc_start_chat", function() {
829
- if (typeof wplc_enable_ga !== "undefined" && wplc_enable_ga === '1') {
830
- if (typeof ga !== "undefined") {
831
- ga('send', {
832
- hitType: 'event',
833
- eventCategory: 'WP_Live_Chat_Support',
834
- eventAction: 'Event',
835
- eventLabel: 'Start Chat'
836
- });
837
- }
838
- }
839
- });
840
- jQuery(document).on("wplc_open_chat_1", function() {
841
- if (typeof wplc_enable_ga !== "undefined" && wplc_enable_ga === '1') {
842
- if (typeof ga !== "undefined") {
843
- ga('send', {
844
- hitType: 'event',
845
- eventCategory: 'WP_Live_Chat_Support',
846
- eventAction: 'Event',
847
- eventLabel: 'Start Chat - Step 1'
848
- });
849
- }
850
- }
851
- });
852
- jQuery(document).on("wplc_open_chat_2", function() {
853
- if (typeof wplc_enable_ga !== "undefined" && wplc_enable_ga === '1') {
854
- if (typeof ga !== "undefined") {
855
- ga('send', {
856
- hitType: 'event',
857
- eventCategory: 'WP_Live_Chat_Support',
858
- eventAction: 'Event',
859
- eventLabel: 'Start Chat - Step 2'
860
- });
861
- }
862
- }
863
- });
864
-
865
-
866
- jQuery("body").on("click", "#wplc_start_chat_btn", function() {
867
- var wplc_name = jQuery("#wplc_name").val();
868
- var wplc_email = jQuery("#wplc_email").val();
869
-
870
- if (wplc_name.length <= 0) { alert(wplc_error_messages.valid_name); return false; }
871
- if (wplc_email.length <= 0) { alert(wplc_error_messages.valid_email); return false; }
872
-
873
- if(jQuery("#wplc_email").attr('wplc_hide') !== "1"){
874
- var testEmail = /^[A-Z0-9._%+-]+@([A-Z0-9-]+\.)+[A-Z]{2,12}$/i;
875
-
876
- //var testEmail = /^[A-Z0-9._%+-]+@([A-Z0-9-]+\.)+[A-Z]{2,4}$/i;
877
- if (!testEmail.test(wplc_email)){
878
- alert(wplc_error_messages.valid_email); return false;
879
- }
880
- }
881
-
882
- /* start the long polling */
883
- wplc_run = true;
884
-
885
- if (wplc_filter_run_override === "1" || wplc_online === false) { } else {
886
- initial_data.status = 2;
887
-
888
- /* force the loop to start only now, as we are not using the initiate extension */
889
- wplc_call_to_server_chat(initial_data,false,false);
890
- }
891
-
892
- jQuery.event.trigger({type: "wplc_start_chat"});
893
-
894
-
895
- var date = new Date();
896
- date.setTime(date.getTime() + (2 * 60 * 1000));
897
-
898
- wplc_cid = Cookies.get('wplc_cid');
899
-
900
- if(typeof wplc_start_chat_pro_custom_fields_filter !== "undefined" && typeof wplc_start_chat_pro_custom_fields_filter === "function"){
901
- wplc_extra_data = wplc_start_chat_pro_custom_fields_filter(wplc_extra_data);
902
- }
903
-
904
- if (typeof wplc_cid !== "undefined" && wplc_cid !== null) {
905
- /* we've already recorded a cookie for this person */
906
- var data = {
907
- action: 'wplc_start_chat',
908
- security: wplc_nonce,
909
- name: wplc_name,
910
- email: wplc_email,
911
- cid: wplc_cid,
912
- wplcsession: wplc_session_variable,
913
- wplc_extra_data:wplc_extra_data
914
- };
915
-
916
- if(typeof wplc_start_chat_pro_data !== "undefined" && typeof wplc_start_chat_pro_data === "function"){
917
- data = wplc_start_chat_pro_data(data);
918
- }
919
- } else { // no cookie recorded yet for this visitor
920
- var data = {
921
- action: 'wplc_start_chat',
922
- security: wplc_nonce,
923
- name: wplc_name,
924
- email: wplc_email,
925
- wplcsession: wplc_session_variable,
926
- wplc_extra_data:wplc_extra_data
927
- };
928
-
929
- if(typeof wplc_start_chat_pro_data !== "undefined" && typeof wplc_start_chat_pro_data === "function"){
930
- data = wplc_start_chat_pro_data(data);
931
- }
932
- }
933
-
934
- Cookies.set('wplc_name', wplc_name, { path: '/' } );
935
- Cookies.set('wplc_email', wplc_email, { path: '/' } );
936
-
937
- /* changed ajax url so wp_mail function will work and not stop plugin from alerting admin there is a pending chat */
938
- /* jQuery.post(wplc_ajaxurl, data, function(response) {*/
939
- wplc_server.send(wplc_ajaxurl, data, "POST", 120000,
940
- function(response){
941
- Cookies.set('wplc_chat_status', 2, { expires: date, path: '/' });
942
- wplc_cid = jQuery.trim(response);
943
-
944
- //All sorted, let's check for message transport mode
945
- wplc_server.prepareTransport(function(){
946
- //Transport ready...
947
- wplc_server_last_loop_data.status = 2; //Set to waiting
948
- wplc_call_to_server_chat(wplc_server_last_loop_data);
949
- }, wplc_user_message_receiver, wplc_user_retry_handler, wplc_log_connection_error);
950
- },
951
- function(){
952
- //Fails
953
- },
954
- function(){
955
- //Complete
956
- }
957
- );
958
- });
959
-
960
-
961
- jQuery("body").on("click", "#wplc_na_msg_btn", function() {
962
- var wplc_name = jQuery("#wplc_name").val();
963
- var wplc_email = jQuery("#wplc_email").val();
964
- var wplc_msg = jQuery("#wplc_message").val();
965
- var wplc_domain = jQuery("#wplc_domain_offline").val();
966
- var ip_address = jQuery("#wplc_ip_address").val();
967
-
968
- if (wplc_name.length <= 0) { alert(wplc_error_messages.valid_name); return false; }
969
- if (wplc_email.length <= 0) { alert(wplc_error_messages.valid_email); return false; }
970
- var testEmail = /^[A-Z0-9._%+-]+@([A-Z0-9-]+\.)+[A-Z]{2,12}$/i;
971
- if (!testEmail.test(wplc_email)){
972
- alert(wplc_error_messages.valid_email); return false;
973
- }
974
- if (wplc_msg.length <= 0) { alert(wplc_error_messages.empty_message); return false; }
975
- jQuery("#wp-live-chat-2-info").hide();
976
- jQuery("#wplc_message_div").html(wplc_offline_msg);
977
-
978
- wplc_cid = Cookies.get('wplc_cid');
979
-
980
- var data = {
981
- action: 'wplc_user_send_offline_message',
982
- security: wplc_nonce,
983
- cid: wplc_cid,
984
- name: wplc_name,
985
- email: wplc_email,
986
- msg: wplc_msg,
987
- ip: ip_address,
988
- domain: wplc_domain,
989
- wplc_extra_data:wplc_extra_data
990
- };
991
-
992
- jQuery.post(wplc_ajaxurl_site, data, function(response) {
993
- jQuery("#wplc_message_div").html(wplc_offline_msg3);
994
- });
995
- if (typeof wplc_enable_ga !== "undefined" && wplc_enable_ga === '1') {
996
- if (typeof ga !== "undefined") {
997
- ga('send', {
998
- hitType: 'event',
999
- eventCategory: 'WP_Live_Chat_Support',
1000
- eventAction: 'Event',
1001
- eventLabel: 'User Send Offline Message'
1002
- });
1003
- }
1004
- }
1005
- });
1006
-
1007
-
1008
- function wplc_strip(str) {
1009
- str=str.replace(/<br>/gi, "\n");
1010
- str=str.replace(/<p.*>/gi, "\n");
1011
- str=str.replace(/<a.*href="(.*?)".*>(.*?)<\/a>/gi, " $2 ($1) ");
1012
- str=str.replace(/<(?:.|\s)*?>/g, "");
1013
-
1014
- str=str.replace('iframe', "");
1015
- str=str.replace('src', "");
1016
- str=str.replace('href', "");
1017
- str=str.replace('<', "");
1018
- str=str.replace('>', "");
1019
-
1020
- return str;
1021
- }
1022
-
1023
-
1024
- jQuery("body").on("keyup","#wplc_chatmsg", function(event){
1025
- if(event.keyCode === 13){
1026
- jQuery("#wplc_send_msg").trigger("click");
1027
- }
1028
- });
1029
- jQuery("body").on("click", "#wplc_send_msg", function() {
1030
- var wplc_cid = jQuery("#wplc_cid").val();
1031
- if (wplc_cid.length < 1) {
1032
- /* failover for wplc_cid */
1033
- var wplc_cid = Cookies.get('wplc_cid');
1034
- }
1035
- var wplc_chat = wplc_strip(document.getElementById('wplc_chatmsg').value);
1036
-
1037
- if(wplc_chat !== ""){
1038
- var wplc_name = jQuery("#wplc_name").val();
1039
- if (typeof wplc_name == "undefined" || wplc_name == null || wplc_name == "") {
1040
- wplc_name = Cookies.get('wplc_name');
1041
- }
1042
-
1043
- var wplc_email = jQuery("#wplc_email").val();
1044
- if (typeof wplc_email == "undefined" || wplc_email == null || wplc_email == "") {
1045
- wplc_email = Cookies.get('wplc_email');
1046
- }
1047
-
1048
-
1049
- jQuery("#wplc_chatmsg").val('');
1050
-
1051
- /*Nifty format Parse*/
1052
- var wplc_chat_parsed = wplc_chat;
1053
- if(typeof niftyFormatParser !== "undefined"){
1054
- wplc_chat_parsed = niftyFormatParser(wplc_chat_parsed);
1055
- }
1056
-
1057
- if( typeof wplc_display_name !== 'undefined' ){
1058
- /**
1059
- * We're still using the old options
1060
- */
1061
- if(wplc_display_name == 'display'){
1062
- if (wplc_gravatar_image.length > 1) {
1063
- jQuery("#wplc_chatbox").append("<span class='wplc-user-message wplc-color-bg-1 wplc-color-2 wplc-color-border-1'>"+wplc_gravatar_image+" <strong>"+wplc_name+"</strong>: "+wplc_chat_parsed+"</span><br /><div class='wplc-clear-float-message'></div>");
1064
- } else {
1065
- jQuery("#wplc_chatbox").append("<span class='wplc-user-message wplc-color-bg-1 wplc-color-2 wplc-color-border-1'><img src='//www.gravatar.com/avatar/"+md5(wplc_email)+"?s=30' class='wplc-user-message-avatar' \/> <strong>"+wplc_name+"</strong>: "+wplc_chat_parsed+"</span><br /><div class='wplc-clear-float-message'></div>");
1066
- }
1067
- } else {
1068
- jQuery("#wplc_chatbox").append("<span class='wplc-user-message wplc-color-bg-1 wplc-color-2 wplc-color-border-1'>"+wplc_chat_parsed+"</span><div class='wplc-clear-float-message'></div>");
1069
- }
1070
- } else {
1071
- if( typeof wplc_show_chat_detail !== 'undefined' ){
1072
- if( typeof wplc_show_chat_detail.name !== 'undefined' && wplc_show_chat_detail.name == '1' ){
1073
- /**
1074
- * Show the name
1075
- */
1076
- var the_name = "<strong>"+wplc_name+"</strong>: ";
1077
- if( typeof wplc_show_chat_detail.avatar !== 'undefined' && wplc_show_chat_detail.avatar != '' ){
1078
- /**
1079
- * Show the avatar
1080
- */
1081
- wplc_gravatar_image = "<img src='https://www.gravatar.com/avatar/"+md5( wplc_email )+"?s=30&d=mm' class='wplc-user-message-avatar'/>";
1082
-
1083
- } else {
1084
- /**
1085
- * Don't show the avatar
1086
- */
1087
- wplc_gravatar_image = "";
1088
- }
1089
- } else {
1090
- /**
1091
- * Don't show the name
1092
- */
1093
- var the_name = "";
1094
- if( typeof wplc_show_chat_detail.avatar !== 'undefined' && wplc_show_chat_detail.avatar != '' ){
1095
- /**
1096
- * Show the avatar
1097
- */
1098
- wplc_gravatar_image = "<img src='https://www.gravatar.com/avatar/"+md5( wplc_email )+"?s=30&d=mm' class='wplc-user-message-avatar'/>";
1099
- } else {
1100
- /**
1101
- * Don't show the avatar
1102
- */
1103
- wplc_gravatar_image = "";
1104
- }
1105
- }
1106
-
1107
- wplc_chat = wplc_gravatar_image+the_name+wplc_chat_parsed;
1108
-
1109
- jQuery("#wplc_chatbox").append("<span class='wplc-user-message wplc-color-bg-1 wplc-color-2 wplc-color-border-1'>"+wplc_chat+"</span><br /><div class='wplc-clear-float-message'></div>");
1110
-
1111
- } else {
1112
- wplc_chat = wplc_chat_parsed;
1113
-
1114
- jQuery("#wplc_chatbox").append("<span class='wplc-user-message wplc-color-bg-1 wplc-color-2 wplc-color-border-1'>"+wplc_chat_parsed+"</span><div class='wplc-clear-float-message'></div>");
1115
-
1116
- }
1117
- }
1118
-
1119
- var height = jQuery('#wplc_chatbox')[0].scrollHeight;
1120
- jQuery('#wplc_chatbox').scrollTop(height);
1121
-
1122
- var data = {
1123
- action: 'wplc_user_send_msg',
1124
- security: wplc_nonce,
1125
- cid: wplc_cid,
1126
- msg: wplc_chat,
1127
- wplc_extra_data:wplc_extra_data
1128
- };
1129
-
1130
- wplc_server.sendMessage(wplc_ajaxurl, data, "POST", 120000,
1131
- function(){
1132
- //Success
1133
- wplc_server.asyncStorage(wplc_ajaxurl, data, 120000);
1134
- }, function(){
1135
- //Fail
1136
- }, function(){
1137
- //Complete
1138
- }
1139
- );
1140
-
1141
- if (typeof wplc_enable_ga !== "undefined" && wplc_enable_ga === '1') {
1142
- if (typeof ga !== "undefined") {
1143
- ga('send', {
1144
- hitType: 'event',
1145
- eventCategory: 'WP_Live_Chat_Support',
1146
- eventAction: 'Event',
1147
- eventLabel: 'User Send Message'
1148
- });
1149
- }
1150
- }
1151
- }
1152
-
1153
- });
1154
-
1155
- jQuery(document).on("wplc_open_chat", function (event) {
1156
- /* what is the current status? */
1157
- wplc_chat_status = Cookies.get('wplc_chat_status');
1158
- if( typeof wplc_chat_status == 'undefined' ){
1159
- Cookies.set('wplc_chat_status', 5, { expires: 1, path: '/' });
1160
- }
1161
- var wplc_tmp_checker = wplc_pre_open_check_status(status, function() {
1162
- open_chat();
1163
- });
1164
- });
1165
-
1166
- jQuery(document).on("wplc_end_chat", function(){
1167
- /* Clear Cookies */
1168
- Cookies.remove('wplc_chat_status');
1169
- Cookies.remove('wplc_cid');
1170
- //Cookies.remove('wplc_name');
1171
- //Cookies.remove('wplc_email');
1172
-
1173
- /* Close ports if applicable*/
1174
- wplc_server.forceClosePort();
1175
-
1176
- /* Check if we should redirect */
1177
- if(typeof wplc_redirect_thank_you !== "undefined" && wplc_redirect_thank_you !== null && wplc_redirect_thank_you !== ""){
1178
- window.location = wplc_redirect_thank_you;
1179
- }
1180
- });
1181
-
1182
- function wplc_pre_open_check_status(status, callback) {
1183
- if (typeof wplc_chat_status !== 'undefined' && ( typeof wplc_chat_status.length !== 'undefined' && wplc_chat_status.length > 0 ) ) {
1184
- if (parseInt(wplc_chat_status) === 10 || parseInt(wplc_chat_status) === 7) {
1185
- /* it was minimized or timedout, now we need to open it - set status to 3 (back to open chat) */
1186
- Cookies.set('wplc_chat_status', 3, { expires: 1, path: '/' });
1187
-
1188
- }
1189
- if (parseInt(wplc_chat_status) === 0 || parseInt(wplc_chat_status) === 12) {
1190
- /* no answer from agent previously */
1191
- // Cookies.set('wplc_chat_status', 5, { expires: 1, path: '/' });
1192
- }
1193
- if (parseInt(wplc_chat_status) === 8) {
1194
- /* no answer from agent previously */
1195
- Cookies.set('wplc_chat_status', 5, { expires: 1, path: '/' });
1196
- }
1197
-
1198
- }
1199
- callback();
1200
- }
1201
- String.prototype.wplcStripSlashes = function(){
1202
- return this.replace(/\\(.)/mg, "$1");
1203
- }
1204
-
1205
- if(typeof wplc_elem_trigger_id !== "undefined" && wplc_elem_trigger_id !== ""){
1206
- var wplc_click_or_hover = 0;
1207
- var wplc_class_or_id = 0;
1208
-
1209
- if(typeof wplc_elem_trigger_action !== "undefined" && wplc_elem_trigger_action !== ""){ wplc_click_or_hover = parseInt(wplc_elem_trigger_action); }
1210
- if(typeof wplc_elem_trigger_type !== "undefined" && wplc_elem_trigger_type !== ""){ wplc_class_or_id = parseInt(wplc_elem_trigger_type); }
1211
-
1212
- jQuery( (wplc_class_or_id === 1 ? "#" : ".") + wplc_elem_trigger_id).on( (wplc_click_or_hover === 1 ? "mouseenter" : "click"), function(){
1213
- open_chat(0);
1214
- });
1215
- }
1216
- });
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * Cookie Status
3
+ *
4
+ * 1 - complete - user has left site
5
+ * 2 - pending - user waiting for chat to be answered by admin
6
+ * 3 - active chat - user and admin are chatting
7
+ * 4 - deleted
8
+ * 5 - browsing - no data has been inputted
9
+ * 6 - requesting chat - admin has requested a chat with user
10
+ * 7 - timed out - visitor has timed out
11
+ * 8 - complete but now browsing again
12
+ * 9 - user closed chat before starting chat
13
+ * 10 - user minimized active chat
14
+ * 11 - user moved on to another page (session variable is different)
15
+ * 12 - user has not been answered after sending chat request and is still active
16
+ *
17
+ */
18
+ var wplc_is_chat_open = false;
19
+ var wplc_online = false;
20
+ var wplc_agent_name = "";
21
+ var msg_history = new Array();
22
+ var wplc_is_minimized = false; /* global to hold whether or not the chat box is minimized */
23
+
24
+ var wplc_retry_interval = null;
25
+
26
+ var wplc_run = true;
27
+
28
+ var wplc_server = null;
29
+ wplc_server = new WPLCServer();
30
+
31
+ var wplc_server_last_loop_data = null;
32
+
33
+ jQuery(document).ready(function() {
34
+ var wplc_session_variable = new Date().getTime();
35
+ var wplc_cid;
36
+ var wplc_check_hide_cookie;
37
+ var wplc_chat_status = "";
38
+ var wplc_cookie_name = "";
39
+ var wplc_cookie_email = "";
40
+ var wplc_init_chat_box_check = true;
41
+ var wplc_cid = null;
42
+
43
+ var initial_data = {};
44
+ var wplc_fist_run = true;
45
+ var wplc_long_poll_delay = 1500;
46
+
47
+
48
+ wplc_cid = Cookies.get('wplc_cid');
49
+
50
+ if(typeof wplc_cid === 'undefined'){
51
+ wplc_cid = null;
52
+ } else {
53
+ wplc_cid = Cookies.get('wplc_cid');
54
+ }
55
+
56
+ wplc_check_hide_cookie = Cookies.get('wplc_hide');
57
+ wplc_check_minimize_cookie = Cookies.get('wplc_minimize');
58
+ wplc_chat_status = Cookies.get('wplc_chat_status');
59
+ wplc_cookie_name = Cookies.get('wplc_name');
60
+ wplc_cookie_email = Cookies.get('wplc_email');
61
+ // Always start on 5 - ajax will then return chat status if active
62
+ Cookies.set('wplc_chat_status', 5, { expires: 1, path: '/' });
63
+ wplc_chat_status = 5;
64
+
65
+ var data = {
66
+ action: 'wplc_get_chat_box',
67
+ security: wplc_nonce,
68
+ cid: wplc_cid
69
+ };
70
+
71
+ jQuery.ajax({
72
+ url: wplc_ajaxurl_site,
73
+ data:data,
74
+ type:"POST",
75
+ success: function(response) {
76
+ /* inject html */
77
+ if(response){
78
+ if (response === "0") { if (window.console) { console.log('WP Live Chat Support Return Error'); } wplc_run = false; return; }
79
+ response = JSON.parse(response);
80
+
81
+
82
+ jQuery( "body" ).append( response['cbox']);
83
+
84
+ if( typeof wplc_cookie_name == 'undefined' || typeof wplc_cookie_email == 'undefined' ){
85
+
86
+ var wplc_cookie_name = jQuery( jQuery.parseHTML( response['cbox'] ) ).find( "#wplc_name" ).val();
87
+ var wplc_cookie_email = jQuery( jQuery.parseHTML( response['cbox'] ) ).find( "#wplc_email" ).val();
88
+
89
+ }
90
+
91
+ /* is an agent online? */
92
+ if (response['online'] === false) {
93
+ wplc_run = false;
94
+ wplc_online = false;
95
+ } else {
96
+ wplc_online = true;
97
+ }
98
+ if (wplc_filter_run_override !== "1" || wplc_online === false) { wplc_run = false; } else { /* we can run */ }
99
+
100
+ /*Support mobile loggin*/
101
+ var wplc_mobile_check = false;
102
+ if(typeof wplc_is_mobile !== "undefined" && (wplc_is_mobile === "true" || wplc_is_mobile === true)){
103
+ wplc_mobile_check = true;
104
+ }
105
+
106
+ /* start long polling */
107
+ var data = {
108
+ action: 'wplc_call_to_server_visitor',
109
+ security: wplc_nonce,
110
+ cid:wplc_cid,
111
+ wplc_name: wplc_cookie_name,
112
+ wplc_email: wplc_cookie_email,
113
+ status:wplc_chat_status,
114
+ wplcsession:wplc_session_variable,
115
+ wplc_is_mobile: wplc_mobile_check,
116
+ wplc_extra_data:wplc_extra_data
117
+ };
118
+
119
+ if(wplc_server.browserIsSocketReady()){
120
+ data.socket = true;
121
+ }
122
+
123
+ initial_data = data;
124
+ // ajax long polling function
125
+ if (wplc_filter_run_override !== "1" || wplc_online === false) {
126
+ wplc_call_to_server_chat(data,true,true);
127
+ } else {
128
+ wplc_call_to_server_chat(data,true,false);
129
+ }
130
+
131
+ if(wplc_cid !== null && wplc_init_chat_box_check == true && wplc_init_chat_box !== false){
132
+ wplc_init_chat_box(wplc_cid,wplc_chat_status);
133
+ }
134
+
135
+
136
+ }
137
+
138
+ }
139
+
140
+ });
141
+
142
+ function wplc_user_message_receiver(data){
143
+ if(typeof wplc_loop_response_handler !== "undefined" && typeof wplc_loop_response_handler === "function"){
144
+ wplc_loop_response_handler(data, wplc_server_last_loop_data);
145
+ data = JSON.parse(data);
146
+ if(typeof data['status'] !== "undefined"){
147
+ delete wplc_server_last_loop_data.status;
148
+ }
149
+
150
+ if(data.keep_alive === true){
151
+ setTimeout(function(){
152
+ wplc_call_to_server_chat(wplc_server_last_loop_data);
153
+ },100);
154
+ }
155
+ }
156
+ }
157
+
158
+ function wplc_user_retry_handler(data){
159
+ var tstatus = Cookies.get("wplc_chat_status");
160
+
161
+ if (tstatus !== "undefined") {
162
+ if(tstatus !== 8 || tstatus !== 1){
163
+ wplc_retry_interval = setTimeout(function(){
164
+
165
+ wplc_server.prepareTransport(function(){
166
+ //Transport ready...
167
+ wplc_server_last_loop_data.status = parseInt(tstatus); //Set to existing status
168
+ wplc_call_to_server_chat(wplc_server_last_loop_data);
169
+ }, wplc_user_message_receiver, wplc_user_retry_handler, wplc_log_connection_error);
170
+
171
+
172
+ },500);
173
+ }
174
+
175
+ }
176
+ }
177
+
178
+ function wplc_call_to_server_chat(data,first_run,short_poll) {
179
+
180
+
181
+ if (typeof first_run === "undefined") { first_run = false; };
182
+ if (typeof short_poll === "undefined") { short_poll = false; };
183
+ data.first_run = first_run;
184
+ data.short_poll = short_poll;
185
+
186
+ if(typeof Cookies.get('wplc_name') !== "undefined"){
187
+ data.msg_from_print = Cookies.get('wplc_name');
188
+ }
189
+
190
+ wplc_server_last_loop_data = data;
191
+
192
+ wplc_server.send(wplc_ajaxurl, data, "POST", 120000,
193
+ function(response) {
194
+ wplc_long_poll_delay = 1500;
195
+ wplc_loop_response_handler(response, data);
196
+ },
197
+ function(jqXHR, exception) {
198
+ wplc_long_poll_delay = 5000;
199
+
200
+ if (jqXHR.status == 404) {
201
+ wplc_log_connection_error('Error: Requested page not found. [404]');
202
+ wplc_run = false;
203
+ } else if (jqXHR.status == 500) {
204
+ wplc_log_connection_error('Error: Internal Server Error [500].');
205
+ wplc_log_connection_error('Retrying in 5 seconds...');
206
+ wplc_run = true;
207
+ } else if (exception === 'parsererror') {
208
+ wplc_log_connection_error('Error: Requested JSON parse failed.');
209
+ wplc_run = false;
210
+ } else if (exception === 'abort') {
211
+ wplc_log_connection_error('Error: Ajax request aborted.');
212
+ wplc_run = false;
213
+ } else {
214
+ wplc_log_connection_error('Error: Uncaught Error.\n' + jqXHR.responseText);
215
+ wplc_log_connection_error('Retrying in 5 seconds...');
216
+ wplc_run = true;
217
+ }
218
+ },
219
+ function(response){
220
+ if (wplc_run) {
221
+ if(wplc_server.isInSocketMode() === false && wplc_server.isPreparingSocketMode() === false){
222
+ setTimeout(function() {
223
+ wplc_call_to_server_chat(data,false,false);
224
+ }, wplc_long_poll_delay);
225
+ } else if ((wplc_server.isInSocketMode() === false && wplc_server.isPreparingSocketMode() === true) && (typeof wplc_transport_prepared !== "undefined" && wplc_transport_prepared === false)) {
226
+ /* Allows for initiate chat to work on the node server */
227
+ if (typeof wplc_use_node_server !== "undefined" && wplc_use_node_server === "true") {
228
+ /* do not run this if using not the node jedi */
229
+ setTimeout(function() {
230
+ wplc_call_to_server_chat(data,false,true);
231
+ }, 7500);
232
+ }
233
+ } else {
234
+ if(typeof response !== "undefined" && typeof response.responseText !== "undefined"){
235
+ var response_data = JSON.parse(response.responseText);
236
+ if (typeof wplc_transport_prepared !== "undefined") {
237
+ if(wplc_transport_prepared !== true && (parseInt(response_data.status) === 3 || parseInt(response_data.status) === 2)){
238
+ //Transport is unprepared and the user has returned to the page with a status 3/2
239
+ wplc_server.prepareTransport(function(){
240
+ wplc_call_to_server_chat(data,false,false);
241
+ }, wplc_user_message_receiver, wplc_user_retry_handler, wplc_log_connection_error);
242
+ }
243
+ }
244
+ }
245
+ }
246
+ }
247
+ }
248
+ );
249
+
250
+ };
251
+
252
+ function wplc_loop_response_handler(response, data){
253
+ if(response){
254
+ if (response === "0") { if (window.console) { console.log('WP Live Chat Support Return Error'); } wplc_run = false; return; }
255
+ if (typeof response !== "object") {
256
+ response = JSON.parse(response);
257
+ }
258
+
259
+ data['action_2'] = "";
260
+ if(typeof response['wplc_name'] !== "undefined"){ data['wplc_name'] = response['wplc_name']; /* Cookies.set('wplc_name', response['wplc_name'], { expires: 1, path: '/' });*/ }
261
+ if(typeof response['wplc_email'] !== "undefined"){ data['wplc_email'] = response['wplc_email']; /* Cookies.set('wplc_email', response['wplc_email'], { expires: 1, path: '/' }); */ }
262
+ if(typeof response['cid'] !== "undefined"){ data['cid'] = response['cid']; Cookies.set('wplc_cid', response['cid'], { expires: 1, path: '/' }); }
263
+ if(typeof response['aname'] !== "undefined") { wplc_agent_name = response['aname']; }
264
+ if(typeof response['cid'] !== "undefined" && wplc_cid !== jQuery.trim(response['cid'])){ wplc_cid = jQuery.trim(response['cid']); }
265
+ if(typeof response['status'] !== "undefined" && parseInt(wplc_chat_status) !== parseInt(response['status'])){
266
+ wplc_chat_status = response['status'];
267
+ Cookies.set('wplc_chat_status', null, { path: '/' });
268
+ Cookies.set('wplc_chat_status', wplc_chat_status, { expires: 1, path: '/' });
269
+ }
270
+
271
+ /* Trigger for handling responses */
272
+ jQuery.event.trigger({type: "wplc_user_chat_loop",response:response});
273
+
274
+ /* Process status changes */
275
+ if(data['status'] == response['status']){
276
+
277
+ if(data['status'] == 5 && wplc_init_chat_box_check === true && wplc_init_chat_box !== false){ // open chat box on load
278
+ wplc_init_chat_box(data['cid'], data['status']);
279
+ }
280
+ if((response['status'] == 3 || response['status'] == 2) && response['data'] != null){ // if active and data is returned
281
+ wplc_run = true;
282
+ var wplc_new_message_sound = false;
283
+ if (typeof response['data'] === "object") {
284
+ for (var index in response['data']) {
285
+ if(typeof response['data'][index] !== "object"){
286
+ if (typeof msg_history[index] === "undefined") {
287
+ //Not from node
288
+ /* we dont have this message */
289
+ // console.log("new message!: "+response['data'][index]);
290
+ msg_history[index] = true;
291
+
292
+ if(typeof niftyFormatParser !== "undefined"){
293
+ jQuery("#wplc_chatbox").append(niftyFormatParser(response['data'][index].wplcStripSlashes()));
294
+ } else{
295
+ jQuery("#wplc_chatbox").append(response['data'][index].wplcStripSlashes());
296
+ }
297
+
298
+ wplc_new_message_sound = true;
299
+
300
+ } else {
301
+ /* we already have this message */
302
+ // console.log("we already have "+response['data'][index]);
303
+ }
304
+ } else {
305
+ var the_message = response['data'][index];
306
+
307
+ if(typeof the_message.originates !== "undefined" && the_message.originates !== null && the_message.originates !== "null"){
308
+ var message_class = "";
309
+ var grav_hash = "";
310
+ var message_grav = "";
311
+ var message_from = "";
312
+ var message_content = "";
313
+
314
+ if(parseInt(the_message.originates) === 1){
315
+ //From Admin
316
+ message_class = "wplc-admin-message wplc-color-bg-4 wplc-color-2 wplc-color-border-4";
317
+ // message_grav = "<img src='//www.gravatar.com/avatar/MD5_this_section_with_email?s=30' class='wplc-admin-message-avatar' />";
318
+ message_grav = "";
319
+ // message_from = (typeof the_message.msgfrom !== "undefined" ? the_message.msgfrom : "") + ": ";
320
+ message_from = "";
321
+ message_content = the_message.msg.wplcStripSlashes();
322
+
323
+ wplc_new_message_sound = true;
324
+ } else if (parseInt(the_message.originates) === 0){
325
+ //System Notification
326
+ message_class = "wplc_system_notification wplc-color-4";
327
+ message_content = the_message.msg;
328
+ } else {
329
+ message_class = "wplc-user-message wplc-color-bg-1 wplc-color-2 wplc-color-border-1";
330
+ // message_grav = md5(wplc_cookie_email);
331
+ // message_grav = "<img src='//www.gravatar.com/avatar/" + message_grav + "?s=30' class='wplc-admin-message-avatar' />";
332
+ message_grav = "";
333
+ message_from = Cookies.get("wplc_name") + ": ";
334
+ message_from = "";
335
+ message_content = the_message.msg.wplcStripSlashes();
336
+ wplc_new_message_sound = false;
337
+ }
338
+
339
+ if(message_content !== ""){
340
+ var concatenated_message = "<span class='" + message_class + "'>";
341
+ // concatenated_message += message_grav;
342
+ // concatenated_message += message_from;
343
+ concatenated_message += message_content;
344
+ concatenated_message += "</span>";
345
+
346
+ if(typeof niftyFormatParser !== "undefined"){
347
+ jQuery("#wplc_chatbox").append(niftyFormatParser(concatenated_message));
348
+ } else{
349
+ jQuery("#wplc_chatbox").append(concatenated_message);
350
+ }
351
+ var height = jQuery('#wplc_chatbox')[0].scrollHeight;
352
+ jQuery('#wplc_chatbox').scrollTop(height);
353
+ }
354
+ }
355
+ }
356
+ }
357
+ }
358
+ else {
359
+ /* backwards compatibility - response['data'] is a string */
360
+ if(typeof niftyFormatParser !== "undefined"){
361
+ jQuery("#wplc_chatbox").append(niftyFormatParser(response['data'].wplcStripSlashes()));
362
+ } else{
363
+ jQuery("#wplc_chatbox").append(response['data'].wplcStripSlashes());
364
+
365
+ }
366
+ wplc_new_message_sound = true;
367
+ }
368
+
369
+ if(wplc_new_message_sound){
370
+ var height = jQuery('#wplc_chatbox')[0].scrollHeight;
371
+ jQuery('#wplc_chatbox').scrollTop(height);
372
+ if (typeof wplc_enable_ding !== 'undefined' && wplc_enable_ding === "1") {
373
+ new Audio(wplc_plugin_url+'/wp-live-chat-support/ding.mp3').play();
374
+ }
375
+ }
376
+ }
377
+
378
+ } else {
379
+ data['status'] = wplc_chat_status;
380
+ Cookies.set('wplc_chat_status', wplc_chat_status, { expires: 1, path: '/' });
381
+ if(response['status'] == 0 || response['status'] == 12){ // no answer from admin
382
+ jQuery("#wp-live-chat-3").hide();
383
+ if (typeof response['data'] !== "undefined") {
384
+ jQuery("#wplc_chatbox").append(response['data'].wplcStripSlashes()+"<hr />");
385
+ }
386
+
387
+ }
388
+ else if(response['status'] == 8){ // chat has been ended by admin
389
+ wplc_run = false;
390
+
391
+ jQuery("#wp-live-chat-minimize").show();
392
+ document.getElementById('wplc_chatmsg').disabled = true;
393
+
394
+ if(typeof response['data'] === "object") {
395
+ for (var index in response['data']) {
396
+ if(typeof response['data'][index] === "object"){
397
+ var the_message = response['data'][index];
398
+ if(typeof the_message.originates !== "undefined"){
399
+ var message_class = "";
400
+ var message_content = "";
401
+
402
+ if (parseInt(the_message.originates) === 0){
403
+ //System Notification
404
+ message_class = "wplc_system_notification wplc-color-4";
405
+ message_content = the_message.msg;
406
+ if(message_content !== ""){
407
+ var concatenated_message = "<span class='" + message_class + "'>";
408
+ concatenated_message += message_content;
409
+ concatenated_message += "</span>";
410
+
411
+ if(typeof niftyFormatParser !== "undefined"){
412
+ jQuery("#wplc_chatbox").append(niftyFormatParser(concatenated_message));
413
+ } else{
414
+ jQuery("#wplc_chatbox").append(concatenated_message);
415
+ }
416
+ }
417
+ }
418
+ }
419
+ }
420
+ }
421
+ } else {
422
+ //Backwards Compat
423
+ jQuery("#wplc_chatbox").append("<em>"+response['data']+"</em><br />");
424
+ }
425
+ var height = jQuery('#wplc_chatbox')[0].scrollHeight;
426
+ jQuery('#wplc_chatbox').scrollTop(height);
427
+
428
+
429
+ jQuery.event.trigger({type: "wplc_end_chat"});
430
+
431
+ }
432
+ else if(parseInt(response['status']) == 11){ /* use moved on to another page (perhaps in another tab so close this instance */
433
+ jQuery("#wp-live-chat").css({ "display" : "none" });
434
+ wplc_run = false;
435
+ }
436
+ else if(parseInt(response['status']) == 3 || parseInt(response['status']) == 2 || parseInt(response['status']) == 10){ // re-initialize chat
437
+ wplc_run = true;
438
+ jQuery("#wplc_cid").val(wplc_cid);
439
+ if(parseInt(response['status']) == 3) { // only if not minimized open aswell
440
+ /* HERE NODE */
441
+
442
+ if (typeof wplc_use_node_server !== "undefined" && wplc_use_node_server === "true") {
443
+ /* do not run this if using not the node jedi */
444
+
445
+ if (typeof wplc_transport_prepared !== "undefined" && wplc_transport_prepared === false) {
446
+ wplc_server.prepareTransport(function(){
447
+ wplc_call_to_server_chat(wplc_server_last_loop_data,false,false);
448
+ }, wplc_user_message_receiver, wplc_user_retry_handler, wplc_log_connection_error);
449
+ }
450
+ }
451
+ if (!wplc_is_minimized) {
452
+ open_chat(0);
453
+ }
454
+
455
+
456
+ if(jQuery('#wp-live-chat').hasClass('wplc_left') === true || jQuery('#wp-live-chat').hasClass('wplc_right') === true){
457
+ jQuery('#wp-live-chat').height("400px");
458
+ }
459
+ }
460
+ if(parseInt(response['status']) == 10) { // only if not minimized open aswell
461
+ wplc_run = true;
462
+ open_chat(0);
463
+
464
+ }
465
+ if(response['data'] != null){ // append messages to chat area
466
+ if (typeof response['data'] === "object") {
467
+ for (var index in response['data']) {
468
+ wplc_new_message_sound = false;
469
+ if(typeof response['data'][index] !== "object"){
470
+ if (typeof msg_history[index] === "undefined") {
471
+ /* we dont have this message */
472
+ // console.log("new message!: "+response['data'][index]);
473
+ msg_history[index] = true;
474
+ if(typeof niftyFormatParser !== "undefined"){
475
+ jQuery("#wplc_chatbox").append(niftyFormatParser(response['data'][index].wplcStripSlashes()));
476
+ } else{
477
+ jQuery("#wplc_chatbox").append(response['data'][index].wplcStripSlashes());
478
+ }
479
+
480
+ wplc_new_message_sound = true;
481
+ } else {
482
+ /* we already have this message */
483
+ // console.log("we already have "+response['data'][index]);
484
+ }
485
+ } else {
486
+ var the_message = response['data'][index];
487
+
488
+ if(typeof the_message.originates !== "undefined" && the_message.originates !== null && the_message.originates !== "null"){
489
+ var message_class = "";
490
+ var grav_hash = "";
491
+ var message_grav = "";
492
+ var message_from = "";
493
+ var message_content = "";
494
+
495
+ if(parseInt(the_message.originates) === 1){
496
+ //From Admin
497
+ message_class = "wplc-admin-message wplc-color-bg-4 wplc-color-2 wplc-color-border-4";
498
+ message_grav = "<img src='//www.gravatar.com/avatar/MD5_this_section_with_email?s=30' class='wplc-admin-message-avatar' />";
499
+ message_from = (typeof the_message.msgfrom !== "undefined" ? the_message.msgfrom : "") + ": ";
500
+ message_content = the_message.msg.wplcStripSlashes();
501
+
502
+ wplc_new_message_sound = true;
503
+ } else if (parseInt(the_message.originates) === 0){
504
+ //System Notification
505
+ message_class = "wplc_system_notification wplc-color-4";
506
+ message_content = the_message.msg;
507
+ } else {
508
+ message_class = "wplc-user-message wplc-color-bg-1 wplc-color-2 wplc-color-border-1";
509
+ message_grav = md5(wplc_email);
510
+ message_grav = "<img src='//www.gravatar.com/avatar/" + message_grav + "?s=30' class='wplc-admin-message-avatar' />";
511
+ message_from = Cookies.get("wplc_name") + ": ";
512
+ message_content = the_message.msg.wplcStripSlashes();
513
+ }
514
+
515
+ if(message_content !== ""){
516
+ var concatenated_message = "<span class='" + message_class + "'>";
517
+ // concatenated_message += message_grav;
518
+ // concatenated_message += message_from;
519
+ concatenated_message += message_content;
520
+ concatenated_message += "</span>";
521
+
522
+ if(typeof niftyFormatParser !== "undefined"){
523
+ jQuery("#wplc_chatbox").append(niftyFormatParser(concatenated_message));
524
+ } else{
525
+ jQuery("#wplc_chatbox").append(concatenated_message);
526
+ }
527
+ // var height = jQuery('#wplc_chatbox')[0].scrollHeight;
528
+ // jQuery('#wplc_chatbox').scrollTop(height);
529
+ }
530
+ }
531
+ }
532
+
533
+ if(wplc_new_message_sound){
534
+ if (response['alert']) {
535
+ jQuery('#wplc-chat-alert').addClass('is-active');
536
+ }
537
+ var height = jQuery('#wplc_chatbox')[0].scrollHeight;
538
+ jQuery('#wplc_chatbox').scrollTop(height);
539
+ if (typeof wplc_enable_ding !== 'undefined' && wplc_enable_ding === "1") {
540
+ new Audio(wplc_plugin_url+'/wp-live-chat-support/ding.mp3').play();
541
+ }
542
+ }
543
+ }
544
+ }
545
+ else {
546
+ /* backwards compatibility - response['data'] is a string */
547
+ if(typeof niftyFormatParser !== "undefined"){
548
+ jQuery("#wplc_chatbox").append(niftyFormatParser(response['data'].wplcStripSlashes()));
549
+ } else{
550
+ jQuery("#wplc_chatbox").append(response['data'].wplcStripSlashes());
551
+
552
+ }
553
+ }
554
+
555
+ if(response['data']){
556
+ var height = jQuery('#wplc_chatbox')[0].scrollHeight;
557
+ jQuery('#wplc_chatbox').scrollTop(height);
558
+
559
+ }
560
+ }
561
+ }
562
+ }
563
+ }
564
+ }
565
+
566
+ function wplc_log_connection_error(error){
567
+ if (window.console) { console.log(error); }
568
+
569
+ jQuery("#wplc_chatbox").append("<small>" + error + "</small><br>");
570
+ var height = jQuery('#wplc_chatbox')[0].scrollHeight;
571
+ jQuery('#wplc_chatbox').scrollTop(height);
572
+ }
573
+
574
+ function wplc_display_error(error) {
575
+ jQuery("#wplc_chatbox").append(wplc_error_messages.server_connection_lost+" "+error);
576
+ var height = jQuery('#wplc_chatbox')[0].scrollHeight;
577
+ jQuery('#wplc_chatbox').scrollTop(height);
578
+ }
579
+
580
+ function wplc_init_chat_box(cid, status){
581
+ if(wplc_chat_status == 9 && wplc_check_hide_cookie == "yes"){
582
+
583
+ } else {
584
+ if(wplc_check_hide_cookie != "yes"){
585
+ wplc_dc = setTimeout(function (){
586
+ /*
587
+ * 1- Slide Up
588
+ * 2- Slide Across (Left/Right)
589
+ * 3- Slide Down
590
+ * 4- Fade In
591
+ */
592
+
593
+ var wplc_window_id = jQuery("#wp-live-chat");
594
+
595
+ var wplc_theme_chosen = jQuery(wplc_window_id).attr('wplc_animation');
596
+
597
+ switch(wplc_theme_chosen){
598
+ case 'none':
599
+ jQuery(wplc_window_id).css('display', 'block');
600
+ break;
601
+ case 'animation-1':
602
+ // Slide Up
603
+ jQuery(wplc_window_id).animate({'marginBottom' : '0px'}, 1000);
604
+ break;
605
+ case 'animation-2-bl':
606
+ // Slide Accross from left
607
+ jQuery(wplc_window_id).animate({'left' : '100px'}, 1000);
608
+ break;
609
+ case 'animation-2-br':
610
+ // Slide Accross from right
611
+ jQuery(wplc_window_id).animate({'right' : '100px'}, 1000);
612
+ break;
613
+ case 'animation-2-l':
614
+ // Slide Accross from left
615
+ jQuery(wplc_window_id).animate({"left" : '0px'}, 1000);
616
+ break;
617
+ case 'animation-2-r':
618
+ // Slide Accross from right
619
+ jQuery(wplc_window_id).animate({'right' : '0px'}, 1000);
620
+ break;
621
+ case 'animation-3':
622
+ // Fade In
623
+ jQuery(wplc_window_id).fadeIn('slow');
624
+ case 'animation-4':
625
+ jQuery(wplc_window_id).css('display', 'block');
626
+ break;
627
+ default:
628
+ jQuery(wplc_window_id).css('display', 'block');
629
+ break;
630
+ }
631
+
632
+ //jQuery("#wp-live-chat").css({ "display" : "block" });
633
+ if(jQuery("#wp-live-chat").attr('wplc-auto-pop-up') === "1"){
634
+ open_chat(0);
635
+ }
636
+
637
+ jQuery.event.trigger({type: "wplc_animation_done"});
638
+ }, parseInt(window.wplc_delay));
639
+ }
640
+ }
641
+ wplc_init_chat_box = false;
642
+ }
643
+
644
+
645
+ function wplc_sound(source,volume,loop) {
646
+ this.source=source;
647
+ this.volume=volume;
648
+ this.loop=loop;
649
+ var son;
650
+ this.son=son;
651
+ this.finish=false;
652
+ this.stop=function()
653
+ {
654
+ document.body.removeChild(this.son);
655
+ }
656
+ this.start=function()
657
+ {
658
+ if(this.finish)return false;
659
+ this.son=document.createElement("embed");
660
+ this.son.setAttribute("src",this.source);
661
+ this.son.setAttribute("hidden","true");
662
+ this.son.setAttribute("volume",this.volume);
663
+ this.son.setAttribute("autostart","true");
664
+ this.son.setAttribute("loop",this.loop);
665
+ document.body.appendChild(this.son);
666
+ }
667
+ this.remove=function()
668
+ {
669
+ document.body.removeChild(this.son);
670
+ this.finish=true;
671
+ }
672
+ this.init=function(volume,loop)
673
+ {
674
+ this.finish=false;
675
+ this.volume=volume;
676
+ this.loop=loop;
677
+ }
678
+ }
679
+
680
+
681
+
682
+ //placeholder text fix for IE
683
+ jQuery('#wp-live-chat [placeholder]').focus(function() {
684
+ var input = jQuery(this);
685
+ if (input.val() == input.attr('placeholder')) {
686
+ input.val('');
687
+ input.removeClass('placeholder');
688
+ }
689
+ }).blur(function() {
690
+ var input = jQuery(this);
691
+ if (input.val() == '' || input.val() == input.attr('placeholder')) {
692
+ input.addClass('placeholder');
693
+ input.val(input.attr('placeholder'));
694
+ }
695
+ }).blur();
696
+
697
+
698
+ /* minimize chat window */
699
+ jQuery("body").on("click", "#wp-live-chat-minimize", function() {
700
+ jQuery.event.trigger({type: "wplc_minimize_chat"});
701
+ wplc_is_minimized = true;
702
+
703
+ Cookies.set('wplc_minimize', "yes", { expires: 1, path: '/' });
704
+ wplc_chat_status = Cookies.get('wplc_chat_status');
705
+ if(wplc_chat_status != 5 && wplc_chat_status != 10 && wplc_chat_status != 9 && wplc_chat_status != 8){
706
+ var data = {
707
+ action: 'wplc_user_minimize_chat',
708
+ security: wplc_nonce,
709
+ cid: wplc_cid
710
+ };
711
+
712
+ jQuery.post(wplc_ajaxurl, data, function(response) {
713
+
714
+ });
715
+ }
716
+
717
+ });
718
+
719
+
720
+ /* close chat window */
721
+ jQuery("body").on("click", "#wp-live-chat-close", function() {
722
+
723
+ jQuery("#wp-live-chat").hide();
724
+ jQuery("#wp-live-chat-1").hide();
725
+ jQuery("#wp-live-chat-2").hide();
726
+ jQuery("#wp-live-chat-3").hide();
727
+ jQuery("#wp-live-chat-4").hide();
728
+ jQuery("#wplc_social_holder").hide();
729
+ jQuery("#nifty_ratings_holder").hide();
730
+ jQuery("#wp-live-chat-react").hide();
731
+ jQuery("#wp-live-chat-minimize").hide();
732
+ if (typeof wplc_hide_chat !== "undefined" && wplc_hide_chat !== "" && wplc_hide_chat !== null) { Cookies.set('wplc_hide', wplc_hide_chat , { expires: 1, path: '/' }); } else {
733
+ var wplc_expire_date = new Date();
734
+ var minutes = 2;
735
+ wplc_expire_date.setTime(wplc_expire_date.getTime() + (minutes * 60 * 1000));
736
+ Cookies.set('wplc_hide', "yes" , { expires: wplc_expire_date , path: '/' });
737
+ }
738
+ var data = {
739
+ action: 'wplc_user_close_chat',
740
+ security: wplc_nonce,
741
+ cid: wplc_cid,
742
+ status: wplc_chat_status
743
+ };
744
+ jQuery.post(wplc_ajaxurl, data, function(response) {
745
+
746
+
747
+ });
748
+ });
749
+ //open chat window function
750
+
751
+ function open_chat(force){
752
+ jQuery.event.trigger({type: "wplc_open_chat_1"});
753
+
754
+
755
+
756
+ wplc_chat_status = Cookies.get('wplc_chat_status');
757
+ if (parseInt(wplc_chat_status) == 3 || parseInt(wplc_chat_status) == 2 || parseInt(wplc_chat_status) == 0 || parseInt(wplc_chat_status) == 12) {
758
+
759
+ jQuery.event.trigger({type: "wplc_open_chat_2", wplc_online: wplc_online});
760
+
761
+ Cookies.set('wplc_had_chat', true, { path: '/' });
762
+
763
+ if (parseInt(wplc_chat_status) == 0 || parseInt( wplc_chat_status ) == 11 || parseInt(wplc_chat_status) == 12) {
764
+ /* user was a missed chat, now lets change them back to "pending" */
765
+ wplc_chat_status = 2;
766
+ }
767
+ if (typeof wplc_use_node_server === "undefined" || wplc_use_node_server === 'false') {
768
+ var data = {
769
+ action: 'wplc_user_maximize_chat',
770
+ security: wplc_nonce,
771
+ cid: wplc_cid,
772
+ chat_status : parseInt(wplc_chat_status)
773
+ };
774
+ jQuery.post(wplc_ajaxurl, data, function(response) {
775
+
776
+ //log("user maximized chat success");
777
+ });
778
+ }
779
+ }
780
+ else if (parseInt(wplc_chat_status) == 10) {
781
+ jQuery("#wp-live-chat-minimize").trigger("click");
782
+
783
+ }
784
+
785
+ else if (wplc_chat_status == 5 || wplc_chat_status == 9 || wplc_chat_status == 8){
786
+ if(jQuery("#wp-live-chat-2").is(":visible") === false && jQuery("#wp-live-chat-4").is(":visible") === false){
787
+ jQuery("#wp-live-chat-2").show();
788
+ jQuery("#wp-live-chat-2-inner").show();
789
+ var wplc_visitor_name = Cookies.get('wplc_name');
790
+ if(Cookies.get('wplc_email') !== "no email set" && typeof wplc_visitor_name !== "undefined"){
791
+ jQuery("#wplc_name").val(Cookies.get('wplc_name'));
792
+ jQuery("#wplc_email").val(Cookies.get('wplc_email'));
793
+ }
794
+ }
795
+ }
796
+ /*else if (wplc_chat_status == 2){
797
+ jQuery("#wp-live-chat-3").show();
798
+ } */
799
+ else if(wplc_chat_status == 1){
800
+ jQuery("#wp-live-chat-4").show();
801
+ jQuery("#wplc_social_holder").show();
802
+ jQuery("#nifty_ratings_holder").show();
803
+ jQuery.event.trigger({type: "wplc_animation_done"});
804
+ jQuery("#wplc_chatbox").append(wplc_error_messages.chat_ended_by_operator+"<br />");
805
+ var height = jQuery('#wplc_chatbox')[0].scrollHeight;
806
+ jQuery('#wplc_chatbox').scrollTop(height);
807
+ jQuery("#wp-live-chat-minimize").hide();
808
+ document.getElementById('wplc_chatmsg').disabled = true;
809
+ }
810
+
811
+
812
+ }
813
+
814
+ //allows for a class to open chat window now
815
+ jQuery("body").on("click", ".wp-live-chat-now", function() {
816
+ open_chat(0);
817
+ });
818
+
819
+ jQuery(document).on("wplc_minimize_chat", function() {
820
+ if (typeof wplc_enable_ga !== "undefined" && wplc_enable_ga === '1') {
821
+ if (typeof ga !== "undefined") {
822
+ ga('send', {
823
+ hitType: 'event',
824
+ eventCategory: 'WP_Live_Chat_Support',
825
+ eventAction: 'Event',
826
+ eventLabel: 'Minimize Chat'
827
+ });
828
+ }
829
+ }
830
+ });
831
+ jQuery(document).on("wplc_start_chat", function() {
832
+ if (typeof wplc_enable_ga !== "undefined" && wplc_enable_ga === '1') {
833
+ if (typeof ga !== "undefined") {
834
+ ga('send', {
835
+ hitType: 'event',
836
+ eventCategory: 'WP_Live_Chat_Support',
837
+ eventAction: 'Event',
838
+ eventLabel: 'Start Chat'
839
+ });
840
+ }
841
+ }
842
+ });
843
+ jQuery(document).on("wplc_open_chat_1", function() {
844
+ if (typeof wplc_enable_ga !== "undefined" && wplc_enable_ga === '1') {
845
+ if (typeof ga !== "undefined") {
846
+ ga('send', {
847
+ hitType: 'event',
848
+ eventCategory: 'WP_Live_Chat_Support',
849
+ eventAction: 'Event',
850
+ eventLabel: 'Start Chat - Step 1'
851
+ });
852
+ }
853
+ }
854
+ });
855
+ jQuery(document).on("wplc_open_chat_2", function() {
856
+ if (typeof wplc_enable_ga !== "undefined" && wplc_enable_ga === '1') {
857
+ if (typeof ga !== "undefined") {
858
+ ga('send', {
859
+ hitType: 'event',
860
+ eventCategory: 'WP_Live_Chat_Support',
861
+ eventAction: 'Event',
862
+ eventLabel: 'Start Chat - Step 2'
863
+ });
864
+ }
865
+ }
866
+ });
867
+
868
+
869
+ jQuery("body").on("click", "#wplc_start_chat_btn", function() {
870
+ var wplc_name = jQuery("#wplc_name").val();
871
+ var wplc_email = jQuery("#wplc_email").val();
872
+
873
+ if (wplc_name.length <= 0) { alert(wplc_error_messages.valid_name); return false; }
874
+ if (wplc_email.length <= 0) { alert(wplc_error_messages.valid_email); return false; }
875
+
876
+ if(jQuery("#wplc_email").attr('wplc_hide') !== "1"){
877
+ var testEmail = /^[A-Z0-9._%+-]+@([A-Z0-9-]+\.)+[A-Z]{2,12}$/i;
878
+
879
+ //var testEmail = /^[A-Z0-9._%+-]+@([A-Z0-9-]+\.)+[A-Z]{2,4}$/i;
880
+ if (!testEmail.test(wplc_email)){
881
+ alert(wplc_error_messages.valid_email); return false;
882
+ }
883
+ }
884
+
885
+ /* start the long polling */
886
+ wplc_run = true;
887
+
888
+ if (wplc_filter_run_override === "1" || wplc_online === false) { } else {
889
+ initial_data.status = 2;
890
+
891
+ /* force the loop to start only now, as we are not using the initiate extension */
892
+ wplc_call_to_server_chat(initial_data,false,false);
893
+ }
894
+
895
+ jQuery.event.trigger({type: "wplc_start_chat"});
896
+
897
+
898
+ var date = new Date();
899
+ date.setTime(date.getTime() + (2 * 60 * 1000));
900
+
901
+ wplc_cid = Cookies.get('wplc_cid');
902
+
903
+ if(typeof wplc_start_chat_pro_custom_fields_filter !== "undefined" && typeof wplc_start_chat_pro_custom_fields_filter === "function"){
904
+ wplc_extra_data = wplc_start_chat_pro_custom_fields_filter(wplc_extra_data);
905
+ }
906
+
907
+ if (typeof wplc_cid !== "undefined" && wplc_cid !== null) {
908
+ /* we've already recorded a cookie for this person */
909
+ var data = {
910
+ action: 'wplc_start_chat',
911
+ security: wplc_nonce,
912
+ name: wplc_name,
913
+ email: wplc_email,
914
+ cid: wplc_cid,
915
+ wplcsession: wplc_session_variable,
916
+ wplc_extra_data:wplc_extra_data
917
+ };
918
+
919
+ if(typeof wplc_start_chat_pro_data !== "undefined" && typeof wplc_start_chat_pro_data === "function"){
920
+ data = wplc_start_chat_pro_data(data);
921
+ }
922
+ } else { // no cookie recorded yet for this visitor
923
+ var data = {
924
+ action: 'wplc_start_chat',
925
+ security: wplc_nonce,
926
+ name: wplc_name,
927
+ email: wplc_email,
928
+ wplcsession: wplc_session_variable,
929
+ wplc_extra_data:wplc_extra_data
930
+ };
931
+
932
+ if(typeof wplc_start_chat_pro_data !== "undefined" && typeof wplc_start_chat_pro_data === "function"){
933
+ data = wplc_start_chat_pro_data(data);
934
+ }
935
+ }
936
+
937
+ Cookies.set('wplc_name', wplc_name, { path: '/' } );
938
+ Cookies.set('wplc_email', wplc_email, { path: '/' } );
939
+
940
+ /* changed ajax url so wp_mail function will work and not stop plugin from alerting admin there is a pending chat */
941
+ /* jQuery.post(wplc_ajaxurl, data, function(response) {*/
942
+ wplc_server.send(wplc_ajaxurl, data, "POST", 120000,
943
+ function(response){
944
+ Cookies.set('wplc_chat_status', 2, { expires: date, path: '/' });
945
+ wplc_cid = jQuery.trim(response);
946
+
947
+ //All sorted, let's check for message transport mode
948
+ wplc_server.prepareTransport(function(){
949
+ //Transport ready...
950
+ wplc_server_last_loop_data.status = 2; //Set to waiting
951
+ wplc_call_to_server_chat(wplc_server_last_loop_data);
952
+ }, wplc_user_message_receiver, wplc_user_retry_handler, wplc_log_connection_error);
953
+ },
954
+ function(){
955
+ //Fails
956
+ },
957
+ function(){
958
+ //Complete
959
+ }
960
+ );
961
+ });
962
+
963
+
964
+ jQuery("body").on("click", "#wplc_na_msg_btn", function() {
965
+ var wplc_name = jQuery("#wplc_name").val();
966
+ var wplc_email = jQuery("#wplc_email").val();
967
+ var wplc_msg = jQuery("#wplc_message").val();
968
+ var wplc_domain = jQuery("#wplc_domain_offline").val();
969
+ var ip_address = jQuery("#wplc_ip_address").val();
970
+
971
+ if (wplc_name.length <= 0) { alert(wplc_error_messages.valid_name); return false; }
972
+ if (wplc_email.length <= 0) { alert(wplc_error_messages.valid_email); return false; }
973
+ var testEmail = /^[A-Z0-9._%+-]+@([A-Z0-9-]+\.)+[A-Z]{2,12}$/i;
974
+ if (!testEmail.test(wplc_email)){
975
+ alert(wplc_error_messages.valid_email); return false;
976
+ }
977
+ if (wplc_msg.length <= 0) { alert(wplc_error_messages.empty_message); return false; }
978
+ jQuery("#wp-live-chat-2-info").hide();
979
+ jQuery("#wplc_message_div").html(wplc_offline_msg);
980
+
981
+ wplc_cid = Cookies.get('wplc_cid');
982
+
983
+ var data = {
984
+ action: 'wplc_user_send_offline_message',
985
+ security: wplc_nonce,
986
+ cid: wplc_cid,
987
+ name: wplc_name,
988
+ email: wplc_email,
989
+ msg: wplc_msg,
990
+ ip: ip_address,
991
+ domain: wplc_domain,
992
+ wplc_extra_data:wplc_extra_data
993
+ };
994
+
995
+ jQuery.post(wplc_ajaxurl_site, data, function(response) {
996
+ jQuery("#wplc_message_div").html(wplc_offline_msg3);
997
+ });
998
+ if (typeof wplc_enable_ga !== "undefined" && wplc_enable_ga === '1') {
999
+ if (typeof ga !== "undefined") {
1000
+ ga('send', {
1001
+ hitType: 'event',
1002
+ eventCategory: 'WP_Live_Chat_Support',
1003
+ eventAction: 'Event',
1004
+ eventLabel: 'User Send Offline Message'
1005
+ });
1006
+ }
1007
+ }
1008
+ });
1009
+
1010
+
1011
+ function wplc_strip(str) {
1012
+ str=str.replace(/<br>/gi, "\n");
1013
+ str=str.replace(/<p.*>/gi, "\n");
1014
+ str=str.replace(/<a.*href="(.*?)".*>(.*?)<\/a>/gi, " $2 ($1) ");
1015
+ str=str.replace(/<(?:.|\s)*?>/g, "");
1016
+
1017
+ str=str.replace('iframe', "");
1018
+ str=str.replace('src', "");
1019
+ str=str.replace('href', "");
1020
+ str=str.replace('<', "");
1021
+ str=str.replace('>', "");
1022
+
1023
+ return str;
1024
+ }
1025
+
1026
+
1027
+ jQuery("body").on("keyup","#wplc_chatmsg", function(event){
1028
+ if(event.keyCode === 13){
1029
+ jQuery("#wplc_send_msg").trigger("click");
1030
+ }
1031
+ });
1032
+ jQuery("body").on("click", "#wplc_send_msg", function() {
1033
+ var wplc_cid = jQuery("#wplc_cid").val();
1034
+ if (wplc_cid.length < 1) {
1035
+ /* failover for wplc_cid */
1036
+ var wplc_cid = Cookies.get('wplc_cid');
1037
+ }
1038
+ var wplc_chat = wplc_strip(document.getElementById('wplc_chatmsg').value);
1039
+
1040
+ if(wplc_chat !== ""){
1041
+ var wplc_name = jQuery("#wplc_name").val();
1042
+ if (typeof wplc_name == "undefined" || wplc_name == null || wplc_name == "") {
1043
+ wplc_name = Cookies.get('wplc_name');
1044
+ }
1045
+ if (typeof wplc_name == "undefined") {
1046
+ wplc_name = 'Guest';
1047
+ }
1048
+
1049
+ var wplc_email = jQuery("#wplc_email").val();
1050
+ if (typeof wplc_email == "undefined" || wplc_email == null || wplc_email == "") {
1051
+ wplc_email = Cookies.get('wplc_email');
1052
+ }
1053
+ if (typeof wplc_email == "undefined") {
1054
+ wplc_email = '';
1055
+ }
1056
+
1057
+
1058
+ jQuery("#wplc_chatmsg").val('');
1059
+
1060
+ /*Nifty format Parse*/
1061
+ var wplc_chat_parsed = wplc_chat;
1062
+ if(typeof niftyFormatParser !== "undefined"){
1063
+ wplc_chat_parsed = niftyFormatParser(wplc_chat_parsed);
1064
+ }
1065
+
1066
+ if( typeof wplc_display_name !== 'undefined' ){
1067
+ /**
1068
+ * We're still using the old options
1069
+ */
1070
+ if(wplc_display_name == 'display'){
1071
+ if (wplc_gravatar_image.length > 1) {
1072
+ jQuery("#wplc_chatbox").append("<span class='wplc-user-message wplc-color-bg-1 wplc-color-2 wplc-color-border-1'>"+wplc_gravatar_image+" <strong>"+wplc_name+"</strong>: "+wplc_chat_parsed+"</span><br /><div class='wplc-clear-float-message'></div>");
1073
+ } else {
1074
+ jQuery("#wplc_chatbox").append("<span class='wplc-user-message wplc-color-bg-1 wplc-color-2 wplc-color-border-1'><img src='//www.gravatar.com/avatar/"+md5(wplc_email)+"?s=30' class='wplc-user-message-avatar' \/> <strong>"+wplc_name+"</strong>: "+wplc_chat_parsed+"</span><br /><div class='wplc-clear-float-message'></div>");
1075
+ }
1076
+ } else {
1077
+ jQuery("#wplc_chatbox").append("<span class='wplc-user-message wplc-color-bg-1 wplc-color-2 wplc-color-border-1'>"+wplc_chat_parsed+"</span><div class='wplc-clear-float-message'></div>");
1078
+ }
1079
+ } else {
1080
+ if( typeof wplc_show_chat_detail !== 'undefined' ){
1081
+ if( typeof wplc_show_chat_detail.name !== 'undefined' && wplc_show_chat_detail.name == '1' ){
1082
+ /**
1083
+ * Show the name
1084
+ */
1085
+ var the_name = "<strong>"+wplc_name+"</strong>: ";
1086
+ if( typeof wplc_show_chat_detail.avatar !== 'undefined' && wplc_show_chat_detail.avatar != '' ){
1087
+ /**
1088
+ * Show the avatar
1089
+ */
1090
+ wplc_gravatar_image = "<img src='https://www.gravatar.com/avatar/"+md5( wplc_email )+"?s=30&d=mm' class='wplc-user-message-avatar'/>";
1091
+
1092
+ } else {
1093
+ /**
1094
+ * Don't show the avatar
1095
+ */
1096
+ wplc_gravatar_image = "";
1097
+ }
1098
+ } else {
1099
+ /**
1100
+ * Don't show the name
1101
+ */
1102
+ var the_name = "";
1103
+ if( typeof wplc_show_chat_detail.avatar !== 'undefined' && wplc_show_chat_detail.avatar != '' ){
1104
+ /**
1105
+ * Show the avatar
1106
+ */
1107
+ wplc_gravatar_image = "<img src='https://www.gravatar.com/avatar/"+md5( wplc_email )+"?s=30&d=mm' class='wplc-user-message-avatar'/>";
1108
+ } else {
1109
+ /**
1110
+ * Don't show the avatar
1111
+ */
1112
+ wplc_gravatar_image = "";
1113
+ }
1114
+ }
1115
+
1116
+ wplc_chat = wplc_gravatar_image+the_name+wplc_chat_parsed;
1117
+
1118
+ jQuery("#wplc_chatbox").append("<span class='wplc-user-message wplc-color-bg-1 wplc-color-2 wplc-color-border-1'>"+wplc_chat+"</span><br /><div class='wplc-clear-float-message'></div>");
1119
+
1120
+ } else {
1121
+ wplc_chat = wplc_chat_parsed;
1122
+
1123
+ jQuery("#wplc_chatbox").append("<span class='wplc-user-message wplc-color-bg-1 wplc-color-2 wplc-color-border-1'>"+wplc_chat_parsed+"</span><div class='wplc-clear-float-message'></div>");
1124
+
1125
+ }
1126
+ }
1127
+
1128
+ var height = jQuery('#wplc_chatbox')[0].scrollHeight;
1129
+ jQuery('#wplc_chatbox').scrollTop(height);
1130
+
1131
+ var data = {
1132
+ action: 'wplc_user_send_msg',
1133
+ security: wplc_nonce,
1134
+ cid: wplc_cid,
1135
+ msg: wplc_chat,
1136
+ wplc_extra_data:wplc_extra_data
1137
+ };
1138
+
1139
+ wplc_server.sendMessage(wplc_ajaxurl, data, "POST", 120000,
1140
+ function(){
1141
+ //Success
1142
+ wplc_server.asyncStorage(wplc_ajaxurl, data, 120000);
1143
+ }, function(){
1144
+ //Fail
1145
+ }, function(){
1146
+ //Complete
1147
+ }
1148
+ );
1149
+
1150
+ if (typeof wplc_enable_ga !== "undefined" && wplc_enable_ga === '1') {
1151
+ if (typeof ga !== "undefined") {
1152
+ ga('send', {
1153
+ hitType: 'event',
1154
+ eventCategory: 'WP_Live_Chat_Support',
1155
+ eventAction: 'Event',
1156
+ eventLabel: 'User Send Message'
1157
+ });
1158
+ }
1159
+ }
1160
+ }
1161
+
1162
+ });
1163
+
1164
+ jQuery(document).on("wplc_open_chat", function (event) {
1165
+ /* what is the current status? */
1166
+ wplc_chat_status = Cookies.get('wplc_chat_status');
1167
+ if( typeof wplc_chat_status == 'undefined' ){
1168
+ Cookies.set('wplc_chat_status', 5, { expires: 1, path: '/' });
1169
+ }
1170
+ var wplc_tmp_checker = wplc_pre_open_check_status(status, function() {
1171
+ open_chat();
1172
+ });
1173
+ });
1174
+
1175
+ jQuery(document).on("wplc_end_chat", function(){
1176
+ /* Clear Cookies */
1177
+ Cookies.remove('wplc_chat_status');
1178
+ Cookies.remove('wplc_cid');
1179
+ //Cookies.remove('wplc_name');
1180
+ //Cookies.remove('wplc_email');
1181
+
1182
+ /* Close ports if applicable*/
1183
+ wplc_server.forceClosePort();
1184
+
1185
+ /* Check if we should redirect */
1186
+ if(typeof wplc_redirect_thank_you !== "undefined" && wplc_redirect_thank_you !== null && wplc_redirect_thank_you !== ""){
1187
+ window.location = wplc_redirect_thank_you;
1188
+ }
1189
+ });
1190
+
1191
+ function wplc_pre_open_check_status(status, callback) {
1192
+ if (typeof wplc_chat_status !== 'undefined' && ( typeof wplc_chat_status.length !== 'undefined' && wplc_chat_status.length > 0 ) ) {
1193
+ if (parseInt(wplc_chat_status) === 10 || parseInt(wplc_chat_status) === 7) {
1194
+ /* it was minimized or timedout, now we need to open it - set status to 3 (back to open chat) */
1195
+ Cookies.set('wplc_chat_status', 3, { expires: 1, path: '/' });
1196
+
1197
+ }
1198
+ if (parseInt(wplc_chat_status) === 0 || parseInt(wplc_chat_status) === 12) {
1199
+ /* no answer from agent previously */
1200
+ // Cookies.set('wplc_chat_status', 5, { expires: 1, path: '/' });
1201
+ }
1202
+ if (parseInt(wplc_chat_status) === 8) {
1203
+ /* no answer from agent previously */
1204
+ Cookies.set('wplc_chat_status', 5, { expires: 1, path: '/' });
1205
+ }
1206
+
1207
+ }
1208
+ callback();
1209
+ }
1210
+ String.prototype.wplcStripSlashes = function(){
1211
+ return this.replace(/\\(.)/mg, "$1");
1212
+ }
1213
+
1214
+ if(typeof wplc_elem_trigger_id !== "undefined" && wplc_elem_trigger_id !== ""){
1215
+ var wplc_click_or_hover = 0;
1216
+ var wplc_class_or_id = 0;
1217
+
1218
+ if(typeof wplc_elem_trigger_action !== "undefined" && wplc_elem_trigger_action !== ""){ wplc_click_or_hover = parseInt(wplc_elem_trigger_action); }
1219
+ if(typeof wplc_elem_trigger_type !== "undefined" && wplc_elem_trigger_type !== ""){ wplc_class_or_id = parseInt(wplc_elem_trigger_type); }
1220
+
1221
+ jQuery( (wplc_class_or_id === 1 ? "#" : ".") + wplc_elem_trigger_id).on( (wplc_click_or_hover === 1 ? "mouseenter" : "click"), function(){
1222
+ open_chat(0);
1223
+ });
1224
+ }
1225
+
1226
+ // Fix conflict with Responsive Lighbox plugin
1227
+ setTimeout(function () {
1228
+ if (jQuery('html').hasClass('nivo-lightbox-notouch') || jQuery('a[rel*="lightbox"]').length) {
1229
+ jQuery("body").on("keyup", function (event) {
1230
+ if (event.keyCode === 13) {
1231
+ jQuery("#wplc_send_msg").trigger("click");
1232
+ }
1233
+ });
1234
+ }
1235
+ }, 5000);
1236
+
1237
+
1238
+ });
js/wplc_u.min.js CHANGED
@@ -1 +1 @@
1
- var wplc_is_chat_open=!1;jQuery(document).ready(function(){function n(a,c,e){"undefined"==typeof c&&(c=!1),"undefined"==typeof e&&(e=!1),a.first_run=c,a.short_poll=e,jQuery.ajax({url:wplc_ajaxurl,data:a,type:"POST",success:function(c){if(k=1500,c){if("0"===c)return window.console&&console.log("WP Live Chat Support Return Error"),void(l=!1);if(c=JSON.parse(c),a.wplc_name=c.wplc_name,a.wplc_email=c.wplc_email,a.action_2="",a.cid=c.cid,Cookies.set("wplc_cid",c.cid,{expires:1,path:"/"}),Cookies.set("wplc_name",c.wplc_name,{expires:1,path:"/"}),Cookies.set("wplc_email",c.wplc_email,{expires:1,path:"/"}),b=jQuery.trim(c.cid),d=c.status,Cookies.set("wplc_chat_status",null,{path:"/"}),Cookies.set("wplc_chat_status",d,{expires:1,path:"/"}),jQuery.event.trigger({type:"wplc_user_chat_loop",response:c}),a.status==c.status){if(5==a.status&&g===!0&&q!==!1&&q(a.cid,a.status),3==c.status&&null!=c.data&&(l=!0,"undefined"!=typeof niftyFormatParser?jQuery("#wplc_chatbox").append(niftyFormatParser(c.data.wplcStripSlashes())):jQuery("#wplc_chatbox").append(c.data.wplcStripSlashes()),c.data)){var e=jQuery("#wplc_chatbox")[0].scrollHeight;jQuery("#wplc_chatbox").scrollTop(e),"undefined"!=typeof wplc_enable_ding&&"1"===wplc_enable_ding&&new Audio(wplc_plugin_url+"/wp-live-chat-support/ding.mp3").play()}}else if(a.status=d,Cookies.set("wplc_chat_status",d,{expires:1,path:"/"}),0==c.status)jQuery("#wp-live-chat-3").hide(),jQuery("#wp-live-chat-react").show().empty().append("<center>"+c.data+"</center>");else if(8==c.status){l=!1,jQuery("#wp-live-chat-minimize").show(),document.getElementById("wplc_chatmsg").disabled=!0,jQuery("#wplc_chatbox").append("<em>"+c.data+"</em><br />");var e=jQuery("#wplc_chatbox")[0].scrollHeight;jQuery("#wplc_chatbox").scrollTop(e),jQuery.event.trigger({type:"wplc_end_chat"})}else if(11==parseInt(c.status))jQuery("#wp-live-chat").css({display:"none"}),l=!1;else if((3==parseInt(c.status)||10==parseInt(c.status))&&(l=!0,jQuery("#wplc_cid").val(b),3==parseInt(c.status)&&(s(0),jQuery("#wp-live-chat").hasClass("wplc_left")!==!0&&jQuery("#wp-live-chat").hasClass("wplc_right")!==!0||jQuery("#wp-live-chat").height("400px")),10==parseInt(c.status)&&(l=!0,s(0)),null!=c.data&&("undefined"!=typeof niftyFormatParser?jQuery("#wplc_chatbox").append(niftyFormatParser(c.data.wplcStripSlashes())):jQuery("#wplc_chatbox").append(c.data.wplcStripSlashes()),c.data))){var e=jQuery("#wplc_chatbox")[0].scrollHeight;jQuery("#wplc_chatbox").scrollTop(e)}}},error:function(a,b){k=5e3,404==a.status?(o("Error: Requested page not found. [404]"),l=!1):500==a.status?(o("Error: Internal Server Error [500]."),o("Retrying in 5 seconds..."),l=!0):"parsererror"===b?(o("Error: Requested JSON parse failed."),l=!1):"abort"===b?(o("Error: Ajax request aborted."),l=!1):(o("Error: Uncaught Error.\n"+a.responseText),o("Retrying in 5 seconds..."),l=!0)},complete:function(b){l&&setTimeout(function(){n(a,!1,!1)},k)},timeout:12e4})}function o(a){window.console&&console.log(a),jQuery("#wplc_chatbox").append("<small>"+a+"</small><br>");var b=jQuery("#wplc_chatbox")[0].scrollHeight;jQuery("#wplc_chatbox").scrollTop(b)}function q(a,b){9==d&&"yes"==c||"yes"!=c&&(wplc_dc=setTimeout(function(){var a=jQuery("#wp-live-chat"),b=jQuery(a).attr("wplc_animation");switch(b){case"none":jQuery(a).css("display","block");break;case"animation-1":jQuery(a).animate({marginBottom:"0px"},1e3);break;case"animation-2-bl":jQuery(a).animate({left:"100px"},1e3);break;case"animation-2-br":jQuery(a).animate({right:"100px"},1e3);break;case"animation-2-l":jQuery(a).animate({left:"0px"},1e3);break;case"animation-2-r":jQuery(a).animate({right:"0px"},1e3);break;case"animation-3":jQuery(a).fadeIn("slow");case"animation-4":jQuery(a).css("display","block");break;default:jQuery(a).css("display","block")}"1"===jQuery("#wp-live-chat").attr("wplc-auto-pop-up")&&s(0),jQuery.event.trigger({type:"wplc_animation_done"})},parseInt(window.wplc_delay))),q=!1}function s(a){if(jQuery.event.trigger({type:"wplc_open_chat_1"}),d=Cookies.get("wplc_chat_status"),3==parseInt(d)){jQuery.event.trigger({type:"wplc_open_chat_2",wplc_online:h}),Cookies.set("wplc_had_chat",!0,{path:"/"});var c={action:"wplc_user_maximize_chat",security:wplc_nonce,cid:b};jQuery.post(wplc_ajaxurl,c,function(a){})}else if(10==parseInt(d))jQuery("#wp-live-chat-minimize").trigger("click");else if(5==d||9==d||8==d){if(jQuery("#wp-live-chat-2").is(":visible")===!1&&jQuery("#wp-live-chat-4").is(":visible")===!1){jQuery("#wp-live-chat-2").show();var e=Cookies.get("wplc_name");"no email set"!==Cookies.get("wplc_email")&&e.indexOf("user")>=0&&(jQuery("#wplc_name").val(Cookies.get("wplc_name")),jQuery("#wplc_email").val(Cookies.get("wplc_email")))}}else if(2==d)jQuery("#wp-live-chat-3").show();else if(1==d){jQuery("#wp-live-chat-4").show(),jQuery("#wplc_social_holder").show(),jQuery("#nifty_ratings_holder").show(),jQuery.event.trigger({type:"wplc_animation_done"}),jQuery("#wplc_chatbox").append("The chat has been ended by the operator.<br />");var f=jQuery("#wplc_chatbox")[0].scrollHeight;jQuery("#wplc_chatbox").scrollTop(f),jQuery("#wp-live-chat-minimize").hide(),document.getElementById("wplc_chatmsg").disabled=!0}}function t(a){return a=a.replace(/<br>/gi,"\n"),a=a.replace(/<p.*>/gi,"\n"),a=a.replace(/<a.*href="(.*?)".*>(.*?)<\/a>/gi," $2 ($1) "),a=a.replace(/<(?:.|\s)*?>/g,""),a=a.replace("iframe",""),a=a.replace("src",""),a=a.replace("href",""),a=a.replace("<",""),a=a.replace(">","")}function u(a,b){"undefined"!=typeof d.length&&d.length>0&&(10!==parseInt(d)&&7!==parseInt(d)||Cookies.set("wplc_chat_status",3,{expires:1,path:"/"}),0===parseInt(d)&&Cookies.set("wplc_chat_status",5,{expires:1,path:"/"}),8===parseInt(d)&&Cookies.set("wplc_chat_status",5,{expires:1,path:"/"})),b()}var b,c,a=(new Date).getTime(),d="",e="",f="",g=!0,b=null,h=!1,i={},k=1500;b=Cookies.get("wplc_cid"),b="undefined"==typeof b?null:Cookies.get("wplc_cid"),c=Cookies.get("wplc_hide"),wplc_check_minimize_cookie=Cookies.get("wplc_minimize"),d=Cookies.get("wplc_chat_status"),e=Cookies.get("wplc_name"),f=Cookies.get("wplc_email"),Cookies.set("wplc_chat_status",5,{expires:1,path:"/"}),d=5;var l=!0,m={action:"wplc_get_chat_box",security:wplc_nonce};if(jQuery.ajax({url:wplc_ajaxurl_site,data:m,type:"POST",success:function(c){if(c){if("0"===c)return window.console&&console.log("WP Live Chat Support Return Error"),void(l=!1);if(c=JSON.parse(c),jQuery("body").append(c.cbox),"undefined"==typeof e||"undefined"==typeof f)var e=jQuery(jQuery.parseHTML(c.cbox)).find("#wplc_name").val(),f=jQuery(jQuery.parseHTML(c.cbox)).find("#wplc_email").val();c.online===!1?(l=!1,h=!1):h=!0,"1"===wplc_filter_run_override&&h!==!1||(l=!1);var j=!1;"undefined"==typeof wplc_is_mobile||"true"!==wplc_is_mobile&&wplc_is_mobile!==!0||(j=!0);var k={action:"wplc_call_to_server_visitor",security:wplc_nonce,cid:b,wplc_name:e,wplc_email:f,status:d,wplcsession:a,wplc_is_mobile:j,wplc_extra_data:wplc_extra_data};i=k,"1"!==wplc_filter_run_override||h===!1?n(k,!0,!0):n(k,!0,!1),null!==b&&1==g&&q!==!1&&q(b,d)}}}),jQuery("#wp-live-chat [placeholder]").focus(function(){var a=jQuery(this);a.val()==a.attr("placeholder")&&(a.val(""),a.removeClass("placeholder"))}).blur(function(){var a=jQuery(this);""!=a.val()&&a.val()!=a.attr("placeholder")||(a.addClass("placeholder"),a.val(a.attr("placeholder")))}).blur(),jQuery("body").on("click","#wp-live-chat-minimize",function(){if(jQuery.event.trigger({type:"wplc_minimize_chat"}),Cookies.set("wplc_minimize","yes",{expires:1,path:"/"}),d=Cookies.get("wplc_chat_status"),5!=d&&10!=d&&9!=d&&8!=d){var a={action:"wplc_user_minimize_chat",security:wplc_nonce,cid:b};jQuery.post(wplc_ajaxurl,a,function(a){})}}),jQuery("body").on("click","#wp-live-chat-close",function(){if(jQuery("#wp-live-chat").hide(),jQuery("#wp-live-chat-1").hide(),jQuery("#wp-live-chat-2").hide(),jQuery("#wp-live-chat-3").hide(),jQuery("#wp-live-chat-4").hide(),jQuery("#wplc_social_holder").hide(),jQuery("#nifty_ratings_holder").hide(),jQuery("#wp-live-chat-react").hide(),jQuery("#wp-live-chat-minimize").hide(),"undefined"!=typeof wplc_hide_chat&&""!==wplc_hide_chat&&null!==wplc_hide_chat)Cookies.set("wplc_hide",wplc_hide_chat,{expires:1,path:"/"});else{var a=new Date,c=2;a.setTime(a.getTime()+60*c*1e3),Cookies.set("wplc_hide","yes",{expires:a,path:"/"})}var e={action:"wplc_user_close_chat",security:wplc_nonce,cid:b,status:d};jQuery.post(wplc_ajaxurl,e,function(a){})}),jQuery("body").on("click",".wp-live-chat-now",function(){s(0)}),jQuery("body").on("click","#wplc_start_chat_btn",function(){var c=jQuery("#wplc_name").val(),d=jQuery("#wplc_email").val();if(c.length<=0)return alert("Please enter your name"),!1;if(d.length<=0)return alert("Please enter your email address"),!1;if("1"!==jQuery("#wplc_email").attr("wplc_hide")){var e=/^(([^<>()[\]\\.,;:\s@\"]+(\.[^<>()[\]\\.,;:\s@\"]+)*)|(\".+\"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/;if(!e.test(d))return alert("Please Enter a Valid Email Address"),!1}l=!0,"1"===wplc_filter_run_override||h===!1||(i.status=2,n(i,!1,!1)),jQuery.event.trigger({type:"wplc_start_chat"});var f=new Date;if(f.setTime(f.getTime()+12e4),b=Cookies.get("wplc_cid"),"undefined"!=typeof b&&null!==b)var g={action:"wplc_start_chat",security:wplc_nonce,name:c,email:d,cid:b,wplcsession:a,wplc_extra_data:wplc_extra_data};else var g={action:"wplc_start_chat",security:wplc_nonce,name:c,email:d,wplcsession:a,wplc_extra_data:wplc_extra_data};jQuery.post(wplc_ajaxurl,g,function(a){Cookies.set("wplc_chat_status",2,{expires:f,path:"/"}),Cookies.set("wplc_name",c,{path:"/"}),Cookies.set("wplc_email",d,{path:"/"}),b=jQuery.trim(a)})}),jQuery("body").on("click","#wplc_na_msg_btn",function(){var a=jQuery("#wplc_name").val(),c=jQuery("#wplc_email").val(),d=jQuery("#wplc_message").val(),e=jQuery("#wplc_domain_offline").val(),f=jQuery("#wplc_ip_address").val();if(a.length<=0)return alert("Please enter your name"),!1;if(c.length<=0)return alert("Please enter your email address"),!1;var g=/^[A-Z0-9._%+-]+@([A-Z0-9-]+\.)+[A-Z]{2,4}$/i;if(!g.test(c))return alert("Please Enter a Valid Email Address"),!1;if(d.length<=0)return alert("Please enter a message"),!1;jQuery("#wp-live-chat-2-info").hide(),jQuery("#wplc_message_div").html(wplc_offline_msg),b=Cookies.get("wplc_cid");var h={action:"wplc_user_send_offline_message",security:wplc_nonce,cid:b,name:a,email:c,msg:d,ip:f,domain:e,wplc_extra_data:wplc_extra_data};jQuery.post(wplc_ajaxurl_site,h,function(a){jQuery("#wplc_message_div").html(wplc_offline_msg3)})}),jQuery("body").on("keyup","#wplc_chatmsg",function(a){13===a.keyCode&&jQuery("#wplc_send_msg").trigger("click")}),jQuery("body").on("click","#wplc_send_msg",function(){var a=jQuery("#wplc_cid").val(),b=t(document.getElementById("wplc_chatmsg").value),c=jQuery("#wplc_name").val();"undefined"!=typeof c&&null!=c&&""!=c||(c=Cookies.get("wplc_name"));var d=jQuery("#wplc_email").val();"undefined"!=typeof d&&null!=d&&""!=d||(d=Cookies.get("wplc_email")),jQuery("#wplc_chatmsg").val("");var e=b;"undefined"!=typeof niftyFormatParser&&(e=niftyFormatParser(e)),"display"==wplc_display_name?wplc_gravatar_image.length>1?jQuery("#wplc_chatbox").append("<span class='wplc-user-message wplc-color-bg-1 wplc-color-2 wplc-color-border-1'>"+wplc_gravatar_image+" <strong>"+c+"</strong>: "+e+"</span><br /><div class='wplc-clear-float-message'></div>"):jQuery("#wplc_chatbox").append("<span class='wplc-user-message wplc-color-bg-1 wplc-color-2 wplc-color-border-1'><img src='//www.gravatar.com/avatar/"+md5(d)+"?s=30' class='wplc-user-message-avatar' /> <strong>"+c+"</strong>: "+e+"</span><br /><div class='wplc-clear-float-message'></div>"):jQuery("#wplc_chatbox").append("<span class='wplc-user-message wplc-color-bg-1 wplc-color-2 wplc-color-border-1'>"+e+"</span><div class='wplc-clear-float-message'></div>");var f=jQuery("#wplc_chatbox")[0].scrollHeight;jQuery("#wplc_chatbox").scrollTop(f);var g={action:"wplc_user_send_msg",security:wplc_nonce,cid:a,msg:b,wplc_extra_data:wplc_extra_data};jQuery.post(wplc_ajaxurl,g,function(a){})}),jQuery(document).on("wplc_open_chat",function(a){d=Cookies.get("wplc_chat_status");u(status,function(){s()})}),String.prototype.wplcStripSlashes=function(){return this.replace(/\\(.)/gm,"$1")},"undefined"!=typeof wplc_elem_trigger_id&&""!==wplc_elem_trigger_id){var v=0,w=0;"undefined"!=typeof wplc_elem_trigger_action&&""!==wplc_elem_trigger_action&&(v=parseInt(wplc_elem_trigger_action)),"undefined"!=typeof wplc_elem_trigger_type&&""!==wplc_elem_trigger_type&&(w=parseInt(wplc_elem_trigger_type)),jQuery((1===w?"#":".")+wplc_elem_trigger_id).on(1===v?"mouseenter":"click",function(){s(0)})}});
1
+ var wplc_is_chat_open=!1;jQuery(document).ready(function(){function n(a,c,e){"undefined"==typeof c&&(c=!1),"undefined"==typeof e&&(e=!1),a.first_run=c,a.short_poll=e,jQuery.ajax({url:wplc_ajaxurl,data:a,type:"POST",success:function(c){if(k=1500,c){if("0"===c)return window.console&&console.log("WP Live Chat Support Return Error"),void(l=!1);if(c=JSON.parse(c),a.wplc_name=c.wplc_name,a.wplc_email=c.wplc_email,a.action_2="",a.cid=c.cid,Cookies.set("wplc_cid",c.cid,{expires:1,path:"/"}),Cookies.set("wplc_name",c.wplc_name,{expires:1,path:"/"}),Cookies.set("wplc_email",c.wplc_email,{expires:1,path:"/"}),b=jQuery.trim(c.cid),d=c.status,Cookies.set("wplc_chat_status",null,{path:"/"}),Cookies.set("wplc_chat_status",d,{expires:1,path:"/"}),jQuery.event.trigger({type:"wplc_user_chat_loop",response:c}),a.status==c.status){if(5==a.status&&g===!0&&q!==!1&&q(a.cid,a.status),3==c.status&&null!=c.data&&(l=!0,"undefined"!=typeof niftyFormatParser?jQuery("#wplc_chatbox").append(niftyFormatParser(c.data.wplcStripSlashes())):jQuery("#wplc_chatbox").append(c.data.wplcStripSlashes()),c.data)){var e=jQuery("#wplc_chatbox")[0].scrollHeight;jQuery("#wplc_chatbox").scrollTop(e),"undefined"!=typeof wplc_enable_ding&&"1"===wplc_enable_ding&&new Audio(wplc_plugin_url+"/wp-live-chat-support/ding.mp3").play()}}else if(a.status=d,Cookies.set("wplc_chat_status",d,{expires:1,path:"/"}),0==c.status)jQuery("#wp-live-chat-3").hide(),jQuery("#wp-live-chat-react").show().empty().append("<center>"+c.data+"</center>");else if(8==c.status){l=!1,jQuery("#wp-live-chat-minimize").show(),document.getElementById("wplc_chatmsg").disabled=!0,jQuery("#wplc_chatbox").append("<em>"+c.data+"</em><br />");var e=jQuery("#wplc_chatbox")[0].scrollHeight;jQuery("#wplc_chatbox").scrollTop(e),jQuery.event.trigger({type:"wplc_end_chat"})}else if(11==parseInt(c.status))jQuery("#wp-live-chat").css({display:"none"}),l=!1;else if((3==parseInt(c.status)||10==parseInt(c.status))&&(l=!0,jQuery("#wplc_cid").val(b),3==parseInt(c.status)&&(s(0),jQuery("#wp-live-chat").hasClass("wplc_left")!==!0&&jQuery("#wp-live-chat").hasClass("wplc_right")!==!0||jQuery("#wp-live-chat").height("400px")),10==parseInt(c.status)&&(l=!0,s(0)),null!=c.data&&("undefined"!=typeof niftyFormatParser?jQuery("#wplc_chatbox").append(niftyFormatParser(c.data.wplcStripSlashes())):jQuery("#wplc_chatbox").append(c.data.wplcStripSlashes()),c.data))){var e=jQuery("#wplc_chatbox")[0].scrollHeight;jQuery("#wplc_chatbox").scrollTop(e)}}},error:function(a,b){k=5e3,404==a.status?(o("Error: Requested page not found. [404]"),l=!1):500==a.status?(o("Error: Internal Server Error [500]."),o("Retrying in 5 seconds..."),l=!0):"parsererror"===b?(o("Error: Requested JSON parse failed."),l=!1):"abort"===b?(o("Error: Ajax request aborted."),l=!1):(o("Error: Uncaught Error.\n"+a.responseText),o("Retrying in 5 seconds..."),l=!0)},complete:function(b){l&&setTimeout(function(){n(a,!1,!1)},k)},timeout:12e4})}function o(a){window.console&&console.log(a),jQuery("#wplc_chatbox").append("<small>"+a+"</small><br>");var b=jQuery("#wplc_chatbox")[0].scrollHeight;jQuery("#wplc_chatbox").scrollTop(b)}function q(a,b){9==d&&"yes"==c||"yes"!=c&&(wplc_dc=setTimeout(function(){var a=jQuery("#wp-live-chat"),b=jQuery(a).attr("wplc_animation");switch(b){case"none":jQuery(a).css("display","block");break;case"animation-1":jQuery(a).animate({marginBottom:"0px"},1e3);break;case"animation-2-bl":jQuery(a).animate({left:"100px"},1e3);break;case"animation-2-br":jQuery(a).animate({right:"100px"},1e3);break;case"animation-2-l":jQuery(a).animate({left:"0px"},1e3);break;case"animation-2-r":jQuery(a).animate({right:"0px"},1e3);break;case"animation-3":jQuery(a).fadeIn("slow");case"animation-4":jQuery(a).css("display","block");break;default:jQuery(a).css("display","block")}"1"===jQuery("#wp-live-chat").attr("wplc-auto-pop-up")&&s(0),jQuery.event.trigger({type:"wplc_animation_done"})},parseInt(window.wplc_delay))),q=!1}function s(a){if(jQuery.event.trigger({type:"wplc_open_chat_1"}),d=Cookies.get("wplc_chat_status"),3==parseInt(d)){jQuery.event.trigger({type:"wplc_open_chat_2",wplc_online:h}),Cookies.set("wplc_had_chat",!0,{path:"/"});var c={action:"wplc_user_maximize_chat",security:wplc_nonce,cid:b};jQuery.post(wplc_ajaxurl,c,function(a){})}else if(10==parseInt(d))jQuery("#wp-live-chat-minimize").trigger("click");else if(5==d||9==d||8==d){if(jQuery("#wp-live-chat-2").is(":visible")===!1&&jQuery("#wp-live-chat-4").is(":visible")===!1){jQuery("#wp-live-chat-2").show();var e=Cookies.get("wplc_name");"no email set"!==Cookies.get("wplc_email")&&e.indexOf("user")>=0&&(jQuery("#wplc_name").val(Cookies.get("wplc_name")),jQuery("#wplc_email").val(Cookies.get("wplc_email")))}}else if(2==d)jQuery("#wp-live-chat-3").show();else if(1==d){jQuery("#wp-live-chat-4").show(),jQuery("#wplc_social_holder").show(),jQuery("#nifty_ratings_holder").show(),jQuery.event.trigger({type:"wplc_animation_done"}),jQuery("#wplc_chatbox").append("The chat has been ended by the operator.<br />");var f=jQuery("#wplc_chatbox")[0].scrollHeight;jQuery("#wplc_chatbox").scrollTop(f),jQuery("#wp-live-chat-minimize").hide(),document.getElementById("wplc_chatmsg").disabled=!0}}function t(a){return a=a.replace(/<br>/gi,"\n"),a=a.replace(/<p.*>/gi,"\n"),a=a.replace(/<a.*href="(.*?)".*>(.*?)<\/a>/gi," $2 ($1) "),a=a.replace(/<(?:.|\s)*?>/g,""),a=a.replace("iframe",""),a=a.replace("src",""),a=a.replace("href",""),a=a.replace("<",""),a=a.replace(">","")}function u(a,b){"undefined"!=typeof d.length&&d.length>0&&(10!==parseInt(d)&&7!==parseInt(d)||Cookies.set("wplc_chat_status",3,{expires:1,path:"/"}),0===parseInt(d)&&Cookies.set("wplc_chat_status",5,{expires:1,path:"/"}),8===parseInt(d)&&Cookies.set("wplc_chat_status",5,{expires:1,path:"/"})),b()}var b,c,a=(new Date).getTime(),d="",e="",f="",g=!0,b=null,h=!1,i={},k=1500;b=Cookies.get("wplc_cid"),b="undefined"==typeof b?null:Cookies.get("wplc_cid"),c=Cookies.get("wplc_hide"),wplc_check_minimize_cookie=Cookies.get("wplc_minimize"),d=Cookies.get("wplc_chat_status"),e=Cookies.get("wplc_name"),f=Cookies.get("wplc_email"),Cookies.set("wplc_chat_status",5,{expires:1,path:"/"}),d=5;var l=!0,m={action:"wplc_get_chat_box",security:wplc_nonce};if(jQuery.ajax({url:wplc_ajaxurl_site,data:m,type:"POST",success:function(c){if(c){if("0"===c)return window.console&&console.log("WP Live Chat Support Return Error"),void(l=!1);if(c=JSON.parse(c),jQuery("body").append(c.cbox),"undefined"==typeof e||"undefined"==typeof f)var e=jQuery(jQuery.parseHTML(c.cbox)).find("#wplc_name").val(),f=jQuery(jQuery.parseHTML(c.cbox)).find("#wplc_email").val();c.online===!1?(l=!1,h=!1):h=!0,"1"===wplc_filter_run_override&&h!==!1||(l=!1);var j=!1;"undefined"==typeof wplc_is_mobile||"true"!==wplc_is_mobile&&wplc_is_mobile!==!0||(j=!0);var k={action:"wplc_call_to_server_visitor",security:wplc_nonce,cid:b,wplc_name:e,wplc_email:f,status:d,wplcsession:a,wplc_is_mobile:j,wplc_extra_data:wplc_extra_data};i=k,"1"!==wplc_filter_run_override||h===!1?n(k,!0,!0):n(k,!0,!1),null!==b&&1==g&&q!==!1&&q(b,d)}}}),jQuery("#wp-live-chat [placeholder]").focus(function(){var a=jQuery(this);a.val()==a.attr("placeholder")&&(a.val(""),a.removeClass("placeholder"))}).blur(function(){var a=jQuery(this);""!=a.val()&&a.val()!=a.attr("placeholder")||(a.addClass("placeholder"),a.val(a.attr("placeholder")))}).blur(),jQuery("body").on("click","#wp-live-chat-minimize",function(){if(jQuery.event.trigger({type:"wplc_minimize_chat"}),Cookies.set("wplc_minimize","yes",{expires:1,path:"/"}),d=Cookies.get("wplc_chat_status"),5!=d&&10!=d&&9!=d&&8!=d){var a={action:"wplc_user_minimize_chat",security:wplc_nonce,cid:b};jQuery.post(wplc_ajaxurl,a,function(a){})}}),jQuery("body").on("click","#wp-live-chat-close",function(){if(jQuery("#wp-live-chat").hide(),jQuery("#wp-live-chat-1").hide(),jQuery("#wp-live-chat-2").hide(),jQuery("#wp-live-chat-3").hide(),jQuery("#wp-live-chat-4").hide(),jQuery("#wplc_social_holder").hide(),jQuery("#nifty_ratings_holder").hide(),jQuery("#wp-live-chat-react").hide(),jQuery("#wp-live-chat-minimize").hide(),"undefined"!=typeof wplc_hide_chat&&""!==wplc_hide_chat&&null!==wplc_hide_chat)Cookies.set("wplc_hide",wplc_hide_chat,{expires:1,path:"/"});else{var a=new Date,c=2;a.setTime(a.getTime()+60*c*1e3),Cookies.set("wplc_hide","yes",{expires:a,path:"/"})}var e={action:"wplc_user_close_chat",security:wplc_nonce,cid:b,status:d};jQuery.post(wplc_ajaxurl,e,function(a){})}),jQuery("body").on("click",".wp-live-chat-now",function(){s(0)}),jQuery("body").on("click","#wplc_start_chat_btn",function(){var c=jQuery("#wplc_name").val(),d=jQuery("#wplc_email").val();if(c.length<=0)return alert("Please enter your name"),!1;if(d.length<=0)return alert("Please enter your email address"),!1;if("1"!==jQuery("#wplc_email").attr("wplc_hide")){var e=/^(([^<>()[\]\\.,;:\s@\"]+(\.[^<>()[\]\\.,;:\s@\"]+)*)|(\".+\"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/;if(!e.test(d))return alert("Please Enter a Valid Email Address"),!1}l=!0,"1"===wplc_filter_run_override||h===!1||(i.status=2,n(i,!1,!1)),jQuery.event.trigger({type:"wplc_start_chat"});var f=new Date;if(f.setTime(f.getTime()+12e4),b=Cookies.get("wplc_cid"),"undefined"!=typeof b&&null!==b)var g={action:"wplc_start_chat",security:wplc_nonce,name:c,email:d,cid:b,wplcsession:a,wplc_extra_data:wplc_extra_data};else var g={action:"wplc_start_chat",security:wplc_nonce,name:c,email:d,wplcsession:a,wplc_extra_data:wplc_extra_data};jQuery.post(wplc_ajaxurl,g,function(a){Cookies.set("wplc_chat_status",2,{expires:f,path:"/"}),Cookies.set("wplc_name",c,{path:"/"}),Cookies.set("wplc_email",d,{path:"/"}),b=jQuery.trim(a)})}),jQuery("body").on("click","#wplc_na_msg_btn",function(){var a=jQuery("#wplc_name").val(),c=jQuery("#wplc_email").val(),d=jQuery("#wplc_message").val(),e=jQuery("#wplc_domain_offline").val(),f=jQuery("#wplc_ip_address").val();if(a.length<=0)return alert("Please enter your name"),!1;if(c.length<=0)return alert("Please enter your email address"),!1;var g=/^[A-Z0-9._%+-]+@([A-Z0-9-]+\.)+[A-Z]{2,4}$/i;if(!g.test(c))return alert("Please Enter a Valid Email Address"),!1;if(d.length<=0)return alert("Please enter a message"),!1;jQuery("#wp-live-chat-2-info").hide(),jQuery("#wplc_message_div").html(wplc_offline_msg),b=Cookies.get("wplc_cid");var h={action:"wplc_user_send_offline_message",security:wplc_nonce,cid:b,name:a,email:c,msg:d,ip:f,domain:e,wplc_extra_data:wplc_extra_data};jQuery.post(wplc_ajaxurl_site,h,function(a){jQuery("#wplc_message_div").html(wplc_offline_msg3)})}),jQuery("body").on("keyup","#wplc_chatmsg",function(a){13===a.keyCode&&jQuery("#wplc_send_msg").trigger("click")}),jQuery("body").on("click","#wplc_send_msg",function(){var a=jQuery("#wplc_cid").val(),b=t(document.getElementById("wplc_chatmsg").value),c=jQuery("#wplc_name").val();"undefined"!=typeof c&&null!=c&&""!=c||(c=Cookies.get("wplc_name"));var d=jQuery("#wplc_email").val();"undefined"!=typeof d&&null!=d&&""!=d||(d=Cookies.get("wplc_email")),jQuery("#wplc_chatmsg").val("");var e=b;"undefined"!=typeof niftyFormatParser&&(e=niftyFormatParser(e)),"display"==wplc_display_name?wplc_gravatar_image.length>1?jQuery("#wplc_chatbox").append("<span class='wplc-user-message xcvxxcv wplc-color-bg-1 wplc-color-2 wplc-color-border-1'>"+wplc_gravatar_image+" <strong>"+c+"</strong>: "+e+"</span><br /><div class='wplc-clear-float-message'></div>"):jQuery("#wplc_chatbox").append("<span class='wplc-user-message wplc-color-bg-1 wplc-color-2 wplc-color-border-1'><img src='//www.gravatar.com/avatar/"+md5(d)+"?s=30' class='wplc-user-message-avatar' /> <strong>"+c+"</strong>: "+e+"</span><br /><div class='wplc-clear-float-message'></div>"):jQuery("#wplc_chatbox").append("<span class='wplc-user-message wplc-color-bg-1 wplc-color-2 wplc-color-border-1'>"+e+"</span><div class='wplc-clear-float-message'></div>");var f=jQuery("#wplc_chatbox")[0].scrollHeight;jQuery("#wplc_chatbox").scrollTop(f);var g={action:"wplc_user_send_msg",security:wplc_nonce,cid:a,msg:b,wplc_extra_data:wplc_extra_data};jQuery.post(wplc_ajaxurl,g,function(a){})}),jQuery(document).on("wplc_open_chat",function(a){d=Cookies.get("wplc_chat_status");u(status,function(){s()})}),String.prototype.wplcStripSlashes=function(){return this.replace(/\\(.)/gm,"$1")},"undefined"!=typeof wplc_elem_trigger_id&&""!==wplc_elem_trigger_id){var v=0,w=0;"undefined"!=typeof wplc_elem_trigger_action&&""!==wplc_elem_trigger_action&&(v=parseInt(wplc_elem_trigger_action)),"undefined"!=typeof wplc_elem_trigger_type&&""!==wplc_elem_trigger_type&&(w=parseInt(wplc_elem_trigger_type)),jQuery((1===w?"#":".")+wplc_elem_trigger_id).on(1===v?"mouseenter":"click",function(){s(0)})}});
js/wplc_u_admin.js CHANGED
@@ -1,541 +1,559 @@
1
- var wplc_ajaxurl = wplc_ajaxurl;
2
- var data = {
3
- action: 'wplc_admin_long_poll',
4
- security: wplc_ajax_nonce,
5
- wplc_list_visitors_data: false,
6
- wplc_update_admin_chat_table: false,
7
- wplc_extra_data: wplc_extra_data
8
- };
9
- var wplc_pending_refresh = null;
10
- var current_chat_ids = new Object();
11
- var chat_count = 0;
12
- var wplc_run = true;
13
- var ringer_cnt = 0;
14
- var orig_title = document.getElementsByTagName("title")[0].innerHTML;
15
-
16
- var wplc_notification_icon_url = wplc_notification_icon;
17
-
18
- var wplc_poll_delay = 1500;
19
-
20
- Object.size = function(obj) {
21
- var size = 0, key;
22
- for (key in obj) {
23
- if (obj.hasOwnProperty(key)) size++;
24
- }
25
- return size;
26
- };
27
- function wplc_notify_agent() {
28
-
29
-
30
- if (typeof wplc_wav_file !== 'undefined') {
31
- new Audio(wplc_wav_file).play()
32
- }
33
-
34
-
35
- if (ringer_cnt <= 0) {
36
- wplc_desktop_notification();
37
- }
38
- ringer_cnt++;
39
-
40
- if (ringer_cnt > 1) {
41
- clearInterval(wplc_pending_refresh);
42
- wplc_title_alerts4 = setTimeout(function () {
43
- document.title = orig_title;
44
- }, 4000);
45
- return;
46
- }
47
-
48
- document.title = "** CHAT REQUEST **";
49
- wplc_title_alerts2 = setTimeout(function () {
50
- document.title = "** CHAT REQUEST **";
51
- }, 2000);
52
- wplc_title_alerts4 = setTimeout(function () {
53
- document.title = orig_title;
54
- }, 4000);
55
-
56
-
57
-
58
-
59
-
60
- }
61
- function wplc_call_to_server(data) {
62
- if(typeof wplc_pro_admin_long_poll_data !== "undefined" && typeof wplc_pro_admin_long_poll_data === "function"){
63
- data = wplc_pro_admin_long_poll_data(data);
64
- }
65
-
66
- jQuery.ajax({
67
- url: wplc_ajaxurl,
68
- data: data,
69
- type: "POST",
70
- success: function (response) {
71
- wplc_poll_delay = 1500;
72
- //Update your dashboard gauge
73
- if (response) {
74
- if (response === "0") { if (window.console) { console.log('WP Live Chat Support Return Error'); } wplc_run = false; return; }
75
-
76
- response = JSON.parse(response);
77
-
78
- if(response.hasOwnProperty("error")){
79
- /* stopping due to error */
80
- wplc_run = false;
81
- if (response['error'] === 1) {
82
- location.reload();
83
- }
84
-
85
- }
86
-
87
- data["wplc_update_admin_chat_table"] = response['wplc_update_admin_chat_table'];
88
- if (response['action'] === "wplc_update_chat_list") {
89
- wplc_handle_chat_output(response['wplc_update_admin_chat_table']);
90
- if (response['pending'] === true) {
91
-
92
- wplc_notify_agent();
93
- wplc_pending_refresh = setInterval(function () {
94
-
95
- wplc_notify_agent();
96
- }, 5000);
97
- } else {
98
- clearInterval(wplc_pending_refresh);
99
- ringer_cnt = 0;
100
- }
101
- }
102
- if (response['action'] === "wplc_update_admin_chat") {
103
- jQuery("#wplc_admin_chat_area").html(response['wplc_update_admin_chat_table']);
104
- if (response['pending'] === true) {
105
-
106
- var orig_title = document.getElementsByTagName("title")[0].innerHTML;
107
- var ringer_cnt = 0;
108
- wplc_pending_refresh = setInterval(function () {
109
-
110
- if (ringer_cnt <= 0) {
111
- wplc_desktop_notification();
112
- }
113
-
114
- ringer_cnt++;
115
-
116
- if (ringer_cnt > 1) {
117
- clearInterval(wplc_pending_refresh);
118
- wplc_title_alerts4 = setTimeout(function () {
119
- document.title = orig_title;
120
- }, 4000);
121
- return;
122
- }
123
-
124
- document.title = "** CHAT REQUEST **";
125
- wplc_title_alerts2 = setTimeout(function () {
126
- document.title = "** CHAT REQUEST **";
127
- }, 2000);
128
- wplc_title_alerts4 = setTimeout(function () {
129
- document.title = orig_title;
130
- }, 4000);
131
-
132
-
133
- //document.getElementById("wplc_sound").innerHTML = "<embed src='"+ +"' hidden=true autostart=true loop=false>";
134
-
135
- }, 5000);
136
- } else {
137
- clearInterval(wplc_pending_refresh);
138
- }
139
- }
140
-
141
- }
142
- },
143
- error: function (jqXHR, exception) {
144
- wplc_poll_delay = 5000;
145
- if (jqXHR.status == 404) {
146
- wplc_display_error('Connection Error (404)', false);
147
- wplc_run = false;
148
- } else if (jqXHR.status == 500) {
149
- wplc_display_error('Connection Error (500) - Retrying in 5 seconds...', true);
150
- wplc_run = true;
151
- } else if (exception === 'parsererror') {
152
- wplc_display_error('Connection Error (JSON Error)', false);
153
- wplc_run = false;
154
- } else if (exception === 'abort') {
155
- wplc_display_error('Connection Error (Ajax Abort)', false);
156
- wplc_run = false;
157
- } else {
158
- wplc_display_error('Connection Error (Uncaught) - Retrying in 5 seconds...', true);
159
- wplc_run = true;
160
- }
161
- },
162
- complete: function (response) {
163
- //console.log(wplc_run);
164
- if (wplc_run) {
165
- setTimeout(function () {
166
- wplc_call_to_server(data);
167
- }, wplc_poll_delay);
168
- }
169
- },
170
- timeout: 120000
171
- });
172
- };
173
-
174
- function wplc_display_error(error, dismiss) {
175
- if (window.console) { console.log(error); }
176
- jQuery(".wplc_network_issue").html("<span>" + error + "</span>");
177
- jQuery(".wplc_network_issue").fadeIn();
178
- if(dismiss){
179
- setTimeout(function(){
180
- jQuery(".wplc_network_issue").fadeOut();
181
- }, 5000);
182
- }
183
- }
184
-
185
- function wplc_handle_chat_output(response) {
186
- var obj = jQuery.parseJSON(response);
187
- if (obj === false || obj === null) {
188
- jQuery("#wplc_chat_ul").html("");
189
- current_chat_ids = {};
190
- wplc_handle_count_change(0);
191
-
192
- } else {
193
- // NB: Perry: this block didn't appear to do anything
194
- //var size = Object.size(current_chat_ids);
195
- //wplc_handle_count_change(size);
196
-
197
- if (size < 1) {
198
- /* no prior visitor information, update without any checks */
199
- current_chat_ids = obj["ids"];
200
- if(current_chat_ids)
201
- wplc_update_chat_list(false,obj);
202
- } else {
203
- /* we have had visitor information prior to this call, update systematically */
204
- if (obj === null) {
205
- jQuery("#wplc_chat_ul").html("");
206
- } else {
207
- current_chat_ids = obj["ids"];
208
- if(current_chat_ids)
209
- wplc_update_chat_list(true,obj);
210
- }
211
- }
212
-
213
-
214
- }
215
-
216
- if(obj["visitor_count"])
217
- {
218
- var size = obj["visitor_count"];
219
- wplc_handle_count_change(size);
220
- }
221
-
222
- }
223
- function wplc_handle_count_change(qty) {
224
- if (qty > chat_count) {
225
- jQuery(".wplc_chat_vis_count_box").animate({backgroundColor: '#B3D24B'}, 300);
226
- jQuery(".wplc_vis_online").html(qty);
227
- jQuery(".wplc_chat_vis_count_box").animate({backgroundColor: 'white'}, 200);
228
- } else if (qty === chat_count) {
229
- jQuery(".wplc_vis_online").html(qty);
230
- } else {
231
- jQuery(".wplc_chat_vis_count_box").animate({backgroundColor: '#E1734A'}, 300);
232
- jQuery(".wplc_vis_online").html(qty);
233
- jQuery(".wplc_chat_vis_count_box").animate({backgroundColor: 'white'}, 200);
234
- }
235
- chat_count = qty;
236
-
237
- }
238
-
239
-
240
- function wplc_get_status_name(status) {
241
- if (status === 1) { return "<span class='wplc_status_box wplc_status_"+status+"'>complete</span>"; }
242
- if (status === 2) { return "<span class='wplc_status_box wplc_status_"+status+"'>pending</span>"; }
243
- if (status === 3) { return "<span class='wplc_status_box wplc_status_"+status+"'>active</span>"; }
244
- if (status === 4) { return "<span class='wplc_status_box wplc_status_"+status+"'>deleted</span>"; }
245
- if (status === 5) { return "<span class='wplc_status_box wplc_status_"+status+"'>browsing</span>"; }
246
- if (status === 6) { return "<span class='wplc_status_box wplc_status_"+status+"'>requesting chat</span>"; }
247
- if (status === 8){ return "<span class='wplc_status_box wplc_status_"+status+"'>chat ended</span></span>"; }
248
- if (status === 9){ return "<span class='wplc_status_box wplc_status_"+status+"'>chat closed</span>"; }
249
- if (status === 10){ return "<span class='wplc_status_box wplc_status_8'>minimized</span>"; }
250
- if (status === 12) { return "<span class='wplc_status_box wplc_status_8'>missed chat</span>"; }
251
- }
252
- function wplc_get_type_box(type) {
253
- if (type === "New") {
254
- return "<span class='wplc_status_box wplc_type_new'>New</span>";
255
- }
256
- if (type === "Returning") {
257
- return "<span class='wplc_status_box wplc_type_returning'>Returning</span>";
258
- }
259
- }
260
-
261
-
262
- function wplc_create_chat_ul_element_after_eating_vindaloo(obj,key) {
263
-
264
- var v_img = obj[key]['image'];
265
- var v_name = obj[key]['name'];
266
- var v_email = obj[key]['email'];
267
- var v_browser = obj[key]['data']['browser'];
268
- var v_browsing = obj[key]['data']['browsing_nice_url'];
269
- var v_browsing_url = obj[key]['data']['browsing'];
270
- var v_status = obj[key]['status'];
271
- var v_time = obj[key]['timestamp'];
272
- var v_type = obj[key]['type'];
273
- var v_action = obj[key]['action'];
274
- var v_status_string = wplc_get_status_name(parseInt(v_status));
275
- var v_ip_address = obj[key]['data']['ip'];
276
-
277
- if (typeof obj[key]['other'] !== "undefined" && typeof obj[key]['other']['user_is_mobile'] !== "undefined") { var v_is_mobile = obj[key]['other']['user_is_mobile']; } else { var v_is_mobile = false; }
278
-
279
- var v_vis_html = "<span class='wplc_headerspan_v'>"+v_name+"</span>";
280
- var v_nr_html = "<span class='wplc_headerspan_nr'>"+wplc_get_type_box(v_type)+"</span>";
281
- var v_time_html = "<span class='wplc_headerspan_t'><span class='wplc_status_box wplc_status_1'>"+v_time+"</span></span>";
282
- var v_nr_device = "<span class='wplc_headerspan_t'><span class='wplc_status_box wplc_status_1'>"+(v_is_mobile ? "Mobile" : "PC")+"</span></span>";
283
-
284
- var additional_data = "";
285
-
286
- if(typeof obj[key] !== "undefined" && typeof obj[key]['other'] !== "undefined" && typeof obj[key]['other']['wplc_extra_data'] !== "undefined" && typeof obj[key]['other']['wplc_extra_data']['custom_fields'] !== "undefined"){
287
- additional_data = obj[key]['other']['wplc_extra_data']['custom_fields'];
288
- }
289
-
290
-
291
- if( typeof additional_data !== 'undefined' && additional_data != "" ) {
292
- additional_data = additional_data.replace(/\\/g, '');
293
- //additional_data = additional_data.replace(/\"/g, '');
294
-
295
- additional_data = JSON.parse( additional_data );
296
-
297
- var data_column_html = "";
298
- jQuery.each( additional_data, function( key, val){
299
- var field_name = val[0];
300
- var field_value = val[1];
301
-
302
- data_column_html += "<span class='wplc-sub-item-header'>"+field_name+":</span> "+field_value+"<br/>";
303
-
304
- });
305
- } else {
306
- data_column_html = "";
307
- }
308
-
309
- var v_nr_data = "<span class='wplc_headerspan_d'><span class='wplc-sub-item-header'>Page:</span> <a href='"+v_browsing_url+"' target='_BLANK'>"+v_browsing+"</a><br /><span class='wplc-sub-item-header'>Email:</span> <a href='mailto:"+v_email+"' target='_BLANK' class='wplc-sub-item-email-string'>"+v_email+"</a><br/><span class='wplc-sub-item-header'>IP: </span>"+v_ip_address+"</span>"+data_column_html;
310
- var v_nr_status_html = "<span class='wplc_headerspan_s'><span class='browser-tag'>"+v_browser+"</span> "+v_status_string+"</span>";
311
- var v_nr_action_html = "<span class='wplc_headerspan_a 1'>"+v_action+"</span>";
312
-
313
- var wplc_v_html = "\
314
- <ul id='wplc_p_ul_"+key+"' class='wplc_p_cul' cid='"+key+"'>\n\
315
- <li>"+v_vis_html+"</li>\n\
316
- <li>"+v_time_html+"</li>\n\
317
- <li>"+v_nr_html+"</li>\n\
318
- <li>"+v_nr_device+"</li>\n\
319
- <li>"+v_nr_data+"</li>\n\
320
- <li>"+v_nr_status_html+"</li>\n\
321
- <li>"+v_nr_action_html+"</li>\n\
322
- <ul>";
323
- return wplc_v_html;
324
-
325
-
326
- }
327
-
328
- function wplc_update_chat_list(update,obj) {
329
-
330
- /* first compare existing elements with the elements on the page */
331
- if (update === false) {
332
- jQuery( ".wplc_chat_ul" ).html("");
333
-
334
- for (var key in obj) {
335
- if (obj.hasOwnProperty(key) && key !== "ids") {
336
- wplc_v_html = wplc_create_chat_ul_element_after_eating_vindaloo(obj,key);
337
- jQuery( "#wplc_chat_ul" ).append(wplc_v_html).hide().fadeIn(2000);
338
-
339
- }
340
- }
341
- current_chat_ids = obj["ids"];
342
-
343
- } else {
344
-
345
- for (var key in current_chat_ids) {
346
- current_id = key;
347
- if (document.getElementById("wplc_p_ul_"+current_id) !== null) {
348
- /* element is already there */
349
- /* update element */
350
- if (typeof obj[current_id] !== "undefined") { /* if this check isnt here, it will throw an error. This check is here incase the item has been deleted. If it has, it will be handled futher down */
351
- jQuery("#wplc_p_ul_"+current_id).remove();
352
- wplc_v_html = wplc_create_chat_ul_element_after_eating_vindaloo(obj,current_id);
353
- jQuery( "#wplc_chat_ul" ).append(wplc_v_html);
354
- //jQuery( ".wplc_chats_container" ).append(obj[current_id]['content']);
355
- }
356
-
357
-
358
- } else {
359
- jQuery("#nifty_c_none").hide();
360
- /* new element to be created */
361
- if (typeof obj[current_id] !== "undefined") { /* if this check isnt here, it will throw an error. This check is here incase the item has been deleted. If it has, it will be handled futher down */
362
-
363
- wplc_v_html = wplc_create_chat_ul_element_after_eating_vindaloo(obj,current_id);
364
- jQuery( "#wplc_chat_ul" ).append(wplc_v_html);
365
-
366
- jQuery("#wplc_p_ul_"+current_id).hide().fadeIn(2000);
367
-
368
- }
369
- }
370
-
371
-
372
- }
373
-
374
- }
375
-
376
- /* compare new elements to old elements and delete where neccessary */
377
-
378
-
379
- jQuery(".wplc_p_cul").each(function(n, i) {
380
- var cid = jQuery(this).attr("cid");
381
- if (typeof cid !== "undefined") {
382
- if (typeof current_chat_ids[cid] !== "undefined") { /* element still there dont delete */ }
383
- else {
384
- jQuery("#wplc_p_ul_"+cid).fadeOut(2000).delay(2000).remove();
385
-
386
- }
387
- var size = Object.size(current_chat_ids);
388
- wplc_handle_count_change(size);
389
- }
390
- // do something with it
391
- });
392
- if(jQuery('.wplc_p_cul').length < 1) {
393
- wplc_handle_count_change(0);
394
- current_chat_ids = {};
395
- }
396
-
397
-
398
-
399
-
400
-
401
- }
402
-
403
-
404
- jQuery(document).ready(function () {
405
- jQuery('body').on("click", "a", function (event) {
406
- if (jQuery(this).hasClass('wplc_open_chat')) {
407
- if (event.preventDefault) {
408
- event.preventDefault();
409
- } else {
410
- event.returnValue = false;
411
- }
412
- window.open(jQuery(this).attr("href"), jQuery(this).attr("window-title"), "width=800,height=600,scrollbars=yes", false);
413
- }
414
- });
415
-
416
- jQuery('body').on("click", "#wplc_close_ftt", function (event) {
417
- jQuery("#wplcftt").fadeOut(1000);
418
- var data = {
419
- action: 'wplc_hide_ftt',
420
- security: wplc_ajax_nonce,
421
- };
422
- jQuery.ajax({
423
- url: wplc_ajaxurl_home,
424
- data: data,
425
- type: "POST",
426
- success: function (response) {
427
-
428
- }
429
- });
430
-
431
- });
432
-
433
- if (typeof wplc_choose_accept_chats !== "undefined" && wplc_choose_accept_chats === "0" ) {
434
- /* do nothing as they do not want to accept chats - kill the whole system! */
435
- jQuery("#wplc_admin_chat_area_new").html("<div class='wplc_chat_area_temp'>"+ " " + wplc_localized_quote_string+"</div>");
436
- jQuery("#wplc_admin_chat_holder").append(wplc_localized_offline_string)
437
- } else {
438
- wplc_call_to_server(data);
439
- }
440
-
441
-
442
- jQuery("body").on("click", ".wplc_delete_message", function(e){
443
-
444
- var message_id = jQuery(this).attr('mid');
445
-
446
- var data = {
447
- action: 'delete_offline_message',
448
- security: wplc_ajax_nonce,
449
- mid: message_id
450
- }
451
-
452
- jQuery.post( wplc_ajaxurl, data, function( response ){
453
-
454
- if( response ){
455
-
456
- jQuery('#record_'+message_id).fadeOut(700);
457
-
458
- }
459
-
460
-
461
- });
462
-
463
- });
464
-
465
-
466
- jQuery("body").on("change","#wplc_environment", function() {
467
-
468
- var selection = jQuery(this).val();
469
- if (selection === '1') {
470
- /* low grade host */
471
- jQuery("#wplc_iterations").val(20);
472
- jQuery("#wplc_delay_between_loops").val(1000000);
473
- }
474
- else if (selection === '2') {
475
- /* low grade host */
476
- jQuery("#wplc_iterations").val(55);
477
- jQuery("#wplc_delay_between_loops").val(500000);
478
- }
479
- else if (selection === '3') {
480
- /* low grade host */
481
- jQuery("#wplc_iterations").val(60);
482
- jQuery("#wplc_delay_between_loops").val(400000);
483
- }
484
- else if (selection === '4') {
485
- /* low grade host */
486
- jQuery("#wplc_iterations").val(200);
487
- jQuery("#wplc_delay_between_loops").val(250000);
488
- }
489
- })
490
-
491
- });
492
-
493
- jQuery("body").on("change","#wplc_field_type", function() {
494
-
495
- var selection = jQuery(this).val();
496
-
497
- if( selection == '1' ){
498
- jQuery("#wplc_field_value_dropdown_row").show();
499
- jQuery("#wplc_field_value_row").hide();
500
- } else {
501
- jQuery("#wplc_field_value_dropdown_row").hide();
502
- jQuery("#wplc_field_value_row").show();
503
- }
504
-
505
- });
506
-
507
- jQuery(window).ready(function(){
508
-
509
- if( typeof ace !== 'undefined' ){
510
-
511
- jQuery(function($) {
512
-
513
- $('textarea[data-editor]').each(function() {
514
-
515
- var textarea = $(this);
516
- var mode = textarea.data('editor');
517
- var editDiv = $('<div>', {
518
- position: 'absolute',
519
- width: '100%',
520
- height: '250px',
521
- 'class': textarea.attr('class')
522
- }).insertBefore(textarea);
523
- textarea.css('display', 'none');
524
- var editor = ace.edit(editDiv[0]);
525
- editor.getSession().setValue(textarea.val());
526
- editor.getSession().setMode("ace/mode/" + mode);
527
- editor.setTheme("ace/theme/twilight");
528
- textarea.closest('form').submit(function() {
529
- textarea.val(editor.getSession().getValue());
530
- })
531
-
532
- });
533
-
534
- });
535
-
536
- }
537
-
538
- });
539
-
540
-
541
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ var wplc_ajaxurl = wplc_ajaxurl;
2
+ var data = {
3
+ action: 'wplc_admin_long_poll',
4
+ security: wplc_ajax_nonce,
5
+ wplc_list_visitors_data: false,
6
+ wplc_update_admin_chat_table: false,
7
+ wplc_extra_data: wplc_extra_data
8
+ };
9
+ var wplc_pending_refresh = null;
10
+ var current_chat_ids = new Object();
11
+ var chat_count = 0;
12
+ var wplc_run = true;
13
+ var ringer_cnt = 0;
14
+ var orig_title = document.getElementsByTagName("title")[0].innerHTML;
15
+
16
+ var wplc_notification_icon_url = wplc_notification_icon;
17
+
18
+ var wplc_poll_delay = 1500;
19
+
20
+ Object.size = function(obj) {
21
+ var size = 0, key;
22
+ for (key in obj) {
23
+ if (obj.hasOwnProperty(key)) size++;
24
+ }
25
+ return size;
26
+ };
27
+ function wplc_notify_agent() {
28
+
29
+
30
+ if (typeof wplc_wav_file !== 'undefined') {
31
+ new Audio(wplc_wav_file).play()
32
+ }
33
+
34
+
35
+ if (ringer_cnt <= 0) {
36
+ wplc_desktop_notification();
37
+ }
38
+ ringer_cnt++;
39
+
40
+ if (ringer_cnt > 1) {
41
+ clearInterval(wplc_pending_refresh);
42
+ wplc_title_alerts4 = setTimeout(function () {
43
+ document.title = orig_title;
44
+ }, 4000);
45
+ return;
46
+ }
47
+
48
+ document.title = "** CHAT REQUEST **";
49
+ wplc_title_alerts2 = setTimeout(function () {
50
+ document.title = "** CHAT REQUEST **";
51
+ }, 2000);
52
+ wplc_title_alerts4 = setTimeout(function () {
53
+ document.title = orig_title;
54
+ }, 4000);
55
+
56
+
57
+
58
+
59
+
60
+ }
61
+ function wplc_call_to_server(data) {
62
+ if(typeof wplc_pro_admin_long_poll_data !== "undefined" && typeof wplc_pro_admin_long_poll_data === "function"){
63
+ data = wplc_pro_admin_long_poll_data(data);
64
+ }
65
+
66
+ jQuery.ajax({
67
+ url: wplc_ajaxurl,
68
+ data: data,
69
+ type: "POST",
70
+ success: function (response) {
71
+ wplc_poll_delay = 1500;
72
+ //Update your dashboard gauge
73
+ if (response) {
74
+ if (response === "0") { if (window.console) { console.log('WP Live Chat Support Return Error'); } wplc_run = false; return; }
75
+
76
+ response = JSON.parse(response);
77
+
78
+ if(response.hasOwnProperty("error")){
79
+ /* stopping due to error */
80
+ wplc_run = false;
81
+ if (response['error'] === 1) {
82
+ location.reload();
83
+ }
84
+
85
+ }
86
+
87
+ data["wplc_update_admin_chat_table"] = response['wplc_update_admin_chat_table'];
88
+ if (response['action'] === "wplc_update_chat_list") {
89
+ wplc_handle_chat_output(response['wplc_update_admin_chat_table']);
90
+ if (response['pending'] === true) {
91
+
92
+ wplc_notify_agent();
93
+ wplc_pending_refresh = setInterval(function () {
94
+
95
+ wplc_notify_agent();
96
+ }, 5000);
97
+ } else {
98
+ clearInterval(wplc_pending_refresh);
99
+ ringer_cnt = 0;
100
+ }
101
+ }
102
+ if (response['action'] === "wplc_update_admin_chat") {
103
+ jQuery("#wplc_admin_chat_area").html(response['wplc_update_admin_chat_table']);
104
+ if (response['pending'] === true) {
105
+
106
+ var orig_title = document.getElementsByTagName("title")[0].innerHTML;
107
+ var ringer_cnt = 0;
108
+ wplc_pending_refresh = setInterval(function () {
109
+
110
+ if (ringer_cnt <= 0) {
111
+ wplc_desktop_notification();
112
+ }
113
+
114
+ ringer_cnt++;
115
+
116
+ if (ringer_cnt > 1) {
117
+ clearInterval(wplc_pending_refresh);
118
+ wplc_title_alerts4 = setTimeout(function () {
119
+ document.title = orig_title;
120
+ }, 4000);
121
+ return;
122
+ }
123
+
124
+ document.title = "** CHAT REQUEST **";
125
+ wplc_title_alerts2 = setTimeout(function () {
126
+ document.title = "** CHAT REQUEST **";
127
+ }, 2000);
128
+ wplc_title_alerts4 = setTimeout(function () {
129
+ document.title = orig_title;
130
+ }, 4000);
131
+
132
+
133
+ //document.getElementById("wplc_sound").innerHTML = "<embed src='"+ +"' hidden=true autostart=true loop=false>";
134
+
135
+ }, 5000);
136
+ } else {
137
+ clearInterval(wplc_pending_refresh);
138
+ }
139
+ }
140
+
141
+ }
142
+ },
143
+ error: function (jqXHR, exception) {
144
+ wplc_poll_delay = 5000;
145
+ if (jqXHR.status == 404) {
146
+ wplc_display_error('Connection Error (404)', false);
147
+ wplc_run = false;
148
+ } else if (jqXHR.status == 500) {
149
+ wplc_display_error('Connection Error (500) - Retrying in 5 seconds...', true);
150
+ wplc_run = true;
151
+ } else if (exception === 'parsererror') {
152
+ wplc_display_error('Connection Error (JSON Error)', false);
153
+ wplc_run = false;
154
+ } else if (exception === 'abort') {
155
+ wplc_display_error('Connection Error (Ajax Abort)', false);
156
+ wplc_run = false;
157
+ } else {
158
+ wplc_display_error('Connection Error (Uncaught) - Retrying in 5 seconds...', true);
159
+ wplc_run = true;
160
+ }
161
+ },
162
+ complete: function (response) {
163
+ //console.log(wplc_run);
164
+ if (wplc_run) {
165
+ setTimeout(function () {
166
+ wplc_call_to_server(data);
167
+ }, wplc_poll_delay);
168
+ }
169
+ },
170
+ timeout: 120000
171
+ });
172
+ };
173
+
174
+ function wplc_display_error(error, dismiss) {
175
+ if (window.console) { console.log(error); }
176
+ jQuery(".wplc_network_issue").html("<span>" + error + "</span>");
177
+ jQuery(".wplc_network_issue").fadeIn();
178
+ if(dismiss){
179
+ setTimeout(function(){
180
+ jQuery(".wplc_network_issue").fadeOut();
181
+ }, 5000);
182
+ }
183
+ }
184
+
185
+ function wplc_handle_chat_output(response) {
186
+ var obj = jQuery.parseJSON(response);
187
+ if (obj === false || obj === null) {
188
+ jQuery("#wplc_chat_ul").html("");
189
+ current_chat_ids = {};
190
+ wplc_handle_count_change(0);
191
+
192
+ } else {
193
+ // NB: Perry: this block didn't appear to do anything
194
+ //var size = Object.size(current_chat_ids);
195
+ //wplc_handle_count_change(size);
196
+
197
+ if (size < 1) {
198
+ /* no prior visitor information, update without any checks */
199
+ current_chat_ids = obj["ids"];
200
+ if(current_chat_ids)
201
+ wplc_update_chat_list(false,obj);
202
+ } else {
203
+ /* we have had visitor information prior to this call, update systematically */
204
+ if (obj === null) {
205
+ jQuery("#wplc_chat_ul").html("");
206
+ } else {
207
+ current_chat_ids = obj["ids"];
208
+ if(current_chat_ids)
209
+ wplc_update_chat_list(true,obj);
210
+ }
211
+ }
212
+
213
+
214
+ }
215
+
216
+ if(obj["visitor_count"])
217
+ {
218
+ var size = obj["visitor_count"];
219
+ wplc_handle_count_change(size);
220
+ }
221
+
222
+ }
223
+ function wplc_handle_count_change(qty) {
224
+ console.log(chat_count);
225
+ console.log(qty);
226
+ if (parseInt(qty) !== parseInt(chat_count)) {
227
+ jQuery(".wplc_chat_vis_count_box").animate({backgroundColor: '#B3D24B'}, 300);
228
+ jQuery(".wplc_vis_online").html(qty);
229
+ jQuery(".wplc_chat_vis_count_box").animate({backgroundColor: 'white'}, 200);
230
+ } else if (parseInt(qty) === parseInt(chat_count)) {
231
+ jQuery(".wplc_vis_online").html(qty);
232
+ } else {
233
+ jQuery(".wplc_chat_vis_count_box").animate({backgroundColor: '#E1734A'}, 300);
234
+ jQuery(".wplc_vis_online").html(qty);
235
+ jQuery(".wplc_chat_vis_count_box").animate({backgroundColor: 'white'}, 200);
236
+ }
237
+ chat_count = qty;
238
+
239
+ }
240
+
241
+
242
+ function wplc_get_status_name(status) {
243
+ if (status === 1) { return "<span class='wplc_status_box wplc_status_"+status+"'>complete</span>"; }
244
+ if (status === 2) { return "<span class='wplc_status_box wplc_status_"+status+"'>pending</span>"; }
245
+ if (status === 3) { return "<span class='wplc_status_box wplc_status_"+status+"'>active</span>"; }
246
+ if (status === 4) { return "<span class='wplc_status_box wplc_status_"+status+"'>deleted</span>"; }
247
+ if (status === 5) { return "<span class='wplc_status_box wplc_status_"+status+"'>browsing</span>"; }
248
+ if (status === 6) { return "<span class='wplc_status_box wplc_status_"+status+"'>requesting chat</span>"; }
249
+ if (status === 8){ return "<span class='wplc_status_box wplc_status_"+status+"'>chat ended</span></span>"; }
250
+ if (status === 9){ return "<span class='wplc_status_box wplc_status_"+status+"'>chat closed</span>"; }
251
+ if (status === 10){ return "<span class='wplc_status_box wplc_status_8'>minimized</span>"; }
252
+ if (status === 12) { return "<span class='wplc_status_box wplc_status_8'>missed chat</span>"; }
253
+ }
254
+ function wplc_get_type_box(type) {
255
+ if (type === "New") {
256
+ return "<span class='wplc_status_box wplc_type_new'>New</span>";
257
+ }
258
+ if (type === "Returning") {
259
+ return "<span class='wplc_status_box wplc_type_returning'>Returning</span>";
260
+ }
261
+ }
262
+
263
+
264
+ function wplc_create_chat_ul_element_after_eating_vindaloo(obj,key) {
265
+
266
+ var v_img = obj[key]['image'];
267
+ var v_name = obj[key]['name'];
268
+ var v_email = obj[key]['email'];
269
+ var v_browser = obj[key]['data']['browser'];
270
+ var v_browsing = obj[key]['data']['browsing_nice_url'];
271
+ var v_browsing_url = obj[key]['data']['browsing'];
272
+ var v_status = obj[key]['status'];
273
+ var v_time = obj[key]['timestamp'];
274
+ var v_type = obj[key]['type'];
275
+ var v_action = obj[key]['action'];
276
+ var v_status_string = wplc_get_status_name(parseInt(v_status));
277
+ var v_ip_address = obj[key]['data']['ip'];
278
+
279
+ if (typeof obj[key]['other'] !== "undefined" && typeof obj[key]['other']['user_is_mobile'] !== "undefined") { var v_is_mobile = obj[key]['other']['user_is_mobile']; } else { var v_is_mobile = false; }
280
+
281
+ var v_vis_html = "<span class='wplc_headerspan_v'>"+v_name+"</span>";
282
+ var v_nr_html = "<span class='wplc_headerspan_nr'>"+wplc_get_type_box(v_type)+"</span>";
283
+ var v_time_html = "<span class='wplc_headerspan_t'><span class='wplc_status_box wplc_status_1'>"+v_time+"</span></span>";
284
+ var v_nr_device = "<span class='wplc_headerspan_t'><span class='wplc_status_box wplc_status_1'>"+(v_is_mobile ? "Mobile" : "PC")+"</span></span>";
285
+
286
+ var additional_data = "";
287
+
288
+ if(typeof obj[key] !== "undefined" && typeof obj[key]['other'] !== "undefined" && typeof obj[key]['other']['wplc_extra_data'] !== "undefined" && typeof obj[key]['other']['wplc_extra_data']['custom_fields'] !== "undefined"){
289
+ additional_data = obj[key]['other']['wplc_extra_data']['custom_fields'];
290
+ }
291
+
292
+
293
+ if( typeof additional_data !== 'undefined' && additional_data != "" ) {
294
+ additional_data = additional_data.replace(/\\/g, '');
295
+ //additional_data = additional_data.replace(/\"/g, '');
296
+
297
+ additional_data = JSON.parse( additional_data );
298
+
299
+ var data_column_html = "";
300
+ jQuery.each( additional_data, function( key, val){
301
+ var field_name = val[0];
302
+ var field_value = val[1];
303
+
304
+ data_column_html += "<span class='wplc-sub-item-header'>"+field_name+":</span> "+field_value+"<br/>";
305
+
306
+ });
307
+ } else {
308
+ data_column_html = "";
309
+ }
310
+
311
+ var v_nr_data = "<span class='wplc_headerspan_d'><span class='wplc-sub-item-header'>Page:</span> <a href='"+v_browsing_url+"' target='_BLANK'>"+v_browsing+"</a><br /><span class='wplc-sub-item-header'>Email:</span> <a href='mailto:"+v_email+"' target='_BLANK' class='wplc-sub-item-email-string'>"+v_email+"</a><br/><span class='wplc-sub-item-header'>IP: </span>"+v_ip_address+"</span>"+data_column_html;
312
+ var v_nr_status_html = "<span class='wplc_headerspan_s'><span class='browser-tag'>"+v_browser+"</span> "+v_status_string+"</span>";
313
+ var v_nr_action_html = "<span class='wplc_headerspan_a 1'>"+v_action+"</span>";
314
+
315
+ var wplc_v_html = "\
316
+ <ul id='wplc_p_ul_"+key+"' class='wplc_p_cul' cid='"+key+"'>\n\
317
+ <li>"+v_vis_html+"</li>\n\
318
+ <li>"+v_time_html+"</li>\n\
319
+ <li>"+v_nr_html+"</li>\n\
320
+ <li>"+v_nr_device+"</li>\n\
321
+ <li>"+v_nr_data+"</li>\n\
322
+ <li>"+v_nr_status_html+"</li>\n\
323
+ <li>"+v_nr_action_html+"</li>\n\
324
+ <ul>";
325
+ return wplc_v_html;
326
+
327
+
328
+ }
329
+
330
+ function wplc_update_chat_list(update,obj) {
331
+
332
+ /* first compare existing elements with the elements on the page */
333
+ if (update === false) {
334
+ jQuery( ".wplc_chat_ul" ).html("");
335
+
336
+ for (var key in obj) {
337
+ if (obj.hasOwnProperty(key) && key !== "ids") {
338
+ wplc_v_html = wplc_create_chat_ul_element_after_eating_vindaloo(obj,key);
339
+ jQuery( "#wplc_chat_ul" ).append(wplc_v_html).hide().fadeIn(2000);
340
+
341
+ }
342
+ }
343
+ current_chat_ids = obj["ids"];
344
+
345
+ } else {
346
+
347
+ for (var key in current_chat_ids) {
348
+ current_id = key;
349
+ if (document.getElementById("wplc_p_ul_"+current_id) !== null) {
350
+ /* element is already there */
351
+ /* update element */
352
+ if (typeof obj[current_id] !== "undefined") { /* if this check isnt here, it will throw an error. This check is here incase the item has been deleted. If it has, it will be handled futher down */
353
+ jQuery("#wplc_p_ul_"+current_id).remove();
354
+ wplc_v_html = wplc_create_chat_ul_element_after_eating_vindaloo(obj,current_id);
355
+ jQuery( "#wplc_chat_ul" ).append(wplc_v_html);
356
+ //jQuery( ".wplc_chats_container" ).append(obj[current_id]['content']);
357
+ }
358
+
359
+
360
+ } else {
361
+ jQuery("#nifty_c_none").hide();
362
+ /* new element to be created */
363
+ if (typeof obj[current_id] !== "undefined") { /* if this check isnt here, it will throw an error. This check is here incase the item has been deleted. If it has, it will be handled futher down */
364
+
365
+ wplc_v_html = wplc_create_chat_ul_element_after_eating_vindaloo(obj,current_id);
366
+ jQuery( "#wplc_chat_ul" ).append(wplc_v_html);
367
+
368
+ jQuery("#wplc_p_ul_"+current_id).hide().fadeIn(2000);
369
+
370
+ }
371
+ }
372
+
373
+
374
+ }
375
+
376
+ }
377
+
378
+ /* compare new elements to old elements and delete where neccessary */
379
+
380
+
381
+ jQuery(".wplc_p_cul").each(function(n, i) {
382
+ var cid = jQuery(this).attr("cid");
383
+ if (typeof cid !== "undefined") {
384
+ if (typeof current_chat_ids[cid] !== "undefined") { /* element still there dont delete */ }
385
+ else {
386
+ jQuery("#wplc_p_ul_"+cid).fadeOut(2000).delay(2000).remove();
387
+
388
+ }
389
+ var size = Object.size(current_chat_ids);
390
+ wplc_handle_count_change(size);
391
+ }
392
+ // do something with it
393
+ });
394
+ if(jQuery('.wplc_p_cul').length < 1) {
395
+ wplc_handle_count_change(0);
396
+ current_chat_ids = {};
397
+ }
398
+
399
+
400
+
401
+
402
+
403
+ }
404
+
405
+
406
+ jQuery(document).ready(function () {
407
+ jQuery('body').on("click", "a", function (event) {
408
+ if (jQuery(this).hasClass('wplc_open_chat')) {
409
+ if (event.preventDefault) {
410
+ event.preventDefault();
411
+ } else {
412
+ event.returnValue = false;
413
+ }
414
+ window.open(jQuery(this).attr("href"), jQuery(this).attr("window-title"), "width=800,height=600,scrollbars=yes", false);
415
+ }
416
+ });
417
+
418
+ jQuery('body').on("click", "#wplc_close_ftt", function (event) {
419
+ jQuery("#wplcftt").fadeOut(1000);
420
+ var data = {
421
+ action: 'wplc_hide_ftt',
422
+ security: wplc_ajax_nonce,
423
+ };
424
+ jQuery.ajax({
425
+ url: wplc_ajaxurl_home,
426
+ data: data,
427
+ type: "POST",
428
+ success: function (response) {
429
+
430
+ }
431
+ });
432
+
433
+ });
434
+
435
+ var visitorNameRow = jQuery('.wplc-user-default-visitor-name__row'),
436
+ requireUserInfo = jQuery('input[name=wplc_require_user_info]:checked').val();
437
+ if ( '0' === requireUserInfo || 'email' === requireUserInfo ) {
438
+ visitorNameRow.show();
439
+ } else {
440
+ visitorNameRow.hide();
441
+ }
442
+
443
+ jQuery('body').on("click", "input[name=wplc_require_user_info]", function (event) {
444
+ if ( '0' === jQuery(this).val() || 'email' === jQuery(this).val() ) {
445
+ visitorNameRow.show();
446
+ } else {
447
+ visitorNameRow.hide();
448
+ }
449
+ });
450
+
451
+ if (typeof wplc_choose_accept_chats !== "undefined" && wplc_choose_accept_chats === "0" ) {
452
+ /* do nothing as they do not want to accept chats - kill the whole system! */
453
+ jQuery("#wplc_admin_chat_area_new").html("<div class='wplc_chat_area_temp'>"+ " " + wplc_localized_quote_string+"</div>");
454
+ jQuery("#wplc_admin_chat_holder").append(wplc_localized_offline_string)
455
+ } else {
456
+ wplc_call_to_server(data);
457
+ }
458
+
459
+
460
+ jQuery("body").on("click", ".wplc_delete_message", function(e){
461
+
462
+ var message_id = jQuery(this).attr('mid');
463
+
464
+ var data = {
465
+ action: 'delete_offline_message',
466
+ security: wplc_ajax_nonce,
467
+ mid: message_id
468
+ }
469
+
470
+ jQuery.post( wplc_ajaxurl, data, function( response ){
471
+
472
+ if( response ){
473
+
474
+ jQuery('#record_'+message_id).fadeOut(700);
475
+
476
+ }
477
+
478
+
479
+ });
480
+
481
+ });
482
+
483
+
484
+ jQuery("body").on("change","#wplc_environment", function() {
485
+
486
+ var selection = jQuery(this).val();
487
+ if (selection === '1') {
488
+ /* low grade host */
489
+ jQuery("#wplc_iterations").val(20);
490
+ jQuery("#wplc_delay_between_loops").val(1000000);
491
+ }
492
+ else if (selection === '2') {
493
+ /* low grade host */
494
+ jQuery("#wplc_iterations").val(55);
495
+ jQuery("#wplc_delay_between_loops").val(500000);
496
+ }
497
+ else if (selection === '3') {
498
+ /* low grade host */
499
+ jQuery("#wplc_iterations").val(60);
500
+ jQuery("#wplc_delay_between_loops").val(400000);
501
+ }
502
+ else if (selection === '4') {
503
+ /* low grade host */
504
+ jQuery("#wplc_iterations").val(200);
505
+ jQuery("#wplc_delay_between_loops").val(250000);
506
+ }
507
+ })
508
+
509
+ });
510
+
511
+ jQuery("body").on("change","#wplc_field_type", function() {
512
+
513
+ var selection = jQuery(this).val();
514
+
515
+ if( selection == '1' ){
516
+ jQuery("#wplc_field_value_dropdown_row").show();
517
+ jQuery("#wplc_field_value_row").hide();
518
+ } else {
519
+ jQuery("#wplc_field_value_dropdown_row").hide();
520
+ jQuery("#wplc_field_value_row").show();
521
+ }
522
+
523
+ });
524
+
525
+ jQuery(window).ready(function(){
526
+
527
+ if( typeof ace !== 'undefined' ){
528
+
529
+ jQuery(function($) {
530
+
531
+ $('textarea[data-editor]').each(function() {
532
+
533
+ var textarea = $(this);
534
+ var mode = textarea.data('editor');
535
+ var editDiv = $('<div>', {
536
+ position: 'absolute',
537
+ width: '100%',
538
+ height: '250px',
539
+ 'class': textarea.attr('class')
540
+ }).insertBefore(textarea);
541
+ textarea.css('display', 'none');
542
+ var editor = ace.edit(editDiv[0]);
543
+ editor.getSession().setValue(textarea.val());
544
+ editor.getSession().setMode("ace/mode/" + mode);
545
+ editor.setTheme("ace/theme/twilight");
546
+ textarea.closest('form').submit(function() {
547
+ textarea.val(editor.getSession().getValue());
548
+ })
549
+
550
+ });
551
+
552
+ });
553
+
554
+ }
555
+
556
+ });
557
+
558
+
559
+
js/wplc_u_admin_chat.js CHANGED
@@ -1,525 +1,529 @@
1
- var wplc_ajaxurl = wplc_ajaxurl;
2
- var chat_status = 3;
3
- var cid = wplc_cid;
4
- var wplc_poll_delay = 1500;
5
-
6
- var wplc_server = null;
7
-
8
- wplc_server = new WPLCServer();
9
-
10
- var wplc_server_last_loop_data = null;
11
-
12
- function wplc_admin_message_receiver(data){
13
- if(typeof wplc_loop_response_handler !== "undefined" && typeof wplc_loop_response_handler === "function"){
14
- wplc_loop_response_handler(data);
15
-
16
- data = JSON.parse(data);
17
- if(data.keep_alive === true){
18
- setTimeout(function(){
19
- wplc_call_to_server_admin_chat(wplc_server_last_loop_data);
20
- },100);
21
- }
22
- }
23
- }
24
-
25
- function wplc_admin_retry_handler(data){
26
- wplc_retry_interval = setTimeout(function(){
27
- wplc_server.prepareTransport(function(){
28
- wplc_call_to_server_admin_chat(wplc_server_last_loop_data);
29
- }, wplc_admin_message_receiver, wplc_admin_retry_handler, wplc_display_error);
30
- },500);
31
- }
32
-
33
- if (typeof wplc_action2 !== "undefined" && wplc_action2 !== "") {
34
-
35
- var data = {
36
- action: 'wplc_admin_long_poll_chat',
37
- security: wplc_ajax_nonce,
38
- cid: cid,
39
- chat_status: chat_status,
40
- action_2: wplc_action2,
41
- wplc_extra_data: wplc_extra_data
42
- };
43
- } else {
44
- var data = {
45
- action: 'wplc_admin_long_poll_chat',
46
- security: wplc_ajax_nonce,
47
- cid: cid,
48
- chat_status: chat_status,
49
- wplc_extra_data: wplc_extra_data
50
- };
51
-
52
- }
53
- var wplc_run = true;
54
- var wplc_had_error = false;
55
- var wplc_display_name = wplc_name;
56
- var wplc_enable_ding = wplc_enable_ding;
57
- var wplc_user_email_address = wplc_user_email;
58
-
59
- jQuery(document).ready(function(){
60
- //Parse existing data
61
- if(typeof niftyFormatParser !== "undefined"){
62
- var htmlToParse = jQuery(".admin_chat_box_inner").html();
63
- jQuery(".admin_chat_box_inner").html(niftyFormatParser(htmlToParse));
64
- }
65
-
66
- });
67
-
68
- function wplc_call_to_server_admin_chat(data) {
69
- if(typeof wplc_admin_agent_name !== "undefined"){
70
- data.msg_from_print = wplc_admin_agent_name;
71
- }
72
-
73
- wplc_server_last_loop_data = data;
74
-
75
- wplc_server.send(wplc_ajaxurl, data, "POST", 120000,
76
- function (response) {
77
- wplc_poll_delay = 1500;
78
- wplc_loop_response_handler(response);
79
- },
80
- function (jqXHR, exception) {
81
- wplc_poll_delay = 5000;
82
- if (jqXHR.status == 404) {
83
- wplc_display_error('Error: Page not found [404]');
84
- wplc_run = false;
85
- } else if (jqXHR.status == 500) {
86
- wplc_display_error('Error: Internal server error [500]');
87
- wplc_display_error('Retrying in 5 seconds...');
88
- wplc_run = true;
89
- } else if (exception === 'parsererror') {
90
- wplc_display_error('Error: JSON error');
91
- wplc_run = false;
92
- } else if (exception === 'abort') {
93
- wplc_display_error('Error: Ajax request aborted');
94
- wplc_run = false;
95
- } else {
96
- wplc_display_error('Error: Uncaught Error' + jqXHR.responseText);
97
- wplc_display_error('Retrying in 5 seconds...');
98
- wplc_run = true;
99
- }
100
- },
101
- function (response) {
102
- if (wplc_run) {
103
- setTimeout(function () {
104
- wplc_call_to_server_admin_chat(data);
105
- }, wplc_poll_delay);
106
- }
107
- }
108
- );
109
- }
110
-
111
- function wplc_loop_response_handler(response){
112
- if (response) {
113
- if (response === "0") { if (window.console) { console.log('WP Live Chat Support Return Error'); } wplc_run = false; return; }
114
-
115
- response = JSON.parse(response);
116
-
117
-
118
- jQuery.event.trigger({type: "wplc_admin_chat_loop",response:response});
119
-
120
-
121
- if (response['action'] === "wplc_ma_agant_already_answered") {
122
- jQuery(".end_chat_div").empty();
123
- jQuery('#admin_chat_box').empty().append("<h2>This chat has already been answered. Please close the chat window</h2>");
124
- wplc_run = false;
125
- }
126
-
127
- if (response['action'] === "wplc_update_chat_status") {
128
- data['chat_status'] = response['chat_status'];
129
- wplc_display_chat_status_update(response['chat_status'], cid);
130
- }
131
- if (response['action'] === "wplc_new_chat_message") {
132
- jQuery("#wplc_user_typing").fadeOut("slow").remove();
133
- current_len = jQuery("#admin_chat_box_area_" + cid).html().length;
134
- if(typeof niftyFormatParser !== "undefined"){
135
- jQuery("#admin_chat_box_area_" + cid).append(niftyFormatParser(response['chat_message']));
136
- }else{
137
- jQuery("#admin_chat_box_area_" + cid).append(response['chat_message']);
138
- }
139
- new_length = jQuery("#admin_chat_box_area_" + cid).html().length;
140
- if (current_len < new_length) {
141
- if (typeof wplc_enable_ding !== 'undefined' && wplc_enable_ding === "1") {
142
- new Audio(wplc_ding_file).play()
143
- }
144
- }
145
- var height = jQuery('#admin_chat_box_area_' + cid)[0].scrollHeight;
146
- jQuery('#admin_chat_box_area_' + cid).scrollTop(height);
147
-
148
- }
149
- if (response['action'] === "wplc_user_open_chat") {
150
- data['action_2'] = "";
151
- window.location.replace(wplc_url);
152
- }
153
-
154
- if (typeof response['data'] === "object") {
155
- for (var index in response['data']) {
156
- if(typeof response['data'][index] === "object"){
157
- var the_message = response['data'][index];
158
-
159
- if(typeof the_message.originates !== "undefined"){
160
- var message_class = "";
161
- var grav_hash = "";
162
- var message_grav = "";
163
- var message_from = "";
164
- var message_content = "";
165
- if(parseInt(the_message.originates) === 1){
166
- //From Admin
167
- message_class = "wplc-admin-message wplc-color-bg-4 wplc-color-2 wplc-color-border-4";
168
- message_grav = "<img src='//www.gravatar.com/avatar/MD5_this_section_with_email?s=30' class='wplc-admin-message-avatar' />";
169
- message_from = "";
170
- message_content = the_message.msg.wplcStripSlashes();
171
- } else if (parseInt(the_message.originates) === 3){
172
- //System Notification
173
- message_class = "wplc_system_notification wplc-color-4";
174
- message_content = the_message.msg;
175
- } else {
176
- message_class = "wplc-user-message wplc-color-bg-1 wplc-color-2 wplc-color-border-1";
177
- // message_grav = md5(wplc_email);
178
- message_grav = "<img src='//www.gravatar.com/avatar/" + message_grav + "?s=30' class='wplc-admin-message-avatar' />";
179
- message_from = (typeof wplc_chat_name !== "undefined" ? wplc_chat_name : "Unknown");
180
- message_content = the_message.msg;
181
- }
182
-
183
- if(message_content !== ""){
184
- var concatenated_message = "<span class='" + message_class + "'>";
185
- // concatenated_message += message_grav;
186
- // concatenated_message += message_from;
187
- concatenated_message += message_content;
188
- concatenated_message += "</span>";
189
-
190
- if(typeof niftyFormatParser !== "undefined"){
191
- jQuery("#admin_chat_box_area_" + cid).append(niftyFormatParser(concatenated_message));
192
- } else{
193
- jQuery("#admin_chat_box_area_" + cid).append(concatenated_message);
194
- }
195
-
196
- var height = jQuery('#admin_chat_box_area_' + cid)[0].scrollHeight;
197
- jQuery('#admin_chat_box_area_' + cid).scrollTop(height);
198
- }
199
- }
200
- }
201
- }
202
- }
203
- }
204
- }
205
-
206
- function wplc_display_error(error) {
207
- if (window.console) { console.log(error); }
208
-
209
- jQuery("#admin_chat_box_area_" + cid).append("<small>" + error + "</small><br>");
210
- var height = jQuery('#admin_chat_box_area_' + cid)[0].scrollHeight;
211
- jQuery('#admin_chat_box_area_' + cid).scrollTop(height);
212
- }
213
-
214
- function wplc_display_chat_status_update(new_chat_status, cid) {
215
- if (new_chat_status === "0") {
216
- } else {
217
- if (chat_status !== new_chat_status) {
218
- previous_chat_status = chat_status;
219
- chat_status = new_chat_status;
220
-
221
- if ((previous_chat_status === "2" && chat_status === "3") || (previous_chat_status === "5" && chat_status === "3")) {
222
- jQuery("#admin_chat_box_area_" + cid).append("<em>"+wplc_string1+"</em><br />");
223
- var height = jQuery('#admin_chat_box_area_' + cid)[0].scrollHeight;
224
- jQuery('#admin_chat_box_area_' + cid).scrollTop(height);
225
-
226
- } else if (chat_status == "10" && previous_chat_status == "3") {
227
- jQuery("#admin_chat_box_area_" + cid).append("<em>"+wplc_string2+"</em><br />");
228
- var height = jQuery('#admin_chat_box_area_' + cid)[0].scrollHeight;
229
- jQuery('#admin_chat_box_area_' + cid).scrollTop(height);
230
- }
231
- else if (chat_status === "3" && previous_chat_status === "10") {
232
- jQuery("#admin_chat_box_area_" + cid).append("<em>"+wplc_string3+"</em><br />");
233
- var height = jQuery('#admin_chat_box_area_' + cid)[0].scrollHeight;
234
- jQuery('#admin_chat_box_area_' + cid).scrollTop(height);
235
- }
236
- else if (chat_status === "1" || chat_status === "8") {
237
- wplc_run = false;
238
- jQuery("#admin_chat_box_area_" + cid).append("<em>"+wplc_string4+"</em><br />");
239
- var height = jQuery('#admin_chat_box_area_' + cid)[0].scrollHeight;
240
- jQuery('#admin_chat_box_area_' + cid).scrollTop(height);
241
- document.getElementById('wplc_admin_chatmsg').disabled = true;
242
- jQuery(".admin_chat_box_inner_bottom").hide();
243
- jQuery(".admin_chat_quick_controls").hide();
244
- jQuery(".end_chat_div").hide();
245
- }
246
- }
247
- }
248
- }
249
-
250
-
251
- jQuery(document).ready(function () {
252
-
253
- var wplc_image = admin_pic;
254
-
255
- jQuery("#nifty_file_input").on("change", function(){
256
-
257
- var file = this.files[0]; //Last file in array
258
- niftyShareFile(file,'#nifty_attach_fail_icon', '#nifty_attach_success_icon', '#nifty_attach_uploading_icon', "#nifty_select_file");
259
-
260
- });
261
-
262
- jQuery("#wplc_admin_chatmsg").focus();
263
-
264
-
265
- wplc_server.prepareTransport(function(){
266
- wplc_call_to_server_admin_chat(data);
267
- }, wplc_admin_message_receiver, wplc_admin_retry_handler, wplc_display_error);
268
-
269
- if (typeof wplc_action2 !== "undefined" && wplc_action2 !== "") { return; }
270
-
271
- if (jQuery('#wplc_admin_cid').length) {
272
- var wplc_cid = jQuery("#wplc_admin_cid").val();
273
- var height = jQuery('#admin_chat_box_area_' + wplc_cid)[0].scrollHeight;
274
- jQuery('#admin_chat_box_area_' + wplc_cid).scrollTop(height);
275
- }
276
-
277
-
278
-
279
- jQuery(".wplc_admin_accept").on("click", function () {
280
- wplc_title_alerts3 = setTimeout(function () {
281
- document.title = "WP Live Chat Support";
282
- }, 2500);
283
- var cid = jQuery(this).attr("cid");
284
-
285
- var data = {
286
- action: 'wplc_admin_accept_chat',
287
- cid: cid,
288
- security: wplc_ajax_nonce
289
- };
290
- jQuery.post(wplc_ajaxurl, data, function (response) {
291
- wplc_refresh_chat_boxes[cid] = setInterval(function () {
292
- wpcl_admin_update_chat_box(cid);
293
- }, 3000);
294
- jQuery("#admin_chat_box_" + cid).show();
295
- });
296
- });
297
-
298
- jQuery("#wplc_admin_chatmsg").keyup(function (event) {
299
- if (event.keyCode == 13) {
300
- jQuery("#wplc_admin_send_msg").click();
301
- }
302
- });
303
-
304
- jQuery("#wplc_admin_close_chat").on("click", function () {
305
- var wplc_cid = jQuery("#wplc_admin_cid").val();
306
- var data = {
307
- action: 'wplc_admin_close_chat',
308
- security: wplc_ajax_nonce,
309
- cid: wplc_cid,
310
- wplc_extra_data: wplc_extra_data
311
-
312
- };
313
- jQuery.post(wplc_ajaxurl, data, function (response) {
314
-
315
- window.close();
316
- });
317
-
318
- });
319
-
320
- function wplc_strip(str) {
321
- str=str.replace(/<br>/gi, "\n");
322
- str=str.replace(/<p.*>/gi, "\n");
323
- str=str.replace(/<a.*href="(.*?)".*>(.*?)<\/a>/gi, " $2 ($1) ");
324
- str=str.replace(/<(?:.|\s)*?>/g, "");
325
-
326
- str=str.replace('iframe', "");
327
- str=str.replace('src', "");
328
- str=str.replace('href', "");
329
- str=str.replace('<', "");
330
- str=str.replace('>', "");
331
-
332
- return str;
333
- }
334
-
335
- jQuery("#wplc_admin_send_msg").on("click", function () {
336
- var wplc_cid = jQuery("#wplc_admin_cid").val();
337
- var wplc_chat = wplc_strip(document.getElementById('wplc_admin_chatmsg').value);
338
- var wplc_name = "a" + "d" + "m" + "i" + "n";
339
-
340
- if(typeof wplc_name_override !== "undefined"){
341
- wplc_name = "<strong>"+wplc_name_override+": </strong>";
342
- } else if( typeof wplc_show_chat_detail.name !== 'undefined' ) {
343
- wplc_name = "<strong>"+wplc_show_chat_detail.name+": </strong>";
344
- } else {
345
- wplc_name = wplc_name;
346
- }
347
-
348
- jQuery("#wplc_admin_chatmsg").val('');
349
-
350
- if(wplc_chat !== ""){
351
- var wplc_chat_contents = "";
352
- var wplc_gravatar_image = "";
353
- var the_name = "";
354
- /*Nifty Format Parser*/
355
- var wplc_chat_parsed = wplc_chat;
356
- if(typeof niftyFormatParser !== "undefined"){
357
- //PRO
358
- wplc_chat_parsed = niftyFormatParser(wplc_chat_parsed);
359
- }
360
- if( typeof wplc_show_chat_detail !== 'undefined' ){
361
- if( wplc_name !== ""){
362
- /**
363
- * Show the name
364
- */
365
- var the_name = "<strong>"+wplc_name +"</strong>";
366
- if( typeof wplc_show_chat_detail.avatar !== 'undefined' && wplc_show_chat_detail.avatar != '' ){
367
- /**
368
- * Show the avatar
369
- */
370
- wplc_gravatar_image = wplc_show_chat_detail.avatar;
371
- } else {
372
- /**
373
- * Don't show the avatar
374
- */
375
-
376
- }
377
- } else {
378
- /**
379
- * Don't show the name
380
- */
381
- var the_name = "";
382
- if( typeof wplc_show_chat_detail.avatar !== 'undefined' && wplc_show_chat_detail.avatar != '' ){
383
- /**
384
- * Show the avatar
385
- */
386
- wplc_gravatar_image = wplc_show_chat_detail.avatar;
387
- } else {
388
- /**
389
- * Don't show the avatar
390
- */
391
-
392
- }
393
- }
394
-
395
- wplc_chat_contents = wplc_gravatar_image + the_name + wplc_chat_parsed
396
-
397
- jQuery("#admin_chat_box_area_" + wplc_cid).append("<span class='wplc-admin-message wplc-color-bg-4 wplc-color-2 wplc-color-border-4'>" + wplc_chat_contents + "</span><br /><div class='wplc-clear-float-message'></div>");
398
-
399
- } else {
400
-
401
- wplc_chat_contents = wplc_chat_parsed;
402
-
403
- jQuery("#admin_chat_box_area_" + wplc_cid).append("<span class='wplc-admin-message wplc-color-bg-4 wplc-color-2 wplc-color-border-4'>" + wplc_chat_parsed + "</span><br /><div class='wplc-clear-float-message'></div>");
404
- }
405
-
406
- var height = jQuery('#admin_chat_box_area_' + wplc_cid)[0].scrollHeight;
407
-
408
- jQuery('#admin_chat_box_area_' + wplc_cid).scrollTop(height);
409
-
410
- var data = {
411
- action: 'wplc_admin_send_msg',
412
- security: wplc_ajax_nonce,
413
- cid: wplc_cid,
414
- msg: wplc_chat_contents,
415
- wplc_extra_data:wplc_extra_data
416
- };
417
-
418
- if(typeof wplc_admin_agent_name !== "undefined"){
419
- data.msg_from_print = wplc_admin_agent_name;
420
- }
421
-
422
- wplc_server.sendMessage(wplc_ajaxurl, data, "POST", 120000,
423
- function(){
424
- //Success
425
- wplc_server.asyncStorage(wplc_ajaxurl, data, 120000);
426
- }, function(){
427
- //Fail
428
- }, function(){
429
- //Complete
430
- }
431
- );
432
- }
433
-
434
- });
435
-
436
-
437
-
438
-
439
-
440
-
441
-
442
- });
443
-
444
- /* Handles Uploading and sharing a file within chat*/
445
- function niftyShareFile(fileToUpload, failedID, successID, uploadingID, originalID){
446
- var formData = new FormData();
447
-
448
- formData.append('action', 'wplc_upload_file');
449
- formData.append('cid', cid);
450
- formData.append('file', fileToUpload);
451
- formData.append('timestamp', Date.now());
452
- formData.append('security', wplc_ajax_nonce );
453
-
454
- /*Handle jQuery Elements*/
455
- jQuery(uploadingID).show();
456
- jQuery(originalID).hide();
457
- jQuery(successID).hide();
458
- jQuery(failedID).hide();
459
-
460
- if(fileToUpload.name.indexOf(".php") === -1 && fileToUpload.name.indexOf(".html") === -1 && fileToUpload.name.indexOf(".asp") === -1){
461
- //Files allowed - continue
462
- if(fileToUpload.size < 4000000){ //Max size of 4MB
463
- jQuery.ajax({
464
- url : wplc_home_ajaxurl,
465
- type : 'POST',
466
- data : formData,
467
- cache: false,
468
- processData: false,
469
- contentType: false,
470
- success : function(data) {
471
- if(parseInt(data) !== 0){
472
- jQuery(uploadingID).hide();
473
- jQuery(successID).show();
474
- setTimeout(function(){
475
- jQuery(successID).hide();
476
- jQuery(originalID).show();
477
- }, 2000);
478
-
479
- //All good post the link to file
480
- var tag = (data.indexOf(".png") !== -1 || data.indexOf(".PNG") !== -1 || data.indexOf(".jpg") !== -1 || data.indexOf(".JPG") !== -1 || data.indexOf(".jpeg") !== -1 || data.indexOf(".gif") !== -1 || data.indexOf(".bmp")!== -1 ) ? "img" : "link";
481
-
482
- if(tag !== "img"){
483
- tag = (data.indexOf(".mp4") !== -1 || data.indexOf(".mpeg4") !== -1 || data.indexOf(".webm") !== -1 || data.indexOf(".oog") !== -1 ) ? "vid" : "link"; //video now
484
- }
485
- jQuery("#wplc_admin_chatmsg").val(tag + ":" + data + ":" + tag); //Add to input field
486
- jQuery("#wplc_admin_send_msg").trigger("click"); //Send message
487
- }
488
- else{
489
- jQuery(uploadingID).hide();
490
- jQuery(failedID).show();
491
- setTimeout(function(){
492
- jQuery(failedID).hide();
493
- jQuery(originalID).show();
494
- }, 2000);
495
-
496
- }
497
- },
498
- error : function (){
499
- jQuery(uploadingID).hide();
500
- jQuery(failedID).show();
501
- setTimeout(function(){
502
- jQuery(failedID).hide();
503
- jQuery(originalID).show();
504
- }, 2000);
505
- }
506
- });
507
- }else{
508
- alert("File limit is 4mb");
509
- jQuery(uploadingID).hide();
510
- jQuery(failedID).show();
511
- setTimeout(function(){
512
- jQuery(failedID).hide();
513
- jQuery(originalID).show();
514
- }, 2000);
515
- }
516
- } else{
517
- alert("File type not supported");
518
- jQuery(uploadingID).hide();
519
- jQuery(failedID).show();
520
- setTimeout(function(){
521
- jQuery(failedID).hide();
522
- jQuery(originalID).show();
523
- }, 2000);
524
- }
 
 
 
 
525
  }
1
+ var wplc_ajaxurl = wplc_ajaxurl;
2
+ var chat_status = 3;
3
+ var cid = wplc_cid;
4
+ var wplc_poll_delay = 1500;
5
+
6
+ var wplc_server = null;
7
+
8
+ wplc_server = new WPLCServer();
9
+
10
+ var wplc_server_last_loop_data = null;
11
+
12
+ function wplc_admin_message_receiver(data){
13
+ if(typeof wplc_loop_response_handler !== "undefined" && typeof wplc_loop_response_handler === "function"){
14
+ wplc_loop_response_handler(data);
15
+
16
+ data = JSON.parse(data);
17
+ if(data.keep_alive === true){
18
+ setTimeout(function(){
19
+ wplc_call_to_server_admin_chat(wplc_server_last_loop_data);
20
+ },100);
21
+ }
22
+ }
23
+ }
24
+
25
+ function wplc_admin_retry_handler(data){
26
+ wplc_retry_interval = setTimeout(function(){
27
+ wplc_server.prepareTransport(function(){
28
+ wplc_call_to_server_admin_chat(wplc_server_last_loop_data);
29
+ }, wplc_admin_message_receiver, wplc_admin_retry_handler, wplc_display_error);
30
+ },500);
31
+ }
32
+
33
+ if (typeof wplc_action2 !== "undefined" && wplc_action2 !== "") {
34
+
35
+ var data = {
36
+ action: 'wplc_admin_long_poll_chat',
37
+ security: wplc_ajax_nonce,
38
+ cid: cid,
39
+ chat_status: chat_status,
40
+ action_2: wplc_action2,
41
+ wplc_extra_data: wplc_extra_data
42
+ };
43
+ } else {
44
+ var data = {
45
+ action: 'wplc_admin_long_poll_chat',
46
+ security: wplc_ajax_nonce,
47
+ cid: cid,
48
+ chat_status: chat_status,
49
+ wplc_extra_data: wplc_extra_data
50
+ };
51
+
52
+ }
53
+ var wplc_run = true;
54
+ var wplc_had_error = false;
55
+ var wplc_display_name = wplc_name;
56
+ var wplc_enable_ding = wplc_enable_ding;
57
+ var wplc_user_email_address = wplc_user_email;
58
+
59
+ jQuery(document).ready(function(){
60
+ //Parse existing data
61
+ if(typeof niftyFormatParser !== "undefined"){
62
+ var htmlToParse = jQuery(".admin_chat_box_inner").html();
63
+ jQuery(".admin_chat_box_inner").html(niftyFormatParser(htmlToParse));
64
+ }
65
+
66
+ });
67
+
68
+ function wplc_call_to_server_admin_chat(data) {
69
+ if(typeof wplc_admin_agent_name !== "undefined"){
70
+ data.msg_from_print = wplc_admin_agent_name;
71
+ }
72
+
73
+ wplc_server_last_loop_data = data;
74
+
75
+ wplc_server.send(wplc_ajaxurl, data, "POST", 120000,
76
+ function (response) {
77
+ wplc_poll_delay = 1500;
78
+ wplc_loop_response_handler(response);
79
+ },
80
+ function (jqXHR, exception) {
81
+ wplc_poll_delay = 5000;
82
+ if (jqXHR.status == 404) {
83
+ wplc_display_error('Error: Page not found [404]');
84
+ wplc_run = false;
85
+ } else if (jqXHR.status == 500) {
86
+ wplc_display_error('Error: Internal server error [500]');
87
+ wplc_display_error('Retrying in 5 seconds...');
88
+ wplc_run = true;
89
+ } else if (exception === 'parsererror') {
90
+ wplc_display_error('Error: JSON error');
91
+ wplc_run = false;
92
+ } else if (exception === 'abort') {
93
+ wplc_display_error('Error: Ajax request aborted');
94
+ wplc_run = false;
95
+ } else {
96
+ wplc_display_error('Error: Uncaught Error' + jqXHR.responseText);
97
+ wplc_display_error('Retrying in 5 seconds...');
98
+ wplc_run = true;
99
+ }
100
+ },
101
+ function (response) {
102
+ if (wplc_run) {
103
+ setTimeout(function () {
104
+ wplc_call_to_server_admin_chat(data);
105
+ }, wplc_poll_delay);
106
+ }
107
+ }
108
+ );
109
+ }
110
+
111
+ function wplc_loop_response_handler(response){
112
+ if (response) {
113
+ if (response === "0") { if (window.console) { console.log('WP Live Chat Support Return Error'); } wplc_run = false; return; }
114
+
115
+ response = JSON.parse(response);
116
+
117
+
118
+ jQuery.event.trigger({type: "wplc_admin_chat_loop",response:response});
119
+
120
+
121
+ if (response['action'] === "wplc_ma_agant_already_answered") {
122
+ jQuery(".end_chat_div").empty();
123
+ jQuery('#admin_chat_box').empty().append("<h2>This chat has already been answered. Please close the chat window</h2>");
124
+ wplc_run = false;
125
+ }
126
+
127
+ if (response['action'] === "wplc_update_chat_status") {
128
+ data['chat_status'] = response['chat_status'];
129
+ wplc_display_chat_status_update(response['chat_status'], cid);
130
+ }
131
+ if (response['action'] === "wplc_new_chat_message") {
132
+ jQuery("#wplc_user_typing").fadeOut("slow").remove();
133
+ current_len = jQuery("#admin_chat_box_area_" + cid).html().length;
134
+ if(typeof niftyFormatParser !== "undefined"){
135
+ jQuery("#admin_chat_box_area_" + cid).append(niftyFormatParser(response['chat_message']));
136
+ }else{
137
+ jQuery("#admin_chat_box_area_" + cid).append(response['chat_message']);
138
+ }
139
+ new_length = jQuery("#admin_chat_box_area_" + cid).html().length;
140
+ if (current_len < new_length) {
141
+ if (typeof wplc_enable_ding !== 'undefined' && wplc_enable_ding === "1" && ! (/User is browsing <small/.test(response['chat_message']))) {
142
+ new Audio(wplc_ding_file).play()
143
+ }
144
+ }
145
+ var height = jQuery('#admin_chat_box_area_' + cid)[0].scrollHeight;
146
+ jQuery('#admin_chat_box_area_' + cid).scrollTop(height);
147
+
148
+ }
149
+ if (response['action'] === "wplc_user_open_chat") {
150
+ data['action_2'] = "";
151
+ window.location.replace(wplc_url);
152
+ }
153
+
154
+ if (typeof response['data'] === "object") {
155
+ for (var index in response['data']) {
156
+ if(typeof response['data'][index] === "object"){
157
+ var the_message = response['data'][index];
158
+
159
+ if(typeof the_message.originates !== "undefined"){
160
+ var message_class = "";
161
+ var grav_hash = "";
162
+ var message_grav = "";
163
+ var message_from = "";
164
+ var message_content = "";
165
+ if(parseInt(the_message.originates) === 1){
166
+ //From Admin
167
+ message_class = "wplc-admin-message wplc-color-bg-4 wplc-color-2 wplc-color-border-4";
168
+ message_grav = "<img src='//www.gravatar.com/avatar/MD5_this_section_with_email?s=30' class='wplc-admin-message-avatar' />";
169
+ message_from = "";
170
+ message_content = the_message.msg.wplcStripSlashes();
171
+ } else if (parseInt(the_message.originates) === 3){
172
+ //System Notification
173
+ message_class = "wplc_system_notification wplc-color-4";
174
+ message_content = the_message.msg;
175
+ } else {
176
+ message_class = "wplc-user-message wplc-color-bg-1 wplc-color-2 wplc-color-border-1";
177
+ // message_grav = md5(wplc_email);
178
+ message_grav = "<img src='//www.gravatar.com/avatar/" + message_grav + "?s=30' class='wplc-admin-message-avatar' />";
179
+ message_from = (typeof wplc_chat_name !== "undefined" ? wplc_chat_name : "Unknown");
180
+ message_content = the_message.msg;
181
+ }
182
+
183
+ if(message_content !== ""){
184
+ var concatenated_message = "<span class='" + message_class + "'>";
185
+ // concatenated_message += message_grav;
186
+ // concatenated_message += message_from;
187
+ concatenated_message += message_content;
188
+ concatenated_message += "</span>";
189
+
190
+ if(typeof niftyFormatParser !== "undefined"){
191
+ jQuery("#admin_chat_box_area_" + cid).append(niftyFormatParser(concatenated_message));
192
+ } else{
193
+ jQuery("#admin_chat_box_area_" + cid).append(concatenated_message);
194
+ }
195
+
196
+ var height = jQuery('#admin_chat_box_area_' + cid)[0].scrollHeight;
197
+ jQuery('#admin_chat_box_area_' + cid).scrollTop(height);
198
+ }
199
+ }
200
+ }
201
+ }
202
+ }
203
+ }
204
+ }
205
+
206
+ function wplc_display_error(error) {
207
+ if (window.console) { console.log(error); }
208
+
209
+ jQuery("#admin_chat_box_area_" + cid).append("<small>" + error + "</small><br>");
210
+ var height = jQuery('#admin_chat_box_area_' + cid)[0].scrollHeight;
211
+ jQuery('#admin_chat_box_area_' + cid).scrollTop(height);
212
+ }
213
+
214
+ function wplc_display_chat_status_update(new_chat_status, cid) {
215
+ if (new_chat_status === "0") {
216
+ } else {
217
+ if (chat_status !== new_chat_status) {
218
+ previous_chat_status = chat_status;
219
+ chat_status = new_chat_status;
220
+
221
+ if ((previous_chat_status === "2" && chat_status === "3") || (previous_chat_status === "5" && chat_status === "3")) {
222
+ jQuery("#admin_chat_box_area_" + cid).append("<em>"+wplc_string1+"</em><br />");
223
+ var height = jQuery('#admin_chat_box_area_' + cid)[0].scrollHeight;
224
+ jQuery('#admin_chat_box_area_' + cid).scrollTop(height);
225
+
226
+ } else if (chat_status == "10" && previous_chat_status == "3") {
227
+ jQuery("#admin_chat_box_area_" + cid).append("<em>"+wplc_string2+"</em><br />");
228
+ var height = jQuery('#admin_chat_box_area_' + cid)[0].scrollHeight;
229
+ jQuery('#admin_chat_box_area_' + cid).scrollTop(height);
230
+ }
231
+ else if (chat_status === "3" && previous_chat_status === "10") {
232
+ jQuery("#admin_chat_box_area_" + cid).append("<em>"+wplc_string3+"</em><br />");
233
+ var height = jQuery('#admin_chat_box_area_' + cid)[0].scrollHeight;
234
+ jQuery('#admin_chat_box_area_' + cid).scrollTop(height);
235
+ }
236
+ else if (chat_status === "1" || chat_status === "8") {
237
+ wplc_run = false;
238
+ jQuery("#admin_chat_box_area_" + cid).append("<em>"+wplc_string4+"</em><br />");
239
+ var height = jQuery('#admin_chat_box_area_' + cid)[0].scrollHeight;
240
+ jQuery('#admin_chat_box_area_' + cid).scrollTop(height);
241
+ document.getElementById('wplc_admin_chatmsg').disabled = true;
242
+ jQuery(".admin_chat_box_inner_bottom").hide();
243
+ jQuery(".admin_chat_quick_controls").hide();
244
+ jQuery(".end_chat_div").hide();
245
+ }
246
+ }
247
+ }
248
+ }
249
+
250
+
251
+ jQuery(document).ready(function () {
252
+
253
+ var wplc_image = admin_pic;
254
+
255
+ jQuery("#nifty_file_input").on("change", function(){
256
+
257
+ var file = this.files[0]; //Last file in array
258
+ niftyShareFile(file,'#nifty_attach_fail_icon', '#nifty_attach_success_icon', '#nifty_attach_uploading_icon', "#nifty_select_file");
259
+
260
+ });
261
+
262
+ jQuery("#wplc_admin_chatmsg").focus();
263
+
264
+
265
+ wplc_server.prepareTransport(function(){
266
+ wplc_call_to_server_admin_chat(data);
267
+ }, wplc_admin_message_receiver, wplc_admin_retry_handler, wplc_display_error);
268
+
269
+ if (typeof wplc_action2 !== "undefined" && wplc_action2 !== "") { return; }
270
+
271
+ if (jQuery('#wplc_admin_cid').length) {
272
+ var wplc_cid = jQuery("#wplc_admin_cid").val();
273
+ var height = jQuery('#admin_chat_box_area_' + wplc_cid)[0].scrollHeight;
274
+ jQuery('#admin_chat_box_area_' + wplc_cid).scrollTop(height);
275
+ }
276
+
277
+
278
+
279
+ jQuery(".wplc_admin_accept").on("click", function () {
280
+ wplc_title_alerts3 = setTimeout(function () {
281
+ document.title = "WP Live Chat Support";
282
+ }, 2500);
283
+ var cid = jQuery(this).attr("cid");
284
+
285
+ var data = {
286
+ action: 'wplc_admin_accept_chat',
287
+ cid: cid,
288
+ security: wplc_ajax_nonce
289
+ };
290
+ jQuery.post(wplc_ajaxurl, data, function (response) {
291
+ wplc_refresh_chat_boxes[cid] = setInterval(function () {
292
+ wpcl_admin_update_chat_box(cid);
293
+ }, 3000);
294
+ jQuery("#admin_chat_box_" + cid).show();
295
+ });
296
+ });
297
+
298
+ jQuery("#wplc_admin_chatmsg").keyup(function (event) {
299
+ if (event.keyCode == 13) {
300
+ jQuery("#wplc_admin_send_msg").click();
301
+ }
302
+ });
303
+
304
+ jQuery("#wplc_admin_close_chat").on("click", function () {
305
+ var wplc_cid = jQuery("#wplc_admin_cid").val();
306
+ var data = {
307
+ action: 'wplc_admin_close_chat',
308
+ security: wplc_ajax_nonce,
309
+ cid: wplc_cid,
310
+ wplc_extra_data: wplc_extra_data
311
+
312
+ };
313
+ jQuery.post(wplc_ajaxurl, data, function (response) {
314
+
315
+ window.close();
316
+ });
317
+
318
+ });
319
+
320
+ function wplc_strip(str) {
321
+ str=str.replace(/<br>/gi, "\n");
322
+ str=str.replace(/<p.*>/gi, "\n");
323
+ str=str.replace(/<a.*href="(.*?)".*>(.*?)<\/a>/gi, " $2 ($1) ");
324
+ str=str.replace(/<(?:.|\s)*?>/g, "");
325
+
326
+ str=str.replace('iframe', "");
327
+ str=str.replace('src', "");
328
+ str=str.replace('href', "");
329
+ str=str.replace('<', "");
330
+ str=str.replace('>', "");
331
+
332
+ return str;
333
+ }
334
+
335
+ jQuery("#wplc_admin_send_msg").on("click", function () {
336
+ var wplc_cid = jQuery("#wplc_admin_cid").val();
337
+ var wplc_chat = wplc_strip(document.getElementById('wplc_admin_chatmsg').value);
338
+ var wplc_name = "a" + "d" + "m" + "i" + "n";
339
+
340
+ if(typeof wplc_name_override !== "undefined" && wplc_name_override !== ""){
341
+ wplc_name = "<strong>"+wplc_name_override+": </strong>";
342
+ } else if( typeof wplc_show_chat_detail.name !== 'undefined') {
343
+ if(wplc_show_chat_detail.name !== ''){
344
+ wplc_name = "<strong>"+wplc_show_chat_detail.name+": </strong>";
345
+ } else {
346
+ wplc_name = "";
347
+ }
348
+ } else {
349
+ wplc_name = wplc_name;
350
+ }
351
+
352
+ jQuery("#wplc_admin_chatmsg").val('');
353
+
354
+ if(wplc_chat !== ""){
355
+ var wplc_chat_contents = "";
356
+ var wplc_gravatar_image = "";
357
+ var the_name = "";
358
+ /*Nifty Format Parser*/
359
+ var wplc_chat_parsed = wplc_chat;
360
+ if(typeof niftyFormatParser !== "undefined"){
361
+ //PRO
362
+ wplc_chat_parsed = niftyFormatParser(wplc_chat_parsed);
363
+ }
364
+ if( typeof wplc_show_chat_detail !== 'undefined' ){
365
+ if( wplc_name !== ""){
366
+ /**
367
+ * Show the name
368
+ */
369
+ var the_name = "<strong>"+wplc_name +"</strong>";
370
+ if( typeof wplc_show_chat_detail.avatar !== 'undefined' && wplc_show_chat_detail.avatar != '' ){
371
+ /**
372
+ * Show the avatar
373
+ */
374
+ wplc_gravatar_image = wplc_show_chat_detail.avatar;
375
+ } else {
376
+ /**
377
+ * Don't show the avatar
378
+ */
379
+
380
+ }
381
+ } else {
382
+ /**
383
+ * Don't show the name
384
+ */
385
+ var the_name = "";
386
+ if( typeof wplc_show_chat_detail.avatar !== 'undefined' && wplc_show_chat_detail.avatar != '' ){
387
+ /**
388
+ * Show the avatar
389
+ */
390
+ wplc_gravatar_image = wplc_show_chat_detail.avatar;
391
+ } else {
392
+ /**
393
+ * Don't show the avatar
394
+ */
395
+
396
+ }
397
+ }
398
+
399
+ wplc_chat_contents = wplc_gravatar_image + the_name + wplc_chat_parsed
400
+
401
+ jQuery("#admin_chat_box_area_" + wplc_cid).append("<span class='wplc-admin-message wplc-color-bg-4 wplc-color-2 wplc-color-border-4'>" + wplc_chat_contents + "</span><br /><div class='wplc-clear-float-message'></div>");
402
+
403
+ } else {
404
+
405
+ wplc_chat_contents = wplc_chat_parsed;
406
+
407
+ jQuery("#admin_chat_box_area_" + wplc_cid).append("<span class='wplc-admin-message wplc-color-bg-4 wplc-color-2 wplc-color-border-4'>" + wplc_chat_parsed + "</span><br /><div class='wplc-clear-float-message'></div>");
408
+ }
409
+
410
+ var height = jQuery('#admin_chat_box_area_' + wplc_cid)[0].scrollHeight;
411
+
412
+ jQuery('#admin_chat_box_area_' + wplc_cid).scrollTop(height);
413
+
414
+ var data = {
415
+ action: 'wplc_admin_send_msg',
416
+ security: wplc_ajax_nonce,
417
+ cid: wplc_cid,
418
+ msg: wplc_chat_contents,
419
+ wplc_extra_data:wplc_extra_data
420
+ };
421
+
422
+ if(typeof wplc_admin_agent_name !== "undefined"){
423
+ data.msg_from_print = wplc_admin_agent_name;
424
+ }
425
+
426
+ wplc_server.sendMessage(wplc_ajaxurl, data, "POST", 120000,
427
+ function(){
428
+ //Success
429
+ wplc_server.asyncStorage(wplc_ajaxurl, data, 120000);
430
+ }, function(){
431
+ //Fail
432
+ }, function(){
433
+ //Complete
434
+ }
435
+ );
436
+ }
437
+
438
+ });
439
+
440
+
441
+
442
+
443
+
444
+
445
+
446
+ });
447
+
448
+ /* Handles Uploading and sharing a file within chat*/
449
+ function niftyShareFile(fileToUpload, failedID, successID, uploadingID, originalID){
450
+ var formData = new FormData();
451
+
452
+ formData.append('action', 'wplc_upload_file');
453
+ formData.append('cid', cid);
454
+ formData.append('file', fileToUpload);
455
+ formData.append('timestamp', Date.now());
456
+ formData.append('security', wplc_ajax_nonce );
457
+
458
+ /*Handle jQuery Elements*/
459
+ jQuery(uploadingID).show();
460
+ jQuery(originalID).hide();
461
+ jQuery(successID).hide();
462
+ jQuery(failedID).hide();
463
+
464
+ if(fileToUpload.name.indexOf(".php") === -1 && fileToUpload.name.indexOf(".html") === -1 && fileToUpload.name.indexOf(".asp") === -1){
465
+ //Files allowed - continue
466
+ if(fileToUpload.size < 4000000){ //Max size of 4MB
467
+ jQuery.ajax({
468
+ url : wplc_home_ajaxurl,
469
+ type : 'POST',
470
+ data : formData,
471
+ cache: false,
472
+ processData: false,
473
+ contentType: false,
474
+ success : function(data) {
475
+ if(parseInt(data) !== 0){
476
+ jQuery(uploadingID).hide();
477
+ jQuery(successID).show();
478
+ setTimeout(function(){
479
+ jQuery(successID).hide();
480
+ jQuery(originalID).show();
481
+ }, 2000);
482
+
483
+ //All good post the link to file
484
+ var tag = (data.indexOf(".png") !== -1 || data.indexOf(".PNG") !== -1 || data.indexOf(".jpg") !== -1 || data.indexOf(".JPG") !== -1 || data.indexOf(".jpeg") !== -1 || data.indexOf(".gif") !== -1 || data.indexOf(".bmp")!== -1 ) ? "img" : "link";
485
+
486
+ if(tag !== "img"){
487
+ tag = (data.indexOf(".mp4") !== -1 || data.indexOf(".mpeg4") !== -1 || data.indexOf(".webm") !== -1 || data.indexOf(".oog") !== -1 ) ? "video" : "link"; //video now
488
+ }
489
+ jQuery("#wplc_admin_chatmsg").val(tag + ":" + data + ":" + tag); //Add to input field
490
+ jQuery("#wplc_admin_send_msg").trigger("click"); //Send message
491
+ }
492
+ else{
493
+ jQuery(uploadingID).hide();
494
+ jQuery(failedID).show();
495
+ setTimeout(function(){
496
+ jQuery(failedID).hide();
497
+ jQuery(originalID).show();
498
+ }, 2000);
499
+
500
+ }
501
+ },
502
+ error : function (){
503
+ jQuery(uploadingID).hide();
504
+ jQuery(failedID).show();
505
+ setTimeout(function(){
506
+ jQuery(failedID).hide();
507
+ jQuery(originalID).show();
508
+ }, 2000);
509
+ }
510
+ });
511
+ }else{
512
+ alert("File limit is 4mb");
513
+ jQuery(uploadingID).hide();
514
+ jQuery(failedID).show();
515
+ setTimeout(function(){
516
+ jQuery(failedID).hide();
517
+ jQuery(originalID).show();
518
+ }, 2000);
519
+ }
520
+ } else{
521
+ alert("File type not supported");
522
+ jQuery(uploadingID).hide();
523
+ jQuery(failedID).show();
524
+ setTimeout(function(){
525
+ jQuery(failedID).hide();
526
+ jQuery(originalID).show();
527
+ }, 2000);
528
+ }
529
  }
languages/wplivechat-cs_CZ.po CHANGED
@@ -1,3372 +1,3372 @@
1
- msgid ""
2
- msgstr ""
3
- "Project-Id-Version: WP Live Chat Support v4.1.9\n"
4
- "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2016-10-18 14:38+0200\n"
6
- "PO-Revision-Date: 2016-10-18 14:38+0200\n"
7
- "Last-Translator: admin <info@iLoveFoto.cz>\n"
8
- "Language-Team: \n"
9
- "Language: cs_CZ\n"
10
- "MIME-Version: 1.0\n"
11
- "Content-Type: text/plain; charset=UTF-8\n"
12
- "Content-Transfer-Encoding: 8bit\n"
13
- "Plural-Forms: nplurals=3; plural=n%100/10==1 ? 2 : n%10==1 ? 0 : (n"
14
- "+9)%10>3 ? 2 : 1;\n"
15
- "X-Generator: Poedit 1.8.10\n"
16
- "X-Poedit-SourceCharset: utf-8\n"
17
- "X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;"
18
- "_n_noop:1,2;_c,_nc:4c,1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2\n"
19
- "X-Poedit-Basepath: ../..\n"
20
- "X-Textdomain-Support: yes\n"
21
- "X-Poedit-SearchPath-0: wp-live-chat-support\n"
22
- "X-Poedit-SearchPath-1: wp-live-chat-support-cloud-server\n"
23
- "X-Poedit-SearchPath-2: wp-live-chat-support-mobile-and-desktop-app\n"
24
- "X-Poedit-SearchPath-3: wp-live-chat-support-pro\n"
25
-
26
- #: wp-live-chat-support-cloud-server/includes/update_control.php:43
27
- #: wp-live-chat-support-cloud-server/wp-live-chat-support-cloud-server.php:59
28
- #: wp-live-chat-support-cloud-server/wp-live-chat-support-cloud-server.php:371
29
- #: wp-live-chat-support-cloud-server/wp-live-chat-support-cloud-server.php:393
30
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:98
31
- #: wp-live-chat-support/wp-live-chat-support.php:3989
32
- msgid "Cloud Server"
33
- msgstr ""
34
-
35
- #: wp-live-chat-support-cloud-server/includes/update_control.php:118
36
- #: wp-live-chat-support/includes/update_control.class.php:122
37
- msgid ""
38
- "An Unexpected HTTP Error occurred during the API request.</p> <p><a href=\"?"
39
- "\" onclick=\"document.location.reload(); return false;\">Try again</a>"
40
- msgstr ""
41
-
42
- #: wp-live-chat-support-cloud-server/includes/update_control.php:123
43
- #: wp-live-chat-support/includes/update_control.class.php:127
44
- msgid "An unknown error occurred"
45
- msgstr ""
46
-
47
- #: wp-live-chat-support-cloud-server/wp-live-chat-support-cloud-server.php:73
48
- msgid "Chat functionality has been paused."
49
- msgstr ""
50
-
51
- #: wp-live-chat-support-cloud-server/wp-live-chat-support-cloud-server.php:74
52
- msgid ""
53
- "Please enter your verified API key in the <a href=\"admin.php?"
54
- "page=wplivechat-menu-api-keys-page\">API Keys page</a> to activate the cloud "
55
- "based functionality."
56
- msgstr ""
57
-
58
- #: wp-live-chat-support-cloud-server/wp-live-chat-support-cloud-server.php:90
59
- msgid "Are you sure you would like to delete chat history?"
60
- msgstr ""
61
-
62
- # @ wplivechat
63
- #: wp-live-chat-support-cloud-server/wp-live-chat-support-cloud-server.php:92
64
- #: wp-live-chat-support-cloud-server/wp-live-chat-support-cloud-server.php:108
65
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:135
66
- #: wp-live-chat-support/functions.php:1609
67
- #: wp-live-chat-support/includes/settings_page.php:97
68
- #: wp-live-chat-support/wp-live-chat-support.php:3049
69
- msgid "Yes"
70
- msgstr "Ano"
71
-
72
- # @ wplivechat
73
- #: wp-live-chat-support-cloud-server/wp-live-chat-support-cloud-server.php:93
74
- #: wp-live-chat-support-cloud-server/wp-live-chat-support-cloud-server.php:109
75
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:138
76
- #: wp-live-chat-support/functions.php:1609
77
- #: wp-live-chat-support/includes/settings_page.php:98
78
- #: wp-live-chat-support/wp-live-chat-support.php:3049
79
- msgid "No"
80
- msgstr "Ne"
81
-
82
- #: wp-live-chat-support-cloud-server/wp-live-chat-support-cloud-server.php:106
83
- msgid "Are you sure you would like to delete all missed chats?"
84
- msgstr ""
85
-
86
- #: wp-live-chat-support-cloud-server/wp-live-chat-support-cloud-server.php:374
87
- msgid ""
88
- "You are currently using our <strong>cloud server</strong> to handle your "
89
- "chat requests and live chat sessions.<br /><br />To disable this, please "
90
- "deactivate the WP Live Chat Support - Cloud Server plugin."
91
- msgstr ""
92
-
93
- #: wp-live-chat-support-mobile-and-desktop-app/wp-live-chat-support-mobile-and-desktop-app.php:47
94
- msgid "Mobile and Desktop App"
95
- msgstr ""
96
-
97
- #: wp-live-chat-support-mobile-and-desktop-app/wp-live-chat-support-mobile-and-desktop-app.php:99
98
- msgid "Mobile and Desktop App Settings"
99
- msgstr ""
100
-
101
- #: wp-live-chat-support-mobile-and-desktop-app/wp-live-chat-support-mobile-and-desktop-app.php:102
102
- msgid "Enable mobile and desktop app"
103
- msgstr ""
104
-
105
- #: wp-live-chat-support-mobile-and-desktop-app/wp-live-chat-support-mobile-and-desktop-app.php:124
106
- msgid "App"
107
- msgstr ""
108
-
109
- #: wp-live-chat-support-pro/ajax-pro.php:269
110
- msgid "Guest"
111
- msgstr ""
112
-
113
- # @ wplivechat
114
- #: wp-live-chat-support-pro/ajax-pro.php:341
115
- #: wp-live-chat-support/ajax_new.php:286
116
- msgid "Admin has closed and ended the chat"
117
- msgstr "Administrátor uzavřel a ukončil chat"
118
-
119
- # @ wplivechat
120
- #: wp-live-chat-support-pro/ajax-pro.php:376
121
- #: wp-live-chat-support/ajax_new.php:310
122
- msgid "There is No Answer. Please Try Again Later"
123
- msgstr "Zatím žádná odpověď. Prosím, zkuste to později."
124
-
125
- #: wp-live-chat-support-pro/functions-pro.php:54
126
- #: wp-live-chat-support-pro/functions-pro.php:173
127
- #: wp-live-chat-support-pro/functions-pro.php:325
128
- #: wp-live-chat-support/functions.php:294
129
- #: wp-live-chat-support/functions.php:486
130
- #: wp-live-chat-support/modules/api/wplc-api-functions.php:458
131
- #: wp-live-chat-support/wp-live-chat-support.php:2486
132
- msgid "IP Address not recorded"
133
- msgstr ""
134
-
135
- #: wp-live-chat-support-pro/functions-pro.php:56
136
- #: wp-live-chat-support-pro/functions-pro.php:175
137
- #: wp-live-chat-support-pro/functions-pro.php:327
138
- #: wp-live-chat-support/functions.php:296
139
- #: wp-live-chat-support/functions.php:488
140
- #: wp-live-chat-support/wp-live-chat-support.php:2488
141
- msgid "Whois for"
142
- msgstr ""
143
-
144
- # @ wplivechat
145
- #: wp-live-chat-support-pro/functions-pro.php:61
146
- #: wp-live-chat-support-pro/functions-pro.php:333
147
- #: wp-live-chat-support/functions.php:301
148
- #: wp-live-chat-support/functions.php:443
149
- #: wp-live-chat-support/functions.php:1359
150
- msgid "Accept Chat"
151
- msgstr "Přijmout chat"
152
-
153
- #: wp-live-chat-support-pro/functions-pro.php:63
154
- #: wp-live-chat-support-pro/functions-pro.php:335
155
- #: wp-live-chat-support/functions.php:303
156
- msgid "Incoming Chat"
157
- msgstr ""
158
-
159
- #: wp-live-chat-support-pro/functions-pro.php:63
160
- #: wp-live-chat-support-pro/functions-pro.php:335
161
- #: wp-live-chat-support/functions.php:303
162
- msgid "You have an incoming chat."
163
- msgstr ""
164
-
165
- # @ wplivechat
166
- #: wp-live-chat-support-pro/functions-pro.php:67
167
- #: wp-live-chat-support/functions.php:448
168
- #, fuzzy
169
- msgid "Open Chat"
170
- msgstr "Otevřít chat-ovací okno"
171
-
172
- # @ wplivechat
173
- #: wp-live-chat-support-pro/functions-pro.php:69
174
- #: wp-live-chat-support-pro/functions-pro.php:347
175
- #: wp-live-chat-support/functions.php:309
176
- #, fuzzy
177
- msgid "Chat Active"
178
- msgstr "Aktivní"
179
-
180
- #: wp-live-chat-support-pro/functions-pro.php:69
181
- #: wp-live-chat-support-pro/functions-pro.php:347
182
- #: wp-live-chat-support/functions.php:309
183
- msgid "This chat is active"
184
- msgstr ""
185
-
186
- # @ wplivechat
187
- #: wp-live-chat-support-pro/functions-pro.php:74
188
- #: wp-live-chat-support-pro/functions-pro.php:160
189
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:2349
190
- #: wp-live-chat-support/wp-live-chat-support.php:1691
191
- #, fuzzy
192
- msgid "Initiate Chat"
193
- msgstr "Začít diskusi"
194
-
195
- #: wp-live-chat-support-pro/functions-pro.php:76
196
- #: wp-live-chat-support-pro/functions-pro.php:162
197
- msgid "You must be a chat agent to initiate chats"
198
- msgstr ""
199
-
200
- #: wp-live-chat-support-pro/functions-pro.php:99
201
- #: wp-live-chat-support/functions.php:511
202
- #: wp-live-chat-support/modules/api/wplc-api-functions.php:474
203
- msgid "New"
204
- msgstr ""
205
-
206
- #: wp-live-chat-support-pro/functions-pro.php:101
207
- #: wp-live-chat-support/functions.php:513
208
- #: wp-live-chat-support/modules/api/wplc-api-functions.php:476
209
- msgid "Returning"
210
- msgstr ""
211
-
212
- #: wp-live-chat-support-pro/functions-pro.php:143
213
- msgid "Visitors on site"
214
- msgstr ""
215
-
216
- #: wp-live-chat-support-pro/functions-pro.php:207
217
- #: wp-live-chat-support-pro/functions-pro.php:377
218
- #: wp-live-chat-support/functions.php:332
219
- #: wp-live-chat-support/wp-live-chat-support.php:2523
220
- msgid "Site Info"
221
- msgstr ""
222
-
223
- # @ wplivechat
224
- #: wp-live-chat-support-pro/functions-pro.php:209
225
- #: wp-live-chat-support-pro/functions-pro.php:379
226
- #: wp-live-chat-support/functions.php:334
227
- #: wp-live-chat-support/wp-live-chat-support.php:2525
228
- #, fuzzy
229
- msgid "Chat initiated on:"
230
- msgstr "Upozornění na chat"
231
-
232
- #: wp-live-chat-support-pro/functions-pro.php:213
233
- #: wp-live-chat-support-pro/functions-pro.php:383
234
- #: wp-live-chat-support/functions.php:338
235
- #: wp-live-chat-support/wp-live-chat-support.php:2529
236
- msgid "Advanced Info"
237
- msgstr ""
238
-
239
- #: wp-live-chat-support-pro/functions-pro.php:215
240
- #: wp-live-chat-support-pro/functions-pro.php:385
241
- #: wp-live-chat-support/functions.php:340
242
- #: wp-live-chat-support/wp-live-chat-support.php:2531
243
- msgid "Browser:"
244
- msgstr ""
245
-
246
- # @ wplivechat
247
- #: wp-live-chat-support-pro/functions-pro.php:216
248
- #: wp-live-chat-support-pro/functions-pro.php:386
249
- #: wp-live-chat-support/functions.php:341
250
- #: wp-live-chat-support/wp-live-chat-support.php:2532
251
- #, fuzzy
252
- msgid "IP Address:"
253
- msgstr "Emailová adresa"
254
-
255
- #: wp-live-chat-support-pro/functions-pro.php:259
256
- msgid "No visitors on-line at the moment"
257
- msgstr ""
258
-
259
- # @ wplivechat
260
- #: wp-live-chat-support-pro/functions-pro.php:302
261
- #: wp-live-chat-support/functions.php:277
262
- msgid "No chat sessions available at the moment"
263
- msgstr "V tuto chvíli neprobíhá žádná diskuse"
264
-
265
- # @ wplivechat
266
- #: wp-live-chat-support-pro/functions-pro.php:304
267
- #: wp-live-chat-support/functions.php:279
268
- #, fuzzy
269
- msgid "Active Chats"
270
- msgstr "Live Chat"
271
-
272
- #: wp-live-chat-support-pro/functions-pro.php:339
273
- msgid "You must be a chat agent to answer chats"
274
- msgstr ""
275
-
276
- # @ wplivechat
277
- #: wp-live-chat-support-pro/functions-pro.php:345
278
- #: wp-live-chat-support/functions.php:307
279
- msgid "Open Chat Window"
280
- msgstr "Otevřít chat-ovací okno"
281
-
282
- #: wp-live-chat-support-pro/functions-pro.php:349
283
- msgid "Chat has been answered by another agent"
284
- msgstr ""
285
-
286
- #: wp-live-chat-support-pro/functions-pro.php:350
287
- msgid "Chat answered by another agent"
288
- msgstr ""
289
-
290
- #: wp-live-chat-support-pro/functions-pro.php:409
291
- #: wp-live-chat-support/functions.php:1205
292
- msgid "WP Live Chat Support - Offline Message from "
293
- msgstr ""
294
-
295
- # @ wplivechat
296
- #: wp-live-chat-support-pro/functions-pro.php:410
297
- #: wp-live-chat-support-pro/functions-pro.php:969
298
- #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:441
299
- #: wp-live-chat-support-pro/includes/wplc_roi.php:128
300
- #: wp-live-chat-support/functions.php:1206
301
- #: wp-live-chat-support/functions.php:1620
302
- #: wp-live-chat-support/includes/deprecated.php:192
303
- #: wp-live-chat-support/includes/deprecated.php:391
304
- #: wp-live-chat-support/includes/settings_page.php:256
305
- #: wp-live-chat-support/wp-live-chat-support.php:1372
306
- #: wp-live-chat-support/wp-live-chat-support.php:1530
307
- #: wp-live-chat-support/wp-live-chat-support.php:3073
308
- #: wp-live-chat-support/wp-live-chat-support.php:3184
309
- msgid "Name"
310
- msgstr "Jméno"
311
-
312
- # @ wplivechat
313
- #: wp-live-chat-support-pro/functions-pro.php:410
314
- #: wp-live-chat-support-pro/functions-pro.php:970
315
- #: wp-live-chat-support/functions.php:1207
316
- #: wp-live-chat-support/functions.php:1621
317
- #: wp-live-chat-support/includes/deprecated.php:193
318
- #: wp-live-chat-support/includes/deprecated.php:392
319
- #: wp-live-chat-support/wp-live-chat-support.php:1373
320
- #: wp-live-chat-support/wp-live-chat-support.php:1531
321
- #: wp-live-chat-support/wp-live-chat-support.php:3074
322
- #: wp-live-chat-support/wp-live-chat-support.php:3185
323
- msgid "Email"
324
- msgstr "Email"
325
-
326
- #: wp-live-chat-support-pro/functions-pro.php:410
327
- #: wp-live-chat-support-pro/functions-pro.php:971
328
- #: wp-live-chat-support-pro/functions-pro.php:1546
329
- #: wp-live-chat-support/functions.php:1208
330
- #: wp-live-chat-support/wp-live-chat-support.php:1532
331
- #: wp-live-chat-support/wp-live-chat-support.php:3186
332
- #: wp-live-chat-support/wp-live-chat-support.php:4128
333
- #: wp-live-chat-support/wp-live-chat-support.php:4178
334
- msgid "Message"
335
- msgstr ""
336
-
337
- #: wp-live-chat-support-pro/functions-pro.php:410
338
- #: wp-live-chat-support/functions.php:1209
339
- msgid "Via WP Live Chat Support"
340
- msgstr ""
341
-
342
- #: wp-live-chat-support-pro/functions-pro.php:480
343
- msgid "Alert: Someone wants to chat with you on "
344
- msgstr ""
345
-
346
- #: wp-live-chat-support-pro/functions-pro.php:481
347
- msgid "Someone wants to chat with you on your website"
348
- msgstr ""
349
-
350
- #: wp-live-chat-support-pro/functions-pro.php:481
351
- msgid "Log in"
352
- msgstr ""
353
-
354
- #: wp-live-chat-support-pro/functions-pro.php:748
355
- #: wp-live-chat-support-pro/functions-pro.php:764
356
- #: wp-live-chat-support-pro/functions-pro.php:779
357
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:2725
358
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:2741
359
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:2756
360
- msgid "Chat Agent"
361
- msgstr ""
362
-
363
- #: wp-live-chat-support-pro/functions-pro.php:753
364
- #: wp-live-chat-support-pro/functions-pro.php:769
365
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:2730
366
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:2746
367
- msgid "Make this user a chat agent"
368
- msgstr ""
369
-
370
- #: wp-live-chat-support-pro/functions-pro.php:783
371
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:2760
372
- msgid "Your user role does not allow you to make yourself a chat agent."
373
- msgstr ""
374
-
375
- #: wp-live-chat-support-pro/functions-pro.php:784
376
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:2761
377
- msgid "Please contact the administrator of this website to change this."
378
- msgstr ""
379
-
380
- #: wp-live-chat-support-pro/functions-pro.php:869
381
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3145
382
- msgid "Chat Agent Online"
383
- msgstr ""
384
-
385
- #: wp-live-chat-support-pro/functions-pro.php:871
386
- #: wp-live-chat-support-pro/functions-pro.php:876
387
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3147
388
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3152
389
- msgid "Chat Agents Online"
390
- msgstr ""
391
-
392
- #: wp-live-chat-support-pro/functions-pro.php:968
393
- #: wp-live-chat-support/functions.php:1619
394
- #: wp-live-chat-support/wp-live-chat-support.php:3072
395
- #: wp-live-chat-support/wp-live-chat-support.php:3183
396
- msgid "Date"
397
- msgstr ""
398
-
399
- #: wp-live-chat-support-pro/functions-pro.php:985
400
- #: wp-live-chat-support/wp-live-chat-support.php:3197
401
- msgid "You have not received any offline messages."
402
- msgstr ""
403
-
404
- #: wp-live-chat-support-pro/functions-pro.php:1410
405
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:788
406
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3500
407
- #: wp-live-chat-support/wp-live-chat-support.php:3771
408
- msgid "Administrator"
409
- msgstr ""
410
-
411
- #: wp-live-chat-support-pro/functions-pro.php:1411
412
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:794
413
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3506
414
- #: wp-live-chat-support/wp-live-chat-support.php:3780
415
- msgid "Editor"
416
- msgstr ""
417
-
418
- #: wp-live-chat-support-pro/functions-pro.php:1412
419
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:800
420
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3512
421
- #: wp-live-chat-support/wp-live-chat-support.php:3789
422
- msgid "Author"
423
- msgstr ""
424
-
425
- #: wp-live-chat-support-pro/functions-pro.php:1413
426
- msgid "Contributor"
427
- msgstr ""
428
-
429
- #: wp-live-chat-support-pro/functions-pro.php:1414
430
- msgid "Subscriber"
431
- msgstr ""
432
-
433
- #: wp-live-chat-support-pro/functions-pro.php:1544
434
- #: wp-live-chat-support/wp-live-chat-support.php:4126
435
- #: wp-live-chat-support/wp-live-chat-support.php:4176
436
- msgid "Chat ID"
437
- msgstr ""
438
-
439
- #: wp-live-chat-support-pro/functions-pro.php:1545
440
- #: wp-live-chat-support/wp-live-chat-support.php:4127
441
- #: wp-live-chat-support/wp-live-chat-support.php:4177
442
- msgid "From"
443
- msgstr ""
444
-
445
- #: wp-live-chat-support-pro/functions-pro.php:1547
446
- #: wp-live-chat-support/wp-live-chat-support.php:4129
447
- #: wp-live-chat-support/wp-live-chat-support.php:4179
448
- msgid "Timestamp"
449
- msgstr ""
450
-
451
- #: wp-live-chat-support-pro/functions-pro.php:1548
452
- #: wp-live-chat-support/wp-live-chat-support.php:4130
453
- #: wp-live-chat-support/wp-live-chat-support.php:4180
454
- msgid "Origin"
455
- msgstr ""
456
-
457
- #: wp-live-chat-support-pro/functions-pro.php:1560
458
- #: wp-live-chat-support/wp-live-chat-support.php:4135
459
- #: wp-live-chat-support/wp-live-chat-support.php:4185
460
- msgid "user"
461
- msgstr ""
462
-
463
- #: wp-live-chat-support-pro/functions-pro.php:1562
464
- #: wp-live-chat-support/wp-live-chat-support.php:4137
465
- #: wp-live-chat-support/wp-live-chat-support.php:4187
466
- msgid "agent"
467
- msgstr ""
468
-
469
- # @ wplivechat
470
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:48
471
- #: wp-live-chat-support/includes/settings_page.php:26
472
- msgid "WP Live Chat Support Settings"
473
- msgstr "Nastavení WP Live Chat Support"
474
-
475
- # @ wplivechat
476
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:71
477
- #: wp-live-chat-support/wp-live-chat-support.php:2143
478
- #: wp-live-chat-support/wp-live-chat-support.php:2158
479
- msgid "Dear Pro User"
480
- msgstr "Milý uživateli Pro verze"
481
-
482
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:72
483
- msgid ""
484
- "Please enter a valid API key on the 'Live Chat' -> 'Settings' page. Failing "
485
- "to do this will result in you no longer receiving updates for this plugin."
486
- msgstr ""
487
-
488
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:73
489
- msgid "You can obtain a copy of your API key "
490
- msgstr ""
491
-
492
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:73
493
- msgid "here"
494
- msgstr ""
495
-
496
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:73
497
- msgid ""
498
- "An account has been created for you while purchasing the plugin. If you have "
499
- "lost your password, please reset it "
500
- msgstr ""
501
-
502
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:74
503
- msgid ""
504
- "If you feel you are getting this message in error, please try refreshing the "
505
- "page."
506
- msgstr ""
507
-
508
- # @ wplivechat
509
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:83
510
- #: wp-live-chat-support/includes/settings_page.php:53
511
- msgid "General Settings"
512
- msgstr "Všeobecné nastavení"
513
-
514
- # @ wplivechat
515
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:84
516
- #: wp-live-chat-support/includes/settings_page.php:58
517
- msgid "Chat Box"
518
- msgstr "Okno Chat-u"
519
-
520
- # @ wplivechat
521
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:85
522
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:383
523
- #: wp-live-chat-support/includes/settings_page.php:63
524
- #: wp-live-chat-support/includes/settings_page.php:400
525
- #: wp-live-chat-support/wp-live-chat-support.php:758
526
- #: wp-live-chat-support/wp-live-chat-support.php:761
527
- msgid "Offline Messages"
528
- msgstr "Offline zprávy"
529
-
530
- # @ wplivechat
531
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:86
532
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:485
533
- #: wp-live-chat-support/includes/settings_page.php:68
534
- #: wp-live-chat-support/includes/settings_page.php:541
535
- msgid "Styling"
536
- msgstr "Styl"
537
-
538
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:87
539
- msgid "Chat Agents"
540
- msgstr ""
541
-
542
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:88
543
- #: wp-live-chat-support/includes/settings_page.php:78
544
- msgid "Blocked Visitors"
545
- msgstr ""
546
-
547
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:89
548
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:830
549
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:836
550
- msgid "Chat Experience Ratings"
551
- msgstr ""
552
-
553
- # @ wplivechat
554
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:90
555
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1857
556
- #, fuzzy
557
- msgid "Encryption"
558
- msgstr "Aktivita"
559
-
560
- # @ wplivechat
561
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:93
562
- #: wp-live-chat-support/includes/settings_page.php:91
563
- msgid "Main Settings"
564
- msgstr "Hlavní nastavení"
565
-
566
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:96
567
- msgid "Find out more."
568
- msgstr ""
569
-
570
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:103
571
- msgid "Use our server to host your chat server."
572
- msgstr ""
573
-
574
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:107
575
- #: wp-live-chat-support/wp-live-chat-support.php:3902
576
- msgid "API Key"
577
- msgstr ""
578
-
579
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:112
580
- msgid "This API key is "
581
- msgstr ""
582
-
583
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:115
584
- msgid "valid"
585
- msgstr ""
586
-
587
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:118
588
- msgid "invalid"
589
- msgstr ""
590
-
591
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:122
592
- msgid ""
593
- "A valid API key means that you will be able to get the latest version of the "
594
- "plugin as and when it is released, as well as get access to support should "
595
- "you require it."
596
- msgstr ""
597
-
598
- # @ wplivechat
599
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:130
600
- #: wp-live-chat-support/includes/settings_page.php:94
601
- msgid "Chat enabled"
602
- msgstr "Chat aktivní"
603
-
604
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:144
605
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1693
606
- msgid "Choose when I want to be online"
607
- msgstr ""
608
-
609
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:144
610
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1693
611
- msgid ""
612
- "Checking this will allow you to change your status to Online or Offline on "
613
- "the Live Chat page."
614
- msgstr ""
615
-
616
- # @ wplivechat
617
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:154
618
- #: wp-live-chat-support/includes/settings_page.php:116
619
- msgid "Hide Chat"
620
- msgstr "Skrýt chat"
621
-
622
- # @ wplivechat
623
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:154
624
- #: wp-live-chat-support/includes/settings_page.php:116
625
- msgid "Hides chat for 24hrs when user clicks X"
626
- msgstr "Chat se skryje na 24 hodin, když uživatel klikne na x"
627
-
628
- # @ wplivechat
629
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:162
630
- #: wp-live-chat-support/includes/settings_page.php:125
631
- msgid "Require Name And Email"
632
- msgstr "Požadované jméno a e-mail"
633
-
634
- # @ wplivechat
635
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:162
636
- #: wp-live-chat-support/includes/settings_page.php:125
637
- msgid ""
638
- "Users will have to enter their Name and Email Address when starting a chat"
639
- msgstr ""
640
- "Uživatelé budou muset zadat své jméno a emailovou adresu při zahájení "
641
- "konverzace"
642
-
643
- # @ wplivechat
644
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:172
645
- #: wp-live-chat-support/includes/settings_page.php:133
646
- msgid "Input Field Replacement Text"
647
- msgstr "Vstupní pole Replacement Text"
648
-
649
- # @ wplivechat
650
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:172
651
- #: wp-live-chat-support/includes/settings_page.php:133
652
- msgid "This is the text that will show in place of the Name And Email fields"
653
- msgstr "Toto je text, který se zobrazí v místě Jméno a Email pole"
654
-
655
- # @ wplivechat
656
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:182
657
- #: wp-live-chat-support/includes/settings_page.php:141
658
- msgid "Use Logged In User Details"
659
- msgstr "Použije přihlášeného uživatele jméno"
660
-
661
- # @ wplivechat
662
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:182
663
- #: wp-live-chat-support/includes/settings_page.php:141
664
- msgid ""
665
- "A user's Name and Email Address will be used by default if they are logged "
666
- "in."
667
- msgstr ""
668
- "Uživatelovo Jméno a E-mailová adresa bude použita jako výchozí, pokud je "
669
- "uživatel přihlášen."
670
-
671
- # @ wplivechat
672
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:193
673
- #: wp-live-chat-support/includes/settings_page.php:149
674
- msgid "Enable On Mobile Devices"
675
- msgstr "Povolit na mobilních zařízeních"
676
-
677
- # @ wplivechat
678
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:193
679
- #: wp-live-chat-support/includes/settings_page.php:149
680
- msgid ""
681
- "Disabling this will mean that the Chat Box will not be displayed on mobile "
682
- "devices. (Smartphones and Tablets)"
683
- msgstr ""
684
- "Vypnutí tohoto bude znamenat, že Chat Box se nebude zobrazovat na mobilních "
685
- "zařízeních. (Smartphonech a Tabletech)"
686
-
687
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:203
688
- #: wp-live-chat-support/includes/settings_page.php:157
689
- msgid "Record a visitor's IP Address"
690
- msgstr ""
691
-
692
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:203
693
- #: wp-live-chat-support/includes/settings_page.php:157
694
- msgid "Disable this to enable anonymity for your visitors"
695
- msgstr ""
696
-
697
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:213
698
- #: wp-live-chat-support/includes/settings_page.php:165
699
- msgid "Play a sound when a new message is received"
700
- msgstr ""
701
-
702
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:213
703
- #: wp-live-chat-support/includes/settings_page.php:165
704
- msgid ""
705
- "Disable this to mute the sound that is played when a new chat message is "
706
- "received"
707
- msgstr ""
708
-
709
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:222
710
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:2135
711
- msgid "Include chat window on the following pages:"
712
- msgstr ""
713
-
714
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:222
715
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:2135
716
- #: wp-live-chat-support/includes/settings_page.php:175
717
- msgid ""
718
- "Show the chat window on the following pages. Leave blank to show on all. "
719
- "(Use comma-separated Page ID's)"
720
- msgstr ""
721
-
722
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:232
723
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:2143
724
- msgid "Exclude chat window on the following pages:"
725
- msgstr ""
726
-
727
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:232
728
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:2143
729
- #: wp-live-chat-support/includes/settings_page.php:190
730
- msgid ""
731
- "Do not show the chat window on the following pages. Leave blank to show on "
732
- "all. (Use comma-separated Page ID's)"
733
- msgstr ""
734
-
735
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:242
736
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:2151
737
- msgid "Allow any user to make themselves a chat agent"
738
- msgstr ""
739
-
740
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:242
741
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:2151
742
- msgid ""
743
- "Checking this will allow any of your users to make themselves a chat agent "
744
- "when editing their profile."
745
- msgstr ""
746
-
747
- # @ wplivechat
748
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:255
749
- #: wp-live-chat-support/includes/settings_page.php:213
750
- msgid "Chat Window Settings"
751
- msgstr "Nastavení okna chat-u"
752
-
753
- # @ wplivechat
754
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:258
755
- #: wp-live-chat-support/includes/settings_page.php:216
756
- msgid "Chat box alignment"
757
- msgstr "Zarovnání okna chat-u"
758
-
759
- # @ wplivechat
760
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:263
761
- #: wp-live-chat-support/includes/settings_page.php:219
762
- msgid "Bottom left"
763
- msgstr "Vlevo dole"
764
-
765
- # @ wplivechat
766
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:266
767
- #: wp-live-chat-support/includes/settings_page.php:220
768
- msgid "Bottom right"
769
- msgstr "Vpravo dole"
770
-
771
- # @ wplivechat
772
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:269
773
- #: wp-live-chat-support/includes/settings_page.php:221
774
- msgid "Left"
775
- msgstr "Vlevo"
776
-
777
- # @ wplivechat
778
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:272
779
- #: wp-live-chat-support/includes/settings_page.php:222
780
- msgid "Right"
781
- msgstr "Vpravo"
782
-
783
- # @ wplivechat
784
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:278
785
- #: wp-live-chat-support/includes/settings_page.php:228
786
- msgid "Auto Pop-up"
787
- msgstr "Automatické otevření"
788
-
789
- # @ wplivechat
790
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:278
791
- #: wp-live-chat-support/includes/settings_page.php:228
792
- msgid ""
793
- "Expand the chat box automatically (prompts the user to enter their name and "
794
- "email address)."
795
- msgstr ""
796
- "Otevřít okno chatu automaticky (vyzve uživatele k zadání svého jména a e-"
797
- "mailové adresy)."
798
-
799
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:289
800
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:919
801
- msgid "Name "
802
- msgstr ""
803
-
804
- # @ wplivechat
805
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:303
806
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:990
807
- #: wp-live-chat-support/includes/settings_page.php:272
808
- msgid "Picture"
809
- msgstr "Obrázek"
810
-
811
- # @ wplivechat
812
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:311
813
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:998
814
- #: wp-live-chat-support/includes/settings_page.php:275
815
- #: wp-live-chat-support/includes/settings_page.php:291
816
- msgid "Upload Image"
817
- msgstr "Nahrát obrázek"
818
-
819
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:313
820
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1000
821
- msgid "Remove Image"
822
- msgstr ""
823
-
824
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:314
825
- msgid "Recomended Size 40px x 40px"
826
- msgstr ""
827
-
828
- # @ wplivechat
829
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:320
830
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1008
831
- #: wp-live-chat-support/includes/settings_page.php:288
832
- msgid "Logo"
833
- msgstr "Logo"
834
-
835
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:328
836
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1016
837
- msgid "Upload Logo"
838
- msgstr ""
839
-
840
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:330
841
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1018
842
- msgid "Remove Logo"
843
- msgstr ""
844
-
845
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:331
846
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1019
847
- msgid "Recomended Size 250px x 40px"
848
- msgstr ""
849
-
850
- # @ wplivechat
851
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:337
852
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1025
853
- #: wp-live-chat-support/includes/settings_page.php:304
854
- msgid "Chat delay (seconds)"
855
- msgstr "Zpoždění chat-u (v sekundách)"
856
-
857
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:337
858
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1025
859
- msgid "How long it takes for your chat window to pop up"
860
- msgstr ""
861
-
862
- # @ wplivechat
863
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:346
864
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1034
865
- #: wp-live-chat-support/includes/settings_page.php:320
866
- msgid "Chat notifications"
867
- msgstr "Upozornění na chat"
868
-
869
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:346
870
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1034
871
- msgid "Alert me via email as soon as someone wants to chat (while online only)"
872
- msgstr ""
873
-
874
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:356
875
- #: wp-live-chat-support/includes/settings_page.php:338
876
- msgid "Display name and avatar in chat"
877
- msgstr ""
878
-
879
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:356
880
- #: wp-live-chat-support/includes/settings_page.php:338
881
- msgid "Display the agent and user name above each message in the chat window."
882
- msgstr ""
883
-
884
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:368
885
- #: wp-live-chat-support/includes/settings_page.php:348
886
- msgid "Only show the chat window to users that are logged in"
887
- msgstr ""
888
-
889
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:368
890
- #: wp-live-chat-support/includes/settings_page.php:348
891
- msgid ""
892
- "By checking this, only users that are logged in will be able to chat with "
893
- "you."
894
- msgstr ""
895
-
896
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:387
897
- #: wp-live-chat-support/includes/settings_page.php:404
898
- msgid "Do not allow users to send offline messages"
899
- msgstr ""
900
-
901
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:387
902
- #: wp-live-chat-support/includes/settings_page.php:404
903
- msgid ""
904
- "The chat window will be hidden when it is offline. Users will not be able to "
905
- "send offline messages to you"
906
- msgstr ""
907
-
908
- # @ wplivechat
909
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:399
910
- #: wp-live-chat-support/includes/settings_page.php:416
911
- msgid "Email Address"
912
- msgstr "Emailová adresa"
913
-
914
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:399
915
- #: wp-live-chat-support/includes/settings_page.php:416
916
- msgid ""
917
- "Email address where offline messages are delivered to. Use comma separated "
918
- "email addresses to send to more than one email address"
919
- msgstr ""
920
-
921
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:412
922
- #: wp-live-chat-support/includes/settings_page.php:428
923
- msgid "Sending Method"
924
- msgstr ""
925
-
926
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:413
927
- #: wp-live-chat-support/includes/settings_page.php:429
928
- msgid "WP Mail"
929
- msgstr ""
930
-
931
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:414
932
- #: wp-live-chat-support/includes/settings_page.php:430
933
- msgid "PHP Mailer"
934
- msgstr ""
935
-
936
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:430
937
- #: wp-live-chat-support/includes/settings_page.php:446
938
- msgid "Host"
939
- msgstr ""
940
-
941
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:438
942
- #: wp-live-chat-support/includes/settings_page.php:454
943
- msgid "Port"
944
- msgstr ""
945
-
946
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:446
947
- #: wp-live-chat-support/includes/settings_page.php:462
948
- msgid "Username"
949
- msgstr ""
950
-
951
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:454
952
- #: wp-live-chat-support/includes/settings_page.php:470
953
- msgid "Password"
954
- msgstr ""
955
-
956
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:463
957
- #: wp-live-chat-support/includes/settings_page.php:479
958
- msgid "Offline Chat Box Title"
959
- msgstr ""
960
-
961
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:471
962
- #: wp-live-chat-support/includes/settings_page.php:487
963
- msgid "Offline Text Fields"
964
- msgstr ""
965
-
966
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:504
967
- #: wp-live-chat-support/includes/settings_page.php:546
968
- msgid "Choose a theme"
969
- msgstr ""
970
-
971
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:509
972
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:512
973
- msgid "Theme 1"
974
- msgstr ""
975
-
976
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:515
977
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:518
978
- msgid "Theme 2"
979
- msgstr ""
980
-
981
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:521
982
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:524
983
- msgid "Theme 3"
984
- msgstr ""
985
-
986
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:527
987
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:530
988
- msgid "Theme 4"
989
- msgstr ""
990
-
991
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:533
992
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:536
993
- msgid "Theme 5"
994
- msgstr ""
995
-
996
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:539
997
- msgid "Theme 6"
998
- msgstr ""
999
-
1000
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:542
1001
- msgid "Custom. Enter Colour Values Below"
1002
- msgstr ""
1003
-
1004
- # @ wplivechat
1005
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:568
1006
- msgid "Chat box fill color"
1007
- msgstr "Barva výplně okýnka chatu"
1008
-
1009
- # @ wplivechat
1010
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:574
1011
- msgid "Chat box font color"
1012
- msgstr "Barva textu okýnka chatu"
1013
-
1014
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:581
1015
- #: wp-live-chat-support/includes/settings_page.php:677
1016
- msgid "I'm using a localization plugin"
1017
- msgstr ""
1018
-
1019
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:584
1020
- msgid "documentation"
1021
- msgstr ""
1022
-
1023
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:589
1024
- msgid ""
1025
- "You will only be able to edit the strings shown in the chat window of the "
1026
- "code now. <br/> This has been done to accommodate as many localization "
1027
- "plugins as possible. <br/> For more information on how to change these "
1028
- "strings, please consult the "
1029
- msgstr ""
1030
-
1031
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:594
1032
- #: wp-live-chat-support/includes/settings_page.php:685
1033
- msgid "First Section Text"
1034
- msgstr ""
1035
-
1036
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:601
1037
- #: wp-live-chat-support/includes/settings_page.php:692
1038
- msgid "Intro Text"
1039
- msgstr ""
1040
-
1041
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:607
1042
- #: wp-live-chat-support/includes/settings_page.php:698
1043
- msgid "Second Section Text"
1044
- msgstr ""
1045
-
1046
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:614
1047
- #: wp-live-chat-support/includes/settings_page.php:705
1048
- msgid "Reactivate Chat Section Text"
1049
- msgstr ""
1050
-
1051
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:622
1052
- #: wp-live-chat-support/includes/settings_page.php:713
1053
- msgid "User chat welcome"
1054
- msgstr ""
1055
-
1056
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:628
1057
- #: wp-live-chat-support/includes/settings_page.php:719
1058
- msgid "Other text"
1059
- msgstr ""
1060
-
1061
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:630
1062
- #: wp-live-chat-support/includes/settings_page.php:721
1063
- msgid "This text is shown above the user chat input field"
1064
- msgstr ""
1065
-
1066
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:662
1067
- msgid ""
1068
- "You are using an outdated version of WP Live Chat Support Basic. Please "
1069
- "update your plugin to allow for animations to function"
1070
- msgstr ""
1071
-
1072
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:666
1073
- #: wp-live-chat-support/includes/settings_page.php:749
1074
- msgid "Choose an animation"
1075
- msgstr ""
1076
-
1077
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:674
1078
- #: wp-live-chat-support/includes/settings_page.php:757
1079
- msgid "Slide Up"
1080
- msgstr ""
1081
-
1082
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:680
1083
- #: wp-live-chat-support/includes/settings_page.php:763
1084
- msgid "Slide From The Side"
1085
- msgstr ""
1086
-
1087
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:686
1088
- #: wp-live-chat-support/includes/settings_page.php:769
1089
- msgid "Fade In"
1090
- msgstr ""
1091
-
1092
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:692
1093
- #: wp-live-chat-support/includes/settings_page.php:775
1094
- msgid "No Animation"
1095
- msgstr ""
1096
-
1097
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:750
1098
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3462
1099
- #: wp-live-chat-support/wp-live-chat-support.php:3740
1100
- msgid "Current Users that are Chat Agents"
1101
- msgstr ""
1102
-
1103
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:761
1104
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3473
1105
- #: wp-live-chat-support/wp-live-chat-support.php:3750
1106
- msgid "Online"
1107
- msgstr ""
1108
-
1109
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:771
1110
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3331
1111
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3483
1112
- #: wp-live-chat-support/wp-live-chat-support.php:2124
1113
- msgid "Remove"
1114
- msgstr ""
1115
-
1116
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:780
1117
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3492
1118
- #: wp-live-chat-support/wp-live-chat-support.php:3800
1119
- msgid "Add New Agent"
1120
- msgstr ""
1121
-
1122
- # @ wplivechat
1123
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:782
1124
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:798
1125
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3494
1126
- #: wp-live-chat-support/wp-live-chat-support.php:2560
1127
- #: wp-live-chat-support/wp-live-chat-support.php:3765
1128
- msgid "Select"
1129
- msgstr "Vybrat"
1130
-
1131
- # @ wplivechat
1132
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:804
1133
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3516
1134
- #: wp-live-chat-support/wp-live-chat-support.php:3801
1135
- #, fuzzy
1136
- msgid "Add Agent"
1137
- msgstr "Agenti / referenti"
1138
-
1139
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:810
1140
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3522
1141
- msgid ""
1142
- "Should you wish to add a user that has a role less than 'Author', please go "
1143
- "to the <a href='./users.php'>Users</a> page, select the relevant user, click "
1144
- "Edit and scroll to the bottom of the page and enable the 'Chat Agent' "
1145
- "checkbox."
1146
- msgstr ""
1147
-
1148
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:811
1149
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3523
1150
- msgid "If there are no chat agents online, the chat will show as offline"
1151
- msgstr ""
1152
-
1153
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:815
1154
- #: wp-live-chat-support/includes/settings_page.php:802
1155
- msgid "Blocked Visitors - Based on IP Address"
1156
- msgstr ""
1157
-
1158
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:816
1159
- #: wp-live-chat-support/includes/settings_page.php:803
1160
- msgid "Enter each IP Address you would like to block on a new line"
1161
- msgstr ""
1162
-
1163
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:827
1164
- #: wp-live-chat-support/includes/settings_page.php:814
1165
- msgid ""
1166
- "Blocking a user's IP Address here will hide the chat window from them, "
1167
- "preventing them from chatting with you. Each IP Address must be on a new line"
1168
- msgstr ""
1169
-
1170
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:836
1171
- msgid ""
1172
- "are only available in the WP Live Chat Support Chat Experience Ratings add-on"
1173
- msgstr ""
1174
-
1175
- # @ wplivechat
1176
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:840
1177
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1821
1178
- #, fuzzy
1179
- msgid "Chat Encryption"
1180
- msgstr "Upozornění na chat"
1181
-
1182
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:843
1183
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1824
1184
- msgid "Enable Encryption"
1185
- msgstr ""
1186
-
1187
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:843
1188
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1824
1189
- msgid ""
1190
- "All messages will be encrypted when being sent to and from the user and "
1191
- "agent."
1192
- msgstr ""
1193
-
1194
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:851
1195
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1834
1196
- msgid ""
1197
- "Once enabled, all messages sent will be encrypted. This cannot be undone."
1198
- msgstr ""
1199
-
1200
- # @ wplivechat
1201
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:857
1202
- #: wp-live-chat-support/includes/settings_page.php:822
1203
- msgid "Save Settings"
1204
- msgstr "Uložit nastavení"
1205
-
1206
- #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:5
1207
- #: wp-live-chat-support-pro/includes/wplc_roi.php:83
1208
- msgid "Add New"
1209
- msgstr ""
1210
-
1211
- #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:8
1212
- #: wp-live-chat-support/wp-live-chat-support.php:4419
1213
- #: wp-live-chat-support/wp-live-chat-support.php:4449
1214
- msgid "WP Live Chat Support Triggers"
1215
- msgstr ""
1216
-
1217
- #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:16
1218
- #: wp-live-chat-support-pro/includes/wplc_roi.php:110
1219
- #: wp-live-chat-support/wp-live-chat-support.php:4403
1220
- #: wp-live-chat-support/wp-live-chat-support.php:4465
1221
- msgid "Update now"
1222
- msgstr ""
1223
-
1224
- #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:68
1225
- msgid "Trigger Name"
1226
- msgstr ""
1227
-
1228
- #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:73
1229
- msgid "Trigger Type"
1230
- msgstr ""
1231
-
1232
- #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:77
1233
- #: wp-live-chat-support/wp-live-chat-support.php:4455
1234
- msgid "Page Trigger"
1235
- msgstr ""
1236
-
1237
- #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:78
1238
- #: wp-live-chat-support/wp-live-chat-support.php:4456
1239
- msgid "Time Trigger"
1240
- msgstr ""
1241
-
1242
- #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:79
1243
- #: wp-live-chat-support/wp-live-chat-support.php:4457
1244
- msgid "Scroll Trigger"
1245
- msgstr ""
1246
-
1247
- #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:80
1248
- #: wp-live-chat-support/wp-live-chat-support.php:4458
1249
- msgid "Page Leave Trigger"
1250
- msgstr ""
1251
-
1252
- #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:81
1253
- msgid ""
1254
- "Note: When using page trigger with a the basic theme, no hovercard is shown "
1255
- "by default. We suggest using the time trigger for this instead."
1256
- msgstr ""
1257
-
1258
- #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:87
1259
- msgid "Page ID"
1260
- msgstr ""
1261
-
1262
- #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:88
1263
- msgid "Note: Leave empty for 'all' pages"
1264
- msgstr ""
1265
-
1266
- #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:92
1267
- msgid "Show After"
1268
- msgstr ""
1269
-
1270
- #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:93
1271
- msgid "Seconds"
1272
- msgstr ""
1273
-
1274
- #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:97
1275
- msgid "Show After Scrolled"
1276
- msgstr ""
1277
-
1278
- #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:98
1279
- msgid "(%) Percent of page height"
1280
- msgstr ""
1281
-
1282
- #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:102
1283
- msgid "Content Replacement"
1284
- msgstr ""
1285
-
1286
- #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:114
1287
- msgid "Replace Content"
1288
- msgstr ""
1289
-
1290
- #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:119
1291
- msgid "Enable Trigger"
1292
- msgstr ""
1293
-
1294
- #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:125
1295
- #: wp-live-chat-support-pro/includes/wplc_roi.php:237
1296
- msgid "Close"
1297
- msgstr ""
1298
-
1299
- #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:134
1300
- #: wp-live-chat-support-pro/includes/wplc_roi.php:246
1301
- msgid "Please review your submission"
1302
- msgstr ""
1303
-
1304
- #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:275
1305
- msgid "Trigger has been edited."
1306
- msgstr ""
1307
-
1308
- #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:428
1309
- msgid "Conflict with page"
1310
- msgstr ""
1311
-
1312
- #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:430
1313
- msgid "Trigger ID: "
1314
- msgstr ""
1315
-
1316
- #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:440
1317
- #: wp-live-chat-support-pro/includes/wplc_roi.php:127
1318
- #: wp-live-chat-support/functions.php:1853
1319
- msgid "ID"
1320
- msgstr ""
1321
-
1322
- #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:442
1323
- #: wp-live-chat-support/wp-live-chat-support.php:2322
1324
- msgid "Type"
1325
- msgstr ""
1326
-
1327
- #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:443
1328
- #: wp-live-chat-support-pro/includes/wplc_roi.php:130
1329
- msgid "Page"
1330
- msgstr ""
1331
-
1332
- #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:444
1333
- msgid "Content"
1334
- msgstr ""
1335
-
1336
- # @ wplivechat
1337
- #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:445
1338
- #: wp-live-chat-support/wp-live-chat-support.php:2325
1339
- #: wp-live-chat-support/wp-live-chat-support.php:3076
1340
- msgid "Status"
1341
- msgstr "Stav"
1342
-
1343
- # @ wplivechat
1344
- #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:446
1345
- #: wp-live-chat-support-pro/includes/wplc_roi.php:132
1346
- #: wp-live-chat-support/functions.php:1623
1347
- #: wp-live-chat-support/wp-live-chat-support.php:2326
1348
- #: wp-live-chat-support/wp-live-chat-support.php:3077
1349
- msgid "Action"
1350
- msgstr "Aktivita"
1351
-
1352
- #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:453
1353
- #: wp-live-chat-support-pro/includes/wplc_roi.php:139
1354
- msgid "Edit"
1355
- msgstr ""
1356
-
1357
- #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:454
1358
- #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:585
1359
- #: wp-live-chat-support-pro/includes/wplc_roi.php:140
1360
- #: wp-live-chat-support-pro/includes/wplc_roi.php:545
1361
- msgid "Delete"
1362
- msgstr ""
1363
-
1364
- #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:462
1365
- #: wp-live-chat-support-pro/includes/wplc_roi.php:656
1366
- #: wp-live-chat-support/wp-live-chat-support.php:3554
1367
- msgid "All"
1368
- msgstr ""
1369
-
1370
- #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:466
1371
- msgid "Click to change trigger status"
1372
- msgstr ""
1373
-
1374
- #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:476
1375
- msgid "No Triggers Found..."
1376
- msgstr ""
1377
-
1378
- #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:580
1379
- msgid "Are you sure you would like to delete trigger"
1380
- msgstr ""
1381
-
1382
- #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:586
1383
- #: wp-live-chat-support-pro/includes/wplc_roi.php:546
1384
- msgid "Cancel"
1385
- msgstr ""
1386
-
1387
- #: wp-live-chat-support-pro/includes/wplc_roi.php:72
1388
- msgid "ROI Goals"
1389
- msgstr ""
1390
-
1391
- #: wp-live-chat-support-pro/includes/wplc_roi.php:86
1392
- msgid "WP Live Chat Support ROI Goals"
1393
- msgstr ""
1394
-
1395
- #: wp-live-chat-support-pro/includes/wplc_roi.php:129
1396
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3873
1397
- msgid "Overview"
1398
- msgstr ""
1399
-
1400
- #: wp-live-chat-support-pro/includes/wplc_roi.php:131
1401
- #: wp-live-chat-support/modules/api/wplc-api.php:76
1402
- msgid "Value"
1403
- msgstr ""
1404
-
1405
- #: wp-live-chat-support-pro/includes/wplc_roi.php:146
1406
- msgid "None"
1407
- msgstr ""
1408
-
1409
- #: wp-live-chat-support-pro/includes/wplc_roi.php:153
1410
- msgid "No ROI Goals Found..."
1411
- msgstr ""
1412
-
1413
- #: wp-live-chat-support-pro/includes/wplc_roi.php:212
1414
- msgid "Goal Name"
1415
- msgstr ""
1416
-
1417
- #: wp-live-chat-support-pro/includes/wplc_roi.php:217
1418
- msgid "Goal Overview"
1419
- msgstr ""
1420
-
1421
- #: wp-live-chat-support-pro/includes/wplc_roi.php:222
1422
- msgid "Goal Page"
1423
- msgstr ""
1424
-
1425
- #: wp-live-chat-support-pro/includes/wplc_roi.php:231
1426
- msgid "Goal Value"
1427
- msgstr ""
1428
-
1429
- #: wp-live-chat-support-pro/includes/wplc_roi.php:377
1430
- msgid "Goal has been edited."
1431
- msgstr ""
1432
-
1433
- #: wp-live-chat-support-pro/includes/wplc_roi.php:540
1434
- msgid "Are you sure you would like to delete goal"
1435
- msgstr ""
1436
-
1437
- #: wp-live-chat-support-pro/includes/wplc_roi.php:622
1438
- msgid "ROI Reporting"
1439
- msgstr ""
1440
-
1441
- #: wp-live-chat-support-pro/includes/wplc_roi.php:636
1442
- msgid "Goal Statistics"
1443
- msgstr ""
1444
-
1445
- #: wp-live-chat-support-pro/includes/wplc_roi.php:648
1446
- msgid "No Goals Found"
1447
- msgstr ""
1448
-
1449
- #: wp-live-chat-support-pro/includes/wplc_roi.php:657
1450
- msgid "Last 30 Days"
1451
- msgstr ""
1452
-
1453
- #: wp-live-chat-support-pro/includes/wplc_roi.php:658
1454
- msgid "Last 15 Days"
1455
- msgstr ""
1456
-
1457
- #: wp-live-chat-support-pro/includes/wplc_roi.php:659
1458
- msgid "Last 7 Days"
1459
- msgstr ""
1460
-
1461
- #: wp-live-chat-support-pro/includes/wplc_roi.php:660
1462
- msgid "Last 24 Hours"
1463
- msgstr ""
1464
-
1465
- #: wp-live-chat-support-pro/includes/wplc_roi.php:712
1466
- msgid "Value Per Conversion"
1467
- msgstr ""
1468
-
1469
- #: wp-live-chat-support-pro/includes/wplc_roi.php:718
1470
- msgid "Total Value"
1471
- msgstr ""
1472
-
1473
- #: wp-live-chat-support-pro/includes/wplc_roi.php:723
1474
- msgid "Total Conversions"
1475
- msgstr ""
1476
-
1477
- #: wp-live-chat-support-pro/includes/wplc_roi.php:757
1478
- msgid "Value By Date"
1479
- msgstr ""
1480
-
1481
- #: wp-live-chat-support-pro/includes/wplc_roi.php:760
1482
- msgid "Value By Agent"
1483
- msgstr ""
1484
-
1485
- #: wp-live-chat-support-pro/includes/wplc_roi.php:766
1486
- msgid "No data available yet..."
1487
- msgstr ""
1488
-
1489
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:511
1490
- #, php-format
1491
- msgid ""
1492
- "WP Live Chat Support Pro <strong>requires WP Live Chat Support version 6+</"
1493
- "strong> (basic version). Please <strong><a href=\"%1$s\">update the plugin</"
1494
- "a></strong> in order for the plugin to continue working correctly."
1495
- msgstr ""
1496
-
1497
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:597
1498
- msgid "WP Live Chat Support Pro"
1499
- msgstr ""
1500
-
1501
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:710
1502
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:721
1503
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3201
1504
- msgid "Quick Responses"
1505
- msgstr ""
1506
-
1507
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:711
1508
- msgid "Quick Response"
1509
- msgstr ""
1510
-
1511
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:712
1512
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:715
1513
- msgid "New Quick Response"
1514
- msgstr ""
1515
-
1516
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:713
1517
- msgid "Add New Quick Response"
1518
- msgstr ""
1519
-
1520
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:714
1521
- msgid "Edit Quick Response"
1522
- msgstr ""
1523
-
1524
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:716
1525
- msgid "All Quick Responses"
1526
- msgstr ""
1527
-
1528
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:717
1529
- msgid "View Quick Responses"
1530
- msgstr ""
1531
-
1532
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:718
1533
- msgid "Search Quick Responses"
1534
- msgstr ""
1535
-
1536
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:719
1537
- msgid "No Quick Responses found"
1538
- msgstr ""
1539
-
1540
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:720
1541
- msgid "No Quick Responses found in the Trash"
1542
- msgstr ""
1543
-
1544
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:725
1545
- msgid "Quick Responses for WP Live Chat Support Pro"
1546
- msgstr ""
1547
-
1548
- # @ wplivechat
1549
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:791
1550
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:795
1551
- #: wp-live-chat-support/wp-live-chat-support.php:2560
1552
- msgid "Assign Quick Response"
1553
- msgstr "Přiřadit rychlou odezvu"
1554
-
1555
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:804
1556
- msgid "What is this?"
1557
- msgstr ""
1558
-
1559
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:841
1560
- #, php-format
1561
- msgid "Incoming chat from %s (%s) on %s"
1562
- msgstr ""
1563
-
1564
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:847
1565
- #, php-format
1566
- msgid "%s (%s) wants to chat with you. <br /><br />Log in: %s"
1567
- msgstr ""
1568
-
1569
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:895
1570
- #: wp-live-chat-support/includes/settings_page.php:239
1571
- msgid "Display typing indicator"
1572
- msgstr ""
1573
-
1574
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:895
1575
- msgid ""
1576
- "Display the \"typing...\" animation in the chat window as soon as an agent "
1577
- "or visitor is typing."
1578
- msgstr ""
1579
-
1580
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:902
1581
- #, php-format
1582
- msgid ""
1583
- "Please update your <a href='%s'>basic version</a> to make use of this "
1584
- "feature."
1585
- msgstr ""
1586
-
1587
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:910
1588
- msgid ""
1589
- "For non-cloud server users, please note that this will increase the amount "
1590
- "of server resources required."
1591
- msgstr ""
1592
-
1593
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:927
1594
- msgid "Use WordPress name instead"
1595
- msgstr ""
1596
-
1597
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:930
1598
- msgid "Note: 'Name' field will be ignored"
1599
- msgstr ""
1600
-
1601
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:948
1602
- msgid "Incoming chat ring tone"
1603
- msgstr ""
1604
-
1605
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:952
1606
- msgid "Default"
1607
- msgstr ""
1608
-
1609
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1001
1610
- msgid "Recomended Size 60px x 60px"
1611
- msgstr ""
1612
-
1613
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1043
1614
- msgid "User Experience"
1615
- msgstr ""
1616
-
1617
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1052
1618
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1082
1619
- #, php-format
1620
- msgid ""
1621
- "Please update your <a href='%s'>basic version</a> to make use of these "
1622
- "features."
1623
- msgstr ""
1624
-
1625
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1059
1626
- msgid "Enable Text Editor"
1627
- msgstr ""
1628
-
1629
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1059
1630
- msgid ""
1631
- "Adds advanced text editor features, such as links, text styling, and more!"
1632
- msgstr ""
1633
-
1634
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1063
1635
- msgid "Enable File Sharing"
1636
- msgstr ""
1637
-
1638
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1063
1639
- msgid "Adds file sharing to your chat box!"
1640
- msgstr ""
1641
-
1642
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1067
1643
- msgid "Enable Experience Ratings"
1644
- msgstr ""
1645
-
1646
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1067
1647
- msgid "Allows users to rate the chat experience with an agent."
1648
- msgstr ""
1649
-
1650
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1073
1651
- #: wp-live-chat-support/includes/settings_page.php:362
1652
- msgid "Social"
1653
- msgstr ""
1654
-
1655
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1090
1656
- #: wp-live-chat-support/includes/settings_page.php:367
1657
- msgid "Facebook URL"
1658
- msgstr ""
1659
-
1660
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1090
1661
- #: wp-live-chat-support/includes/settings_page.php:367
1662
- msgid "Link your Facebook page here. Leave blank to hide"
1663
- msgstr ""
1664
-
1665
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1091
1666
- #: wp-live-chat-support/includes/settings_page.php:369
1667
- msgid "Facebook URL..."
1668
- msgstr ""
1669
-
1670
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1094
1671
- #: wp-live-chat-support/includes/settings_page.php:380
1672
- msgid "Twitter URL"
1673
- msgstr ""
1674
-
1675
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1094
1676
- #: wp-live-chat-support/includes/settings_page.php:380
1677
- msgid "Link your Twitter page here. Leave blank to hide"
1678
- msgstr ""
1679
-
1680
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1095
1681
- #: wp-live-chat-support/includes/settings_page.php:382
1682
- msgid "Twitter URL..."
1683
- msgstr ""
1684
-
1685
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1118
1686
- msgid "Admin"
1687
- msgstr ""
1688
-
1689
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1612
1690
- msgid "You are currently accepting chats"
1691
- msgstr ""
1692
-
1693
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1613
1694
- msgid "You are not accepting chats"
1695
- msgstr ""
1696
-
1697
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1627
1698
- msgid ""
1699
- "You have set your status to offline. To view visitors and accept chats "
1700
- "please set your status to online using the switch above."
1701
- msgstr ""
1702
-
1703
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1833
1704
- msgid ""
1705
- "Please note: Chat messages will only be encrypted and decreypted if you have "
1706
- "inserted your WP Live Chat Support Pro API Key on the <a href=\"admin.php?"
1707
- "page=wplivechat-menu-api-keys-page\">API Keys page</a>."
1708
- msgstr ""
1709
-
1710
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:2119
1711
- msgid "Exclude chat from 'Home' page:"
1712
- msgstr ""
1713
-
1714
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:2119
1715
- msgid ""
1716
- "Leaving this unchecked will allow the chat window to display on your home "
1717
- "page."
1718
- msgstr ""
1719
-
1720
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:2127
1721
- msgid "Exclude chat from 'Archive' pages:"
1722
- msgstr ""
1723
-
1724
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:2127
1725
- msgid ""
1726
- "Leaving this unchecked will allow the chat window to display on your archive "
1727
- "pages."
1728
- msgstr ""
1729
-
1730
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:2458
1731
- msgid "Attempting to open the chat window... Please be patient."
1732
- msgstr ""
1733
-
1734
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:2516
1735
- msgid ""
1736
- "You are not a chat agent. Please make yourself a chat agent before trying to "
1737
- "chat to visitors"
1738
- msgstr ""
1739
-
1740
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:2777
1741
- msgid "This chat has already been answered by another agent."
1742
- msgstr ""
1743
-
1744
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3084
1745
- #: wp-live-chat-support/wp-live-chat-support.php:2221
1746
- msgid "Agent(s) online"
1747
- msgstr ""
1748
-
1749
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3202
1750
- #: wp-live-chat-support/wp-live-chat-support.php:732
1751
- msgid "Reporting"
1752
- msgstr ""
1753
-
1754
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3203
1755
- #: wp-live-chat-support/wp-live-chat-support.php:738
1756
- msgid "Triggers"
1757
- msgstr ""
1758
-
1759
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3679
1760
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3687
1761
- #: wp-live-chat-support/wp-live-chat-support.php:4299
1762
- msgid "Experience Rating"
1763
- msgstr ""
1764
-
1765
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3767
1766
- msgid "User Experience Ratings"
1767
- msgstr ""
1768
-
1769
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3774
1770
- msgid "Agent Statistics"
1771
- msgstr ""
1772
-
1773
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3820
1774
- msgid "Satisfaction Rating"
1775
- msgstr ""
1776
-
1777
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3821
1778
- msgid "Rating Count"
1779
- msgstr ""
1780
-
1781
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3821
1782
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3835
1783
- msgid "Good"
1784
- msgstr ""
1785
-
1786
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3821
1787
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3835
1788
- msgid "Bad"
1789
- msgstr ""
1790
-
1791
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3829
1792
- msgid "No Ratings for this agent"
1793
- msgstr ""
1794
-
1795
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3870
1796
- #: wp-live-chat-support/wp-live-chat-support.php:4380
1797
- #: wp-live-chat-support/wp-live-chat-support.php:4387
1798
- msgid "WP Live Chat Support Reporting"
1799
- msgstr ""
1800
-
1801
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3874
1802
- msgid "Popular Pages"
1803
- msgstr ""
1804
-
1805
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3892
1806
- msgid "Total Agents"
1807
- msgstr ""
1808
-
1809
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3892
1810
- msgid "Total number of agents that used the live chat"
1811
- msgstr ""
1812
-
1813
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3893
1814
- msgid "Total Chats"
1815
- msgstr ""
1816
-
1817
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3893
1818
- msgid "Total number of chats received"
1819
- msgstr ""
1820
-
1821
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3894
1822
- msgid "Total URLs"
1823
- msgstr ""
1824
-
1825
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3894
1826
- msgid "Total number of URLs a chat was initiated on"
1827
- msgstr ""
1828
-
1829
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3895
1830
- msgid "Chats per day"
1831
- msgstr ""
1832
-
1833
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3896
1834
- msgid "Popular pages a chat was initiated on"
1835
- msgstr ""
1836
-
1837
- # @ wplivechat
1838
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3972
1839
- #: wp-live-chat-support/functions.php:1622
1840
- #: wp-live-chat-support/wp-live-chat-support.php:3075
1841
- msgid "URL"
1842
- msgstr "URL adresa stránky"
1843
-
1844
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3973
1845
- msgid "Count"
1846
- msgstr ""
1847
-
1848
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3993
1849
- msgid "Disable initiate chat feature:"
1850
- msgstr ""
1851
-
1852
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3993
1853
- msgid ""
1854
- "This will substantially improve performance. If you are experiencing "
1855
- "performance issues on your site, you should disable the initiate chat "
1856
- "feature and only enable it when you need it."
1857
- msgstr ""
1858
-
1859
- #: wp-live-chat-support/functions.php:451
1860
- msgid "Only chat agents can accept chats"
1861
- msgstr ""
1862
-
1863
- #: wp-live-chat-support/functions.php:654
1864
- #: wp-live-chat-support/wp-live-chat-support.php:568
1865
- #: wp-live-chat-support/wp-live-chat-support.php:1589
1866
- #: wp-live-chat-support/wp-live-chat-support.php:2698
1867
- #: wp-live-chat-support/wp-live-chat-support.php:4269
1868
- msgid "Welcome. How may I help you?"
1869
- msgstr ""
1870
-
1871
- # @ wplivechat
1872
- #: wp-live-chat-support/functions.php:1003
1873
- msgid "complete"
1874
- msgstr "ukončená"
1875
-
1876
- # @ wplivechat
1877
- #: wp-live-chat-support/functions.php:1006
1878
- msgid "pending"
1879
- msgstr "probíhající"
1880
-
1881
- # @ wplivechat
1882
- #: wp-live-chat-support/functions.php:1009
1883
- msgid "active"
1884
- msgstr "aktivní"
1885
-
1886
- # @ wplivechat
1887
- #: wp-live-chat-support/functions.php:1012
1888
- msgid "deleted"
1889
- msgstr "zrušená"
1890
-
1891
- # @ wplivechat
1892
- #: wp-live-chat-support/functions.php:1015
1893
- msgid "browsing"
1894
- msgstr "procházející web (browsing)"
1895
-
1896
- # @ wplivechat
1897
- #: wp-live-chat-support/functions.php:1018
1898
- msgid "requesting chat"
1899
- msgstr "požadující chat"
1900
-
1901
- # @ wplivechat
1902
- #: wp-live-chat-support/functions.php:1021
1903
- msgid "Chat Ended - User still browsing"
1904
- msgstr "Diskuse ukončená - Uživatel si prohlíží stránku"
1905
-
1906
- # @ wplivechat
1907
- #: wp-live-chat-support/functions.php:1024
1908
- msgid "User is browsing but doesn't want to chat"
1909
- msgstr "Uživatel si prohlíží stránku, ale nepřeje si chat"
1910
-
1911
- # @ wplivechat
1912
- #: wp-live-chat-support/functions.php:1359
1913
- msgid "Get Pro Add-on to accept more chats"
1914
- msgstr "Kupte si Pro Add-on verzi, aby jste mohli přijmout více chat-ů"
1915
-
1916
- #: wp-live-chat-support/functions.php:1597
1917
- #: wp-live-chat-support/wp-live-chat-support.php:3037
1918
- msgid "Error: Could not delete chat"
1919
- msgstr ""
1920
-
1921
- #: wp-live-chat-support/functions.php:1601
1922
- #: wp-live-chat-support/wp-live-chat-support.php:3041
1923
- msgid "Chat Deleted"
1924
- msgstr ""
1925
-
1926
- #: wp-live-chat-support/functions.php:1608
1927
- #: wp-live-chat-support/wp-live-chat-support.php:3048
1928
- msgid "Are you sure you would like to delete this chat?"
1929
- msgstr ""
1930
-
1931
- #: wp-live-chat-support/functions.php:1650
1932
- msgid "You have not missed any chat requests."
1933
- msgstr ""
1934
-
1935
- #: wp-live-chat-support/functions.php:1843
1936
- msgid "Open chat window via"
1937
- msgstr ""
1938
-
1939
- #: wp-live-chat-support/functions.php:1847
1940
- msgid "Click"
1941
- msgstr ""
1942
-
1943
- #: wp-live-chat-support/functions.php:1848
1944
- msgid "Hover"
1945
- msgstr ""
1946
-
1947
- #: wp-live-chat-support/functions.php:1850
1948
- msgid "element with"
1949
- msgstr ""
1950
-
1951
- #: wp-live-chat-support/functions.php:1852
1952
- msgid "Class"
1953
- msgstr ""
1954
-
1955
- # @ wplivechat
1956
- #: wp-live-chat-support/includes/deprecated.php:151
1957
- #: wp-live-chat-support/includes/deprecated.php:348
1958
- #: wp-live-chat-support/wp-live-chat-support.php:560
1959
- #: wp-live-chat-support/wp-live-chat-support.php:1651
1960
- #: wp-live-chat-support/wp-live-chat-support.php:2684
1961
- #: wp-live-chat-support/wp-live-chat-support.php:4261
1962
- msgid "Questions?"
1963
- msgstr "Máte otázky?"
1964
-
1965
- # @ wplivechat
1966
- #: wp-live-chat-support/includes/deprecated.php:151
1967
- #: wp-live-chat-support/includes/deprecated.php:348
1968
- #: wp-live-chat-support/wp-live-chat-support.php:561
1969
- #: wp-live-chat-support/wp-live-chat-support.php:1652
1970
- #: wp-live-chat-support/wp-live-chat-support.php:2685
1971
- #: wp-live-chat-support/wp-live-chat-support.php:4262
1972
- msgid "Chat with us"
1973
- msgstr "Ptejte se nás, klikněte zde"
1974
-
1975
- # @ wplivechat
1976
- #: wp-live-chat-support/includes/deprecated.php:158
1977
- #: wp-live-chat-support/includes/deprecated.php:355
1978
- msgid "Start Live Chat"
1979
- msgstr "Začít Live Chat"
1980
-
1981
- # @ wplivechat
1982
- #: wp-live-chat-support/includes/deprecated.php:210
1983
- #: wp-live-chat-support/includes/deprecated.php:410
1984
- #: wp-live-chat-support/wp-live-chat-support.php:563
1985
- #: wp-live-chat-support/wp-live-chat-support.php:2687
1986
- #: wp-live-chat-support/wp-live-chat-support.php:4264
1987
- msgid "Start Chat"
1988
- msgstr "Začít diskusi"
1989
-
1990
- # @ wplivechat
1991
- #: wp-live-chat-support/includes/deprecated.php:213
1992
- #: wp-live-chat-support/includes/deprecated.php:413
1993
- msgid "Connecting you to a sales person. Please be patient."
1994
- msgstr "Spojujeme Vás s našim referentem, prosíme o chvíli strpení."
1995
-
1996
- # @ wplivechat
1997
- #: wp-live-chat-support/includes/deprecated.php:216
1998
- #: wp-live-chat-support/includes/deprecated.php:416
1999
- #: wp-live-chat-support/wp-live-chat-support.php:567
2000
- #: wp-live-chat-support/wp-live-chat-support.php:1785
2001
- #: wp-live-chat-support/wp-live-chat-support.php:1836
2002
- #: wp-live-chat-support/wp-live-chat-support.php:2691
2003
- #: wp-live-chat-support/wp-live-chat-support.php:4268
2004
- msgid "Reactivating your previous chat..."
2005
- msgstr "Znovu se aktivuje Váš předešlý chat... "
2006
-
2007
- # @ wplivechat
2008
- #: wp-live-chat-support/includes/deprecated.php:221
2009
- #: wp-live-chat-support/includes/deprecated.php:421
2010
- #: wp-live-chat-support/wp-live-chat-support.php:569
2011
- #: wp-live-chat-support/wp-live-chat-support.php:2559
2012
- #: wp-live-chat-support/wp-live-chat-support.php:2697
2013
- #: wp-live-chat-support/wp-live-chat-support.php:4270
2014
- msgid "Press ENTER to send your message"
2015
- msgstr "Stisknutím klávesy ENTER odešlete vaši zprávu"
2016
-
2017
- # @ wplivechat
2018
- #: wp-live-chat-support/includes/deprecated.php:225
2019
- #: wp-live-chat-support/includes/deprecated.php:425
2020
- #: wp-live-chat-support/wp-live-chat-support.php:1625
2021
- #: wp-live-chat-support/wp-live-chat-support.php:2574
2022
- msgid "Send"
2023
- msgstr "Odeslat"
2024
-
2025
- # @ wplivechat
2026
- #: wp-live-chat-support/includes/feedback-page.php:6
2027
- msgid "WP Live Chat Support Feedback"
2028
- msgstr "WP Live Chat Podpora Zpětná vazba"
2029
-
2030
- # @ wplivechat
2031
- #: wp-live-chat-support/includes/feedback-page.php:11
2032
- msgid "Your Name"
2033
- msgstr "Vaše jméno"
2034
-
2035
- # @ wplivechat
2036
- #: wp-live-chat-support/includes/feedback-page.php:19
2037
- msgid "Your Email"
2038
- msgstr "Vaše Emailová adresa"
2039
-
2040
- # @ wplivechat
2041
- #: wp-live-chat-support/includes/feedback-page.php:27
2042
- msgid "Your Website"
2043
- msgstr "Vaše web stránka"
2044
-
2045
- # @ wplivechat
2046
- #: wp-live-chat-support/includes/feedback-page.php:35
2047
- #: wp-live-chat-support/wp-live-chat-support.php:767
2048
- msgid "Feedback"
2049
- msgstr "Zpětná vazba - Feedback"
2050
-
2051
- # @ wplivechat
2052
- #: wp-live-chat-support/includes/feedback-page.php:46
2053
- msgid "Send Feedback"
2054
- msgstr "Pošlete zpětnou vazbu"
2055
-
2056
- # @ wplivechat
2057
- #: wp-live-chat-support/includes/settings_page.php:73
2058
- msgid "Agents"
2059
- msgstr "Agenti / referenti"
2060
-
2061
- #: wp-live-chat-support/includes/settings_page.php:175
2062
- msgid "Include chat window on the following pages"
2063
- msgstr ""
2064
-
2065
- # @ wplivechat
2066
- #: wp-live-chat-support/includes/settings_page.php:181
2067
- #: wp-live-chat-support/includes/settings_page.php:196
2068
- #: wp-live-chat-support/includes/settings_page.php:245
2069
- #: wp-live-chat-support/includes/settings_page.php:262
2070
- #: wp-live-chat-support/includes/settings_page.php:278
2071
- #: wp-live-chat-support/includes/settings_page.php:294
2072
- #: wp-live-chat-support/includes/settings_page.php:310
2073
- #: wp-live-chat-support/includes/settings_page.php:327
2074
- #: wp-live-chat-support/includes/settings_page.php:372
2075
- #: wp-live-chat-support/includes/settings_page.php:385
2076
- msgid "available in the"
2077
- msgstr "k dispozici v"
2078
-
2079
- # @ wplivechat
2080
- #: wp-live-chat-support/includes/settings_page.php:182
2081
- #: wp-live-chat-support/includes/settings_page.php:197
2082
- #: wp-live-chat-support/includes/settings_page.php:246
2083
- #: wp-live-chat-support/includes/settings_page.php:263
2084
- #: wp-live-chat-support/includes/settings_page.php:279
2085
- #: wp-live-chat-support/includes/settings_page.php:295
2086
- #: wp-live-chat-support/includes/settings_page.php:311
2087
- #: wp-live-chat-support/includes/settings_page.php:328
2088
- #: wp-live-chat-support/includes/settings_page.php:373
2089
- #: wp-live-chat-support/includes/settings_page.php:386
2090
- #: wp-live-chat-support/wp-live-chat-support.php:3154
2091
- #: wp-live-chat-support/wp-live-chat-support.php:3946
2092
- #: wp-live-chat-support/wp-live-chat-support.php:4014
2093
- msgid "Pro Add-on"
2094
- msgstr "Pro Add-on verze"
2095
-
2096
- # @ wplivechat
2097
- #: wp-live-chat-support/includes/settings_page.php:183
2098
- #: wp-live-chat-support/includes/settings_page.php:198
2099
- #: wp-live-chat-support/includes/settings_page.php:247
2100
- #: wp-live-chat-support/includes/settings_page.php:264
2101
- #: wp-live-chat-support/includes/settings_page.php:280
2102
- #: wp-live-chat-support/includes/settings_page.php:296
2103
- #: wp-live-chat-support/includes/settings_page.php:312
2104
- #: wp-live-chat-support/includes/settings_page.php:329
2105
- #: wp-live-chat-support/includes/settings_page.php:374
2106
- #: wp-live-chat-support/includes/settings_page.php:387
2107
- msgid "only"
2108
- msgstr "jen"
2109
-
2110
- #: wp-live-chat-support/includes/settings_page.php:190
2111
- msgid "Exclude chat window on the following pages"
2112
- msgstr ""
2113
-
2114
- #: wp-live-chat-support/includes/settings_page.php:239
2115
- msgid "Display a typing animation as soon as someone starts typing."
2116
- msgstr ""
2117
-
2118
- # @ wplivechat
2119
- #: wp-live-chat-support/includes/settings_page.php:324
2120
- msgid "Alert me via email as soon as someone wants to chat"
2121
- msgstr ""
2122
- "Upozornit mě prostřednictvím emailu ihned, jak bude chtít někdo chat-ovat"
2123
-
2124
- #: wp-live-chat-support/includes/settings_page.php:551
2125
- #: wp-live-chat-support/includes/settings_page.php:552
2126
- msgid "Classic"
2127
- msgstr ""
2128
-
2129
- #: wp-live-chat-support/includes/settings_page.php:555
2130
- #: wp-live-chat-support/includes/settings_page.php:556
2131
- msgid "Modern"
2132
- msgstr ""
2133
-
2134
- #: wp-live-chat-support/includes/settings_page.php:572
2135
- msgid "Colour Scheme"
2136
- msgstr ""
2137
-
2138
- #: wp-live-chat-support/includes/settings_page.php:627
2139
- msgid "Choose"
2140
- msgstr ""
2141
-
2142
- #: wp-live-chat-support/includes/settings_page.php:628
2143
- msgid "Your"
2144
- msgstr ""
2145
-
2146
- #: wp-live-chat-support/includes/settings_page.php:629
2147
- msgid "Colors"
2148
- msgstr ""
2149
-
2150
- #: wp-live-chat-support/includes/settings_page.php:630
2151
- msgid "Below"
2152
- msgstr ""
2153
-
2154
- #: wp-live-chat-support/includes/settings_page.php:652
2155
- msgid "Palette Color 1"
2156
- msgstr ""
2157
-
2158
- #: wp-live-chat-support/includes/settings_page.php:658
2159
- msgid "Palette Color 2"
2160
- msgstr ""
2161
-
2162
- #: wp-live-chat-support/includes/settings_page.php:664
2163
- msgid "Palette Color 3"
2164
- msgstr ""
2165
-
2166
- #: wp-live-chat-support/includes/settings_page.php:670
2167
- msgid "Palette Color 4"
2168
- msgstr ""
2169
-
2170
- #: wp-live-chat-support/includes/surveys.php:8
2171
- #: wp-live-chat-support/includes/surveys.php:21
2172
- #: wp-live-chat-support/includes/surveys.php:290
2173
- #: wp-live-chat-support/wp-live-chat-support.php:727
2174
- msgid "Surveys"
2175
- msgstr ""
2176
-
2177
- #: wp-live-chat-support/includes/surveys.php:24
2178
- msgid "Enable Surveys"
2179
- msgstr ""
2180
-
2181
- #: wp-live-chat-support/includes/surveys.php:24
2182
- msgid ""
2183
- "Enable surveys within your live chat box, either before or after a live chat "
2184
- "session."
2185
- msgstr ""
2186
-
2187
- #: wp-live-chat-support/includes/surveys.php:33
2188
- #, php-format
2189
- msgid ""
2190
- "No surveys created. Please <a href=\"%s\" target=\"_BLANK\" title="
2191
- "\"NimbleSquirrel\">create a survey and then refresh this page.</a>"
2192
- msgstr ""
2193
-
2194
- #: wp-live-chat-support/includes/surveys.php:40
2195
- msgid "Select a survey"
2196
- msgstr ""
2197
-
2198
- #: wp-live-chat-support/includes/surveys.php:66
2199
- msgid "Display survey"
2200
- msgstr ""
2201
-
2202
- #: wp-live-chat-support/includes/surveys.php:69
2203
- msgid "Before chat"
2204
- msgstr ""
2205
-
2206
- #: wp-live-chat-support/includes/surveys.php:70
2207
- msgid "After chat"
2208
- msgstr ""
2209
-
2210
- #: wp-live-chat-support/includes/surveys.php:75
2211
- msgid "Chat button text"
2212
- msgstr ""
2213
-
2214
- #: wp-live-chat-support/includes/surveys.php:81
2215
- msgid "Change title of chat box when chat ended to"
2216
- msgstr ""
2217
-
2218
- #: wp-live-chat-support/includes/surveys.php:246
2219
- #: wp-live-chat-support/wp-live-chat-support.php:564
2220
- #: wp-live-chat-support/wp-live-chat-support.php:2688
2221
- #: wp-live-chat-support/wp-live-chat-support.php:4265
2222
- msgid "Or chat to an agent now"
2223
- msgstr ""
2224
-
2225
- #: wp-live-chat-support/includes/surveys.php:251
2226
- #: wp-live-chat-support/wp-live-chat-support.php:1426
2227
- msgid "Leave a message"
2228
- msgstr ""
2229
-
2230
- #: wp-live-chat-support/includes/surveys.php:285
2231
- msgid "WP Live Chat Surveys with Nimble Squirrel"
2232
- msgstr ""
2233
-
2234
- #: wp-live-chat-support/includes/surveys.php:291
2235
- msgid ""
2236
- "To view your responses, click the button below and log in to your "
2237
- "NimbleSquirrel account."
2238
- msgstr ""
2239
-
2240
- #: wp-live-chat-support/includes/surveys.php:294
2241
- msgid ""
2242
- "Need help? <a href='https://wp-livechat.com/contact-us/' "
2243
- "target='_BLANK'>Contact us</a> and we'll get back to you as soon as possible!"
2244
- msgstr ""
2245
-
2246
- #: wp-live-chat-support/includes/surveys.php:304
2247
- #, php-format
2248
- msgid ""
2249
- "Register on <a href=\"%s\" target=\"_BLANK\" title=\"NimbleSquirrel"
2250
- "\">NimbleSquirrel</a> (It's free.)"
2251
- msgstr ""
2252
-
2253
- #: wp-live-chat-support/includes/surveys.php:307
2254
- #, php-format
2255
- msgid ""
2256
- "<a href=\"%s\" target=\"_BLANK\" title=\"Create a survey\">Create a survey</"
2257
- "a>."
2258
- msgstr ""
2259
-
2260
- #: wp-live-chat-support/includes/surveys.php:314
2261
- msgid "Add a Survey to your live chat box"
2262
- msgstr ""
2263
-
2264
- #: wp-live-chat-support/includes/surveys.php:315
2265
- msgid "Three simple steps:"
2266
- msgstr ""
2267
-
2268
- #: wp-live-chat-support/includes/surveys.php:319
2269
- msgid ""
2270
- "Enable surveys in your live chat <a href='admin.php?page=wplivechat-menu-"
2271
- "settings'>settings page</a>."
2272
- msgstr ""
2273
-
2274
- # @ wplivechat
2275
- #: wp-live-chat-support/includes/welcome_page.php:4
2276
- msgid "Welcome to "
2277
- msgstr "Vítejte v"
2278
-
2279
- #: wp-live-chat-support/includes/welcome_page.php:6
2280
- msgid "Version 6"
2281
- msgstr ""
2282
-
2283
- #: wp-live-chat-support/includes/welcome_page.php:8
2284
- msgid "The most popular live chat plugin!"
2285
- msgstr ""
2286
-
2287
- #: wp-live-chat-support/includes/welcome_page.php:11
2288
- msgid "How did you find us?"
2289
- msgstr ""
2290
-
2291
- # @ wplivechat
2292
- #: wp-live-chat-support/includes/welcome_page.php:16
2293
- msgid "WordPress.org plugin repository "
2294
- msgstr "depozitář WordPress.org plugin-ů"
2295
-
2296
- # @ wplivechat
2297
- #: wp-live-chat-support/includes/welcome_page.php:19
2298
- msgid "Search Term"
2299
- msgstr "Hledejte výraz"
2300
-
2301
- # @ wplivechat
2302
- #: wp-live-chat-support/includes/welcome_page.php:23
2303
- msgid "Google or other search Engine"
2304
- msgstr "Google a nebo jiný vyhledávač"
2305
-
2306
- # @ wplivechat
2307
- #: wp-live-chat-support/includes/welcome_page.php:29
2308
- msgid "Friend recommendation"
2309
- msgstr "Doporučení přítele"
2310
-
2311
- # @ wplivechat
2312
- #: wp-live-chat-support/includes/welcome_page.php:35
2313
- msgid "Other"
2314
- msgstr "Ostatní"
2315
-
2316
- # @ wplivechat
2317
- #: wp-live-chat-support/includes/welcome_page.php:39
2318
- msgid "Please Explain"
2319
- msgstr "Prosím vysvětlete"
2320
-
2321
- # @ wplivechat
2322
- #: wp-live-chat-support/includes/welcome_page.php:48
2323
- msgid "Submit"
2324
- msgstr "Poslat"
2325
-
2326
- # @ wplivechat
2327
- #: wp-live-chat-support/includes/welcome_page.php:50
2328
- msgid "Skip"
2329
- msgstr "Přeskočit"
2330
-
2331
- #: wp-live-chat-support/modules/api/wplc-api.php:44
2332
- msgid "Rest API"
2333
- msgstr ""
2334
-
2335
- #: wp-live-chat-support/modules/api/wplc-api.php:62
2336
- msgid ""
2337
- "To make use of the REST API, please ensure you are using a version of "
2338
- "WordPress with the REST API included."
2339
- msgstr ""
2340
-
2341
- #: wp-live-chat-support/modules/api/wplc-api.php:64
2342
- msgid ""
2343
- "Alternatively, please install the official Rest API plugin from WordPress."
2344
- msgstr ""
2345
-
2346
- #: wp-live-chat-support/modules/api/wplc-api.php:71
2347
- msgid "REST API"
2348
- msgstr ""
2349
-
2350
- #: wp-live-chat-support/modules/api/wplc-api.php:75
2351
- msgid "Option"
2352
- msgstr ""
2353
-
2354
- #: wp-live-chat-support/modules/api/wplc-api.php:82
2355
- msgid "Secret Token"
2356
- msgstr ""
2357
-
2358
- #: wp-live-chat-support/modules/api/wplc-api.php:85
2359
- msgid "No secret token found"
2360
- msgstr ""
2361
-
2362
- #: wp-live-chat-support/modules/api/wplc-api.php:86
2363
- msgid "Generate New"
2364
- msgstr ""
2365
-
2366
- #: wp-live-chat-support/modules/api/wplc-api.php:91
2367
- msgid "Supported API Calls"
2368
- msgstr ""
2369
-
2370
- #: wp-live-chat-support/modules/api/wplc-api.php:95
2371
- #: wp-live-chat-support/modules/api/wplc-api.php:103
2372
- #: wp-live-chat-support/modules/api/wplc-api.php:111
2373
- #: wp-live-chat-support/modules/api/wplc-api.php:119
2374
- #: wp-live-chat-support/modules/api/wplc-api.php:127
2375
- #: wp-live-chat-support/modules/api/wplc-api.php:136
2376
- msgid "Try"
2377
- msgstr ""
2378
-
2379
- #: wp-live-chat-support/modules/api/wplc-api.php:144
2380
- msgid "API Response Codes"
2381
- msgstr ""
2382
-
2383
- #: wp-live-chat-support/modules/api/wplc-api.php:288
2384
- msgid "Rest Console "
2385
- msgstr ""
2386
-
2387
- #: wp-live-chat-support/modules/api/wplc-api.php:295
2388
- msgid "Try it!"
2389
- msgstr ""
2390
-
2391
- #: wp-live-chat-support/wp-live-chat-support.php:555
2392
- #: wp-live-chat-support/wp-live-chat-support.php:1668
2393
- #: wp-live-chat-support/wp-live-chat-support.php:2692
2394
- #: wp-live-chat-support/wp-live-chat-support.php:4256
2395
- msgid "Chat offline. Leave a message"
2396
- msgstr ""
2397
-
2398
- #: wp-live-chat-support/wp-live-chat-support.php:556
2399
- #: wp-live-chat-support/wp-live-chat-support.php:1510
2400
- #: wp-live-chat-support/wp-live-chat-support.php:2693
2401
- #: wp-live-chat-support/wp-live-chat-support.php:4257
2402
- msgid "Hello. Please input your details so that I may help you."
2403
- msgstr ""
2404
-
2405
- #: wp-live-chat-support/wp-live-chat-support.php:557
2406
- #: wp-live-chat-support/wp-live-chat-support.php:957
2407
- #: wp-live-chat-support/wp-live-chat-support.php:1523
2408
- #: wp-live-chat-support/wp-live-chat-support.php:2694
2409
- #: wp-live-chat-support/wp-live-chat-support.php:4258
2410
- msgid ""
2411
- "We are currently offline. Please leave a message and we'll get back to you "
2412
- "shortly."
2413
- msgstr ""
2414
-
2415
- #: wp-live-chat-support/wp-live-chat-support.php:558
2416
- #: wp-live-chat-support/wp-live-chat-support.php:958
2417
- #: wp-live-chat-support/wp-live-chat-support.php:2695
2418
- #: wp-live-chat-support/wp-live-chat-support.php:4259
2419
- msgid "Sending message..."
2420
- msgstr ""
2421
-
2422
- #: wp-live-chat-support/wp-live-chat-support.php:559
2423
- #: wp-live-chat-support/wp-live-chat-support.php:959
2424
- #: wp-live-chat-support/wp-live-chat-support.php:2696
2425
- #: wp-live-chat-support/wp-live-chat-support.php:4260
2426
- msgid "Thank you for your message. We will be in contact soon."
2427
- msgstr ""
2428
-
2429
- #: wp-live-chat-support/wp-live-chat-support.php:562
2430
- #: wp-live-chat-support/wp-live-chat-support.php:2686
2431
- #: wp-live-chat-support/wp-live-chat-support.php:4263
2432
- msgid "Start live chat"
2433
- msgstr ""
2434
-
2435
- #: wp-live-chat-support/wp-live-chat-support.php:565
2436
- #: wp-live-chat-support/wp-live-chat-support.php:2689
2437
- #: wp-live-chat-support/wp-live-chat-support.php:4266
2438
- msgid "Chat ended"
2439
- msgstr ""
2440
-
2441
- #: wp-live-chat-support/wp-live-chat-support.php:566
2442
- #: wp-live-chat-support/wp-live-chat-support.php:1560
2443
- #: wp-live-chat-support/wp-live-chat-support.php:1585
2444
- #: wp-live-chat-support/wp-live-chat-support.php:2690
2445
- #: wp-live-chat-support/wp-live-chat-support.php:4267
2446
- msgid "Connecting. Please be patient..."
2447
- msgstr ""
2448
-
2449
- # @ wplivechat
2450
- #: wp-live-chat-support/wp-live-chat-support.php:603
2451
- #: wp-live-chat-support/wp-live-chat-support.php:2664
2452
- msgid "Please click \\'Start Chat\\' to initiate a chat with an agent"
2453
- msgstr "Prosím, klikněte na \\'Spustit chat \\' zahájit chat s referentem"
2454
-
2455
- # @ wplivechat
2456
- #: wp-live-chat-support/wp-live-chat-support.php:725
2457
- msgid "Live Chat"
2458
- msgstr "Live Chat"
2459
-
2460
- # @ wplivechat
2461
- #: wp-live-chat-support/wp-live-chat-support.php:726
2462
- msgid "Settings"
2463
- msgstr "Nastavení"
2464
-
2465
- # @ wplivechat
2466
- #: wp-live-chat-support/wp-live-chat-support.php:744
2467
- msgid "History"
2468
- msgstr "Historie"
2469
-
2470
- # @ wplivechat
2471
- #: wp-live-chat-support/wp-live-chat-support.php:745
2472
- #, fuzzy
2473
- msgid "Missed Chats"
2474
- msgstr "Skrýt chat"
2475
-
2476
- #: wp-live-chat-support/wp-live-chat-support.php:768
2477
- #: wp-live-chat-support/wp-live-chat-support.php:3657
2478
- msgid "Support"
2479
- msgstr ""
2480
-
2481
- # @ wplivechat
2482
- #: wp-live-chat-support/wp-live-chat-support.php:769
2483
- #, fuzzy
2484
- msgid "Extensions"
2485
- msgstr "Máte otázky?"
2486
-
2487
- #: wp-live-chat-support/wp-live-chat-support.php:779
2488
- msgid "API Keys"
2489
- msgstr ""
2490
-
2491
- #: wp-live-chat-support/wp-live-chat-support.php:785
2492
- msgid "Premium Extension API Keys"
2493
- msgstr ""
2494
-
2495
- #: wp-live-chat-support/wp-live-chat-support.php:786
2496
- msgid ""
2497
- "To find and manage your premium API keys, please visit your <a "
2498
- "target='_BLANK' href='https://wp-livechat.com/my-account/'>my account</a> "
2499
- "page."
2500
- msgstr ""
2501
-
2502
- #: wp-live-chat-support/wp-live-chat-support.php:1265
2503
- #: wp-live-chat-support/wp-live-chat-support.php:1275
2504
- msgid "close"
2505
- msgstr ""
2506
-
2507
- #: wp-live-chat-support/wp-live-chat-support.php:1401
2508
- #: wp-live-chat-support/wp-live-chat-support.php:1420
2509
- msgid "Start chat"
2510
- msgstr ""
2511
-
2512
- #: wp-live-chat-support/wp-live-chat-support.php:1494
2513
- msgid "Send message"
2514
- msgstr ""
2515
-
2516
- #: wp-live-chat-support/wp-live-chat-support.php:2079
2517
- msgid "New chat received"
2518
- msgstr ""
2519
-
2520
- #: wp-live-chat-support/wp-live-chat-support.php:2081
2521
- msgid ""
2522
- "A new chat has been received. Please go the 'Live Chat' page to accept the "
2523
- "chat"
2524
- msgstr ""
2525
-
2526
- # @ wplivechat
2527
- #: wp-live-chat-support/wp-live-chat-support.php:2144
2528
- msgid ""
2529
- "You are using an outdated version of <strong>WP Live Chat Support Pro</"
2530
- "strong>. Please"
2531
- msgstr ""
2532
- "Používáte zastaralou verzi <strong> WP Live Chat Support Pro </ strong>. "
2533
- "Prosím"
2534
-
2535
- # @ wplivechat
2536
- #: wp-live-chat-support/wp-live-chat-support.php:2144
2537
- msgid "update to at least version"
2538
- msgstr "aktualizujte na aktuální verzi"
2539
-
2540
- # @ wplivechat
2541
- #: wp-live-chat-support/wp-live-chat-support.php:2144
2542
- msgid "to ensure all functionality is in working order"
2543
- msgstr "k zajištění funkčnosti všech funkcí"
2544
-
2545
- # @ wplivechat
2546
- #: wp-live-chat-support/wp-live-chat-support.php:2145
2547
- msgid ""
2548
- "You're live chat box on your website has been temporarily disabled until the "
2549
- "Pro plugin has been updated. This is to ensure a smooth and hassle-free user "
2550
- "experience for both yourself and your visitors."
2551
- msgstr ""
2552
- "Váš live chat box na vašich webových stránkách byl dočasně zastaven, dokud "
2553
- "nebude aktualizován Pro plugin. To zajistí hladký a bezproblémový "
2554
- "uživatelský komfort jak pro vás tak pro vaše návštěvníky."
2555
-
2556
- #: wp-live-chat-support/wp-live-chat-support.php:2146
2557
- #: wp-live-chat-support/wp-live-chat-support.php:2166
2558
- msgid ""
2559
- "You can update your plugin <a href='./update-core.php'>here</a>, <a href='./"
2560
- "plugins.php'>here</a> or <a href='https://wp-livechat.com/get-updated-"
2561
- "version/' target='_BLANK'>here</a>."
2562
- msgstr ""
2563
-
2564
- # @ wplivechat
2565
- #: wp-live-chat-support/wp-live-chat-support.php:2147
2566
- #: wp-live-chat-support/wp-live-chat-support.php:2167
2567
- msgid "If you are having difficulty updating the plugin, please contact"
2568
- msgstr "Pokud máte potíže s aktualizací plugin-u, prosím kontaktujte"
2569
-
2570
- # @ wplivechat
2571
- #: wp-live-chat-support/wp-live-chat-support.php:2159
2572
- #, fuzzy
2573
- msgid ""
2574
- "You are using an outdated version of <strong>WP Live Chat Support Pro</"
2575
- "strong>."
2576
- msgstr ""
2577
- "Používáte zastaralou verzi <strong> WP Live Chat Support Pro </ strong>. "
2578
- "Prosím"
2579
-
2580
- # @ wplivechat
2581
- #: wp-live-chat-support/wp-live-chat-support.php:2161
2582
- #, fuzzy
2583
- msgid "Please update to the latest version of WP Live Chat Support Pro"
2584
- msgstr ""
2585
- "Používáte zastaralou verzi <strong> WP Live Chat Support Pro </ strong>. "
2586
- "Prosím"
2587
-
2588
- #: wp-live-chat-support/wp-live-chat-support.php:2162
2589
- msgid "Version 5.0.1"
2590
- msgstr ""
2591
-
2592
- # @ wplivechat
2593
- #: wp-live-chat-support/wp-live-chat-support.php:2163
2594
- #, fuzzy
2595
- msgid "to ensure everything is working correctly."
2596
- msgstr "k zajištění funkčnosti všech funkcí"
2597
-
2598
- #: wp-live-chat-support/wp-live-chat-support.php:2195
2599
- msgid "Congratulations"
2600
- msgstr ""
2601
-
2602
- #: wp-live-chat-support/wp-live-chat-support.php:2196
2603
- msgid "You are now accepting live chat requests on your site."
2604
- msgstr ""
2605
-
2606
- #: wp-live-chat-support/wp-live-chat-support.php:2197
2607
- msgid "The live chat box has automatically been enabled on your website."
2608
- msgstr ""
2609
-
2610
- #: wp-live-chat-support/wp-live-chat-support.php:2198
2611
- msgid "Chat notifications will start appearing once visitors send a request."
2612
- msgstr ""
2613
-
2614
- #: wp-live-chat-support/wp-live-chat-support.php:2199
2615
- msgid ""
2616
- "You may <a href='?page=wplivechat-menu-settings' target='_BLANK'>modify your "
2617
- "chat box settings here."
2618
- msgstr ""
2619
-
2620
- #: wp-live-chat-support/wp-live-chat-support.php:2200
2621
- msgid "Experiencing issues?"
2622
- msgstr ""
2623
-
2624
- #: wp-live-chat-support/wp-live-chat-support.php:2200
2625
- msgid "Visit our troubleshooting section."
2626
- msgstr ""
2627
-
2628
- # @ wplivechat
2629
- #: wp-live-chat-support/wp-live-chat-support.php:2202
2630
- #, fuzzy
2631
- msgid "Hide"
2632
- msgstr "Skrýt chat"
2633
-
2634
- # @ wplivechat
2635
- #: wp-live-chat-support/wp-live-chat-support.php:2237
2636
- #: wp-live-chat-support/wp-live-chat-support.php:3677
2637
- #: wp-live-chat-support/wp-live-chat-support.php:3678
2638
- msgid "With the Pro add-on of WP Live Chat Support, you can"
2639
- msgstr "S verzí Pro add-on of WP Live Chat Support, "
2640
-
2641
- # @ wplivechat
2642
- #: wp-live-chat-support/wp-live-chat-support.php:2238
2643
- #: wp-live-chat-support/wp-live-chat-support.php:3677
2644
- msgid "see who's online and initiate chats"
2645
- msgstr "uvidíte, kdo je on-line a můžete zahájit chat"
2646
-
2647
- #: wp-live-chat-support/wp-live-chat-support.php:2239
2648
- #: wp-live-chat-support/wp-live-chat-support.php:3677
2649
- msgid "initiate chats"
2650
- msgstr ""
2651
-
2652
- # @ wplivechat
2653
- #: wp-live-chat-support/wp-live-chat-support.php:2240
2654
- #: wp-live-chat-support/wp-live-chat-support.php:3677
2655
- msgid "with your online visitors with the click of a button."
2656
- msgstr "s on-line návštěvníky vaší stránky jediným kliknutím."
2657
-
2658
- # @ wplivechat
2659
- #: wp-live-chat-support/wp-live-chat-support.php:2241
2660
- #: wp-live-chat-support/wp-live-chat-support.php:2243
2661
- #, fuzzy
2662
- msgid "Buy the Pro add-on now."
2663
- msgstr ""
2664
- "Kupte si verzi \\\"Pro add-on\\\" jen za jednorázový poplatek $29.95. "
2665
- "Aktualizace je zdarma, bez časového omezení."
2666
-
2667
- #: wp-live-chat-support/wp-live-chat-support.php:2297
2668
- msgid ""
2669
- "Please note: This window must be open in order to receive new chat "
2670
- "notifications."
2671
- msgstr ""
2672
-
2673
- # @ wplivechat
2674
- #: wp-live-chat-support/wp-live-chat-support.php:2308
2675
- #, fuzzy
2676
- msgid "Visitors online"
2677
- msgstr "Návštěvníci stránky"
2678
-
2679
- # @ wplivechat
2680
- #: wp-live-chat-support/wp-live-chat-support.php:2320
2681
- #, fuzzy
2682
- msgid "Visitor"
2683
- msgstr "Návštěvníci stránky"
2684
-
2685
- #: wp-live-chat-support/wp-live-chat-support.php:2321
2686
- msgid "Time"
2687
- msgstr ""
2688
-
2689
- #: wp-live-chat-support/wp-live-chat-support.php:2323
2690
- msgid "Device"
2691
- msgstr ""
2692
-
2693
- # @ wplivechat
2694
- #: wp-live-chat-support/wp-live-chat-support.php:2324
2695
- #, fuzzy
2696
- msgid "Data"
2697
- msgstr "Uživatelova data"
2698
-
2699
- # @ wplivechat
2700
- #: wp-live-chat-support/wp-live-chat-support.php:2362
2701
- #, fuzzy
2702
- msgid "Chat Dashboard"
2703
- msgstr "Chat aktivní"
2704
-
2705
- #: wp-live-chat-support/wp-live-chat-support.php:2365
2706
- msgid "Oh no!"
2707
- msgstr ""
2708
-
2709
- #: wp-live-chat-support/wp-live-chat-support.php:2368
2710
- msgid ""
2711
- "You do not have access to this page as <strong>you are not a chat agent</"
2712
- "strong>."
2713
- msgstr ""
2714
-
2715
- # @ wplivechat
2716
- #: wp-live-chat-support/wp-live-chat-support.php:2480
2717
- msgid "Previous"
2718
- msgstr "Předešlý"
2719
-
2720
- # @ wplivechat
2721
- #: wp-live-chat-support/wp-live-chat-support.php:2482
2722
- msgid "Active"
2723
- msgstr "Aktivní"
2724
-
2725
- # @ wplivechat
2726
- #: wp-live-chat-support/wp-live-chat-support.php:2491
2727
- #, fuzzy
2728
- msgid "Chat with"
2729
- msgstr "Ptejte se nás, klikněte zde"
2730
-
2731
- # @ wplivechat
2732
- #: wp-live-chat-support/wp-live-chat-support.php:2494
2733
- msgid "End chat"
2734
- msgstr "Ukončit chat"
2735
-
2736
- # @ wplivechat
2737
- #: wp-live-chat-support/wp-live-chat-support.php:2540
2738
- #: wp-live-chat-support/wp-live-chat-support.php:3492
2739
- #, fuzzy
2740
- msgid "Add-ons"
2741
- msgstr "Pro Add-on verze"
2742
-
2743
- #: wp-live-chat-support/wp-live-chat-support.php:2542
2744
- msgid "Get more add-ons"
2745
- msgstr ""
2746
-
2747
- # @ wplivechat
2748
- #: wp-live-chat-support/wp-live-chat-support.php:2560
2749
- msgid "Add Quick Responses to your Live Chat"
2750
- msgstr "Přidat rychlé odpovědi pro Váš Live Chat"
2751
-
2752
- # @ wplivechat
2753
- #: wp-live-chat-support/wp-live-chat-support.php:2560
2754
- msgid "Pro version only"
2755
- msgstr "pouze Pro verze"
2756
-
2757
- #: wp-live-chat-support/wp-live-chat-support.php:2568
2758
- msgid "type here..."
2759
- msgstr ""
2760
-
2761
- # @ wplivechat
2762
- #: wp-live-chat-support/wp-live-chat-support.php:2646
2763
- msgid "User has opened the chat window"
2764
- msgstr "Uživatel otevřel okno chat-u"
2765
-
2766
- # @ wplivechat
2767
- #: wp-live-chat-support/wp-live-chat-support.php:2647
2768
- msgid "User has minimized the chat window"
2769
- msgstr "Uživatel minimalizoval okno chat-u"
2770
-
2771
- # @ wplivechat
2772
- #: wp-live-chat-support/wp-live-chat-support.php:2648
2773
- msgid "User has maximized the chat window"
2774
- msgstr "Uživatel maximalizoval okno chat-u"
2775
-
2776
- #: wp-live-chat-support/wp-live-chat-support.php:2649
2777
- msgid "The chat has been ended"
2778
- msgstr ""
2779
-
2780
- #: wp-live-chat-support/wp-live-chat-support.php:3066
2781
- msgid "Delete History"
2782
- msgstr ""
2783
-
2784
- #: wp-live-chat-support/wp-live-chat-support.php:3083
2785
- msgid "No chats available at the moment"
2786
- msgstr ""
2787
-
2788
- #: wp-live-chat-support/wp-live-chat-support.php:3094
2789
- msgid "View Chat History"
2790
- msgstr ""
2791
-
2792
- #: wp-live-chat-support/wp-live-chat-support.php:3094
2793
- msgid "Download Chat History"
2794
- msgstr ""
2795
-
2796
- # @ wplivechat
2797
- #: wp-live-chat-support/wp-live-chat-support.php:3116
2798
- msgid "WP Live Chat History"
2799
- msgstr "WP Live Chat historie"
2800
-
2801
- # @ wplivechat
2802
- #: wp-live-chat-support/wp-live-chat-support.php:3136
2803
- #, fuzzy
2804
- msgid "WP Live Chat Missed Chats"
2805
- msgstr "WP Live Chat historie"
2806
-
2807
- # @ wplivechat
2808
- #: wp-live-chat-support/wp-live-chat-support.php:3151
2809
- #, fuzzy
2810
- msgid ""
2811
- "Please update to the latest version of WP Live Chat Support Pro to start "
2812
- "recording any offline messages."
2813
- msgstr ""
2814
- "Používáte zastaralou verzi <strong> WP Live Chat Support Pro </ strong>. "
2815
- "Prosím"
2816
-
2817
- # @ wplivechat
2818
- #: wp-live-chat-support/wp-live-chat-support.php:3154
2819
- #, fuzzy
2820
- msgid "This option is only available in the "
2821
- msgstr "k dispozici v"
2822
-
2823
- # @ wplivechat
2824
- #: wp-live-chat-support/wp-live-chat-support.php:3166
2825
- #, fuzzy
2826
- msgid "WP Live Chat Offline Messages"
2827
- msgstr "Offline zprávy"
2828
-
2829
- #: wp-live-chat-support/wp-live-chat-support.php:3187
2830
- msgid "Actions"
2831
- msgstr ""
2832
-
2833
- #: wp-live-chat-support/wp-live-chat-support.php:3205
2834
- msgid "Delete Message"
2835
- msgstr ""
2836
-
2837
- # @ wplivechat
2838
- #: wp-live-chat-support/wp-live-chat-support.php:3299
2839
- msgid "Please click 'Start Chat' to initiate a chat with an agent"
2840
- msgstr ""
2841
- "Prosím, klikněte na tlačítko \\\"Spustit chat\\\", zahájit chat s referentem"
2842
-
2843
- # @ wplivechat
2844
- #: wp-live-chat-support/wp-live-chat-support.php:3395
2845
- msgid "Your settings have been saved."
2846
- msgstr "Vaše nastavení bylo uloženo."
2847
-
2848
- # @ wplivechat
2849
- #: wp-live-chat-support/wp-live-chat-support.php:3410
2850
- msgid "Thank You for your feedback!"
2851
- msgstr "Děkujeme za vaši zpětnou vazbu!"
2852
-
2853
- # @ wplc
2854
- #: wp-live-chat-support/wp-live-chat-support.php:3414
2855
- #: wp-live-chat-support/wp-live-chat-support.php:3427
2856
- msgid "Thank you for your feedback. We will be in touch soon"
2857
- msgstr ""
2858
-
2859
- # @ wplc
2860
- #: wp-live-chat-support/wp-live-chat-support.php:3430
2861
- msgid "There was a problem sending your feedback. Please log your feedback on "
2862
- msgstr ""
2863
-
2864
- #: wp-live-chat-support/wp-live-chat-support.php:3464
2865
- msgid ""
2866
- "WPLC: set_time_limit() is not enabled on this server. You may experience "
2867
- "issues while using WP Live Chat Support as a result of this. Please get in "
2868
- "contact your host to get this function enabled."
2869
- msgstr ""
2870
-
2871
- #: wp-live-chat-support/wp-live-chat-support.php:3470
2872
- msgid ""
2873
- "WPLC: Safe mode is enabled on this server. You may experience issues while "
2874
- "using WP Live Chat Support as a result of this. Please contact your host to "
2875
- "get safe mode disabled."
2876
- msgstr ""
2877
-
2878
- #: wp-live-chat-support/wp-live-chat-support.php:3492
2879
- msgid "Suggested Plugins"
2880
- msgstr ""
2881
-
2882
- #: wp-live-chat-support/wp-live-chat-support.php:3503
2883
- #: wp-live-chat-support/wp-live-chat-support.php:3504
2884
- #: wp-live-chat-support/wp-live-chat-support.php:3505
2885
- #: wp-live-chat-support/wp-live-chat-support.php:3510
2886
- msgid "Sola Support Tickets"
2887
- msgstr ""
2888
-
2889
- #: wp-live-chat-support/wp-live-chat-support.php:3508
2890
- msgid ""
2891
- "The easiest to use Help Desk & Support Ticket plugin. Create a support help "
2892
- "desk quickly and easily with Sola Support Tickets."
2893
- msgstr ""
2894
-
2895
- #: wp-live-chat-support/wp-live-chat-support.php:3510
2896
- #: wp-live-chat-support/wp-live-chat-support.php:3521
2897
- msgid "Get this Plugin"
2898
- msgstr ""
2899
-
2900
- #: wp-live-chat-support/wp-live-chat-support.php:3514
2901
- #: wp-live-chat-support/wp-live-chat-support.php:3515
2902
- #: wp-live-chat-support/wp-live-chat-support.php:3516
2903
- #: wp-live-chat-support/wp-live-chat-support.php:3521
2904
- msgid "Nifty Newsletters"
2905
- msgstr ""
2906
-
2907
- #: wp-live-chat-support/wp-live-chat-support.php:3519
2908
- msgid ""
2909
- "Create and send newsletters, automatic post notifications and autoresponders "
2910
- "that are modern and beautiful with Nifty Newsletters."
2911
- msgstr ""
2912
-
2913
- #: wp-live-chat-support/wp-live-chat-support.php:3553
2914
- msgid "Price:"
2915
- msgstr ""
2916
-
2917
- #: wp-live-chat-support/wp-live-chat-support.php:3555
2918
- msgid "Free"
2919
- msgstr ""
2920
-
2921
- #: wp-live-chat-support/wp-live-chat-support.php:3556
2922
- msgid "Paid"
2923
- msgstr ""
2924
-
2925
- #: wp-live-chat-support/wp-live-chat-support.php:3559
2926
- msgid "For:"
2927
- msgstr ""
2928
-
2929
- #: wp-live-chat-support/wp-live-chat-support.php:3560
2930
- msgid "Both"
2931
- msgstr ""
2932
-
2933
- # @ wplivechat
2934
- #: wp-live-chat-support/wp-live-chat-support.php:3561
2935
- #, fuzzy
2936
- msgid "Free version"
2937
- msgstr "pouze Pro verze"
2938
-
2939
- # @ wplivechat
2940
- #: wp-live-chat-support/wp-live-chat-support.php:3562
2941
- #, fuzzy
2942
- msgid "Pro version"
2943
- msgstr "pouze Pro verze"
2944
-
2945
- #: wp-live-chat-support/wp-live-chat-support.php:3598
2946
- msgid "Already installed"
2947
- msgstr ""
2948
-
2949
- # @ wplivechat
2950
- #: wp-live-chat-support/wp-live-chat-support.php:3625
2951
- #, fuzzy
2952
- msgid "WP Live Chat Support"
2953
- msgstr "WP Live Chat Podpora Zpětná vazba"
2954
-
2955
- # @ wplivechat
2956
- #: wp-live-chat-support/wp-live-chat-support.php:3628
2957
- #, fuzzy
2958
- msgid "Documentation"
2959
- msgstr "Prozkoumejte dokumentaci."
2960
-
2961
- #: wp-live-chat-support/wp-live-chat-support.php:3630
2962
- msgid ""
2963
- "Getting started? Read through some of these articles to help you along your "
2964
- "way."
2965
- msgstr ""
2966
-
2967
- # @ wplivechat
2968
- #: wp-live-chat-support/wp-live-chat-support.php:3631
2969
- #, fuzzy
2970
- msgid "Documentation:"
2971
- msgstr "Prozkoumejte dokumentaci."
2972
-
2973
- #: wp-live-chat-support/wp-live-chat-support.php:3633
2974
- msgid "Minimum System Requirements"
2975
- msgstr ""
2976
-
2977
- #: wp-live-chat-support/wp-live-chat-support.php:3634
2978
- msgid "Do I have to be logged into the dashboard to chat with visitors?"
2979
- msgstr ""
2980
-
2981
- # @ wplivechat
2982
- #: wp-live-chat-support/wp-live-chat-support.php:3635
2983
- #, fuzzy
2984
- msgid "What are Quick Responses?"
2985
- msgstr "Přiřadit rychlou odezvu"
2986
-
2987
- #: wp-live-chat-support/wp-live-chat-support.php:3636
2988
- msgid "Can I use this plugin on my multi-site?"
2989
- msgstr ""
2990
-
2991
- #: wp-live-chat-support/wp-live-chat-support.php:3637
2992
- msgid "How do I disable APC Object Cache?"
2993
- msgstr ""
2994
-
2995
- #: wp-live-chat-support/wp-live-chat-support.php:3638
2996
- msgid "Do you have a mobile app?"
2997
- msgstr ""
2998
-
2999
- #: wp-live-chat-support/wp-live-chat-support.php:3639
3000
- msgid "How do I check for JavaScript errors on my site?"
3001
- msgstr ""
3002
-
3003
- #: wp-live-chat-support/wp-live-chat-support.php:3643
3004
- msgid "Troubleshooting"
3005
- msgstr ""
3006
-
3007
- #: wp-live-chat-support/wp-live-chat-support.php:3645
3008
- msgid ""
3009
- "WP Live Chat Support has a diverse and wide range of features which may, "
3010
- "from time to time, run into conflicts with the thousands of themes and other "
3011
- "plugins on the market."
3012
- msgstr ""
3013
-
3014
- #: wp-live-chat-support/wp-live-chat-support.php:3646
3015
- msgid "Common issues:"
3016
- msgstr ""
3017
-
3018
- #: wp-live-chat-support/wp-live-chat-support.php:3648
3019
- msgid "The chat box doesnt show up"
3020
- msgstr ""
3021
-
3022
- #: wp-live-chat-support/wp-live-chat-support.php:3649
3023
- msgid "The chat window disappears when I logout or go offline"
3024
- msgstr ""
3025
-
3026
- #: wp-live-chat-support/wp-live-chat-support.php:3650
3027
- msgid "This chat has already been answered. Please close the chat window"
3028
- msgstr ""
3029
-
3030
- # @ wplivechat
3031
- #: wp-live-chat-support/wp-live-chat-support.php:3651
3032
- #, fuzzy
3033
- msgid "Messages only show when I refresh the chat window"
3034
- msgstr "Uživatel otevřel okno chat-u"
3035
-
3036
- #: wp-live-chat-support/wp-live-chat-support.php:3652
3037
- msgid "I'm not getting any notifications of a new chat"
3038
- msgstr ""
3039
-
3040
- #: wp-live-chat-support/wp-live-chat-support.php:3653
3041
- msgid "The chat window never goes offline"
3042
- msgstr ""
3043
-
3044
- #: wp-live-chat-support/wp-live-chat-support.php:3659
3045
- msgid "Still need help? Use one of these links below."
3046
- msgstr ""
3047
-
3048
- #: wp-live-chat-support/wp-live-chat-support.php:3661
3049
- msgid "Support desk"
3050
- msgstr ""
3051
-
3052
- #: wp-live-chat-support/wp-live-chat-support.php:3662
3053
- msgid "Contact us"
3054
- msgstr ""
3055
-
3056
- # @ wplivechat
3057
- #: wp-live-chat-support/wp-live-chat-support.php:3677
3058
- #, fuzzy
3059
- msgid "Initiate Chats"
3060
- msgstr "Začít diskusi"
3061
-
3062
- # @ wplivechat
3063
- #: wp-live-chat-support/wp-live-chat-support.php:3677
3064
- #: wp-live-chat-support/wp-live-chat-support.php:3678
3065
- #, fuzzy
3066
- msgid "Buy the Pro add-on now (once off payment)."
3067
- msgstr ""
3068
- "Kupte si verzi \\\"Pro add-on\\\" jen za jednorázový poplatek $29.95. "
3069
- "Aktualizace je zdarma, bez časového omezení."
3070
-
3071
- # @ wplivechat
3072
- #: wp-live-chat-support/wp-live-chat-support.php:3678
3073
- #, fuzzy
3074
- msgid "Multiple Chats"
3075
- msgstr "Více agentů / referentů"
3076
-
3077
- #: wp-live-chat-support/wp-live-chat-support.php:3678
3078
- msgid "accept and handle multiple chats."
3079
- msgstr ""
3080
-
3081
- #: wp-live-chat-support/wp-live-chat-support.php:3679
3082
- msgid "Add unlimited agents"
3083
- msgstr ""
3084
-
3085
- # @ wplivechat
3086
- #: wp-live-chat-support/wp-live-chat-support.php:3679
3087
- #, fuzzy
3088
- msgid " with the Pro add-on of WP Live Chat Support"
3089
- msgstr "S verzí Pro add-on of WP Live Chat Support, "
3090
-
3091
- #: wp-live-chat-support/wp-live-chat-support.php:3679
3092
- msgid "(once off payment)."
3093
- msgstr ""
3094
-
3095
- #: wp-live-chat-support/wp-live-chat-support.php:3693
3096
- #, php-format
3097
- msgid ""
3098
- "Thank you for using <a href=\"%1$s\" target=\"_blank\">WP Live Chat Support</"
3099
- "a>! Please <a href=\"%2$s\" target=\"_blank\">rate us</a> on <a href=\"%2$s"
3100
- "\" target=\"_blank\">WordPress.org</a>"
3101
- msgstr ""
3102
-
3103
- # @ wplivechat
3104
- #: wp-live-chat-support/wp-live-chat-support.php:3698
3105
- #, fuzzy
3106
- msgid "WP Live Chat Support is a product of"
3107
- msgstr "WP Live Chat Podpora Zpětná vazba"
3108
-
3109
- #: wp-live-chat-support/wp-live-chat-support.php:3802
3110
- msgid "Add as many agents as you need with the "
3111
- msgstr ""
3112
-
3113
- #: wp-live-chat-support/wp-live-chat-support.php:3802
3114
- msgid "Pro version."
3115
- msgstr ""
3116
-
3117
- #: wp-live-chat-support/wp-live-chat-support.php:3806
3118
- #, php-format
3119
- msgid "Change the default chat agent from <strong>%1$s</strong> to "
3120
- msgstr ""
3121
-
3122
- #: wp-live-chat-support/wp-live-chat-support.php:3905
3123
- msgid "Verify"
3124
- msgstr ""
3125
-
3126
- #: wp-live-chat-support/wp-live-chat-support.php:3908
3127
- msgid "Status: "
3128
- msgstr ""
3129
-
3130
- #: wp-live-chat-support/wp-live-chat-support.php:3911
3131
- msgid "Valid"
3132
- msgstr ""
3133
-
3134
- #: wp-live-chat-support/wp-live-chat-support.php:3912
3135
- #: wp-live-chat-support/wp-live-chat-support.php:3916
3136
- msgid "Manage this extension"
3137
- msgstr ""
3138
-
3139
- #: wp-live-chat-support/wp-live-chat-support.php:3915
3140
- msgid "Invalid"
3141
- msgstr ""
3142
-
3143
- #: wp-live-chat-support/wp-live-chat-support.php:3921
3144
- msgid "Linked Domains"
3145
- msgstr ""
3146
-
3147
- #: wp-live-chat-support/wp-live-chat-support.php:3955
3148
- #: wp-live-chat-support/wp-live-chat-support.php:4023
3149
- msgid ""
3150
- "Get unlimited agents, initiate chats, advanced chat box control, encryption "
3151
- "and more with the Pro add-on."
3152
- msgstr ""
3153
-
3154
- #: wp-live-chat-support/wp-live-chat-support.php:3957
3155
- #: wp-live-chat-support/wp-live-chat-support.php:3979
3156
- #: wp-live-chat-support/wp-live-chat-support.php:4000
3157
- #: wp-live-chat-support/wp-live-chat-support.php:4025
3158
- msgid "Get this extension"
3159
- msgstr ""
3160
-
3161
- #: wp-live-chat-support/wp-live-chat-support.php:3968
3162
- msgid "Mobile & Desktop App"
3163
- msgstr ""
3164
-
3165
- #: wp-live-chat-support/wp-live-chat-support.php:3977
3166
- msgid ""
3167
- "Answer chats directly from your mobile phone or desktop with our mobile app "
3168
- "and desktop client"
3169
- msgstr ""
3170
-
3171
- #: wp-live-chat-support/wp-live-chat-support.php:3998
3172
- msgid ""
3173
- "Reduce the resources required by your server - use our cloud server to host "
3174
- "your chats."
3175
- msgstr ""
3176
-
3177
- #: wp-live-chat-support/wp-live-chat-support.php:4046
3178
- #: wp-live-chat-support/wp-live-chat-support.php:4067
3179
- msgid "Relevant Extensions"
3180
- msgstr ""
3181
-
3182
- #: wp-live-chat-support/wp-live-chat-support.php:4086
3183
- msgid "Powered By WP Live Chat Support"
3184
- msgstr ""
3185
-
3186
- #: wp-live-chat-support/wp-live-chat-support.php:4232
3187
- msgid ""
3188
- "Your API Key is Invalid. You are not eligible for future updates. Please "
3189
- "enter your API key <a href=\"admin.php?page=wplivechat-menu-api-keys-page"
3190
- "\">here</a>."
3191
- msgstr ""
3192
-
3193
- #: wp-live-chat-support/wp-live-chat-support.php:4318
3194
- msgid "Advanced settings"
3195
- msgstr ""
3196
-
3197
- #: wp-live-chat-support/wp-live-chat-support.php:4327
3198
- msgid "Only change these settings if you are experiencing performance issues."
3199
- msgstr ""
3200
-
3201
- #: wp-live-chat-support/wp-live-chat-support.php:4337
3202
- msgid "What type of environment are you on?"
3203
- msgstr ""
3204
-
3205
- #: wp-live-chat-support/wp-live-chat-support.php:4341
3206
- msgid "Shared hosting - low level plan"
3207
- msgstr ""
3208
-
3209
- #: wp-live-chat-support/wp-live-chat-support.php:4342
3210
- msgid "Shared hosting - normal plan"
3211
- msgstr ""
3212
-
3213
- #: wp-live-chat-support/wp-live-chat-support.php:4343
3214
- msgid "VPS"
3215
- msgstr ""
3216
-
3217
- #: wp-live-chat-support/wp-live-chat-support.php:4344
3218
- msgid "Dedicated server"
3219
- msgstr ""
3220
-
3221
- #: wp-live-chat-support/wp-live-chat-support.php:4350
3222
- msgid "Long poll setup"
3223
- msgstr ""
3224
-
3225
- #: wp-live-chat-support/wp-live-chat-support.php:4350
3226
- msgid ""
3227
- "Only change these if you are an experienced developer or if you have "
3228
- "received these figures from the Code Cabin Support team."
3229
- msgstr ""
3230
-
3231
- #: wp-live-chat-support/wp-live-chat-support.php:4358
3232
- msgid "Iterations"
3233
- msgstr ""
3234
-
3235
- #: wp-live-chat-support/wp-live-chat-support.php:4362
3236
- msgid "Sleep between iterations"
3237
- msgstr ""
3238
-
3239
- #: wp-live-chat-support/wp-live-chat-support.php:4365
3240
- msgid "microseconds"
3241
- msgstr ""
3242
-
3243
- #: wp-live-chat-support/wp-live-chat-support.php:4388
3244
- msgid "View comprehensive reports regarding your chat and agent activity."
3245
- msgstr ""
3246
-
3247
- #: wp-live-chat-support/wp-live-chat-support.php:4391
3248
- msgid "Reports"
3249
- msgstr ""
3250
-
3251
- #: wp-live-chat-support/wp-live-chat-support.php:4393
3252
- msgid "Chat statistics"
3253
- msgstr ""
3254
-
3255
- #: wp-live-chat-support/wp-live-chat-support.php:4394
3256
- msgid "Popular pages"
3257
- msgstr ""
3258
-
3259
- #: wp-live-chat-support/wp-live-chat-support.php:4395
3260
- msgid ""
3261
- "ROI reporting and tracking (identify which agents produce the most sales)"
3262
- msgstr ""
3263
-
3264
- #: wp-live-chat-support/wp-live-chat-support.php:4396
3265
- msgid ""
3266
- "User experience ratings (identify which agents produce the happiest "
3267
- "customers)"
3268
- msgstr ""
3269
-
3270
- #: wp-live-chat-support/wp-live-chat-support.php:4406
3271
- #: wp-live-chat-support/wp-live-chat-support.php:4468
3272
- msgid "Get all this and more in the "
3273
- msgstr ""
3274
-
3275
- # @ wplivechat
3276
- #: wp-live-chat-support/wp-live-chat-support.php:4406
3277
- #: wp-live-chat-support/wp-live-chat-support.php:4468
3278
- #, fuzzy
3279
- msgid "Pro add-on"
3280
- msgstr "Pro Add-on verze"
3281
-
3282
- #: wp-live-chat-support/wp-live-chat-support.php:4407
3283
- #: wp-live-chat-support/wp-live-chat-support.php:4469
3284
- msgid "Upgrade Now"
3285
- msgstr ""
3286
-
3287
- #: wp-live-chat-support/wp-live-chat-support.php:4450
3288
- msgid ""
3289
- "Create custom data triggers when users view a certain page, spend a certain "
3290
- "amount of time on a page, scroll past a certain point or when their mouse "
3291
- "leaves the window."
3292
- msgstr ""
3293
-
3294
- #: wp-live-chat-support/wp-live-chat-support.php:4453
3295
- msgid "Trigger Types"
3296
- msgstr ""
3297
-
3298
- # @ wplivechat
3299
- #~ msgid "We'd love to hear your comments and/or suggestions"
3300
- #~ msgstr ""
3301
- #~ "Byli by jsme rádi, kdyby jste nám poslali vaše návrhy a/nebo komentáře"
3302
-
3303
- # @ wplivechat
3304
- #~ msgid "Get offline messages with the "
3305
- #~ msgstr "Obdržte offline zprávy z "
3306
-
3307
- # @ wplivechat
3308
- #~ msgid "Offline text"
3309
- #~ msgstr "Offline text"
3310
-
3311
- # @ wplivechat
3312
- #~ msgid "Edit these text fields using the "
3313
- #~ msgstr "Upravte tato textová pole a použijte"
3314
-
3315
- # @ wplivechat
3316
- #~ msgid "First section text"
3317
- #~ msgstr "Text první sekce"
3318
-
3319
- # @ wplivechat
3320
- #~ msgid "Second section text"
3321
- #~ msgstr "Text druhé sekce"
3322
-
3323
- # @ wplivechat
3324
- #~ msgid "Reactivate chat section text"
3325
- #~ msgstr " Znovu se aktivuje chat textová část"
3326
-
3327
- # @ wplivechat
3328
- #, fuzzy
3329
- #~ msgid "Pro version for only $19.95 once off."
3330
- #~ msgstr "pouze Pro verze"
3331
-
3332
- # @ wplivechat
3333
- #, fuzzy
3334
- #~ msgid "Provide Instant Live Chat Support!"
3335
- #~ msgstr "WP Live Chat Podpora Zpětná vazba"
3336
-
3337
- # @ wplivechat
3338
- #~ msgid ""
3339
- #~ "You can update your plugin <a href='./update-core.php'>here</a>, <a "
3340
- #~ "href='./plugins.php'>here</a> or <a href='http://wp-livechat.com/get-"
3341
- #~ "updated-version/' target='_BLANK'>here</a>."
3342
- #~ msgstr ""
3343
- #~ "Můžete aktualizovat svůj plugin <a href='./update-core.php'>here</a>, <a "
3344
- #~ "href='./plugins.php'>here</a> or <a href='http://wp-livechat.com/get-"
3345
- #~ "updated-version/' target='_BLANK'>zde</a>."
3346
-
3347
- # @ wplivechat
3348
- #~ msgid "User has closed and ended the chat"
3349
- #~ msgstr "Uživatel zavřel okno a ukončil chat"
3350
-
3351
- # @ wplivechat
3352
- #~ msgid "Get"
3353
- #~ msgstr "Obdržte"
3354
-
3355
- # @ wplivechat
3356
- #~ msgid "Multiple agent support"
3357
- #~ msgstr "Podpora více agentů / referentů"
3358
-
3359
- # @ wplivechat
3360
- #~ msgid "Experiencing problems with the plugin?"
3361
- #~ msgstr "Dochází k problémům s plugin-em?"
3362
-
3363
- # @ wplivechat
3364
- #~ msgid "Or ask a question on our"
3365
- #~ msgstr "a nebo se obraťte na"
3366
-
3367
- # @ wplivechat
3368
- #~ msgid ""
3369
- #~ "Buy the Pro add-on now for only $29.95 once off. Free Updates Forever."
3370
- #~ msgstr ""
3371
- #~ "Kupte si verzi \\\"Pro add-on\\\" jen za jednorázový poplatek $29.95. "
3372
- #~ "Aktualizace je zdarma, bez časového omezení."
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: WP Live Chat Support v4.1.9\n"
4
+ "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2016-10-18 14:38+0200\n"
6
+ "PO-Revision-Date: 2016-10-18 14:38+0200\n"
7
+ "Last-Translator: admin <info@iLoveFoto.cz>\n"
8
+ "Language-Team: \n"
9
+ "Language: cs_CZ\n"
10
+ "MIME-Version: 1.0\n"
11
+ "Content-Type: text/plain; charset=UTF-8\n"
12
+ "Content-Transfer-Encoding: 8bit\n"
13
+ "Plural-Forms: nplurals=3; plural=n%100/10==1 ? 2 : n%10==1 ? 0 : (n"
14
+ "+9)%10>3 ? 2 : 1;\n"
15
+ "X-Generator: Poedit 1.8.10\n"
16
+ "X-Poedit-SourceCharset: utf-8\n"
17
+ "X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;"
18
+ "_n_noop:1,2;_c,_nc:4c,1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2\n"
19
+ "X-Poedit-Basepath: ../..\n"
20
+ "X-Textdomain-Support: yes\n"
21
+ "X-Poedit-SearchPath-0: wp-live-chat-support\n"
22
+ "X-Poedit-SearchPath-1: wp-live-chat-support-cloud-server\n"
23
+ "X-Poedit-SearchPath-2: wp-live-chat-support-mobile-and-desktop-app\n"
24
+ "X-Poedit-SearchPath-3: wp-live-chat-support-pro\n"
25
+
26
+ #: wp-live-chat-support-cloud-server/includes/update_control.php:43
27
+ #: wp-live-chat-support-cloud-server/wp-live-chat-support-cloud-server.php:59
28
+ #: wp-live-chat-support-cloud-server/wp-live-chat-support-cloud-server.php:371
29
+ #: wp-live-chat-support-cloud-server/wp-live-chat-support-cloud-server.php:393
30
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:98
31
+ #: wp-live-chat-support/wp-live-chat-support.php:3989
32
+ msgid "Cloud Server"
33
+ msgstr ""
34
+
35
+ #: wp-live-chat-support-cloud-server/includes/update_control.php:118
36
+ #: wp-live-chat-support/includes/update_control.class.php:122
37
+ msgid ""
38
+ "An Unexpected HTTP Error occurred during the API request.</p> <p><a href=\"?"
39
+ "\" onclick=\"document.location.reload(); return false;\">Try again</a>"
40
+ msgstr ""
41
+
42
+ #: wp-live-chat-support-cloud-server/includes/update_control.php:123
43
+ #: wp-live-chat-support/includes/update_control.class.php:127
44
+ msgid "An unknown error occurred"
45
+ msgstr ""
46
+
47
+ #: wp-live-chat-support-cloud-server/wp-live-chat-support-cloud-server.php:73
48
+ msgid "Chat functionality has been paused."
49
+ msgstr ""
50
+
51
+ #: wp-live-chat-support-cloud-server/wp-live-chat-support-cloud-server.php:74
52
+ msgid ""
53
+ "Please enter your verified API key in the <a href=\"admin.php?"
54
+ "page=wplivechat-menu-api-keys-page\">API Keys page</a> to activate the cloud "
55
+ "based functionality."
56
+ msgstr ""
57
+
58
+ #: wp-live-chat-support-cloud-server/wp-live-chat-support-cloud-server.php:90
59
+ msgid "Are you sure you would like to delete chat history?"
60
+ msgstr ""
61
+
62
+ # @ wplivechat
63
+ #: wp-live-chat-support-cloud-server/wp-live-chat-support-cloud-server.php:92
64
+ #: wp-live-chat-support-cloud-server/wp-live-chat-support-cloud-server.php:108
65
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:135
66
+ #: wp-live-chat-support/functions.php:1609
67
+ #: wp-live-chat-support/includes/settings_page.php:97
68
+ #: wp-live-chat-support/wp-live-chat-support.php:3049
69
+ msgid "Yes"
70
+ msgstr "Ano"
71
+
72
+ # @ wplivechat
73
+ #: wp-live-chat-support-cloud-server/wp-live-chat-support-cloud-server.php:93
74
+ #: wp-live-chat-support-cloud-server/wp-live-chat-support-cloud-server.php:109
75
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:138
76
+ #: wp-live-chat-support/functions.php:1609
77
+ #: wp-live-chat-support/includes/settings_page.php:98
78
+ #: wp-live-chat-support/wp-live-chat-support.php:3049
79
+ msgid "No"
80
+ msgstr "Ne"
81
+
82
+ #: wp-live-chat-support-cloud-server/wp-live-chat-support-cloud-server.php:106
83
+ msgid "Are you sure you would like to delete all missed chats?"
84
+ msgstr ""
85
+
86
+ #: wp-live-chat-support-cloud-server/wp-live-chat-support-cloud-server.php:374
87
+ msgid ""
88
+ "You are currently using our <strong>cloud server</strong> to handle your "
89
+ "chat requests and live chat sessions.<br /><br />To disable this, please "
90
+ "deactivate the WP Live Chat Support - Cloud Server plugin."
91
+ msgstr ""
92
+
93
+ #: wp-live-chat-support-mobile-and-desktop-app/wp-live-chat-support-mobile-and-desktop-app.php:47
94
+ msgid "Mobile and Desktop App"
95
+ msgstr ""
96
+
97
+ #: wp-live-chat-support-mobile-and-desktop-app/wp-live-chat-support-mobile-and-desktop-app.php:99
98
+ msgid "Mobile and Desktop App Settings"
99
+ msgstr ""
100
+
101
+ #: wp-live-chat-support-mobile-and-desktop-app/wp-live-chat-support-mobile-and-desktop-app.php:102
102
+ msgid "Enable mobile and desktop app"
103
+ msgstr ""
104
+
105
+ #: wp-live-chat-support-mobile-and-desktop-app/wp-live-chat-support-mobile-and-desktop-app.php:124
106
+ msgid "App"
107
+ msgstr ""
108
+
109
+ #: wp-live-chat-support-pro/ajax-pro.php:269
110
+ msgid "Guest"
111
+ msgstr ""
112
+
113
+ # @ wplivechat
114
+ #: wp-live-chat-support-pro/ajax-pro.php:341
115
+ #: wp-live-chat-support/ajax_new.php:286
116
+ msgid "Admin has closed and ended the chat"
117
+ msgstr "Administrátor uzavřel a ukončil chat"
118
+
119
+ # @ wplivechat
120
+ #: wp-live-chat-support-pro/ajax-pro.php:376
121
+ #: wp-live-chat-support/ajax_new.php:310
122
+ msgid "There is No Answer. Please Try Again Later"
123
+ msgstr "Zatím žádná odpověď. Prosím, zkuste to později."
124
+
125
+ #: wp-live-chat-support-pro/functions-pro.php:54
126
+ #: wp-live-chat-support-pro/functions-pro.php:173
127
+ #: wp-live-chat-support-pro/functions-pro.php:325
128
+ #: wp-live-chat-support/functions.php:294
129
+ #: wp-live-chat-support/functions.php:486
130
+ #: wp-live-chat-support/modules/api/wplc-api-functions.php:458
131
+ #: wp-live-chat-support/wp-live-chat-support.php:2486
132
+ msgid "IP Address not recorded"
133
+ msgstr ""
134
+
135
+ #: wp-live-chat-support-pro/functions-pro.php:56
136
+ #: wp-live-chat-support-pro/functions-pro.php:175
137
+ #: wp-live-chat-support-pro/functions-pro.php:327
138
+ #: wp-live-chat-support/functions.php:296
139
+ #: wp-live-chat-support/functions.php:488
140
+ #: wp-live-chat-support/wp-live-chat-support.php:2488
141
+ msgid "Whois for"
142
+ msgstr ""
143
+
144
+ # @ wplivechat
145
+ #: wp-live-chat-support-pro/functions-pro.php:61
146
+ #: wp-live-chat-support-pro/functions-pro.php:333
147
+ #: wp-live-chat-support/functions.php:301
148
+ #: wp-live-chat-support/functions.php:443
149
+ #: wp-live-chat-support/functions.php:1359
150
+ msgid "Accept Chat"
151
+ msgstr "Přijmout chat"
152
+
153
+ #: wp-live-chat-support-pro/functions-pro.php:63
154
+ #: wp-live-chat-support-pro/functions-pro.php:335
155
+ #: wp-live-chat-support/functions.php:303
156
+ msgid "Incoming Chat"
157
+ msgstr ""
158
+
159
+ #: wp-live-chat-support-pro/functions-pro.php:63
160
+ #: wp-live-chat-support-pro/functions-pro.php:335
161
+ #: wp-live-chat-support/functions.php:303
162
+ msgid "You have an incoming chat."
163
+ msgstr ""
164
+
165
+ # @ wplivechat
166
+ #: wp-live-chat-support-pro/functions-pro.php:67
167
+ #: wp-live-chat-support/functions.php:448
168
+ #, fuzzy
169
+ msgid "Open Chat"
170
+ msgstr "Otevřít chat-ovací okno"
171
+
172
+ # @ wplivechat
173
+ #: wp-live-chat-support-pro/functions-pro.php:69
174
+ #: wp-live-chat-support-pro/functions-pro.php:347
175
+ #: wp-live-chat-support/functions.php:309
176
+ #, fuzzy
177
+ msgid "Chat Active"
178
+ msgstr "Aktivní"
179
+
180
+ #: wp-live-chat-support-pro/functions-pro.php:69
181
+ #: wp-live-chat-support-pro/functions-pro.php:347
182
+ #: wp-live-chat-support/functions.php:309
183
+ msgid "This chat is active"
184
+ msgstr ""
185
+
186
+ # @ wplivechat
187
+ #: wp-live-chat-support-pro/functions-pro.php:74
188
+ #: wp-live-chat-support-pro/functions-pro.php:160
189
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:2349
190
+ #: wp-live-chat-support/wp-live-chat-support.php:1691
191
+ #, fuzzy
192
+ msgid "Initiate Chat"
193
+ msgstr "Začít diskusi"
194
+
195
+ #: wp-live-chat-support-pro/functions-pro.php:76
196
+ #: wp-live-chat-support-pro/functions-pro.php:162
197
+ msgid "You must be a chat agent to initiate chats"
198
+ msgstr ""
199
+
200
+ #: wp-live-chat-support-pro/functions-pro.php:99
201
+ #: wp-live-chat-support/functions.php:511
202
+ #: wp-live-chat-support/modules/api/wplc-api-functions.php:474
203
+ msgid "New"
204
+ msgstr ""
205
+
206
+ #: wp-live-chat-support-pro/functions-pro.php:101
207
+ #: wp-live-chat-support/functions.php:513
208
+ #: wp-live-chat-support/modules/api/wplc-api-functions.php:476
209
+ msgid "Returning"
210
+ msgstr ""
211
+
212
+ #: wp-live-chat-support-pro/functions-pro.php:143
213
+ msgid "Visitors on site"
214
+ msgstr ""
215
+
216
+ #: wp-live-chat-support-pro/functions-pro.php:207
217
+ #: wp-live-chat-support-pro/functions-pro.php:377
218
+ #: wp-live-chat-support/functions.php:332
219
+ #: wp-live-chat-support/wp-live-chat-support.php:2523
220
+ msgid "Site Info"
221
+ msgstr ""
222
+
223
+ # @ wplivechat
224
+ #: wp-live-chat-support-pro/functions-pro.php:209
225
+ #: wp-live-chat-support-pro/functions-pro.php:379
226
+ #: wp-live-chat-support/functions.php:334
227
+ #: wp-live-chat-support/wp-live-chat-support.php:2525
228
+ #, fuzzy
229
+ msgid "Chat initiated on:"
230
+ msgstr "Upozornění na chat"
231
+
232
+ #: wp-live-chat-support-pro/functions-pro.php:213
233
+ #: wp-live-chat-support-pro/functions-pro.php:383
234
+ #: wp-live-chat-support/functions.php:338
235
+ #: wp-live-chat-support/wp-live-chat-support.php:2529
236
+ msgid "Advanced Info"
237
+ msgstr ""
238
+
239
+ #: wp-live-chat-support-pro/functions-pro.php:215
240
+ #: wp-live-chat-support-pro/functions-pro.php:385
241
+ #: wp-live-chat-support/functions.php:340
242
+ #: wp-live-chat-support/wp-live-chat-support.php:2531
243
+ msgid "Browser:"
244
+ msgstr ""
245
+
246
+ # @ wplivechat
247
+ #: wp-live-chat-support-pro/functions-pro.php:216
248
+ #: wp-live-chat-support-pro/functions-pro.php:386
249
+ #: wp-live-chat-support/functions.php:341
250
+ #: wp-live-chat-support/wp-live-chat-support.php:2532
251
+ #, fuzzy
252
+ msgid "IP Address:"
253
+ msgstr "Emailová adresa"
254
+
255
+ #: wp-live-chat-support-pro/functions-pro.php:259
256
+ msgid "No visitors on-line at the moment"
257
+ msgstr ""
258
+
259
+ # @ wplivechat
260
+ #: wp-live-chat-support-pro/functions-pro.php:302
261
+ #: wp-live-chat-support/functions.php:277
262
+ msgid "No chat sessions available at the moment"
263
+ msgstr "V tuto chvíli neprobíhá žádná diskuse"
264
+
265
+ # @ wplivechat
266
+ #: wp-live-chat-support-pro/functions-pro.php:304
267
+ #: wp-live-chat-support/functions.php:279
268
+ #, fuzzy
269
+ msgid "Active Chats"
270
+ msgstr "Live Chat"
271
+
272
+ #: wp-live-chat-support-pro/functions-pro.php:339
273
+ msgid "You must be a chat agent to answer chats"
274
+ msgstr ""
275
+
276
+ # @ wplivechat
277
+ #: wp-live-chat-support-pro/functions-pro.php:345
278
+ #: wp-live-chat-support/functions.php:307
279
+ msgid "Open Chat Window"
280
+ msgstr "Otevřít chat-ovací okno"
281
+
282
+ #: wp-live-chat-support-pro/functions-pro.php:349
283
+ msgid "Chat has been answered by another agent"
284
+ msgstr ""
285
+
286
+ #: wp-live-chat-support-pro/functions-pro.php:350
287
+ msgid "Chat answered by another agent"
288
+ msgstr ""
289
+
290
+ #: wp-live-chat-support-pro/functions-pro.php:409
291
+ #: wp-live-chat-support/functions.php:1205
292
+ msgid "WP Live Chat Support - Offline Message from "
293
+ msgstr ""
294
+
295
+ # @ wplivechat
296
+ #: wp-live-chat-support-pro/functions-pro.php:410
297
+ #: wp-live-chat-support-pro/functions-pro.php:969
298
+ #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:441
299
+ #: wp-live-chat-support-pro/includes/wplc_roi.php:128
300
+ #: wp-live-chat-support/functions.php:1206
301
+ #: wp-live-chat-support/functions.php:1620
302
+ #: wp-live-chat-support/includes/deprecated.php:192
303
+ #: wp-live-chat-support/includes/deprecated.php:391
304
+ #: wp-live-chat-support/includes/settings_page.php:256
305
+ #: wp-live-chat-support/wp-live-chat-support.php:1372
306
+ #: wp-live-chat-support/wp-live-chat-support.php:1530
307
+ #: wp-live-chat-support/wp-live-chat-support.php:3073
308
+ #: wp-live-chat-support/wp-live-chat-support.php:3184
309
+ msgid "Name"
310
+ msgstr "Jméno"
311
+
312
+ # @ wplivechat
313
+ #: wp-live-chat-support-pro/functions-pro.php:410
314
+ #: wp-live-chat-support-pro/functions-pro.php:970
315
+ #: wp-live-chat-support/functions.php:1207
316
+ #: wp-live-chat-support/functions.php:1621
317
+ #: wp-live-chat-support/includes/deprecated.php:193
318
+ #: wp-live-chat-support/includes/deprecated.php:392
319
+ #: wp-live-chat-support/wp-live-chat-support.php:1373
320
+ #: wp-live-chat-support/wp-live-chat-support.php:1531
321
+ #: wp-live-chat-support/wp-live-chat-support.php:3074
322
+ #: wp-live-chat-support/wp-live-chat-support.php:3185
323
+ msgid "Email"
324
+ msgstr "Email"
325
+
326
+ #: wp-live-chat-support-pro/functions-pro.php:410
327
+ #: wp-live-chat-support-pro/functions-pro.php:971
328
+ #: wp-live-chat-support-pro/functions-pro.php:1546
329
+ #: wp-live-chat-support/functions.php:1208
330
+ #: wp-live-chat-support/wp-live-chat-support.php:1532
331
+ #: wp-live-chat-support/wp-live-chat-support.php:3186
332
+ #: wp-live-chat-support/wp-live-chat-support.php:4128
333
+ #: wp-live-chat-support/wp-live-chat-support.php:4178
334
+ msgid "Message"
335
+ msgstr ""
336
+
337
+ #: wp-live-chat-support-pro/functions-pro.php:410
338
+ #: wp-live-chat-support/functions.php:1209
339
+ msgid "Via WP Live Chat Support"
340
+ msgstr ""
341
+
342
+ #: wp-live-chat-support-pro/functions-pro.php:480
343
+ msgid "Alert: Someone wants to chat with you on "
344
+ msgstr ""
345
+
346
+ #: wp-live-chat-support-pro/functions-pro.php:481
347
+ msgid "Someone wants to chat with you on your website"
348
+ msgstr ""
349
+
350
+ #: wp-live-chat-support-pro/functions-pro.php:481
351
+ msgid "Log in"
352
+ msgstr ""
353
+
354
+ #: wp-live-chat-support-pro/functions-pro.php:748
355
+ #: wp-live-chat-support-pro/functions-pro.php:764
356
+ #: wp-live-chat-support-pro/functions-pro.php:779
357
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:2725
358
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:2741
359
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:2756
360
+ msgid "Chat Agent"
361
+ msgstr ""
362
+
363
+ #: wp-live-chat-support-pro/functions-pro.php:753
364
+ #: wp-live-chat-support-pro/functions-pro.php:769
365
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:2730
366
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:2746
367
+ msgid "Make this user a chat agent"
368
+ msgstr ""
369
+
370
+ #: wp-live-chat-support-pro/functions-pro.php:783
371
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:2760
372
+ msgid "Your user role does not allow you to make yourself a chat agent."
373
+ msgstr ""
374
+
375
+ #: wp-live-chat-support-pro/functions-pro.php:784
376
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:2761
377
+ msgid "Please contact the administrator of this website to change this."
378
+ msgstr ""
379
+
380
+ #: wp-live-chat-support-pro/functions-pro.php:869
381
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3145
382
+ msgid "Chat Agent Online"
383
+ msgstr ""
384
+
385
+ #: wp-live-chat-support-pro/functions-pro.php:871
386
+ #: wp-live-chat-support-pro/functions-pro.php:876
387
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3147
388
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3152
389
+ msgid "Chat Agents Online"
390
+ msgstr ""
391
+
392
+ #: wp-live-chat-support-pro/functions-pro.php:968
393
+ #: wp-live-chat-support/functions.php:1619
394
+ #: wp-live-chat-support/wp-live-chat-support.php:3072
395
+ #: wp-live-chat-support/wp-live-chat-support.php:3183
396
+ msgid "Date"
397
+ msgstr ""
398
+
399
+ #: wp-live-chat-support-pro/functions-pro.php:985
400
+ #: wp-live-chat-support/wp-live-chat-support.php:3197
401
+ msgid "You have not received any offline messages."
402
+ msgstr ""
403
+
404
+ #: wp-live-chat-support-pro/functions-pro.php:1410
405
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:788
406
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3500
407
+ #: wp-live-chat-support/wp-live-chat-support.php:3771
408
+ msgid "Administrator"
409
+ msgstr ""
410
+
411
+ #: wp-live-chat-support-pro/functions-pro.php:1411
412
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:794
413
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3506
414
+ #: wp-live-chat-support/wp-live-chat-support.php:3780
415
+ msgid "Editor"
416
+ msgstr ""
417
+
418
+ #: wp-live-chat-support-pro/functions-pro.php:1412
419
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:800
420
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3512
421
+ #: wp-live-chat-support/wp-live-chat-support.php:3789
422
+ msgid "Author"
423
+ msgstr ""
424
+
425
+ #: wp-live-chat-support-pro/functions-pro.php:1413
426
+ msgid "Contributor"
427
+ msgstr ""
428
+
429
+ #: wp-live-chat-support-pro/functions-pro.php:1414
430
+ msgid "Subscriber"
431
+ msgstr ""
432
+
433
+ #: wp-live-chat-support-pro/functions-pro.php:1544
434
+ #: wp-live-chat-support/wp-live-chat-support.php:4126
435
+ #: wp-live-chat-support/wp-live-chat-support.php:4176
436
+ msgid "Chat ID"
437
+ msgstr ""
438
+
439
+ #: wp-live-chat-support-pro/functions-pro.php:1545
440
+ #: wp-live-chat-support/wp-live-chat-support.php:4127
441
+ #: wp-live-chat-support/wp-live-chat-support.php:4177
442
+ msgid "From"
443
+ msgstr ""
444
+
445
+ #: wp-live-chat-support-pro/functions-pro.php:1547
446
+ #: wp-live-chat-support/wp-live-chat-support.php:4129
447
+ #: wp-live-chat-support/wp-live-chat-support.php:4179
448
+ msgid "Timestamp"
449
+ msgstr ""
450
+
451
+ #: wp-live-chat-support-pro/functions-pro.php:1548
452
+ #: wp-live-chat-support/wp-live-chat-support.php:4130
453
+ #: wp-live-chat-support/wp-live-chat-support.php:4180
454
+ msgid "Origin"
455
+ msgstr ""
456
+
457
+ #: wp-live-chat-support-pro/functions-pro.php:1560
458
+ #: wp-live-chat-support/wp-live-chat-support.php:4135
459
+ #: wp-live-chat-support/wp-live-chat-support.php:4185
460
+ msgid "user"
461
+ msgstr ""
462
+
463
+ #: wp-live-chat-support-pro/functions-pro.php:1562
464
+ #: wp-live-chat-support/wp-live-chat-support.php:4137
465
+ #: wp-live-chat-support/wp-live-chat-support.php:4187
466
+ msgid "agent"
467
+ msgstr ""
468
+
469
+ # @ wplivechat
470
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:48
471
+ #: wp-live-chat-support/includes/settings_page.php:26
472
+ msgid "WP Live Chat Support Settings"
473
+ msgstr "Nastavení WP Live Chat Support"
474
+
475
+ # @ wplivechat
476
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:71
477
+ #: wp-live-chat-support/wp-live-chat-support.php:2143
478
+ #: wp-live-chat-support/wp-live-chat-support.php:2158
479
+ msgid "Dear Pro User"
480
+ msgstr "Milý uživateli Pro verze"
481
+
482
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:72
483
+ msgid ""
484
+ "Please enter a valid API key on the 'Live Chat' -> 'Settings' page. Failing "
485
+ "to do this will result in you no longer receiving updates for this plugin."
486
+ msgstr ""
487
+
488
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:73
489
+ msgid "You can obtain a copy of your API key "
490
+ msgstr ""
491
+
492
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:73
493
+ msgid "here"
494
+ msgstr ""
495
+
496
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:73
497
+ msgid ""
498
+ "An account has been created for you while purchasing the plugin. If you have "
499
+ "lost your password, please reset it "
500
+ msgstr ""
501
+
502
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:74
503
+ msgid ""
504
+ "If you feel you are getting this message in error, please try refreshing the "
505
+ "page."
506
+ msgstr ""
507
+
508
+ # @ wplivechat
509
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:83
510
+ #: wp-live-chat-support/includes/settings_page.php:53
511
+ msgid "General Settings"
512
+ msgstr "Všeobecné nastavení"
513
+
514
+ # @ wplivechat
515
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:84
516
+ #: wp-live-chat-support/includes/settings_page.php:58
517
+ msgid "Chat Box"
518
+ msgstr "Okno Chat-u"
519
+
520
+ # @ wplivechat
521
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:85
522
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:383
523
+ #: wp-live-chat-support/includes/settings_page.php:63
524
+ #: wp-live-chat-support/includes/settings_page.php:400
525
+ #: wp-live-chat-support/wp-live-chat-support.php:758
526
+ #: wp-live-chat-support/wp-live-chat-support.php:761
527
+ msgid "Offline Messages"
528
+ msgstr "Offline zprávy"
529
+
530
+ # @ wplivechat
531
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:86
532
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:485
533
+ #: wp-live-chat-support/includes/settings_page.php:68
534
+ #: wp-live-chat-support/includes/settings_page.php:541
535
+ msgid "Styling"
536
+ msgstr "Styl"
537
+
538
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:87
539
+ msgid "Chat Agents"
540
+ msgstr ""
541
+
542
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:88
543
+ #: wp-live-chat-support/includes/settings_page.php:78
544
+ msgid "Blocked Visitors"
545
+ msgstr ""
546
+
547
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:89
548
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:830
549
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:836
550
+ msgid "Chat Experience Ratings"
551
+ msgstr ""
552
+
553
+ # @ wplivechat
554
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:90
555
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1857
556
+ #, fuzzy
557
+ msgid "Encryption"
558
+ msgstr "Aktivita"
559
+
560
+ # @ wplivechat
561
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:93
562
+ #: wp-live-chat-support/includes/settings_page.php:91
563
+ msgid "Main Settings"
564
+ msgstr "Hlavní nastavení"
565
+
566
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:96
567
+ msgid "Find out more."
568
+ msgstr ""
569
+
570
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:103
571
+ msgid "Use our server to host your chat server."
572
+ msgstr ""
573
+
574
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:107
575
+ #: wp-live-chat-support/wp-live-chat-support.php:3902
576
+ msgid "API Key"
577
+ msgstr ""
578
+
579
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:112
580
+ msgid "This API key is "
581
+ msgstr ""
582
+
583
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:115
584
+ msgid "valid"
585
+ msgstr ""
586
+
587
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:118
588
+ msgid "invalid"
589
+ msgstr ""
590
+
591
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:122
592
+ msgid ""
593
+ "A valid API key means that you will be able to get the latest version of the "
594
+ "plugin as and when it is released, as well as get access to support should "
595
+ "you require it."
596
+ msgstr ""
597
+
598
+ # @ wplivechat
599
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:130
600
+ #: wp-live-chat-support/includes/settings_page.php:94
601
+ msgid "Chat enabled"
602
+ msgstr "Chat aktivní"
603
+
604
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:144
605
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1693
606
+ msgid "Choose when I want to be online"
607
+ msgstr ""
608
+
609
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:144
610
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1693
611
+ msgid ""
612
+ "Checking this will allow you to change your status to Online or Offline on "
613
+ "the Live Chat page."
614
+ msgstr ""
615
+
616
+ # @ wplivechat
617
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:154
618
+ #: wp-live-chat-support/includes/settings_page.php:116
619
+ msgid "Hide Chat"
620
+ msgstr "Skrýt chat"
621
+
622
+ # @ wplivechat
623
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:154
624
+ #: wp-live-chat-support/includes/settings_page.php:116
625
+ msgid "Hides chat for 24hrs when user clicks X"
626
+ msgstr "Chat se skryje na 24 hodin, když uživatel klikne na x"
627
+
628
+ # @ wplivechat
629
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:162
630
+ #: wp-live-chat-support/includes/settings_page.php:125
631
+ msgid "Require Name And Email"
632
+ msgstr "Požadované jméno a e-mail"
633
+
634
+ # @ wplivechat
635
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:162
636
+ #: wp-live-chat-support/includes/settings_page.php:125
637
+ msgid ""
638
+ "Users will have to enter their Name and Email Address when starting a chat"
639
+ msgstr ""
640
+ "Uživatelé budou muset zadat své jméno a emailovou adresu při zahájení "
641
+ "konverzace"
642
+
643
+ # @ wplivechat
644
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:172
645
+ #: wp-live-chat-support/includes/settings_page.php:133
646
+ msgid "Input Field Replacement Text"
647
+ msgstr "Vstupní pole Replacement Text"
648
+
649
+ # @ wplivechat
650
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:172
651
+ #: wp-live-chat-support/includes/settings_page.php:133
652
+ msgid "This is the text that will show in place of the Name And Email fields"
653
+ msgstr "Toto je text, který se zobrazí v místě Jméno a Email pole"
654
+
655
+ # @ wplivechat
656
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:182
657
+ #: wp-live-chat-support/includes/settings_page.php:141
658
+ msgid "Use Logged In User Details"
659
+ msgstr "Použije přihlášeného uživatele jméno"
660
+
661
+ # @ wplivechat
662
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:182
663
+ #: wp-live-chat-support/includes/settings_page.php:141
664
+ msgid ""
665
+ "A user's Name and Email Address will be used by default if they are logged "
666
+ "in."
667
+ msgstr ""
668
+ "Uživatelovo Jméno a E-mailová adresa bude použita jako výchozí, pokud je "
669
+ "uživatel přihlášen."
670
+
671
+ # @ wplivechat
672
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:193
673
+ #: wp-live-chat-support/includes/settings_page.php:149
674
+ msgid "Enable On Mobile Devices"
675
+ msgstr "Povolit na mobilních zařízeních"
676
+
677
+ # @ wplivechat
678
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:193
679
+ #: wp-live-chat-support/includes/settings_page.php:149
680
+ msgid ""
681
+ "Disabling this will mean that the Chat Box will not be displayed on mobile "
682
+ "devices. (Smartphones and Tablets)"
683
+ msgstr ""
684
+ "Vypnutí tohoto bude znamenat, že Chat Box se nebude zobrazovat na mobilních "
685
+ "zařízeních. (Smartphonech a Tabletech)"
686
+
687
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:203
688
+ #: wp-live-chat-support/includes/settings_page.php:157
689
+ msgid "Record a visitor's IP Address"
690
+ msgstr ""
691
+
692
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:203
693
+ #: wp-live-chat-support/includes/settings_page.php:157
694
+ msgid "Disable this to enable anonymity for your visitors"
695
+ msgstr ""
696
+
697
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:213
698
+ #: wp-live-chat-support/includes/settings_page.php:165
699
+ msgid "Play a sound when a new message is received"
700
+ msgstr ""
701
+
702
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:213
703
+ #: wp-live-chat-support/includes/settings_page.php:165
704
+ msgid ""
705
+ "Disable this to mute the sound that is played when a new chat message is "
706
+ "received"
707
+ msgstr ""
708
+
709
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:222
710
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:2135
711
+ msgid "Include chat window on the following pages:"
712
+ msgstr ""
713
+
714
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:222
715
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:2135
716
+ #: wp-live-chat-support/includes/settings_page.php:175
717
+ msgid ""
718
+ "Show the chat window on the following pages. Leave blank to show on all. "
719
+ "(Use comma-separated Page ID's)"
720
+ msgstr ""
721
+
722
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:232
723
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:2143
724
+ msgid "Exclude chat window on the following pages:"
725
+ msgstr ""
726
+
727
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:232
728
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:2143
729
+ #: wp-live-chat-support/includes/settings_page.php:190
730
+ msgid ""
731
+ "Do not show the chat window on the following pages. Leave blank to show on "
732
+ "all. (Use comma-separated Page ID's)"
733
+ msgstr ""
734
+
735
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:242
736
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:2151
737
+ msgid "Allow any user to make themselves a chat agent"
738
+ msgstr ""
739
+
740
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:242
741
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:2151
742
+ msgid ""
743
+ "Checking this will allow any of your users to make themselves a chat agent "
744
+ "when editing their profile."
745
+ msgstr ""
746
+
747
+ # @ wplivechat
748
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:255
749
+ #: wp-live-chat-support/includes/settings_page.php:213
750
+ msgid "Chat Window Settings"
751
+ msgstr "Nastavení okna chat-u"
752
+
753
+ # @ wplivechat
754
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:258
755
+ #: wp-live-chat-support/includes/settings_page.php:216
756
+ msgid "Chat box alignment"
757
+ msgstr "Zarovnání okna chat-u"
758
+
759
+ # @ wplivechat
760
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:263
761
+ #: wp-live-chat-support/includes/settings_page.php:219
762
+ msgid "Bottom left"
763
+ msgstr "Vlevo dole"
764
+
765
+ # @ wplivechat
766
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:266
767
+ #: wp-live-chat-support/includes/settings_page.php:220
768
+ msgid "Bottom right"
769
+ msgstr "Vpravo dole"
770
+
771
+ # @ wplivechat
772
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:269
773
+ #: wp-live-chat-support/includes/settings_page.php:221
774
+ msgid "Left"
775
+ msgstr "Vlevo"
776
+
777
+ # @ wplivechat
778
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:272
779
+ #: wp-live-chat-support/includes/settings_page.php:222
780
+ msgid "Right"
781
+ msgstr "Vpravo"
782
+
783
+ # @ wplivechat
784
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:278
785
+ #: wp-live-chat-support/includes/settings_page.php:228
786
+ msgid "Auto Pop-up"
787
+ msgstr "Automatické otevření"
788
+
789
+ # @ wplivechat
790
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:278
791
+ #: wp-live-chat-support/includes/settings_page.php:228
792
+ msgid ""
793
+ "Expand the chat box automatically (prompts the user to enter their name and "
794
+ "email address)."
795
+ msgstr ""
796
+ "Otevřít okno chatu automaticky (vyzve uživatele k zadání svého jména a e-"
797
+ "mailové adresy)."
798
+
799
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:289
800
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:919
801
+ msgid "Name "
802
+ msgstr ""
803
+
804
+ # @ wplivechat
805
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:303
806
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:990
807
+ #: wp-live-chat-support/includes/settings_page.php:272
808
+ msgid "Picture"
809
+ msgstr "Obrázek"
810
+
811
+ # @ wplivechat
812
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:311
813
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:998
814
+ #: wp-live-chat-support/includes/settings_page.php:275
815
+ #: wp-live-chat-support/includes/settings_page.php:291
816
+ msgid "Upload Image"
817
+ msgstr "Nahrát obrázek"
818
+
819
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:313
820
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1000
821
+ msgid "Remove Image"
822
+ msgstr ""
823
+
824
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:314
825
+ msgid "Recomended Size 40px x 40px"
826
+ msgstr ""
827
+
828
+ # @ wplivechat
829
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:320
830
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1008
831
+ #: wp-live-chat-support/includes/settings_page.php:288
832
+ msgid "Logo"
833
+ msgstr "Logo"
834
+
835
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:328
836
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1016
837
+ msgid "Upload Logo"
838
+ msgstr ""
839
+
840
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:330
841
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1018
842
+ msgid "Remove Logo"
843
+ msgstr ""
844
+
845
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:331
846
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1019
847
+ msgid "Recomended Size 250px x 40px"
848
+ msgstr ""
849
+
850
+ # @ wplivechat
851
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:337
852
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1025
853
+ #: wp-live-chat-support/includes/settings_page.php:304
854
+ msgid "Chat delay (seconds)"
855
+ msgstr "Zpoždění chat-u (v sekundách)"
856
+
857
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:337
858
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1025
859
+ msgid "How long it takes for your chat window to pop up"
860
+ msgstr ""
861
+
862
+ # @ wplivechat
863
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:346
864
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1034
865
+ #: wp-live-chat-support/includes/settings_page.php:320
866
+ msgid "Chat notifications"
867
+ msgstr "Upozornění na chat"
868
+
869
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:346
870
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1034
871
+ msgid "Alert me via email as soon as someone wants to chat (while online only)"
872
+ msgstr ""
873
+
874
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:356
875
+ #: wp-live-chat-support/includes/settings_page.php:338
876
+ msgid "Display name and avatar in chat"
877
+ msgstr ""
878
+
879
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:356
880
+ #: wp-live-chat-support/includes/settings_page.php:338
881
+ msgid "Display the agent and user name above each message in the chat window."
882
+ msgstr ""
883
+
884
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:368
885
+ #: wp-live-chat-support/includes/settings_page.php:348
886
+ msgid "Only show the chat window to users that are logged in"
887
+ msgstr ""
888
+
889
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:368
890
+ #: wp-live-chat-support/includes/settings_page.php:348
891
+ msgid ""
892
+ "By checking this, only users that are logged in will be able to chat with "
893
+ "you."
894
+ msgstr ""
895
+
896
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:387
897
+ #: wp-live-chat-support/includes/settings_page.php:404
898
+ msgid "Do not allow users to send offline messages"
899
+ msgstr ""
900
+
901
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:387
902
+ #: wp-live-chat-support/includes/settings_page.php:404
903
+ msgid ""
904
+ "The chat window will be hidden when it is offline. Users will not be able to "
905
+ "send offline messages to you"
906
+ msgstr ""
907
+
908
+ # @ wplivechat
909
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:399
910
+ #: wp-live-chat-support/includes/settings_page.php:416
911
+ msgid "Email Address"
912
+ msgstr "Emailová adresa"
913
+
914
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:399
915
+ #: wp-live-chat-support/includes/settings_page.php:416
916
+ msgid ""
917
+ "Email address where offline messages are delivered to. Use comma separated "
918
+ "email addresses to send to more than one email address"
919
+ msgstr ""
920
+
921
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:412
922
+ #: wp-live-chat-support/includes/settings_page.php:428
923
+ msgid "Sending Method"
924
+ msgstr ""
925
+
926
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:413
927
+ #: wp-live-chat-support/includes/settings_page.php:429
928
+ msgid "WP Mail"
929
+ msgstr ""
930
+
931
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:414
932
+ #: wp-live-chat-support/includes/settings_page.php:430
933
+ msgid "PHP Mailer"
934
+ msgstr ""
935
+
936
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:430
937
+ #: wp-live-chat-support/includes/settings_page.php:446
938
+ msgid "Host"
939
+ msgstr ""
940
+
941
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:438
942
+ #: wp-live-chat-support/includes/settings_page.php:454
943
+ msgid "Port"
944
+ msgstr ""
945
+
946
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:446
947
+ #: wp-live-chat-support/includes/settings_page.php:462
948
+ msgid "Username"
949
+ msgstr ""
950
+
951
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:454
952
+ #: wp-live-chat-support/includes/settings_page.php:470
953
+ msgid "Password"
954
+ msgstr ""
955
+
956
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:463
957
+ #: wp-live-chat-support/includes/settings_page.php:479
958
+ msgid "Offline Chat Box Title"
959
+ msgstr ""
960
+
961
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:471
962
+ #: wp-live-chat-support/includes/settings_page.php:487
963
+ msgid "Offline Text Fields"
964
+ msgstr ""
965
+
966
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:504
967
+ #: wp-live-chat-support/includes/settings_page.php:546
968
+ msgid "Choose a theme"
969
+ msgstr ""
970
+
971
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:509
972
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:512
973
+ msgid "Theme 1"
974
+ msgstr ""
975
+
976
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:515
977
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:518
978
+ msgid "Theme 2"
979
+ msgstr ""
980
+
981
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:521
982
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:524
983
+ msgid "Theme 3"
984
+ msgstr ""
985
+
986
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:527
987
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:530
988
+ msgid "Theme 4"
989
+ msgstr ""
990
+
991
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:533
992
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:536
993
+ msgid "Theme 5"
994
+ msgstr ""
995
+
996
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:539
997
+ msgid "Theme 6"
998
+ msgstr ""
999
+
1000
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:542
1001
+ msgid "Custom. Enter Colour Values Below"
1002
+ msgstr ""
1003
+
1004
+ # @ wplivechat
1005
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:568
1006
+ msgid "Chat box fill color"
1007
+ msgstr "Barva výplně okýnka chatu"
1008
+
1009
+ # @ wplivechat
1010
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:574
1011
+ msgid "Chat box font color"
1012
+ msgstr "Barva textu okýnka chatu"
1013
+
1014
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:581
1015
+ #: wp-live-chat-support/includes/settings_page.php:677
1016
+ msgid "I'm using a localization plugin"
1017
+ msgstr ""
1018
+
1019
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:584
1020
+ msgid "documentation"
1021
+ msgstr ""
1022
+
1023
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:589
1024
+ msgid ""
1025
+ "You will only be able to edit the strings shown in the chat window of the "
1026
+ "code now. <br/> This has been done to accommodate as many localization "
1027
+ "plugins as possible. <br/> For more information on how to change these "
1028
+ "strings, please consult the "
1029
+ msgstr ""
1030
+
1031
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:594
1032
+ #: wp-live-chat-support/includes/settings_page.php:685
1033
+ msgid "First Section Text"
1034
+ msgstr ""
1035
+
1036
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:601
1037
+ #: wp-live-chat-support/includes/settings_page.php:692
1038
+ msgid "Intro Text"
1039
+ msgstr ""
1040
+
1041
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:607
1042
+ #: wp-live-chat-support/includes/settings_page.php:698
1043
+ msgid "Second Section Text"
1044
+ msgstr ""
1045
+
1046
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:614
1047
+ #: wp-live-chat-support/includes/settings_page.php:705
1048
+ msgid "Reactivate Chat Section Text"
1049
+ msgstr ""
1050
+
1051
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:622
1052
+ #: wp-live-chat-support/includes/settings_page.php:713
1053
+ msgid "User chat welcome"
1054
+ msgstr ""
1055
+
1056
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:628
1057
+ #: wp-live-chat-support/includes/settings_page.php:719
1058
+ msgid "Other text"
1059
+ msgstr ""
1060
+
1061
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:630
1062
+ #: wp-live-chat-support/includes/settings_page.php:721
1063
+ msgid "This text is shown above the user chat input field"
1064
+ msgstr ""
1065
+
1066
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:662
1067
+ msgid ""
1068
+ "You are using an outdated version of WP Live Chat Support Basic. Please "
1069
+ "update your plugin to allow for animations to function"
1070
+ msgstr ""
1071
+
1072
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:666
1073
+ #: wp-live-chat-support/includes/settings_page.php:749
1074
+ msgid "Choose an animation"
1075
+ msgstr ""
1076
+
1077
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:674
1078
+ #: wp-live-chat-support/includes/settings_page.php:757
1079
+ msgid "Slide Up"
1080
+ msgstr ""
1081
+
1082
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:680
1083
+ #: wp-live-chat-support/includes/settings_page.php:763
1084
+ msgid "Slide From The Side"
1085
+ msgstr ""
1086
+
1087
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:686
1088
+ #: wp-live-chat-support/includes/settings_page.php:769
1089
+ msgid "Fade In"
1090
+ msgstr ""
1091
+
1092
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:692
1093
+ #: wp-live-chat-support/includes/settings_page.php:775
1094
+ msgid "No Animation"
1095
+ msgstr ""
1096
+
1097
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:750
1098
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3462
1099
+ #: wp-live-chat-support/wp-live-chat-support.php:3740
1100
+ msgid "Current Users that are Chat Agents"
1101
+ msgstr ""
1102
+
1103
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:761
1104
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3473
1105
+ #: wp-live-chat-support/wp-live-chat-support.php:3750
1106
+ msgid "Online"
1107
+ msgstr ""
1108
+
1109
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:771
1110
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3331
1111
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3483
1112
+ #: wp-live-chat-support/wp-live-chat-support.php:2124
1113
+ msgid "Remove"
1114
+ msgstr ""
1115
+
1116
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:780
1117
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3492
1118
+ #: wp-live-chat-support/wp-live-chat-support.php:3800
1119
+ msgid "Add New Agent"
1120
+ msgstr ""
1121
+
1122
+ # @ wplivechat
1123
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:782
1124
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:798
1125
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3494
1126
+ #: wp-live-chat-support/wp-live-chat-support.php:2560
1127
+ #: wp-live-chat-support/wp-live-chat-support.php:3765
1128
+ msgid "Select"
1129
+ msgstr "Vybrat"
1130
+
1131
+ # @ wplivechat
1132
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:804
1133
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3516
1134
+ #: wp-live-chat-support/wp-live-chat-support.php:3801
1135
+ #, fuzzy
1136
+ msgid "Add Agent"
1137
+ msgstr "Agenti / referenti"
1138
+
1139
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:810
1140
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3522
1141
+ msgid ""
1142
+ "Should you wish to add a user that has a role less than 'Author', please go "
1143
+ "to the <a href='./users.php'>Users</a> page, select the relevant user, click "
1144
+ "Edit and scroll to the bottom of the page and enable the 'Chat Agent' "
1145
+ "checkbox."
1146
+ msgstr ""
1147
+
1148
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:811
1149
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3523
1150
+ msgid "If there are no chat agents online, the chat will show as offline"
1151
+ msgstr ""
1152
+
1153
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:815
1154
+ #: wp-live-chat-support/includes/settings_page.php:802
1155
+ msgid "Blocked Visitors - Based on IP Address"
1156
+ msgstr ""
1157
+
1158
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:816
1159
+ #: wp-live-chat-support/includes/settings_page.php:803
1160
+ msgid "Enter each IP Address you would like to block on a new line"
1161
+ msgstr ""
1162
+
1163
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:827
1164
+ #: wp-live-chat-support/includes/settings_page.php:814
1165
+ msgid ""
1166
+ "Blocking a user's IP Address here will hide the chat window from them, "
1167
+ "preventing them from chatting with you. Each IP Address must be on a new line"
1168
+ msgstr ""
1169
+
1170
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:836
1171
+ msgid ""
1172
+ "are only available in the WP Live Chat Support Chat Experience Ratings add-on"
1173
+ msgstr ""
1174
+
1175
+ # @ wplivechat
1176
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:840
1177
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1821
1178
+ #, fuzzy
1179
+ msgid "Chat Encryption"
1180
+ msgstr "Upozornění na chat"
1181
+
1182
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:843
1183
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1824
1184
+ msgid "Enable Encryption"
1185
+ msgstr ""
1186
+
1187
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:843
1188
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1824
1189
+ msgid ""
1190
+ "All messages will be encrypted when being sent to and from the user and "
1191
+ "agent."
1192
+ msgstr ""
1193
+
1194
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:851
1195
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1834
1196
+ msgid ""
1197
+ "Once enabled, all messages sent will be encrypted. This cannot be undone."
1198
+ msgstr ""
1199
+
1200
+ # @ wplivechat
1201
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:857
1202
+ #: wp-live-chat-support/includes/settings_page.php:822
1203
+ msgid "Save Settings"
1204
+ msgstr "Uložit nastavení"
1205
+
1206
+ #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:5
1207
+ #: wp-live-chat-support-pro/includes/wplc_roi.php:83
1208
+ msgid "Add New"
1209
+ msgstr ""
1210
+
1211
+ #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:8
1212
+ #: wp-live-chat-support/wp-live-chat-support.php:4419
1213
+ #: wp-live-chat-support/wp-live-chat-support.php:4449
1214
+ msgid "WP Live Chat Support Triggers"
1215
+ msgstr ""
1216
+
1217
+ #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:16
1218
+ #: wp-live-chat-support-pro/includes/wplc_roi.php:110
1219
+ #: wp-live-chat-support/wp-live-chat-support.php:4403
1220
+ #: wp-live-chat-support/wp-live-chat-support.php:4465
1221
+ msgid "Update now"
1222
+ msgstr ""
1223
+
1224
+ #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:68
1225
+ msgid "Trigger Name"
1226
+ msgstr ""
1227
+
1228
+ #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:73
1229
+ msgid "Trigger Type"
1230
+ msgstr ""
1231
+
1232
+ #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:77
1233
+ #: wp-live-chat-support/wp-live-chat-support.php:4455
1234
+ msgid "Page Trigger"
1235
+ msgstr ""
1236
+
1237
+ #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:78
1238
+ #: wp-live-chat-support/wp-live-chat-support.php:4456
1239
+ msgid "Time Trigger"
1240
+ msgstr ""
1241
+
1242
+ #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:79
1243
+ #: wp-live-chat-support/wp-live-chat-support.php:4457
1244
+ msgid "Scroll Trigger"
1245
+ msgstr ""
1246
+
1247
+ #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:80
1248
+ #: wp-live-chat-support/wp-live-chat-support.php:4458
1249
+ msgid "Page Leave Trigger"
1250
+ msgstr ""
1251
+
1252
+ #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:81
1253
+ msgid ""
1254
+ "Note: When using page trigger with a the basic theme, no hovercard is shown "
1255
+ "by default. We suggest using the time trigger for this instead."
1256
+ msgstr ""
1257
+
1258
+ #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:87
1259
+ msgid "Page ID"
1260
+ msgstr ""
1261
+
1262
+ #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:88
1263
+ msgid "Note: Leave empty for 'all' pages"
1264
+ msgstr ""
1265
+
1266
+ #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:92
1267
+ msgid "Show After"
1268
+ msgstr ""
1269
+
1270
+ #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:93
1271
+ msgid "Seconds"
1272
+ msgstr ""
1273
+
1274
+ #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:97
1275
+ msgid "Show After Scrolled"
1276
+ msgstr ""
1277
+
1278
+ #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:98
1279
+ msgid "(%) Percent of page height"
1280
+ msgstr ""
1281
+
1282
+ #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:102
1283
+ msgid "Content Replacement"
1284
+ msgstr ""
1285
+
1286
+ #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:114
1287
+ msgid "Replace Content"
1288
+ msgstr ""
1289
+
1290
+ #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:119
1291
+ msgid "Enable Trigger"
1292
+ msgstr ""
1293
+
1294
+ #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:125
1295
+ #: wp-live-chat-support-pro/includes/wplc_roi.php:237
1296
+ msgid "Close"
1297
+ msgstr ""
1298
+
1299
+ #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:134
1300
+ #: wp-live-chat-support-pro/includes/wplc_roi.php:246
1301
+ msgid "Please review your submission"
1302
+ msgstr ""
1303
+
1304
+ #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:275
1305
+ msgid "Trigger has been edited."
1306
+ msgstr ""
1307
+
1308
+ #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:428
1309
+ msgid "Conflict with page"
1310
+ msgstr ""
1311
+
1312
+ #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:430
1313
+ msgid "Trigger ID: "
1314
+ msgstr ""
1315
+
1316
+ #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:440
1317
+ #: wp-live-chat-support-pro/includes/wplc_roi.php:127
1318
+ #: wp-live-chat-support/functions.php:1853
1319
+ msgid "ID"
1320
+ msgstr ""
1321
+
1322
+ #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:442
1323
+ #: wp-live-chat-support/wp-live-chat-support.php:2322
1324
+ msgid "Type"
1325
+ msgstr ""
1326
+
1327
+ #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:443
1328
+ #: wp-live-chat-support-pro/includes/wplc_roi.php:130
1329
+ msgid "Page"
1330
+ msgstr ""
1331
+
1332
+ #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:444
1333
+ msgid "Content"
1334
+ msgstr ""
1335
+
1336
+ # @ wplivechat
1337
+ #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:445
1338
+ #: wp-live-chat-support/wp-live-chat-support.php:2325
1339
+ #: wp-live-chat-support/wp-live-chat-support.php:3076
1340
+ msgid "Status"
1341
+ msgstr "Stav"
1342
+
1343
+ # @ wplivechat
1344
+ #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:446
1345
+ #: wp-live-chat-support-pro/includes/wplc_roi.php:132
1346
+ #: wp-live-chat-support/functions.php:1623
1347
+ #: wp-live-chat-support/wp-live-chat-support.php:2326
1348
+ #: wp-live-chat-support/wp-live-chat-support.php:3077
1349
+ msgid "Action"
1350
+ msgstr "Aktivita"
1351
+
1352
+ #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:453
1353
+ #: wp-live-chat-support-pro/includes/wplc_roi.php:139
1354
+ msgid "Edit"
1355
+ msgstr ""
1356
+
1357
+ #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:454
1358
+ #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:585
1359
+ #: wp-live-chat-support-pro/includes/wplc_roi.php:140
1360
+ #: wp-live-chat-support-pro/includes/wplc_roi.php:545
1361
+ msgid "Delete"
1362
+ msgstr ""
1363
+
1364
+ #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:462
1365
+ #: wp-live-chat-support-pro/includes/wplc_roi.php:656
1366
+ #: wp-live-chat-support/wp-live-chat-support.php:3554
1367
+ msgid "All"
1368
+ msgstr ""
1369
+
1370
+ #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:466
1371
+ msgid "Click to change trigger status"
1372
+ msgstr ""
1373
+
1374
+ #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:476
1375
+ msgid "No Triggers Found..."
1376
+ msgstr ""
1377
+
1378
+ #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:580
1379
+ msgid "Are you sure you would like to delete trigger"
1380
+ msgstr ""
1381
+
1382
+ #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:586
1383
+ #: wp-live-chat-support-pro/includes/wplc_roi.php:546
1384
+ msgid "Cancel"
1385
+ msgstr ""
1386
+
1387
+ #: wp-live-chat-support-pro/includes/wplc_roi.php:72
1388
+ msgid "ROI Goals"
1389
+ msgstr ""
1390
+
1391
+ #: wp-live-chat-support-pro/includes/wplc_roi.php:86
1392
+ msgid "WP Live Chat Support ROI Goals"
1393
+ msgstr ""
1394
+
1395
+ #: wp-live-chat-support-pro/includes/wplc_roi.php:129
1396
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3873
1397
+ msgid "Overview"
1398
+ msgstr ""
1399
+
1400
+ #: wp-live-chat-support-pro/includes/wplc_roi.php:131
1401
+ #: wp-live-chat-support/modules/api/wplc-api.php:76
1402
+ msgid "Value"
1403
+ msgstr ""
1404
+
1405
+ #: wp-live-chat-support-pro/includes/wplc_roi.php:146
1406
+ msgid "None"
1407
+ msgstr ""
1408
+
1409
+ #: wp-live-chat-support-pro/includes/wplc_roi.php:153
1410
+ msgid "No ROI Goals Found..."
1411
+ msgstr ""
1412
+
1413
+ #: wp-live-chat-support-pro/includes/wplc_roi.php:212
1414
+ msgid "Goal Name"
1415
+ msgstr ""
1416
+
1417
+ #: wp-live-chat-support-pro/includes/wplc_roi.php:217
1418
+ msgid "Goal Overview"
1419
+ msgstr ""
1420
+
1421
+ #: wp-live-chat-support-pro/includes/wplc_roi.php:222
1422
+ msgid "Goal Page"
1423
+ msgstr ""
1424
+
1425
+ #: wp-live-chat-support-pro/includes/wplc_roi.php:231
1426
+ msgid "Goal Value"
1427
+ msgstr ""
1428
+
1429
+ #: wp-live-chat-support-pro/includes/wplc_roi.php:377
1430
+ msgid "Goal has been edited."
1431
+ msgstr ""
1432
+
1433
+ #: wp-live-chat-support-pro/includes/wplc_roi.php:540
1434
+ msgid "Are you sure you would like to delete goal"
1435
+ msgstr ""
1436
+
1437
+ #: wp-live-chat-support-pro/includes/wplc_roi.php:622
1438
+ msgid "ROI Reporting"
1439
+ msgstr ""
1440
+
1441
+ #: wp-live-chat-support-pro/includes/wplc_roi.php:636
1442
+ msgid "Goal Statistics"
1443
+ msgstr ""
1444
+
1445
+ #: wp-live-chat-support-pro/includes/wplc_roi.php:648
1446
+ msgid "No Goals Found"
1447
+ msgstr ""
1448
+
1449
+ #: wp-live-chat-support-pro/includes/wplc_roi.php:657
1450
+ msgid "Last 30 Days"
1451
+ msgstr ""
1452
+
1453
+ #: wp-live-chat-support-pro/includes/wplc_roi.php:658
1454
+ msgid "Last 15 Days"
1455
+ msgstr ""
1456
+
1457
+ #: wp-live-chat-support-pro/includes/wplc_roi.php:659
1458
+ msgid "Last 7 Days"
1459
+ msgstr ""
1460
+
1461
+ #: wp-live-chat-support-pro/includes/wplc_roi.php:660
1462
+ msgid "Last 24 Hours"
1463
+ msgstr ""
1464
+
1465
+ #: wp-live-chat-support-pro/includes/wplc_roi.php:712
1466
+ msgid "Value Per Conversion"
1467
+ msgstr ""
1468
+
1469
+ #: wp-live-chat-support-pro/includes/wplc_roi.php:718
1470
+ msgid "Total Value"
1471
+ msgstr ""
1472
+
1473
+ #: wp-live-chat-support-pro/includes/wplc_roi.php:723
1474
+ msgid "Total Conversions"
1475
+ msgstr ""
1476
+
1477
+ #: wp-live-chat-support-pro/includes/wplc_roi.php:757
1478
+ msgid "Value By Date"
1479
+ msgstr ""
1480
+
1481
+ #: wp-live-chat-support-pro/includes/wplc_roi.php:760
1482
+ msgid "Value By Agent"
1483
+ msgstr ""
1484
+
1485
+ #: wp-live-chat-support-pro/includes/wplc_roi.php:766
1486
+ msgid "No data available yet..."
1487
+ msgstr ""
1488
+
1489
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:511
1490
+ #, php-format
1491
+ msgid ""
1492
+ "WP Live Chat Support Pro <strong>requires WP Live Chat Support version 6+</"
1493
+ "strong> (basic version). Please <strong><a href=\"%1$s\">update the plugin</"
1494
+ "a></strong> in order for the plugin to continue working correctly."
1495
+ msgstr ""
1496
+
1497
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:597
1498
+ msgid "WP Live Chat Support Pro"
1499
+ msgstr ""
1500
+
1501
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:710
1502
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:721
1503
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3201
1504
+ msgid "Quick Responses"
1505
+ msgstr ""
1506
+
1507
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:711
1508
+ msgid "Quick Response"
1509
+ msgstr ""
1510
+
1511
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:712
1512
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:715
1513
+ msgid "New Quick Response"
1514
+ msgstr ""
1515
+
1516
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:713
1517
+ msgid "Add New Quick Response"
1518
+ msgstr ""
1519
+
1520
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:714
1521
+ msgid "Edit Quick Response"
1522
+ msgstr ""
1523
+
1524
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:716
1525
+ msgid "All Quick Responses"
1526
+ msgstr ""
1527
+
1528
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:717
1529
+ msgid "View Quick Responses"
1530
+ msgstr ""
1531
+
1532
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:718
1533
+ msgid "Search Quick Responses"
1534
+ msgstr ""
1535
+
1536
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:719
1537
+ msgid "No Quick Responses found"
1538
+ msgstr ""
1539
+
1540
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:720
1541
+ msgid "No Quick Responses found in the Trash"
1542
+ msgstr ""
1543
+
1544
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:725
1545
+ msgid "Quick Responses for WP Live Chat Support Pro"
1546
+ msgstr ""
1547
+
1548
+ # @ wplivechat
1549
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:791
1550
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:795
1551
+ #: wp-live-chat-support/wp-live-chat-support.php:2560
1552
+ msgid "Assign Quick Response"
1553
+ msgstr "Přiřadit rychlou odezvu"
1554
+
1555
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:804
1556
+ msgid "What is this?"
1557
+ msgstr ""
1558
+
1559
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:841
1560
+ #, php-format
1561
+ msgid "Incoming chat from %s (%s) on %s"
1562
+ msgstr ""
1563
+
1564
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:847
1565
+ #, php-format
1566
+ msgid "%s (%s) wants to chat with you. <br /><br />Log in: %s"
1567
+ msgstr ""
1568
+
1569
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:895
1570
+ #: wp-live-chat-support/includes/settings_page.php:239
1571
+ msgid "Display typing indicator"
1572
+ msgstr ""
1573
+
1574
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:895
1575
+ msgid ""
1576
+ "Display the \"typing...\" animation in the chat window as soon as an agent "
1577
+ "or visitor is typing."
1578
+ msgstr ""
1579
+
1580
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:902
1581
+ #, php-format
1582
+ msgid ""
1583
+ "Please update your <a href='%s'>basic version</a> to make use of this "
1584
+ "feature."
1585
+ msgstr ""
1586
+
1587
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:910
1588
+ msgid ""
1589
+ "For non-cloud server users, please note that this will increase the amount "
1590
+ "of server resources required."
1591
+ msgstr ""
1592
+
1593
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:927
1594
+ msgid "Use WordPress name instead"
1595
+ msgstr ""
1596
+
1597
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:930
1598
+ msgid "Note: 'Name' field will be ignored"
1599
+ msgstr ""
1600
+
1601
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:948
1602
+ msgid "Incoming chat ring tone"
1603
+ msgstr ""
1604
+
1605
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:952
1606
+ msgid "Default"
1607
+ msgstr ""
1608
+
1609
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1001
1610
+ msgid "Recomended Size 60px x 60px"
1611
+ msgstr ""
1612
+
1613
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1043
1614
+ msgid "User Experience"
1615
+ msgstr ""
1616
+
1617
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1052
1618
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1082
1619
+ #, php-format
1620
+ msgid ""
1621
+ "Please update your <a href='%s'>basic version</a> to make use of these "
1622
+ "features."
1623
+ msgstr ""
1624
+
1625
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1059
1626
+ msgid "Enable Text Editor"
1627
+ msgstr ""
1628
+
1629
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1059
1630
+ msgid ""
1631
+ "Adds advanced text editor features, such as links, text styling, and more!"
1632
+ msgstr ""
1633
+
1634
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1063
1635
+ msgid "Enable File Sharing"
1636
+ msgstr ""
1637
+
1638
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1063
1639
+ msgid "Adds file sharing to your chat box!"
1640
+ msgstr ""
1641
+
1642
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1067
1643
+ msgid "Enable Experience Ratings"
1644
+ msgstr ""
1645
+
1646
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1067
1647
+ msgid "Allows users to rate the chat experience with an agent."
1648
+ msgstr ""
1649
+
1650
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1073
1651
+ #: wp-live-chat-support/includes/settings_page.php:362
1652
+ msgid "Social"
1653
+ msgstr ""
1654
+
1655
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1090
1656
+ #: wp-live-chat-support/includes/settings_page.php:367
1657
+ msgid "Facebook URL"
1658
+ msgstr ""
1659
+
1660
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1090
1661
+ #: wp-live-chat-support/includes/settings_page.php:367
1662
+ msgid "Link your Facebook page here. Leave blank to hide"
1663
+ msgstr ""
1664
+
1665
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1091
1666
+ #: wp-live-chat-support/includes/settings_page.php:369
1667
+ msgid "Facebook URL..."
1668
+ msgstr ""
1669
+
1670
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1094
1671
+ #: wp-live-chat-support/includes/settings_page.php:380
1672
+ msgid "Twitter URL"
1673
+ msgstr ""
1674
+
1675
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1094
1676
+ #: wp-live-chat-support/includes/settings_page.php:380
1677
+ msgid "Link your Twitter page here. Leave blank to hide"
1678
+ msgstr ""
1679
+
1680
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1095
1681
+ #: wp-live-chat-support/includes/settings_page.php:382
1682
+ msgid "Twitter URL..."
1683
+ msgstr ""
1684
+
1685
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1118
1686
+ msgid "Admin"
1687
+ msgstr ""
1688
+
1689
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1612
1690
+ msgid "You are currently accepting chats"
1691
+ msgstr ""
1692
+
1693
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1613
1694
+ msgid "You are not accepting chats"
1695
+ msgstr ""
1696
+
1697
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1627
1698
+ msgid ""
1699
+ "You have set your status to offline. To view visitors and accept chats "
1700
+ "please set your status to online using the switch above."
1701
+ msgstr ""
1702
+
1703
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1833
1704
+ msgid ""
1705
+ "Please note: Chat messages will only be encrypted and decreypted if you have "
1706
+ "inserted your WP Live Chat Support Pro API Key on the <a href=\"admin.php?"
1707
+ "page=wplivechat-menu-api-keys-page\">API Keys page</a>."
1708
+ msgstr ""
1709
+
1710
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:2119
1711
+ msgid "Exclude chat from 'Home' page:"
1712
+ msgstr ""
1713
+
1714
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:2119
1715
+ msgid ""
1716
+ "Leaving this unchecked will allow the chat window to display on your home "
1717
+ "page."
1718
+ msgstr ""
1719
+
1720
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:2127
1721
+ msgid "Exclude chat from 'Archive' pages:"
1722
+ msgstr ""
1723
+
1724
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:2127
1725
+ msgid ""
1726
+ "Leaving this unchecked will allow the chat window to display on your archive "
1727
+ "pages."
1728
+ msgstr ""
1729
+
1730
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:2458
1731
+ msgid "Attempting to open the chat window... Please be patient."
1732
+ msgstr ""
1733
+
1734
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:2516
1735
+ msgid ""
1736
+ "You are not a chat agent. Please make yourself a chat agent before trying to "
1737
+ "chat to visitors"
1738
+ msgstr ""
1739
+
1740
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:2777
1741
+ msgid "This chat has already been answered by another agent."
1742
+ msgstr ""
1743
+
1744
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3084
1745
+ #: wp-live-chat-support/wp-live-chat-support.php:2221
1746
+ msgid "Agent(s) online"
1747
+ msgstr ""
1748
+
1749
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3202
1750
+ #: wp-live-chat-support/wp-live-chat-support.php:732
1751
+ msgid "Reporting"
1752
+ msgstr ""
1753
+
1754
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3203
1755
+ #: wp-live-chat-support/wp-live-chat-support.php:738
1756
+ msgid "Triggers"
1757
+ msgstr ""
1758
+
1759
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3679
1760
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3687
1761
+ #: wp-live-chat-support/wp-live-chat-support.php:4299
1762
+ msgid "Experience Rating"
1763
+ msgstr ""
1764
+
1765
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3767
1766
+ msgid "User Experience Ratings"
1767
+ msgstr ""
1768
+
1769
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3774
1770
+ msgid "Agent Statistics"
1771
+ msgstr ""
1772
+
1773
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3820
1774
+ msgid "Satisfaction Rating"
1775
+ msgstr ""
1776
+
1777
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3821
1778
+ msgid "Rating Count"
1779
+ msgstr ""
1780
+
1781
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3821
1782
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3835
1783
+ msgid "Good"
1784
+ msgstr ""
1785
+
1786
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3821
1787
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3835
1788
+ msgid "Bad"
1789
+ msgstr ""
1790
+
1791
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3829
1792
+ msgid "No Ratings for this agent"
1793
+ msgstr ""
1794
+
1795
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3870
1796
+ #: wp-live-chat-support/wp-live-chat-support.php:4380
1797
+ #: wp-live-chat-support/wp-live-chat-support.php:4387
1798
+ msgid "WP Live Chat Support Reporting"
1799
+ msgstr ""
1800
+
1801
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3874
1802
+ msgid "Popular Pages"
1803
+ msgstr ""
1804
+
1805
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3892
1806
+ msgid "Total Agents"
1807
+ msgstr ""
1808
+
1809
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3892
1810
+ msgid "Total number of agents that used the live chat"
1811
+ msgstr ""
1812
+
1813
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3893
1814
+ msgid "Total Chats"
1815
+ msgstr ""
1816
+
1817
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3893
1818
+ msgid "Total number of chats received"
1819
+ msgstr ""
1820
+
1821
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3894
1822
+ msgid "Total URLs"
1823
+ msgstr ""
1824
+
1825
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3894
1826
+ msgid "Total number of URLs a chat was initiated on"
1827
+ msgstr ""
1828
+
1829
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3895
1830
+ msgid "Chats per day"
1831
+ msgstr ""
1832
+
1833
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3896
1834
+ msgid "Popular pages a chat was initiated on"
1835
+ msgstr ""
1836
+
1837
+ # @ wplivechat
1838
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3972
1839
+ #: wp-live-chat-support/functions.php:1622
1840
+ #: wp-live-chat-support/wp-live-chat-support.php:3075
1841
+ msgid "URL"
1842
+ msgstr "URL adresa stránky"
1843
+
1844
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3973
1845
+ msgid "Count"
1846
+ msgstr ""
1847
+
1848
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3993
1849
+ msgid "Disable initiate chat feature:"
1850
+ msgstr ""
1851
+
1852
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3993
1853
+ msgid ""
1854
+ "This will substantially improve performance. If you are experiencing "
1855
+ "performance issues on your site, you should disable the initiate chat "
1856
+ "feature and only enable it when you need it."
1857
+ msgstr ""
1858
+
1859
+ #: wp-live-chat-support/functions.php:451
1860
+ msgid "Only chat agents can accept chats"
1861
+ msgstr ""
1862
+
1863
+ #: wp-live-chat-support/functions.php:654
1864
+ #: wp-live-chat-support/wp-live-chat-support.php:568
1865
+ #: wp-live-chat-support/wp-live-chat-support.php:1589
1866
+ #: wp-live-chat-support/wp-live-chat-support.php:2698
1867
+ #: wp-live-chat-support/wp-live-chat-support.php:4269
1868
+ msgid "Welcome. How may I help you?"
1869
+ msgstr ""
1870
+
1871
+ # @ wplivechat
1872
+ #: wp-live-chat-support/functions.php:1003
1873
+ msgid "complete"
1874
+ msgstr "ukončená"
1875
+
1876
+ # @ wplivechat
1877
+ #: wp-live-chat-support/functions.php:1006
1878
+ msgid "pending"
1879
+ msgstr "probíhající"
1880
+
1881
+ # @ wplivechat
1882
+ #: wp-live-chat-support/functions.php:1009
1883
+ msgid "active"
1884
+ msgstr "aktivní"
1885
+
1886
+ # @ wplivechat
1887
+ #: wp-live-chat-support/functions.php:1012
1888
+ msgid "deleted"
1889
+ msgstr "zrušená"
1890
+
1891
+ # @ wplivechat
1892
+ #: wp-live-chat-support/functions.php:1015
1893
+ msgid "browsing"
1894
+ msgstr "procházející web (browsing)"
1895
+
1896
+ # @ wplivechat
1897
+ #: wp-live-chat-support/functions.php:1018
1898
+ msgid "requesting chat"
1899
+ msgstr "požadující chat"
1900
+
1901
+ # @ wplivechat
1902
+ #: wp-live-chat-support/functions.php:1021
1903
+ msgid "Chat Ended - User still browsing"
1904
+ msgstr "Diskuse ukončená - Uživatel si prohlíží stránku"
1905
+
1906
+ # @ wplivechat
1907
+ #: wp-live-chat-support/functions.php:1024
1908
+ msgid "User is browsing but doesn't want to chat"
1909
+ msgstr "Uživatel si prohlíží stránku, ale nepřeje si chat"
1910
+
1911
+ # @ wplivechat
1912
+ #: wp-live-chat-support/functions.php:1359
1913
+ msgid "Get Pro Add-on to accept more chats"
1914
+ msgstr "Kupte si Pro Add-on verzi, aby jste mohli přijmout více chat-ů"
1915
+
1916
+ #: wp-live-chat-support/functions.php:1597
1917
+ #: wp-live-chat-support/wp-live-chat-support.php:3037
1918
+ msgid "Error: Could not delete chat"
1919
+ msgstr ""
1920
+
1921
+ #: wp-live-chat-support/functions.php:1601
1922
+ #: wp-live-chat-support/wp-live-chat-support.php:3041
1923
+ msgid "Chat Deleted"
1924
+ msgstr ""
1925
+
1926
+ #: wp-live-chat-support/functions.php:1608
1927
+ #: wp-live-chat-support/wp-live-chat-support.php:3048
1928
+ msgid "Are you sure you would like to delete this chat?"
1929
+ msgstr ""
1930
+
1931
+ #: wp-live-chat-support/functions.php:1650
1932
+ msgid "You have not missed any chat requests."
1933
+ msgstr ""
1934
+
1935
+ #: wp-live-chat-support/functions.php:1843
1936
+ msgid "Open chat window via"
1937
+ msgstr ""
1938
+
1939
+ #: wp-live-chat-support/functions.php:1847
1940
+ msgid "Click"
1941
+ msgstr ""
1942
+
1943
+ #: wp-live-chat-support/functions.php:1848
1944
+ msgid "Hover"
1945
+ msgstr ""
1946
+
1947
+ #: wp-live-chat-support/functions.php:1850
1948
+ msgid "element with"
1949
+ msgstr ""
1950
+
1951
+ #: wp-live-chat-support/functions.php:1852
1952
+ msgid "Class"
1953
+ msgstr ""
1954
+
1955
+ # @ wplivechat
1956
+ #: wp-live-chat-support/includes/deprecated.php:151
1957
+ #: wp-live-chat-support/includes/deprecated.php:348
1958
+ #: wp-live-chat-support/wp-live-chat-support.php:560
1959
+ #: wp-live-chat-support/wp-live-chat-support.php:1651
1960
+ #: wp-live-chat-support/wp-live-chat-support.php:2684
1961
+ #: wp-live-chat-support/wp-live-chat-support.php:4261
1962
+ msgid "Questions?"
1963
+ msgstr "Máte otázky?"
1964
+
1965
+ # @ wplivechat
1966
+ #: wp-live-chat-support/includes/deprecated.php:151
1967
+ #: wp-live-chat-support/includes/deprecated.php:348
1968
+ #: wp-live-chat-support/wp-live-chat-support.php:561
1969
+ #: wp-live-chat-support/wp-live-chat-support.php:1652
1970
+ #: wp-live-chat-support/wp-live-chat-support.php:2685
1971
+ #: wp-live-chat-support/wp-live-chat-support.php:4262
1972
+ msgid "Chat with us"
1973
+ msgstr "Ptejte se nás, klikněte zde"
1974
+
1975
+ # @ wplivechat
1976
+ #: wp-live-chat-support/includes/deprecated.php:158
1977
+ #: wp-live-chat-support/includes/deprecated.php:355
1978
+ msgid "Start Live Chat"
1979
+ msgstr "Začít Live Chat"
1980
+
1981
+ # @ wplivechat
1982
+ #: wp-live-chat-support/includes/deprecated.php:210
1983
+ #: wp-live-chat-support/includes/deprecated.php:410
1984
+ #: wp-live-chat-support/wp-live-chat-support.php:563
1985
+ #: wp-live-chat-support/wp-live-chat-support.php:2687
1986
+ #: wp-live-chat-support/wp-live-chat-support.php:4264
1987
+ msgid "Start Chat"
1988
+ msgstr "Začít diskusi"
1989
+
1990
+ # @ wplivechat
1991
+ #: wp-live-chat-support/includes/deprecated.php:213
1992
+ #: wp-live-chat-support/includes/deprecated.php:413
1993
+ msgid "Connecting you to a sales person. Please be patient."
1994
+ msgstr "Spojujeme Vás s našim referentem, prosíme o chvíli strpení."
1995
+
1996
+ # @ wplivechat
1997
+ #: wp-live-chat-support/includes/deprecated.php:216
1998
+ #: wp-live-chat-support/includes/deprecated.php:416
1999
+ #: wp-live-chat-support/wp-live-chat-support.php:567
2000
+ #: wp-live-chat-support/wp-live-chat-support.php:1785
2001
+ #: wp-live-chat-support/wp-live-chat-support.php:1836
2002
+ #: wp-live-chat-support/wp-live-chat-support.php:2691
2003
+ #: wp-live-chat-support/wp-live-chat-support.php:4268
2004
+ msgid "Reactivating your previous chat..."
2005
+ msgstr "Znovu se aktivuje Váš předešlý chat... "
2006
+
2007
+ # @ wplivechat
2008
+ #: wp-live-chat-support/includes/deprecated.php:221
2009
+ #: wp-live-chat-support/includes/deprecated.php:421
2010
+ #: wp-live-chat-support/wp-live-chat-support.php:569
2011
+ #: wp-live-chat-support/wp-live-chat-support.php:2559
2012
+ #: wp-live-chat-support/wp-live-chat-support.php:2697
2013
+ #: wp-live-chat-support/wp-live-chat-support.php:4270
2014
+ msgid "Press ENTER to send your message"
2015
+ msgstr "Stisknutím klávesy ENTER odešlete vaši zprávu"
2016
+
2017
+ # @ wplivechat
2018
+ #: wp-live-chat-support/includes/deprecated.php:225
2019
+ #: wp-live-chat-support/includes/deprecated.php:425
2020
+ #: wp-live-chat-support/wp-live-chat-support.php:1625
2021
+ #: wp-live-chat-support/wp-live-chat-support.php:2574
2022
+ msgid "Send"
2023
+ msgstr "Odeslat"
2024
+
2025
+ # @ wplivechat
2026
+ #: wp-live-chat-support/includes/feedback-page.php:6
2027
+ msgid "WP Live Chat Support Feedback"
2028
+ msgstr "WP Live Chat Podpora Zpětná vazba"
2029
+
2030
+ # @ wplivechat
2031
+ #: wp-live-chat-support/includes/feedback-page.php:11
2032
+ msgid "Your Name"
2033
+ msgstr "Vaše jméno"
2034
+
2035
+ # @ wplivechat
2036
+ #: wp-live-chat-support/includes/feedback-page.php:19
2037
+ msgid "Your Email"
2038
+ msgstr "Vaše Emailová adresa"
2039
+
2040
+ # @ wplivechat
2041
+ #: wp-live-chat-support/includes/feedback-page.php:27
2042
+ msgid "Your Website"
2043
+ msgstr "Vaše web stránka"
2044
+
2045
+ # @ wplivechat
2046
+ #: wp-live-chat-support/includes/feedback-page.php:35
2047
+ #: wp-live-chat-support/wp-live-chat-support.php:767
2048
+ msgid "Feedback"
2049
+ msgstr "Zpětná vazba - Feedback"
2050
+
2051
+ # @ wplivechat
2052
+ #: wp-live-chat-support/includes/feedback-page.php:46
2053
+ msgid "Send Feedback"
2054
+ msgstr "Pošlete zpětnou vazbu"
2055
+
2056
+ # @ wplivechat
2057
+ #: wp-live-chat-support/includes/settings_page.php:73
2058
+ msgid "Agents"
2059
+ msgstr "Agenti / referenti"
2060
+
2061
+ #: wp-live-chat-support/includes/settings_page.php:175
2062
+ msgid "Include chat window on the following pages"
2063
+ msgstr ""
2064
+
2065
+ # @ wplivechat
2066
+ #: wp-live-chat-support/includes/settings_page.php:181
2067
+ #: wp-live-chat-support/includes/settings_page.php:196
2068
+ #: wp-live-chat-support/includes/settings_page.php:245
2069
+ #: wp-live-chat-support/includes/settings_page.php:262
2070
+ #: wp-live-chat-support/includes/settings_page.php:278
2071
+ #: wp-live-chat-support/includes/settings_page.php:294
2072
+ #: wp-live-chat-support/includes/settings_page.php:310
2073
+ #: wp-live-chat-support/includes/settings_page.php:327
2074
+ #: wp-live-chat-support/includes/settings_page.php:372
2075
+ #: wp-live-chat-support/includes/settings_page.php:385
2076
+ msgid "available in the"
2077
+ msgstr "k dispozici v"
2078
+
2079
+ # @ wplivechat
2080
+ #: wp-live-chat-support/includes/settings_page.php:182
2081
+ #: wp-live-chat-support/includes/settings_page.php:197
2082
+ #: wp-live-chat-support/includes/settings_page.php:246
2083
+ #: wp-live-chat-support/includes/settings_page.php:263
2084
+ #: wp-live-chat-support/includes/settings_page.php:279
2085
+ #: wp-live-chat-support/includes/settings_page.php:295
2086
+ #: wp-live-chat-support/includes/settings_page.php:311
2087
+ #: wp-live-chat-support/includes/settings_page.php:328
2088
+ #: wp-live-chat-support/includes/settings_page.php:373
2089
+ #: wp-live-chat-support/includes/settings_page.php:386
2090
+ #: wp-live-chat-support/wp-live-chat-support.php:3154
2091
+ #: wp-live-chat-support/wp-live-chat-support.php:3946
2092
+ #: wp-live-chat-support/wp-live-chat-support.php:4014
2093
+ msgid "Pro Add-on"
2094
+ msgstr "Pro Add-on verze"
2095
+
2096
+ # @ wplivechat
2097
+ #: wp-live-chat-support/includes/settings_page.php:183
2098
+ #: wp-live-chat-support/includes/settings_page.php:198
2099
+ #: wp-live-chat-support/includes/settings_page.php:247
2100
+ #: wp-live-chat-support/includes/settings_page.php:264
2101
+ #: wp-live-chat-support/includes/settings_page.php:280
2102
+ #: wp-live-chat-support/includes/settings_page.php:296
2103
+ #: wp-live-chat-support/includes/settings_page.php:312
2104
+ #: wp-live-chat-support/includes/settings_page.php:329
2105
+ #: wp-live-chat-support/includes/settings_page.php:374
2106
+ #: wp-live-chat-support/includes/settings_page.php:387
2107
+ msgid "only"
2108
+ msgstr "jen"
2109
+
2110
+ #: wp-live-chat-support/includes/settings_page.php:190
2111
+ msgid "Exclude chat window on the following pages"
2112
+ msgstr ""
2113
+
2114
+ #: wp-live-chat-support/includes/settings_page.php:239
2115
+ msgid "Display a typing animation as soon as someone starts typing."
2116
+ msgstr ""
2117
+
2118
+ # @ wplivechat
2119
+ #: wp-live-chat-support/includes/settings_page.php:324
2120
+ msgid "Alert me via email as soon as someone wants to chat"
2121
+ msgstr ""
2122
+ "Upozornit mě prostřednictvím emailu ihned, jak bude chtít někdo chat-ovat"
2123
+
2124
+ #: wp-live-chat-support/includes/settings_page.php:551
2125
+ #: wp-live-chat-support/includes/settings_page.php:552
2126
+ msgid "Classic"
2127
+ msgstr ""
2128
+
2129
+ #: wp-live-chat-support/includes/settings_page.php:555
2130
+ #: wp-live-chat-support/includes/settings_page.php:556
2131
+ msgid "Modern"
2132
+ msgstr ""
2133
+
2134
+ #: wp-live-chat-support/includes/settings_page.php:572
2135
+ msgid "Colour Scheme"
2136
+ msgstr ""
2137
+
2138
+ #: wp-live-chat-support/includes/settings_page.php:627
2139
+ msgid "Choose"
2140
+ msgstr ""
2141
+
2142
+ #: wp-live-chat-support/includes/settings_page.php:628
2143
+ msgid "Your"
2144
+ msgstr ""
2145
+
2146
+ #: wp-live-chat-support/includes/settings_page.php:629
2147
+ msgid "Colors"
2148
+ msgstr ""
2149
+
2150
+ #: wp-live-chat-support/includes/settings_page.php:630
2151
+ msgid "Below"
2152
+ msgstr ""
2153
+
2154
+ #: wp-live-chat-support/includes/settings_page.php:652
2155
+ msgid "Palette Color 1"
2156
+ msgstr ""
2157
+
2158
+ #: wp-live-chat-support/includes/settings_page.php:658
2159
+ msgid "Palette Color 2"
2160
+ msgstr ""
2161
+
2162
+ #: wp-live-chat-support/includes/settings_page.php:664
2163
+ msgid "Palette Color 3"
2164
+ msgstr ""
2165
+
2166
+ #: wp-live-chat-support/includes/settings_page.php:670
2167
+ msgid "Palette Color 4"
2168
+ msgstr ""
2169
+
2170
+ #: wp-live-chat-support/includes/surveys.php:8
2171
+ #: wp-live-chat-support/includes/surveys.php:21
2172
+ #: wp-live-chat-support/includes/surveys.php:290
2173
+ #: wp-live-chat-support/wp-live-chat-support.php:727
2174
+ msgid "Surveys"
2175
+ msgstr ""
2176
+
2177
+ #: wp-live-chat-support/includes/surveys.php:24
2178
+ msgid "Enable Surveys"
2179
+ msgstr ""
2180
+
2181
+ #: wp-live-chat-support/includes/surveys.php:24
2182
+ msgid ""
2183
+ "Enable surveys within your live chat box, either before or after a live chat "
2184
+ "session."
2185
+ msgstr ""
2186
+
2187
+ #: wp-live-chat-support/includes/surveys.php:33
2188
+ #, php-format
2189
+ msgid ""
2190
+ "No surveys created. Please <a href=\"%s\" target=\"_BLANK\" title="
2191
+ "\"NimbleSquirrel\">create a survey and then refresh this page.</a>"
2192
+ msgstr ""
2193
+
2194
+ #: wp-live-chat-support/includes/surveys.php:40
2195
+ msgid "Select a survey"
2196
+ msgstr ""
2197
+
2198
+ #: wp-live-chat-support/includes/surveys.php:66
2199
+ msgid "Display survey"
2200
+ msgstr ""
2201
+
2202
+ #: wp-live-chat-support/includes/surveys.php:69
2203
+ msgid "Before chat"
2204
+ msgstr ""
2205
+
2206
+ #: wp-live-chat-support/includes/surveys.php:70
2207
+ msgid "After chat"
2208
+ msgstr ""
2209
+
2210
+ #: wp-live-chat-support/includes/surveys.php:75
2211
+ msgid "Chat button text"
2212
+ msgstr ""
2213
+
2214
+ #: wp-live-chat-support/includes/surveys.php:81
2215
+ msgid "Change title of chat box when chat ended to"
2216
+ msgstr ""
2217
+
2218
+ #: wp-live-chat-support/includes/surveys.php:246
2219
+ #: wp-live-chat-support/wp-live-chat-support.php:564
2220
+ #: wp-live-chat-support/wp-live-chat-support.php:2688
2221
+ #: wp-live-chat-support/wp-live-chat-support.php:4265
2222
+ msgid "Or chat to an agent now"
2223
+ msgstr ""
2224
+
2225
+ #: wp-live-chat-support/includes/surveys.php:251
2226
+ #: wp-live-chat-support/wp-live-chat-support.php:1426
2227
+ msgid "Leave a message"
2228
+ msgstr ""
2229
+
2230
+ #: wp-live-chat-support/includes/surveys.php:285
2231
+ msgid "WP Live Chat Surveys with Nimble Squirrel"
2232
+ msgstr ""
2233
+
2234
+ #: wp-live-chat-support/includes/surveys.php:291
2235
+ msgid ""
2236
+ "To view your responses, click the button below and log in to your "
2237
+ "NimbleSquirrel account."
2238
+ msgstr ""
2239
+
2240
+ #: wp-live-chat-support/includes/surveys.php:294
2241
+ msgid ""
2242
+ "Need help? <a href='https://wp-livechat.com/contact-us/' "
2243
+ "target='_BLANK'>Contact us</a> and we'll get back to you as soon as possible!"
2244
+ msgstr ""
2245
+
2246
+ #: wp-live-chat-support/includes/surveys.php:304
2247
+ #, php-format
2248
+ msgid ""
2249
+ "Register on <a href=\"%s\" target=\"_BLANK\" title=\"NimbleSquirrel"
2250
+ "\">NimbleSquirrel</a> (It's free.)"
2251
+ msgstr ""
2252
+
2253
+ #: wp-live-chat-support/includes/surveys.php:307
2254
+ #, php-format
2255
+ msgid ""
2256
+ "<a href=\"%s\" target=\"_BLANK\" title=\"Create a survey\">Create a survey</"
2257
+ "a>."
2258
+ msgstr ""
2259
+
2260
+ #: wp-live-chat-support/includes/surveys.php:314
2261
+ msgid "Add a Survey to your live chat box"
2262
+ msgstr ""
2263
+
2264
+ #: wp-live-chat-support/includes/surveys.php:315
2265
+ msgid "Three simple steps:"
2266
+ msgstr ""
2267
+
2268
+ #: wp-live-chat-support/includes/surveys.php:319
2269
+ msgid ""
2270
+ "Enable surveys in your live chat <a href='admin.php?page=wplivechat-menu-"
2271
+ "settings'>settings page</a>."
2272
+ msgstr ""
2273
+
2274
+ # @ wplivechat
2275
+ #: wp-live-chat-support/includes/welcome_page.php:4
2276
+ msgid "Welcome to "
2277
+ msgstr "Vítejte v"
2278
+
2279
+ #: wp-live-chat-support/includes/welcome_page.php:6
2280
+ msgid "Version 6"
2281
+ msgstr ""
2282
+
2283
+ #: wp-live-chat-support/includes/welcome_page.php:8
2284
+ msgid "The most popular live chat plugin!"
2285
+ msgstr ""
2286
+
2287
+ #: wp-live-chat-support/includes/welcome_page.php:11
2288
+ msgid "How did you find us?"
2289
+ msgstr ""
2290
+
2291
+ # @ wplivechat
2292
+ #: wp-live-chat-support/includes/welcome_page.php:16
2293
+ msgid "WordPress.org plugin repository "
2294
+ msgstr "depozitář WordPress.org plugin-ů"
2295
+
2296
+ # @ wplivechat
2297
+ #: wp-live-chat-support/includes/welcome_page.php:19
2298
+ msgid "Search Term"
2299
+ msgstr "Hledejte výraz"
2300
+
2301
+ # @ wplivechat
2302
+ #: wp-live-chat-support/includes/welcome_page.php:23
2303
+ msgid "Google or other search Engine"
2304
+ msgstr "Google a nebo jiný vyhledávač"
2305
+
2306
+ # @ wplivechat
2307
+ #: wp-live-chat-support/includes/welcome_page.php:29
2308
+ msgid "Friend recommendation"
2309
+ msgstr "Doporučení přítele"
2310
+
2311
+ # @ wplivechat
2312
+ #: wp-live-chat-support/includes/welcome_page.php:35
2313
+ msgid "Other"
2314
+ msgstr "Ostatní"
2315
+
2316
+ # @ wplivechat
2317
+ #: wp-live-chat-support/includes/welcome_page.php:39
2318
+ msgid "Please Explain"
2319
+ msgstr "Prosím vysvětlete"
2320
+
2321
+ # @ wplivechat
2322
+ #: wp-live-chat-support/includes/welcome_page.php:48
2323
+ msgid "Submit"
2324
+ msgstr "Poslat"
2325
+
2326
+ # @ wplivechat
2327
+ #: wp-live-chat-support/includes/welcome_page.php:50
2328
+ msgid "Skip"
2329
+ msgstr "Přeskočit"
2330
+
2331
+ #: wp-live-chat-support/modules/api/wplc-api.php:44
2332
+ msgid "Rest API"
2333
+ msgstr ""
2334
+
2335
+ #: wp-live-chat-support/modules/api/wplc-api.php:62
2336
+ msgid ""
2337
+ "To make use of the REST API, please ensure you are using a version of "
2338
+ "WordPress with the REST API included."
2339
+ msgstr ""
2340
+
2341
+ #: wp-live-chat-support/modules/api/wplc-api.php:64
2342
+ msgid ""
2343
+ "Alternatively, please install the official Rest API plugin from WordPress."
2344
+ msgstr ""
2345
+
2346
+ #: wp-live-chat-support/modules/api/wplc-api.php:71
2347
+ msgid "REST API"
2348
+ msgstr ""
2349
+
2350
+ #: wp-live-chat-support/modules/api/wplc-api.php:75
2351
+ msgid "Option"
2352
+ msgstr ""
2353
+
2354
+ #: wp-live-chat-support/modules/api/wplc-api.php:82
2355
+ msgid "Secret Token"
2356
+ msgstr ""
2357
+
2358
+ #: wp-live-chat-support/modules/api/wplc-api.php:85
2359
+ msgid "No secret token found"
2360
+ msgstr ""
2361
+
2362
+ #: wp-live-chat-support/modules/api/wplc-api.php:86
2363
+ msgid "Generate New"
2364
+ msgstr ""
2365
+
2366
+ #: wp-live-chat-support/modules/api/wplc-api.php:91
2367
+ msgid "Supported API Calls"
2368
+ msgstr ""
2369
+
2370
+ #: wp-live-chat-support/modules/api/wplc-api.php:95
2371
+ #: wp-live-chat-support/modules/api/wplc-api.php:103
2372
+ #: wp-live-chat-support/modules/api/wplc-api.php:111
2373
+ #: wp-live-chat-support/modules/api/wplc-api.php:119
2374
+ #: wp-live-chat-support/modules/api/wplc-api.php:127
2375
+ #: wp-live-chat-support/modules/api/wplc-api.php:136
2376
+ msgid "Try"
2377
+ msgstr ""
2378
+
2379
+ #: wp-live-chat-support/modules/api/wplc-api.php:144
2380
+ msgid "API Response Codes"
2381
+ msgstr ""
2382
+
2383
+ #: wp-live-chat-support/modules/api/wplc-api.php:288
2384
+ msgid "Rest Console "
2385
+ msgstr ""
2386
+
2387
+ #: wp-live-chat-support/modules/api/wplc-api.php:295
2388
+ msgid "Try it!"
2389
+ msgstr ""
2390
+
2391
+ #: wp-live-chat-support/wp-live-chat-support.php:555
2392
+ #: wp-live-chat-support/wp-live-chat-support.php:1668
2393
+ #: wp-live-chat-support/wp-live-chat-support.php:2692
2394
+ #: wp-live-chat-support/wp-live-chat-support.php:4256
2395
+ msgid "Chat offline. Leave a message"
2396
+ msgstr ""
2397
+
2398
+ #: wp-live-chat-support/wp-live-chat-support.php:556
2399
+ #: wp-live-chat-support/wp-live-chat-support.php:1510
2400
+ #: wp-live-chat-support/wp-live-chat-support.php:2693
2401
+ #: wp-live-chat-support/wp-live-chat-support.php:4257
2402
+ msgid "Hello. Please input your details so that I may help you."
2403
+ msgstr ""
2404
+
2405
+ #: wp-live-chat-support/wp-live-chat-support.php:557
2406
+ #: wp-live-chat-support/wp-live-chat-support.php:957
2407
+ #: wp-live-chat-support/wp-live-chat-support.php:1523
2408
+ #: wp-live-chat-support/wp-live-chat-support.php:2694
2409
+ #: wp-live-chat-support/wp-live-chat-support.php:4258
2410
+ msgid ""
2411
+ "We are currently offline. Please leave a message and we'll get back to you "
2412
+ "shortly."
2413
+ msgstr ""
2414
+
2415
+ #: wp-live-chat-support/wp-live-chat-support.php:558
2416
+ #: wp-live-chat-support/wp-live-chat-support.php:958
2417
+ #: wp-live-chat-support/wp-live-chat-support.php:2695
2418
+ #: wp-live-chat-support/wp-live-chat-support.php:4259
2419
+ msgid "Sending message..."
2420
+ msgstr ""
2421
+
2422
+ #: wp-live-chat-support/wp-live-chat-support.php:559
2423
+ #: wp-live-chat-support/wp-live-chat-support.php:959
2424
+ #: wp-live-chat-support/wp-live-chat-support.php:2696
2425
+ #: wp-live-chat-support/wp-live-chat-support.php:4260
2426
+ msgid "Thank you for your message. We will be in contact soon."
2427
+ msgstr ""
2428
+
2429
+ #: wp-live-chat-support/wp-live-chat-support.php:562
2430
+ #: wp-live-chat-support/wp-live-chat-support.php:2686
2431
+ #: wp-live-chat-support/wp-live-chat-support.php:4263
2432
+ msgid "Start live chat"
2433
+ msgstr ""
2434
+
2435
+ #: wp-live-chat-support/wp-live-chat-support.php:565
2436
+ #: wp-live-chat-support/wp-live-chat-support.php:2689
2437
+ #: wp-live-chat-support/wp-live-chat-support.php:4266
2438
+ msgid "Chat ended"
2439
+ msgstr ""
2440
+
2441
+ #: wp-live-chat-support/wp-live-chat-support.php:566
2442
+ #: wp-live-chat-support/wp-live-chat-support.php:1560
2443
+ #: wp-live-chat-support/wp-live-chat-support.php:1585
2444
+ #: wp-live-chat-support/wp-live-chat-support.php:2690
2445
+ #: wp-live-chat-support/wp-live-chat-support.php:4267
2446
+ msgid "Connecting. Please be patient..."
2447
+ msgstr ""
2448
+
2449
+ # @ wplivechat
2450
+ #: wp-live-chat-support/wp-live-chat-support.php:603
2451
+ #: wp-live-chat-support/wp-live-chat-support.php:2664
2452
+ msgid "Please click \\'Start Chat\\' to initiate a chat with an agent"
2453
+ msgstr "Prosím, klikněte na \\'Spustit chat \\' zahájit chat s referentem"
2454
+
2455
+ # @ wplivechat
2456
+ #: wp-live-chat-support/wp-live-chat-support.php:725
2457
+ msgid "Live Chat"
2458
+ msgstr "Live Chat"
2459
+
2460
+ # @ wplivechat
2461
+ #: wp-live-chat-support/wp-live-chat-support.php:726
2462
+ msgid "Settings"
2463
+ msgstr "Nastavení"
2464
+
2465
+ # @ wplivechat
2466
+ #: wp-live-chat-support/wp-live-chat-support.php:744
2467
+ msgid "History"
2468
+ msgstr "Historie"
2469
+
2470
+ # @ wplivechat
2471
+ #: wp-live-chat-support/wp-live-chat-support.php:745
2472
+ #, fuzzy
2473
+ msgid "Missed Chats"
2474
+ msgstr "Skrýt chat"
2475
+
2476
+ #: wp-live-chat-support/wp-live-chat-support.php:768
2477
+ #: wp-live-chat-support/wp-live-chat-support.php:3657
2478
+ msgid "Support"
2479
+ msgstr ""
2480
+
2481
+ # @ wplivechat
2482
+ #: wp-live-chat-support/wp-live-chat-support.php:769
2483
+ #, fuzzy
2484
+ msgid "Extensions"
2485
+ msgstr "Máte otázky?"
2486
+
2487
+ #: wp-live-chat-support/wp-live-chat-support.php:779
2488
+ msgid "API Keys"
2489
+ msgstr ""
2490
+
2491
+ #: wp-live-chat-support/wp-live-chat-support.php:785
2492
+ msgid "Premium Extension API Keys"
2493
+ msgstr ""
2494
+
2495
+ #: wp-live-chat-support/wp-live-chat-support.php:786
2496
+ msgid ""
2497
+ "To find and manage your premium API keys, please visit your <a "
2498
+ "target='_BLANK' href='https://wp-livechat.com/my-account/'>my account</a> "
2499
+ "page."
2500
+ msgstr ""
2501
+
2502
+ #: wp-live-chat-support/wp-live-chat-support.php:1265
2503
+ #: wp-live-chat-support/wp-live-chat-support.php:1275
2504
+ msgid "close"
2505
+ msgstr ""
2506
+
2507
+ #: wp-live-chat-support/wp-live-chat-support.php:1401
2508
+ #: wp-live-chat-support/wp-live-chat-support.php:1420
2509
+ msgid "Start chat"
2510
+ msgstr ""
2511
+
2512
+ #: wp-live-chat-support/wp-live-chat-support.php:1494
2513
+ msgid "Send message"
2514
+ msgstr ""
2515
+
2516
+ #: wp-live-chat-support/wp-live-chat-support.php:2079
2517
+ msgid "New chat received"
2518
+ msgstr ""
2519
+
2520
+ #: wp-live-chat-support/wp-live-chat-support.php:2081
2521
+ msgid ""
2522
+ "A new chat has been received. Please go the 'Live Chat' page to accept the "
2523
+ "chat"
2524
+ msgstr ""
2525
+
2526
+ # @ wplivechat
2527
+ #: wp-live-chat-support/wp-live-chat-support.php:2144
2528
+ msgid ""
2529
+ "You are using an outdated version of <strong>WP Live Chat Support Pro</"
2530
+ "strong>. Please"
2531
+ msgstr ""
2532
+ "Používáte zastaralou verzi <strong> WP Live Chat Support Pro </ strong>. "
2533
+ "Prosím"
2534
+
2535
+ # @ wplivechat
2536
+ #: wp-live-chat-support/wp-live-chat-support.php:2144
2537
+ msgid "update to at least version"
2538
+ msgstr "aktualizujte na aktuální verzi"
2539
+
2540
+ # @ wplivechat
2541
+ #: wp-live-chat-support/wp-live-chat-support.php:2144
2542
+ msgid "to ensure all functionality is in working order"
2543
+ msgstr "k zajištění funkčnosti všech funkcí"
2544
+
2545
+ # @ wplivechat
2546
+ #: wp-live-chat-support/wp-live-chat-support.php:2145
2547
+ msgid ""
2548
+ "You're live chat box on your website has been temporarily disabled until the "
2549
+ "Pro plugin has been updated. This is to ensure a smooth and hassle-free user "
2550
+ "experience for both yourself and your visitors."
2551
+ msgstr ""
2552
+ "Váš live chat box na vašich webových stránkách byl dočasně zastaven, dokud "
2553
+ "nebude aktualizován Pro plugin. To zajistí hladký a bezproblémový "
2554
+ "uživatelský komfort jak pro vás tak pro vaše návštěvníky."
2555
+
2556
+ #: wp-live-chat-support/wp-live-chat-support.php:2146
2557
+ #: wp-live-chat-support/wp-live-chat-support.php:2166
2558
+ msgid ""
2559
+ "You can update your plugin <a href='./update-core.php'>here</a>, <a href='./"
2560
+ "plugins.php'>here</a> or <a href='https://wp-livechat.com/get-updated-"
2561
+ "version/' target='_BLANK'>here</a>."
2562
+ msgstr ""
2563
+
2564
+ # @ wplivechat
2565
+ #: wp-live-chat-support/wp-live-chat-support.php:2147
2566
+ #: wp-live-chat-support/wp-live-chat-support.php:2167
2567
+ msgid "If you are having difficulty updating the plugin, please contact"
2568
+ msgstr "Pokud máte potíže s aktualizací plugin-u, prosím kontaktujte"
2569
+
2570
+ # @ wplivechat
2571
+ #: wp-live-chat-support/wp-live-chat-support.php:2159
2572
+ #, fuzzy
2573
+ msgid ""
2574
+ "You are using an outdated version of <strong>WP Live Chat Support Pro</"
2575
+ "strong>."
2576
+ msgstr ""
2577
+ "Používáte zastaralou verzi <strong> WP Live Chat Support Pro </ strong>. "
2578
+ "Prosím"
2579
+
2580
+ # @ wplivechat
2581
+ #: wp-live-chat-support/wp-live-chat-support.php:2161
2582
+ #, fuzzy
2583
+ msgid "Please update to the latest version of WP Live Chat Support Pro"
2584
+ msgstr ""
2585
+ "Používáte zastaralou verzi <strong> WP Live Chat Support Pro </ strong>. "
2586
+ "Prosím"
2587
+
2588
+ #: wp-live-chat-support/wp-live-chat-support.php:2162
2589
+ msgid "Version 5.0.1"
2590
+ msgstr ""
2591
+
2592
+ # @ wplivechat
2593
+ #: wp-live-chat-support/wp-live-chat-support.php:2163
2594
+ #, fuzzy
2595
+ msgid "to ensure everything is working correctly."
2596
+ msgstr "k zajištění funkčnosti všech funkcí"
2597
+
2598
+ #: wp-live-chat-support/wp-live-chat-support.php:2195
2599
+ msgid "Congratulations"
2600
+ msgstr ""
2601
+
2602
+ #: wp-live-chat-support/wp-live-chat-support.php:2196
2603
+ msgid "You are now accepting live chat requests on your site."
2604
+ msgstr ""
2605
+
2606
+ #: wp-live-chat-support/wp-live-chat-support.php:2197
2607
+ msgid "The live chat box has automatically been enabled on your website."
2608
+ msgstr ""
2609
+
2610
+ #: wp-live-chat-support/wp-live-chat-support.php:2198
2611
+ msgid "Chat notifications will start appearing once visitors send a request."
2612
+ msgstr ""
2613
+
2614
+ #: wp-live-chat-support/wp-live-chat-support.php:2199
2615
+ msgid ""
2616
+ "You may <a href='?page=wplivechat-menu-settings' target='_BLANK'>modify your "
2617
+ "chat box settings here."
2618
+ msgstr ""
2619
+
2620
+ #: wp-live-chat-support/wp-live-chat-support.php:2200
2621
+ msgid "Experiencing issues?"
2622
+ msgstr ""
2623
+
2624
+ #: wp-live-chat-support/wp-live-chat-support.php:2200
2625
+ msgid "Visit our troubleshooting section."
2626
+ msgstr ""
2627
+
2628
+ # @ wplivechat
2629
+ #: wp-live-chat-support/wp-live-chat-support.php:2202
2630
+ #, fuzzy
2631
+ msgid "Hide"
2632
+ msgstr "Skrýt chat"
2633
+
2634
+ # @ wplivechat
2635
+ #: wp-live-chat-support/wp-live-chat-support.php:2237
2636
+ #: wp-live-chat-support/wp-live-chat-support.php:3677
2637
+ #: wp-live-chat-support/wp-live-chat-support.php:3678
2638
+ msgid "With the Pro add-on of WP Live Chat Support, you can"
2639
+ msgstr "S verzí Pro add-on of WP Live Chat Support, "
2640
+
2641
+ # @ wplivechat
2642
+ #: wp-live-chat-support/wp-live-chat-support.php:2238
2643
+ #: wp-live-chat-support/wp-live-chat-support.php:3677
2644
+ msgid "see who's online and initiate chats"
2645
+ msgstr "uvidíte, kdo je on-line a můžete zahájit chat"
2646
+
2647
+ #: wp-live-chat-support/wp-live-chat-support.php:2239
2648
+ #: wp-live-chat-support/wp-live-chat-support.php:3677
2649
+ msgid "initiate chats"
2650
+ msgstr ""
2651
+
2652
+ # @ wplivechat
2653
+ #: wp-live-chat-support/wp-live-chat-support.php:2240
2654
+ #: wp-live-chat-support/wp-live-chat-support.php:3677
2655
+ msgid "with your online visitors with the click of a button."
2656
+ msgstr "s on-line návštěvníky vaší stránky jediným kliknutím."
2657
+
2658
+ # @ wplivechat
2659
+ #: wp-live-chat-support/wp-live-chat-support.php:2241
2660
+ #: wp-live-chat-support/wp-live-chat-support.php:2243
2661
+ #, fuzzy
2662
+ msgid "Buy the Pro add-on now."
2663
+ msgstr ""
2664
+ "Kupte si verzi \\\"Pro add-on\\\" jen za jednorázový poplatek $29.95. "
2665
+ "Aktualizace je zdarma, bez časového omezení."
2666
+
2667
+ #: wp-live-chat-support/wp-live-chat-support.php:2297
2668
+ msgid ""
2669
+ "Please note: This window must be open in order to receive new chat "
2670
+ "notifications."
2671
+ msgstr ""
2672
+
2673
+ # @ wplivechat
2674
+ #: wp-live-chat-support/wp-live-chat-support.php:2308
2675
+ #, fuzzy
2676
+ msgid "Visitors online"
2677
+ msgstr "Návštěvníci stránky"
2678
+
2679
+ # @ wplivechat
2680
+ #: wp-live-chat-support/wp-live-chat-support.php:2320
2681
+ #, fuzzy
2682
+ msgid "Visitor"
2683
+ msgstr "Návštěvníci stránky"
2684
+
2685
+ #: wp-live-chat-support/wp-live-chat-support.php:2321
2686
+ msgid "Time"
2687
+ msgstr ""
2688
+
2689
+ #: wp-live-chat-support/wp-live-chat-support.php:2323
2690
+ msgid "Device"
2691
+ msgstr ""
2692
+
2693
+ # @ wplivechat
2694
+ #: wp-live-chat-support/wp-live-chat-support.php:2324
2695
+ #, fuzzy
2696
+ msgid "Data"
2697
+ msgstr "Uživatelova data"
2698
+
2699
+ # @ wplivechat
2700
+ #: wp-live-chat-support/wp-live-chat-support.php:2362
2701
+ #, fuzzy
2702
+ msgid "Chat Dashboard"
2703
+ msgstr "Chat aktivní"
2704
+
2705
+ #: wp-live-chat-support/wp-live-chat-support.php:2365
2706
+ msgid "Oh no!"
2707
+ msgstr ""
2708
+
2709
+ #: wp-live-chat-support/wp-live-chat-support.php:2368
2710
+ msgid ""
2711
+ "You do not have access to this page as <strong>you are not a chat agent</"
2712
+ "strong>."
2713
+ msgstr ""
2714
+
2715
+ # @ wplivechat
2716
+ #: wp-live-chat-support/wp-live-chat-support.php:2480
2717
+ msgid "Previous"
2718
+ msgstr "Předešlý"
2719
+
2720
+ # @ wplivechat
2721
+ #: wp-live-chat-support/wp-live-chat-support.php:2482
2722
+ msgid "Active"
2723
+ msgstr "Aktivní"
2724
+
2725
+ # @ wplivechat
2726
+ #: wp-live-chat-support/wp-live-chat-support.php:2491
2727
+ #, fuzzy
2728
+ msgid "Chat with"
2729
+ msgstr "Ptejte se nás, klikněte zde"
2730
+
2731
+ # @ wplivechat
2732
+ #: wp-live-chat-support/wp-live-chat-support.php:2494
2733
+ msgid "End chat"
2734
+ msgstr "Ukončit chat"
2735
+
2736
+ # @ wplivechat
2737
+ #: wp-live-chat-support/wp-live-chat-support.php:2540
2738
+ #: wp-live-chat-support/wp-live-chat-support.php:3492
2739
+ #, fuzzy
2740
+ msgid "Add-ons"
2741
+ msgstr "Pro Add-on verze"
2742
+
2743
+ #: wp-live-chat-support/wp-live-chat-support.php:2542
2744
+ msgid "Get more add-ons"
2745
+ msgstr ""
2746
+
2747
+ # @ wplivechat
2748
+ #: wp-live-chat-support/wp-live-chat-support.php:2560
2749
+ msgid "Add Quick Responses to your Live Chat"
2750
+ msgstr "Přidat rychlé odpovědi pro Váš Live Chat"
2751
+
2752
+ # @ wplivechat
2753
+ #: wp-live-chat-support/wp-live-chat-support.php:2560
2754
+ msgid "Pro version only"
2755
+ msgstr "pouze Pro verze"
2756
+
2757
+ #: wp-live-chat-support/wp-live-chat-support.php:2568
2758
+ msgid "type here..."
2759
+ msgstr ""
2760
+
2761
+ # @ wplivechat
2762
+ #: wp-live-chat-support/wp-live-chat-support.php:2646
2763
+ msgid "User has opened the chat window"
2764
+ msgstr "Uživatel otevřel okno chat-u"
2765
+
2766
+ # @ wplivechat
2767
+ #: wp-live-chat-support/wp-live-chat-support.php:2647
2768
+ msgid "User has minimized the chat window"
2769
+ msgstr "Uživatel minimalizoval okno chat-u"
2770
+
2771
+ # @ wplivechat
2772
+ #: wp-live-chat-support/wp-live-chat-support.php:2648
2773
+ msgid "User has maximized the chat window"
2774
+ msgstr "Uživatel maximalizoval okno chat-u"
2775
+
2776
+ #: wp-live-chat-support/wp-live-chat-support.php:2649
2777
+ msgid "The chat has been ended"
2778
+ msgstr ""
2779
+
2780
+ #: wp-live-chat-support/wp-live-chat-support.php:3066
2781
+ msgid "Delete History"
2782
+ msgstr ""
2783
+
2784
+ #: wp-live-chat-support/wp-live-chat-support.php:3083
2785
+ msgid "No chats available at the moment"
2786
+ msgstr ""
2787
+
2788
+ #: wp-live-chat-support/wp-live-chat-support.php:3094
2789
+ msgid "View Chat History"
2790
+ msgstr ""
2791
+
2792
+ #: wp-live-chat-support/wp-live-chat-support.php:3094
2793
+ msgid "Download Chat History"
2794
+ msgstr ""
2795
+
2796
+ # @ wplivechat
2797
+ #: wp-live-chat-support/wp-live-chat-support.php:3116
2798
+ msgid "WP Live Chat History"
2799
+ msgstr "WP Live Chat historie"
2800
+
2801
+ # @ wplivechat
2802
+ #: wp-live-chat-support/wp-live-chat-support.php:3136
2803
+ #, fuzzy
2804
+ msgid "WP Live Chat Missed Chats"
2805
+ msgstr "WP Live Chat historie"
2806
+
2807
+ # @ wplivechat
2808
+ #: wp-live-chat-support/wp-live-chat-support.php:3151
2809
+ #, fuzzy
2810
+ msgid ""
2811
+ "Please update to the latest version of WP Live Chat Support Pro to start "
2812
+ "recording any offline messages."
2813
+ msgstr ""
2814
+ "Používáte zastaralou verzi <strong> WP Live Chat Support Pro </ strong>. "
2815
+ "Prosím"
2816
+
2817
+ # @ wplivechat
2818
+ #: wp-live-chat-support/wp-live-chat-support.php:3154
2819
+ #, fuzzy
2820
+ msgid "This option is only available in the "
2821
+ msgstr "k dispozici v"
2822
+
2823
+ # @ wplivechat
2824
+ #: wp-live-chat-support/wp-live-chat-support.php:3166
2825
+ #, fuzzy
2826
+ msgid "WP Live Chat Offline Messages"
2827
+ msgstr "Offline zprávy"
2828
+
2829
+ #: wp-live-chat-support/wp-live-chat-support.php:3187
2830
+ msgid "Actions"
2831
+ msgstr ""
2832
+
2833
+ #: wp-live-chat-support/wp-live-chat-support.php:3205
2834
+ msgid "Delete Message"
2835
+ msgstr ""
2836
+
2837
+ # @ wplivechat
2838
+ #: wp-live-chat-support/wp-live-chat-support.php:3299
2839
+ msgid "Please click 'Start Chat' to initiate a chat with an agent"
2840
+ msgstr ""
2841
+ "Prosím, klikněte na tlačítko \\\"Spustit chat\\\", zahájit chat s referentem"
2842
+
2843
+ # @ wplivechat
2844
+ #: wp-live-chat-support/wp-live-chat-support.php:3395
2845
+ msgid "Your settings have been saved."
2846
+ msgstr "Vaše nastavení bylo uloženo."
2847
+
2848
+ # @ wplivechat
2849
+ #: wp-live-chat-support/wp-live-chat-support.php:3410
2850
+ msgid "Thank You for your feedback!"
2851
+ msgstr "Děkujeme za vaši zpětnou vazbu!"
2852
+
2853
+ # @ wplc
2854
+ #: wp-live-chat-support/wp-live-chat-support.php:3414
2855
+ #: wp-live-chat-support/wp-live-chat-support.php:3427
2856
+ msgid "Thank you for your feedback. We will be in touch soon"
2857
+ msgstr ""
2858
+
2859
+ # @ wplc
2860
+ #: wp-live-chat-support/wp-live-chat-support.php:3430
2861
+ msgid "There was a problem sending your feedback. Please log your feedback on "
2862
+ msgstr ""
2863
+
2864
+ #: wp-live-chat-support/wp-live-chat-support.php:3464
2865
+ msgid ""
2866
+ "WPLC: set_time_limit() is not enabled on this server. You may experience "
2867
+ "issues while using WP Live Chat Support as a result of this. Please get in "
2868
+ "contact your host to get this function enabled."
2869
+ msgstr ""
2870
+
2871
+ #: wp-live-chat-support/wp-live-chat-support.php:3470
2872
+ msgid ""
2873
+ "WPLC: Safe mode is enabled on this server. You may experience issues while "
2874
+ "using WP Live Chat Support as a result of this. Please contact your host to "
2875
+ "get safe mode disabled."
2876
+ msgstr ""
2877
+
2878
+ #: wp-live-chat-support/wp-live-chat-support.php:3492
2879
+ msgid "Suggested Plugins"
2880
+ msgstr ""
2881
+
2882
+ #: wp-live-chat-support/wp-live-chat-support.php:3503
2883
+ #: wp-live-chat-support/wp-live-chat-support.php:3504
2884
+ #: wp-live-chat-support/wp-live-chat-support.php:3505
2885
+ #: wp-live-chat-support/wp-live-chat-support.php:3510
2886
+ msgid "Sola Support Tickets"
2887
+ msgstr ""
2888
+
2889
+ #: wp-live-chat-support/wp-live-chat-support.php:3508
2890
+ msgid ""
2891
+ "The easiest to use Help Desk & Support Ticket plugin. Create a support help "
2892
+ "desk quickly and easily with Sola Support Tickets."
2893
+ msgstr ""
2894
+
2895
+ #: wp-live-chat-support/wp-live-chat-support.php:3510
2896
+ #: wp-live-chat-support/wp-live-chat-support.php:3521
2897
+ msgid "Get this Plugin"
2898
+ msgstr ""
2899
+
2900
+ #: wp-live-chat-support/wp-live-chat-support.php:3514
2901
+ #: wp-live-chat-support/wp-live-chat-support.php:3515
2902
+ #: wp-live-chat-support/wp-live-chat-support.php:3516
2903
+ #: wp-live-chat-support/wp-live-chat-support.php:3521
2904
+ msgid "Nifty Newsletters"
2905
+ msgstr ""
2906
+
2907
+ #: wp-live-chat-support/wp-live-chat-support.php:3519
2908
+ msgid ""
2909
+ "Create and send newsletters, automatic post notifications and autoresponders "
2910
+ "that are modern and beautiful with Nifty Newsletters."
2911
+ msgstr ""
2912
+
2913
+ #: wp-live-chat-support/wp-live-chat-support.php:3553
2914
+ msgid "Price:"
2915
+ msgstr ""
2916
+
2917
+ #: wp-live-chat-support/wp-live-chat-support.php:3555
2918
+ msgid "Free"
2919
+ msgstr ""
2920
+
2921
+ #: wp-live-chat-support/wp-live-chat-support.php:3556
2922
+ msgid "Paid"
2923
+ msgstr ""
2924
+
2925
+ #: wp-live-chat-support/wp-live-chat-support.php:3559
2926
+ msgid "For:"
2927
+ msgstr ""
2928
+
2929
+ #: wp-live-chat-support/wp-live-chat-support.php:3560
2930
+ msgid "Both"
2931
+ msgstr ""
2932
+
2933
+ # @ wplivechat
2934
+ #: wp-live-chat-support/wp-live-chat-support.php:3561
2935
+ #, fuzzy
2936
+ msgid "Free version"
2937
+ msgstr "pouze Pro verze"
2938
+
2939
+ # @ wplivechat
2940
+ #: wp-live-chat-support/wp-live-chat-support.php:3562
2941
+ #, fuzzy
2942
+ msgid "Pro version"
2943
+ msgstr "pouze Pro verze"
2944
+
2945
+ #: wp-live-chat-support/wp-live-chat-support.php:3598
2946
+ msgid "Already installed"
2947
+ msgstr ""
2948
+
2949
+ # @ wplivechat
2950
+ #: wp-live-chat-support/wp-live-chat-support.php:3625
2951
+ #, fuzzy
2952
+ msgid "WP Live Chat Support"
2953
+ msgstr "WP Live Chat Podpora Zpětná vazba"
2954
+
2955
+ # @ wplivechat
2956
+ #: wp-live-chat-support/wp-live-chat-support.php:3628
2957
+ #, fuzzy
2958
+ msgid "Documentation"
2959
+ msgstr "Prozkoumejte dokumentaci."
2960
+
2961
+ #: wp-live-chat-support/wp-live-chat-support.php:3630
2962
+ msgid ""
2963
+ "Getting started? Read through some of these articles to help you along your "
2964
+ "way."
2965
+ msgstr ""
2966
+
2967
+ # @ wplivechat
2968
+ #: wp-live-chat-support/wp-live-chat-support.php:3631
2969
+ #, fuzzy
2970
+ msgid "Documentation:"
2971
+ msgstr "Prozkoumejte dokumentaci."
2972
+
2973
+ #: wp-live-chat-support/wp-live-chat-support.php:3633
2974
+ msgid "Minimum System Requirements"
2975
+ msgstr ""
2976
+
2977
+ #: wp-live-chat-support/wp-live-chat-support.php:3634
2978
+ msgid "Do I have to be logged into the dashboard to chat with visitors?"
2979
+ msgstr ""
2980
+
2981
+ # @ wplivechat
2982
+ #: wp-live-chat-support/wp-live-chat-support.php:3635
2983
+ #, fuzzy
2984
+ msgid "What are Quick Responses?"
2985
+ msgstr "Přiřadit rychlou odezvu"
2986
+
2987
+ #: wp-live-chat-support/wp-live-chat-support.php:3636
2988
+ msgid "Can I use this plugin on my multi-site?"
2989
+ msgstr ""
2990
+
2991
+ #: wp-live-chat-support/wp-live-chat-support.php:3637
2992
+ msgid "How do I disable APC Object Cache?"
2993
+ msgstr ""
2994
+
2995
+ #: wp-live-chat-support/wp-live-chat-support.php:3638
2996
+ msgid "Do you have a mobile app?"
2997
+ msgstr ""
2998
+
2999
+ #: wp-live-chat-support/wp-live-chat-support.php:3639
3000
+ msgid "How do I check for JavaScript errors on my site?"
3001
+ msgstr ""
3002
+
3003
+ #: wp-live-chat-support/wp-live-chat-support.php:3643
3004
+ msgid "Troubleshooting"
3005
+ msgstr ""
3006
+
3007
+ #: wp-live-chat-support/wp-live-chat-support.php:3645
3008
+ msgid ""
3009
+ "WP Live Chat Support has a diverse and wide range of features which may, "
3010
+ "from time to time, run into conflicts with the thousands of themes and other "
3011
+ "plugins on the market."
3012
+ msgstr ""
3013
+
3014
+ #: wp-live-chat-support/wp-live-chat-support.php:3646
3015
+ msgid "Common issues:"
3016
+ msgstr ""
3017
+
3018
+ #: wp-live-chat-support/wp-live-chat-support.php:3648
3019
+ msgid "The chat box doesnt show up"
3020
+ msgstr ""
3021
+
3022
+ #: wp-live-chat-support/wp-live-chat-support.php:3649
3023
+ msgid "The chat window disappears when I logout or go offline"
3024
+ msgstr ""
3025
+
3026
+ #: wp-live-chat-support/wp-live-chat-support.php:3650
3027
+ msgid "This chat has already been answered. Please close the chat window"
3028
+ msgstr ""
3029
+
3030
+ # @ wplivechat
3031
+ #: wp-live-chat-support/wp-live-chat-support.php:3651
3032
+ #, fuzzy
3033
+ msgid "Messages only show when I refresh the chat window"
3034
+ msgstr "Uživatel otevřel okno chat-u"
3035
+
3036
+ #: wp-live-chat-support/wp-live-chat-support.php:3652
3037
+ msgid "I'm not getting any notifications of a new chat"
3038
+ msgstr ""
3039
+
3040
+ #: wp-live-chat-support/wp-live-chat-support.php:3653
3041
+ msgid "The chat window never goes offline"
3042
+ msgstr ""
3043
+
3044
+ #: wp-live-chat-support/wp-live-chat-support.php:3659
3045
+ msgid "Still need help? Use one of these links below."
3046
+ msgstr ""
3047
+
3048
+ #: wp-live-chat-support/wp-live-chat-support.php:3661
3049
+ msgid "Support desk"
3050
+ msgstr ""
3051
+
3052
+ #: wp-live-chat-support/wp-live-chat-support.php:3662
3053
+ msgid "Contact us"
3054
+ msgstr ""
3055
+
3056
+ # @ wplivechat
3057
+ #: wp-live-chat-support/wp-live-chat-support.php:3677
3058
+ #, fuzzy
3059
+ msgid "Initiate Chats"
3060
+ msgstr "Začít diskusi"
3061
+
3062
+ # @ wplivechat
3063
+ #: wp-live-chat-support/wp-live-chat-support.php:3677
3064
+ #: wp-live-chat-support/wp-live-chat-support.php:3678
3065
+ #, fuzzy
3066
+ msgid "Buy the Pro add-on now (once off payment)."
3067
+ msgstr ""
3068
+ "Kupte si verzi \\\"Pro add-on\\\" jen za jednorázový poplatek $29.95. "
3069
+ "Aktualizace je zdarma, bez časového omezení."
3070
+
3071
+ # @ wplivechat
3072
+ #: wp-live-chat-support/wp-live-chat-support.php:3678
3073
+ #, fuzzy
3074
+ msgid "Multiple Chats"
3075
+ msgstr "Více agentů / referentů"
3076
+
3077
+ #: wp-live-chat-support/wp-live-chat-support.php:3678
3078
+ msgid "accept and handle multiple chats."
3079
+ msgstr ""
3080
+
3081
+ #: wp-live-chat-support/wp-live-chat-support.php:3679
3082
+ msgid "Add unlimited agents"
3083
+ msgstr ""
3084
+
3085
+ # @ wplivechat
3086
+ #: wp-live-chat-support/wp-live-chat-support.php:3679
3087
+ #, fuzzy
3088
+ msgid " with the Pro add-on of WP Live Chat Support"
3089
+ msgstr "S verzí Pro add-on of WP Live Chat Support, "
3090
+
3091
+ #: wp-live-chat-support/wp-live-chat-support.php:3679
3092
+ msgid "(once off payment)."
3093
+ msgstr ""
3094
+
3095
+ #: wp-live-chat-support/wp-live-chat-support.php:3693
3096
+ #, php-format
3097
+ msgid ""
3098
+ "Thank you for using <a href=\"%1$s\" target=\"_blank\">WP Live Chat Support</"
3099
+ "a>! Please <a href=\"%2$s\" target=\"_blank\">rate us</a> on <a href=\"%2$s"
3100
+ "\" target=\"_blank\">WordPress.org</a>"
3101
+ msgstr ""
3102
+
3103
+ # @ wplivechat
3104
+ #: wp-live-chat-support/wp-live-chat-support.php:3698
3105
+ #, fuzzy
3106
+ msgid "WP Live Chat Support is a product of"
3107
+ msgstr "WP Live Chat Podpora Zpětná vazba"
3108
+
3109
+ #: wp-live-chat-support/wp-live-chat-support.php:3802
3110
+ msgid "Add as many agents as you need with the "
3111
+ msgstr ""
3112
+
3113
+ #: wp-live-chat-support/wp-live-chat-support.php:3802
3114
+ msgid "Pro version."
3115
+ msgstr ""
3116
+
3117
+ #: wp-live-chat-support/wp-live-chat-support.php:3806
3118
+ #, php-format
3119
+ msgid "Change the default chat agent from <strong>%1$s</strong> to "
3120
+ msgstr ""
3121
+
3122
+ #: wp-live-chat-support/wp-live-chat-support.php:3905
3123
+ msgid "Verify"
3124
+ msgstr ""
3125
+
3126
+ #: wp-live-chat-support/wp-live-chat-support.php:3908
3127
+ msgid "Status: "
3128
+ msgstr ""
3129
+
3130
+ #: wp-live-chat-support/wp-live-chat-support.php:3911
3131
+ msgid "Valid"
3132
+ msgstr ""
3133
+
3134
+ #: wp-live-chat-support/wp-live-chat-support.php:3912
3135
+ #: wp-live-chat-support/wp-live-chat-support.php:3916
3136
+ msgid "Manage this extension"
3137
+ msgstr ""
3138
+
3139
+ #: wp-live-chat-support/wp-live-chat-support.php:3915
3140
+ msgid "Invalid"
3141
+ msgstr ""
3142
+
3143
+ #: wp-live-chat-support/wp-live-chat-support.php:3921
3144
+ msgid "Linked Domains"
3145
+ msgstr ""
3146
+
3147
+ #: wp-live-chat-support/wp-live-chat-support.php:3955
3148
+ #: wp-live-chat-support/wp-live-chat-support.php:4023
3149
+ msgid ""
3150
+ "Get unlimited agents, initiate chats, advanced chat box control, encryption "
3151
+ "and more with the Pro add-on."
3152
+ msgstr ""
3153
+
3154
+ #: wp-live-chat-support/wp-live-chat-support.php:3957
3155
+ #: wp-live-chat-support/wp-live-chat-support.php:3979
3156
+ #: wp-live-chat-support/wp-live-chat-support.php:4000
3157
+ #: wp-live-chat-support/wp-live-chat-support.php:4025
3158
+ msgid "Get this extension"
3159
+ msgstr ""
3160
+
3161
+ #: wp-live-chat-support/wp-live-chat-support.php:3968
3162
+ msgid "Mobile & Desktop App"
3163
+ msgstr ""
3164
+
3165
+ #: wp-live-chat-support/wp-live-chat-support.php:3977
3166
+ msgid ""
3167
+ "Answer chats directly from your mobile phone or desktop with our mobile app "
3168
+ "and desktop client"
3169
+ msgstr ""
3170
+
3171
+ #: wp-live-chat-support/wp-live-chat-support.php:3998
3172
+ msgid ""
3173
+ "Reduce the resources required by your server - use our cloud server to host "
3174
+ "your chats."
3175
+ msgstr ""
3176
+
3177
+ #: wp-live-chat-support/wp-live-chat-support.php:4046
3178
+ #: wp-live-chat-support/wp-live-chat-support.php:4067
3179
+ msgid "Relevant Extensions"
3180
+ msgstr ""
3181
+
3182
+ #: wp-live-chat-support/wp-live-chat-support.php:4086
3183
+ msgid "Powered By WP Live Chat Support"
3184
+ msgstr ""
3185
+
3186
+ #: wp-live-chat-support/wp-live-chat-support.php:4232
3187
+ msgid ""
3188
+ "Your API Key is Invalid. You are not eligible for future updates. Please "
3189
+ "enter your API key <a href=\"admin.php?page=wplivechat-menu-api-keys-page"
3190
+ "\">here</a>."
3191
+ msgstr ""
3192
+
3193
+ #: wp-live-chat-support/wp-live-chat-support.php:4318
3194
+ msgid "Advanced settings"
3195
+ msgstr ""
3196
+
3197
+ #: wp-live-chat-support/wp-live-chat-support.php:4327
3198
+ msgid "Only change these settings if you are experiencing performance issues."
3199
+ msgstr ""
3200
+
3201
+ #: wp-live-chat-support/wp-live-chat-support.php:4337
3202
+ msgid "What type of environment are you on?"
3203
+ msgstr ""
3204
+
3205
+ #: wp-live-chat-support/wp-live-chat-support.php:4341
3206
+ msgid "Shared hosting - low level plan"
3207
+ msgstr ""
3208
+
3209
+ #: wp-live-chat-support/wp-live-chat-support.php:4342
3210
+ msgid "Shared hosting - normal plan"
3211
+ msgstr ""
3212
+
3213
+ #: wp-live-chat-support/wp-live-chat-support.php:4343
3214
+ msgid "VPS"
3215
+ msgstr ""
3216
+
3217
+ #: wp-live-chat-support/wp-live-chat-support.php:4344
3218
+ msgid "Dedicated server"
3219
+ msgstr ""
3220
+
3221
+ #: wp-live-chat-support/wp-live-chat-support.php:4350
3222
+ msgid "Long poll setup"
3223
+ msgstr ""
3224
+
3225
+ #: wp-live-chat-support/wp-live-chat-support.php:4350
3226
+ msgid ""
3227
+ "Only change these if you are an experienced developer or if you have "
3228
+ "received these figures from the Code Cabin Support team."
3229
+ msgstr ""
3230
+
3231
+ #: wp-live-chat-support/wp-live-chat-support.php:4358
3232
+ msgid "Iterations"
3233
+ msgstr ""
3234
+
3235
+ #: wp-live-chat-support/wp-live-chat-support.php:4362
3236
+ msgid "Sleep between iterations"
3237
+ msgstr ""
3238
+
3239
+ #: wp-live-chat-support/wp-live-chat-support.php:4365
3240
+ msgid "microseconds"
3241
+ msgstr ""
3242
+
3243
+ #: wp-live-chat-support/wp-live-chat-support.php:4388
3244
+ msgid "View comprehensive reports regarding your chat and agent activity."
3245
+ msgstr ""
3246
+
3247
+ #: wp-live-chat-support/wp-live-chat-support.php:4391
3248
+ msgid "Reports"
3249
+ msgstr ""
3250
+
3251
+ #: wp-live-chat-support/wp-live-chat-support.php:4393
3252
+ msgid "Chat statistics"
3253
+ msgstr ""
3254
+
3255
+ #: wp-live-chat-support/wp-live-chat-support.php:4394
3256
+ msgid "Popular pages"
3257
+ msgstr ""
3258
+
3259
+ #: wp-live-chat-support/wp-live-chat-support.php:4395
3260
+ msgid ""
3261
+ "ROI reporting and tracking (identify which agents produce the most sales)"
3262
+ msgstr ""
3263
+
3264
+ #: wp-live-chat-support/wp-live-chat-support.php:4396
3265
+ msgid ""
3266
+ "User experience ratings (identify which agents produce the happiest "
3267
+ "customers)"
3268
+ msgstr ""
3269
+
3270
+ #: wp-live-chat-support/wp-live-chat-support.php:4406
3271
+ #: wp-live-chat-support/wp-live-chat-support.php:4468
3272
+ msgid "Get all this and more in the "
3273
+ msgstr ""
3274
+
3275
+ # @ wplivechat
3276
+ #: wp-live-chat-support/wp-live-chat-support.php:4406
3277
+ #: wp-live-chat-support/wp-live-chat-support.php:4468
3278
+ #, fuzzy
3279
+ msgid "Pro add-on"
3280
+ msgstr "Pro Add-on verze"
3281
+
3282
+ #: wp-live-chat-support/wp-live-chat-support.php:4407
3283
+ #: wp-live-chat-support/wp-live-chat-support.php:4469
3284
+ msgid "Upgrade Now"
3285
+ msgstr ""
3286
+
3287
+ #: wp-live-chat-support/wp-live-chat-support.php:4450
3288
+ msgid ""
3289
+ "Create custom data triggers when users view a certain page, spend a certain "
3290
+ "amount of time on a page, scroll past a certain point or when their mouse "
3291
+ "leaves the window."
3292
+ msgstr ""
3293
+
3294
+ #: wp-live-chat-support/wp-live-chat-support.php:4453
3295
+ msgid "Trigger Types"
3296
+ msgstr ""
3297
+
3298
+ # @ wplivechat
3299
+ #~ msgid "We'd love to hear your comments and/or suggestions"
3300
+ #~ msgstr ""
3301
+ #~ "Byli by jsme rádi, kdyby jste nám poslali vaše návrhy a/nebo komentáře"
3302
+
3303
+ # @ wplivechat
3304
+ #~ msgid "Get offline messages with the "
3305
+ #~ msgstr "Obdržte offline zprávy z "
3306
+
3307
+ # @ wplivechat
3308
+ #~ msgid "Offline text"
3309
+ #~ msgstr "Offline text"
3310
+
3311
+ # @ wplivechat
3312
+ #~ msgid "Edit these text fields using the "
3313
+ #~ msgstr "Upravte tato textová pole a použijte"
3314
+
3315
+ # @ wplivechat
3316
+ #~ msgid "First section text"
3317
+ #~ msgstr "Text první sekce"
3318
+
3319
+ # @ wplivechat
3320
+ #~ msgid "Second section text"
3321
+ #~ msgstr "Text druhé sekce"
3322
+
3323
+ # @ wplivechat
3324
+ #~ msgid "Reactivate chat section text"
3325
+ #~ msgstr " Znovu se aktivuje chat textová část"
3326
+
3327
+ # @ wplivechat
3328
+ #, fuzzy
3329
+ #~ msgid "Pro version for only $19.95 once off."
3330
+ #~ msgstr "pouze Pro verze"
3331
+
3332
+ # @ wplivechat
3333
+ #, fuzzy
3334
+ #~ msgid "Provide Instant Live Chat Support!"
3335
+ #~ msgstr "WP Live Chat Podpora Zpětná vazba"
3336
+
3337
+ # @ wplivechat
3338
+ #~ msgid ""
3339
+ #~ "You can update your plugin <a href='./update-core.php'>here</a>, <a "
3340
+ #~ "href='./plugins.php'>here</a> or <a href='http://wp-livechat.com/get-"
3341
+ #~ "updated-version/' target='_BLANK'>here</a>."
3342
+ #~ msgstr ""
3343
+ #~ "Můžete aktualizovat svůj plugin <a href='./update-core.php'>here</a>, <a "
3344
+ #~ "href='./plugins.php'>here</a> or <a href='http://wp-livechat.com/get-"
3345
+ #~ "updated-version/' target='_BLANK'>zde</a>."
3346
+
3347
+ # @ wplivechat
3348
+ #~ msgid "User has closed and ended the chat"
3349
+ #~ msgstr "Uživatel zavřel okno a ukončil chat"
3350
+
3351
+ # @ wplivechat
3352
+ #~ msgid "Get"
3353
+ #~ msgstr "Obdržte"
3354
+
3355
+ # @ wplivechat
3356
+ #~ msgid "Multiple agent support"
3357
+ #~ msgstr "Podpora více agentů / referentů"
3358
+
3359
+ # @ wplivechat
3360
+ #~ msgid "Experiencing problems with the plugin?"
3361
+ #~ msgstr "Dochází k problémům s plugin-em?"
3362
+
3363
+ # @ wplivechat
3364
+ #~ msgid "Or ask a question on our"
3365
+ #~ msgstr "a nebo se obraťte na"
3366
+
3367
+ # @ wplivechat
3368
+ #~ msgid ""
3369
+ #~ "Buy the Pro add-on now for only $29.95 once off. Free Updates Forever."
3370
+ #~ msgstr ""
3371
+ #~ "Kupte si verzi \\\"Pro add-on\\\" jen za jednorázový poplatek $29.95. "
3372
+ #~ "Aktualizace je zdarma, bez časového omezení."
languages/wplivechat-da_DA.po CHANGED
@@ -1,3287 +1,3287 @@
1
- msgid ""
2
- msgstr ""
3
- "Project-Id-Version: wplivechat\n"
4
- "POT-Creation-Date: 2016-10-18 14:14+0200\n"
5
- "PO-Revision-Date: 2016-10-18 14:14+0200\n"
6
- "Last-Translator: Kasper Jensen <support@teknisk-support.com>\n"
7
- "Language-Team: \n"
8
- "Language: da_DK\n"
9
- "MIME-Version: 1.0\n"
10
- "Content-Type: text/plain; charset=UTF-8\n"
11
- "Content-Transfer-Encoding: 8bit\n"
12
- "X-Generator: Poedit 1.8.10\n"
13
- "X-Poedit-KeywordsList: _;gettext;gettext_noop;__;_e\n"
14
- "X-Poedit-Basepath: ../..\n"
15
- "Plural-Forms: nplurals=2; plural=(n != 1);\n"
16
- "X-Poedit-SearchPath-0: wp-live-chat-support\n"
17
- "X-Poedit-SearchPath-1: wp-live-chat-support-pro\n"
18
- "X-Poedit-SearchPath-2: wp-live-chat-support-mobile-and-desktop-app\n"
19
- "X-Poedit-SearchPath-3: wp-live-chat-support-cloud-server\n"
20
-
21
- #: wp-live-chat-support-cloud-server/includes/update_control.php:43
22
- #: wp-live-chat-support-cloud-server/wp-live-chat-support-cloud-server.php:59
23
- #: wp-live-chat-support-cloud-server/wp-live-chat-support-cloud-server.php:371
24
- #: wp-live-chat-support-cloud-server/wp-live-chat-support-cloud-server.php:393
25
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:98
26
- #: wp-live-chat-support/wp-live-chat-support.php:3988
27
- msgid "Cloud Server"
28
- msgstr "Cloud Server"
29
-
30
- #: wp-live-chat-support-cloud-server/includes/update_control.php:118
31
- #: wp-live-chat-support/includes/update_control.class.php:122
32
- msgid ""
33
- "An Unexpected HTTP Error occurred during the API request.</p> <p><a href=\"?"
34
- "\" onclick=\"document.location.reload(); return false;\">Try again</a>"
35
- msgstr ""
36
- "Der opstod en uventet HTTP-fejl under API-anmodningen. </p><p> <a href=“?” "
37
- "onclick=“document.location.reload(); return false;”>Prøv igen</a>"
38
-
39
- #: wp-live-chat-support-cloud-server/includes/update_control.php:123
40
- #: wp-live-chat-support/includes/update_control.class.php:127
41
- msgid "An unknown error occurred"
42
- msgstr "En ukendt fejl opstod"
43
-
44
- #: wp-live-chat-support-cloud-server/wp-live-chat-support-cloud-server.php:73
45
- msgid "Chat functionality has been paused."
46
- msgstr ""
47
-
48
- #: wp-live-chat-support-cloud-server/wp-live-chat-support-cloud-server.php:74
49
- msgid ""
50
- "Please enter your verified API key in the <a href=\"admin.php?page=wplivechat-"
51
- "menu-api-keys-page\">API Keys page</a> to activate the cloud based "
52
- "functionality."
53
- msgstr ""
54
-
55
- #: wp-live-chat-support-cloud-server/wp-live-chat-support-cloud-server.php:90
56
- msgid "Are you sure you would like to delete chat history?"
57
- msgstr ""
58
-
59
- #: wp-live-chat-support-cloud-server/wp-live-chat-support-cloud-server.php:92
60
- #: wp-live-chat-support-cloud-server/wp-live-chat-support-cloud-server.php:108
61
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:135
62
- #: wp-live-chat-support/functions.php:1609
63
- #: wp-live-chat-support/includes/settings_page.php:97
64
- #: wp-live-chat-support/wp-live-chat-support.php:3048
65
- msgid "Yes"
66
- msgstr "Ja"
67
-
68
- #: wp-live-chat-support-cloud-server/wp-live-chat-support-cloud-server.php:93
69
- #: wp-live-chat-support-cloud-server/wp-live-chat-support-cloud-server.php:109
70
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:138
71
- #: wp-live-chat-support/functions.php:1609
72
- #: wp-live-chat-support/includes/settings_page.php:98
73
- #: wp-live-chat-support/wp-live-chat-support.php:3048
74
- msgid "No"
75
- msgstr "Nej"
76
-
77
- #: wp-live-chat-support-cloud-server/wp-live-chat-support-cloud-server.php:106
78
- msgid "Are you sure you would like to delete all missed chats?"
79
- msgstr ""
80
-
81
- #: wp-live-chat-support-cloud-server/wp-live-chat-support-cloud-server.php:374
82
- msgid ""
83
- "You are currently using our <strong>cloud server</strong> to handle your chat "
84
- "requests and live chat sessions.<br /><br />To disable this, please "
85
- "deactivate the WP Live Chat Support - Cloud Server plugin."
86
- msgstr ""
87
-
88
- #: wp-live-chat-support-mobile-and-desktop-app/wp-live-chat-support-mobile-and-desktop-app.php:47
89
- msgid "Mobile and Desktop App"
90
- msgstr ""
91
-
92
- #: wp-live-chat-support-mobile-and-desktop-app/wp-live-chat-support-mobile-and-desktop-app.php:99
93
- msgid "Mobile and Desktop App Settings"
94
- msgstr ""
95
-
96
- #: wp-live-chat-support-mobile-and-desktop-app/wp-live-chat-support-mobile-and-desktop-app.php:102
97
- msgid "Enable mobile and desktop app"
98
- msgstr ""
99
-
100
- #: wp-live-chat-support-mobile-and-desktop-app/wp-live-chat-support-mobile-and-desktop-app.php:124
101
- msgid "App"
102
- msgstr ""
103
-
104
- #: wp-live-chat-support-pro/ajax-pro.php:269
105
- msgid "Guest"
106
- msgstr "Gæst"
107
-
108
- #: wp-live-chat-support-pro/ajax-pro.php:341
109
- #: wp-live-chat-support/ajax_new.php:286
110
- msgid "Admin has closed and ended the chat"
111
- msgstr "Admin har lukket og sluttede chatten"
112
-
113
- #: wp-live-chat-support-pro/ajax-pro.php:376
114
- #: wp-live-chat-support/ajax_new.php:310
115
- msgid "There is No Answer. Please Try Again Later"
116
- msgstr "Der er Intet svar. Prøv igen senere"
117
-
118
- #: wp-live-chat-support-pro/functions-pro.php:54
119
- #: wp-live-chat-support-pro/functions-pro.php:173
120
- #: wp-live-chat-support-pro/functions-pro.php:325
121
- #: wp-live-chat-support/functions.php:294 wp-live-chat-support/functions.php:486
122
- #: wp-live-chat-support/modules/api/wplc-api-functions.php:458
123
- #: wp-live-chat-support/wp-live-chat-support.php:2485
124
- msgid "IP Address not recorded"
125
- msgstr "IP-adresse ikke registreret"
126
-
127
- #: wp-live-chat-support-pro/functions-pro.php:56
128
- #: wp-live-chat-support-pro/functions-pro.php:175
129
- #: wp-live-chat-support-pro/functions-pro.php:327
130
- #: wp-live-chat-support/functions.php:296 wp-live-chat-support/functions.php:488
131
- #: wp-live-chat-support/wp-live-chat-support.php:2487
132
- msgid "Whois for"
133
- msgstr "Whois for"
134
-
135
- #: wp-live-chat-support-pro/functions-pro.php:61
136
- #: wp-live-chat-support-pro/functions-pro.php:333
137
- #: wp-live-chat-support/functions.php:301 wp-live-chat-support/functions.php:443
138
- #: wp-live-chat-support/functions.php:1359
139
- msgid "Accept Chat"
140
- msgstr "Accepter Chat"
141
-
142
- #: wp-live-chat-support-pro/functions-pro.php:63
143
- #: wp-live-chat-support-pro/functions-pro.php:335
144
- #: wp-live-chat-support/functions.php:303
145
- msgid "Incoming Chat"
146
- msgstr "Indgående Chat"
147
-
148
- #: wp-live-chat-support-pro/functions-pro.php:63
149
- #: wp-live-chat-support-pro/functions-pro.php:335
150
- #: wp-live-chat-support/functions.php:303
151
- msgid "You have an incoming chat."
152
- msgstr "Du har en indgående snak."
153
-
154
- #: wp-live-chat-support-pro/functions-pro.php:67
155
- #: wp-live-chat-support/functions.php:448
156
- msgid "Open Chat"
157
- msgstr "Åbn chat"
158
-
159
- #: wp-live-chat-support-pro/functions-pro.php:69
160
- #: wp-live-chat-support-pro/functions-pro.php:347
161
- #: wp-live-chat-support/functions.php:309
162
- msgid "Chat Active"
163
- msgstr "Chat Aktiv"
164
-
165
- #: wp-live-chat-support-pro/functions-pro.php:69
166
- #: wp-live-chat-support-pro/functions-pro.php:347
167
- #: wp-live-chat-support/functions.php:309
168
- msgid "This chat is active"
169
- msgstr "Denne chat er aktiv"
170
-
171
- #: wp-live-chat-support-pro/functions-pro.php:74
172
- #: wp-live-chat-support-pro/functions-pro.php:160
173
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:2349
174
- #: wp-live-chat-support/wp-live-chat-support.php:1690
175
- msgid "Initiate Chat"
176
- msgstr "Indled Chat"
177
-
178
- #: wp-live-chat-support-pro/functions-pro.php:76
179
- #: wp-live-chat-support-pro/functions-pro.php:162
180
- msgid "You must be a chat agent to initiate chats"
181
- msgstr "Du skal være en chat agent til at indlede chats"
182
-
183
- #: wp-live-chat-support-pro/functions-pro.php:99
184
- #: wp-live-chat-support/functions.php:511
185
- #: wp-live-chat-support/modules/api/wplc-api-functions.php:474
186
- msgid "New"
187
- msgstr "Ny"
188
-
189
- #: wp-live-chat-support-pro/functions-pro.php:101
190
- #: wp-live-chat-support/functions.php:513
191
- #: wp-live-chat-support/modules/api/wplc-api-functions.php:476
192
- msgid "Returning"
193
- msgstr "Vender tilbage"
194
-
195
- #: wp-live-chat-support-pro/functions-pro.php:143
196
- msgid "Visitors on site"
197
- msgstr "Besøgende på stedet"
198
-
199
- #: wp-live-chat-support-pro/functions-pro.php:207
200
- #: wp-live-chat-support-pro/functions-pro.php:377
201
- #: wp-live-chat-support/functions.php:332
202
- #: wp-live-chat-support/wp-live-chat-support.php:2522
203
- msgid "Site Info"
204
- msgstr "Side Info"
205
-
206
- #: wp-live-chat-support-pro/functions-pro.php:209
207
- #: wp-live-chat-support-pro/functions-pro.php:379
208
- #: wp-live-chat-support/functions.php:334
209
- #: wp-live-chat-support/wp-live-chat-support.php:2524
210
- msgid "Chat initiated on:"
211
- msgstr "Chat indledt på:"
212
-
213
- #: wp-live-chat-support-pro/functions-pro.php:213
214
- #: wp-live-chat-support-pro/functions-pro.php:383
215
- #: wp-live-chat-support/functions.php:338
216
- #: wp-live-chat-support/wp-live-chat-support.php:2528
217
- msgid "Advanced Info"
218
- msgstr "Avanceret Info"
219
-
220
- #: wp-live-chat-support-pro/functions-pro.php:215
221
- #: wp-live-chat-support-pro/functions-pro.php:385
222
- #: wp-live-chat-support/functions.php:340
223
- #: wp-live-chat-support/wp-live-chat-support.php:2530
224
- msgid "Browser:"
225
- msgstr "BROWSER"
226
-
227
- #: wp-live-chat-support-pro/functions-pro.php:216
228
- #: wp-live-chat-support-pro/functions-pro.php:386
229
- #: wp-live-chat-support/functions.php:341
230
- #: wp-live-chat-support/wp-live-chat-support.php:2531
231
- msgid "IP Address:"
232
- msgstr "IP-adresse"
233
-
234
- #: wp-live-chat-support-pro/functions-pro.php:259
235
- msgid "No visitors on-line at the moment"
236
- msgstr "Ingen besøgende online i øjeblikket"
237
-
238
- #: wp-live-chat-support-pro/functions-pro.php:302
239
- #: wp-live-chat-support/functions.php:277
240
- msgid "No chat sessions available at the moment"
241
- msgstr "Ingen chat-sessioner til rådighed i øjeblikket"
242
-
243
- #: wp-live-chat-support-pro/functions-pro.php:304
244
- #: wp-live-chat-support/functions.php:279
245
- msgid "Active Chats"
246
- msgstr "Aktive Chats"
247
-
248
- #: wp-live-chat-support-pro/functions-pro.php:339
249
- msgid "You must be a chat agent to answer chats"
250
- msgstr "Du skal være en chat agent til at besvare chats"
251
-
252
- #: wp-live-chat-support-pro/functions-pro.php:345
253
- #: wp-live-chat-support/functions.php:307
254
- msgid "Open Chat Window"
255
- msgstr "Åbn chat vindue"
256
-
257
- #: wp-live-chat-support-pro/functions-pro.php:349
258
- msgid "Chat has been answered by another agent"
259
- msgstr "Chat er blevet besvaret af en anden agent"
260
-
261
- #: wp-live-chat-support-pro/functions-pro.php:350
262
- msgid "Chat answered by another agent"
263
- msgstr "Chat besvaret af en anden agent"
264
-
265
- #: wp-live-chat-support-pro/functions-pro.php:409
266
- #: wp-live-chat-support/functions.php:1205
267
- msgid "WP Live Chat Support - Offline Message from "
268
- msgstr "WP live chat support - Offline Meddelelse fra"
269
-
270
- #: wp-live-chat-support-pro/functions-pro.php:410
271
- #: wp-live-chat-support-pro/functions-pro.php:969
272
- #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:441
273
- #: wp-live-chat-support-pro/includes/wplc_roi.php:128
274
- #: wp-live-chat-support/functions.php:1206
275
- #: wp-live-chat-support/functions.php:1620
276
- #: wp-live-chat-support/includes/deprecated.php:192
277
- #: wp-live-chat-support/includes/deprecated.php:391
278
- #: wp-live-chat-support/includes/settings_page.php:256
279
- #: wp-live-chat-support/wp-live-chat-support.php:1371
280
- #: wp-live-chat-support/wp-live-chat-support.php:1529
281
- #: wp-live-chat-support/wp-live-chat-support.php:3072
282
- #: wp-live-chat-support/wp-live-chat-support.php:3183
283
- msgid "Name"
284
- msgstr "Navn"
285
-
286
- #: wp-live-chat-support-pro/functions-pro.php:410
287
- #: wp-live-chat-support-pro/functions-pro.php:970
288
- #: wp-live-chat-support/functions.php:1207
289
- #: wp-live-chat-support/functions.php:1621
290
- #: wp-live-chat-support/includes/deprecated.php:193
291
- #: wp-live-chat-support/includes/deprecated.php:392
292
- #: wp-live-chat-support/wp-live-chat-support.php:1372
293
- #: wp-live-chat-support/wp-live-chat-support.php:1530
294
- #: wp-live-chat-support/wp-live-chat-support.php:3073
295
- #: wp-live-chat-support/wp-live-chat-support.php:3184
296
- msgid "Email"
297
- msgstr "e-mail"
298
-
299
- #: wp-live-chat-support-pro/functions-pro.php:410
300
- #: wp-live-chat-support-pro/functions-pro.php:971
301
- #: wp-live-chat-support-pro/functions-pro.php:1546
302
- #: wp-live-chat-support/functions.php:1208
303
- #: wp-live-chat-support/wp-live-chat-support.php:1531
304
- #: wp-live-chat-support/wp-live-chat-support.php:3185
305
- #: wp-live-chat-support/wp-live-chat-support.php:4127
306
- #: wp-live-chat-support/wp-live-chat-support.php:4177
307
- msgid "Message"
308
- msgstr "Besked"
309
-
310
- #: wp-live-chat-support-pro/functions-pro.php:410
311
- #: wp-live-chat-support/functions.php:1209
312
- msgid "Via WP Live Chat Support"
313
- msgstr "Via WP live chat support"
314
-
315
- #: wp-live-chat-support-pro/functions-pro.php:480
316
- msgid "Alert: Someone wants to chat with you on "
317
- msgstr "Alert: nogen ønsker at chatte med dig på"
318
-
319
- #: wp-live-chat-support-pro/functions-pro.php:481
320
- msgid "Someone wants to chat with you on your website"
321
- msgstr "Nogen ønsker at chatte med dig på din hjemmeside"
322
-
323
- #: wp-live-chat-support-pro/functions-pro.php:481
324
- msgid "Log in"
325
- msgstr "Log ind"
326
-
327
- #: wp-live-chat-support-pro/functions-pro.php:748
328
- #: wp-live-chat-support-pro/functions-pro.php:764
329
- #: wp-live-chat-support-pro/functions-pro.php:779
330
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:2725
331
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:2741
332
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:2756
333
- msgid "Chat Agent"
334
- msgstr "Chat Agent"
335
-
336
- #: wp-live-chat-support-pro/functions-pro.php:753
337
- #: wp-live-chat-support-pro/functions-pro.php:769
338
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:2730
339
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:2746
340
- msgid "Make this user a chat agent"
341
- msgstr "Gør denne bruger en chat agent"
342
-
343
- #: wp-live-chat-support-pro/functions-pro.php:783
344
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:2760
345
- msgid "Your user role does not allow you to make yourself a chat agent."
346
- msgstr "Din brugerrolle ikke tillader dig at gøre dig selv en chat agent."
347
-
348
- #: wp-live-chat-support-pro/functions-pro.php:784
349
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:2761
350
- msgid "Please contact the administrator of this website to change this."
351
- msgstr "Kontakt administratoren af ​​denne hjemmeside til at ændre dette."
352
-
353
- #: wp-live-chat-support-pro/functions-pro.php:869
354
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3145
355
- msgid "Chat Agent Online"
356
- msgstr "Chat Agent Online"
357
-
358
- #: wp-live-chat-support-pro/functions-pro.php:871
359
- #: wp-live-chat-support-pro/functions-pro.php:876
360
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3147
361
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3152
362
- msgid "Chat Agents Online"
363
- msgstr "Chat Agenter Online"
364
-
365
- #: wp-live-chat-support-pro/functions-pro.php:968
366
- #: wp-live-chat-support/functions.php:1619
367
- #: wp-live-chat-support/wp-live-chat-support.php:3071
368
- #: wp-live-chat-support/wp-live-chat-support.php:3182
369
- msgid "Date"
370
- msgstr "Dato"
371
-
372
- #: wp-live-chat-support-pro/functions-pro.php:985
373
- #: wp-live-chat-support/wp-live-chat-support.php:3196
374
- msgid "You have not received any offline messages."
375
- msgstr "Du har ikke modtaget nogen offline beskeder."
376
-
377
- #: wp-live-chat-support-pro/functions-pro.php:1410
378
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:788
379
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3500
380
- #: wp-live-chat-support/wp-live-chat-support.php:3770
381
- msgid "Administrator"
382
- msgstr "Administrator"
383
-
384
- #: wp-live-chat-support-pro/functions-pro.php:1411
385
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:794
386
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3506
387
- #: wp-live-chat-support/wp-live-chat-support.php:3779
388
- msgid "Editor"
389
- msgstr "Redaktør"
390
-
391
- #: wp-live-chat-support-pro/functions-pro.php:1412
392
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:800
393
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3512
394
- #: wp-live-chat-support/wp-live-chat-support.php:3788
395
- msgid "Author"
396
- msgstr "Forfatter"
397
-
398
- #: wp-live-chat-support-pro/functions-pro.php:1413
399
- msgid "Contributor"
400
- msgstr "bidragsyder"
401
-
402
- #: wp-live-chat-support-pro/functions-pro.php:1414
403
- msgid "Subscriber"
404
- msgstr "Abonnent"
405
-
406
- #: wp-live-chat-support-pro/functions-pro.php:1544
407
- #: wp-live-chat-support/wp-live-chat-support.php:4125
408
- #: wp-live-chat-support/wp-live-chat-support.php:4175
409
- msgid "Chat ID"
410
- msgstr "Chat id"
411
-
412
- #: wp-live-chat-support-pro/functions-pro.php:1545
413
- #: wp-live-chat-support/wp-live-chat-support.php:4126
414
- #: wp-live-chat-support/wp-live-chat-support.php:4176
415
- msgid "From"
416
- msgstr "Fra"
417
-
418
- #: wp-live-chat-support-pro/functions-pro.php:1547
419
- #: wp-live-chat-support/wp-live-chat-support.php:4128
420
- #: wp-live-chat-support/wp-live-chat-support.php:4178
421
- msgid "Timestamp"
422
- msgstr "Tidsstempel"
423
-
424
- #: wp-live-chat-support-pro/functions-pro.php:1548
425
- #: wp-live-chat-support/wp-live-chat-support.php:4129
426
- #: wp-live-chat-support/wp-live-chat-support.php:4179
427
- msgid "Origin"
428
- msgstr "Oprindelse"
429
-
430
- #: wp-live-chat-support-pro/functions-pro.php:1560
431
- #: wp-live-chat-support/wp-live-chat-support.php:4134
432
- #: wp-live-chat-support/wp-live-chat-support.php:4184
433
- msgid "user"
434
- msgstr "bruger"
435
-
436
- #: wp-live-chat-support-pro/functions-pro.php:1562
437
- #: wp-live-chat-support/wp-live-chat-support.php:4136
438
- #: wp-live-chat-support/wp-live-chat-support.php:4186
439
- msgid "agent"
440
- msgstr "enhed"
441
-
442
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:48
443
- #: wp-live-chat-support/includes/settings_page.php:26
444
- msgid "WP Live Chat Support Settings"
445
- msgstr "WP live chat support Indstillinger"
446
-
447
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:71
448
- #: wp-live-chat-support/wp-live-chat-support.php:2142
449
- #: wp-live-chat-support/wp-live-chat-support.php:2157
450
- msgid "Dear Pro User"
451
- msgstr "Kære Pro Bruger"
452
-
453
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:72
454
- msgid ""
455
- "Please enter a valid API key on the 'Live Chat' -> 'Settings' page. Failing "
456
- "to do this will result in you no longer receiving updates for this plugin."
457
- msgstr ""
458
- "Indtast en gyldig API-nøgle på \"Live Chat\" -> \"Indstillinger\" side. Ikke "
459
- "at gøre dette vil resultere i du ikke længere at modtage opdateringer af "
460
- "denne plugin."
461
-
462
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:73
463
- msgid "You can obtain a copy of your API key "
464
- msgstr "Du kan få en kopi af din API-nøgle"
465
-
466
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:73
467
- msgid "here"
468
- msgstr "her"
469
-
470
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:73
471
- msgid ""
472
- "An account has been created for you while purchasing the plugin. If you have "
473
- "lost your password, please reset it "
474
- msgstr ""
475
- "En konto er blevet oprettet for dig, mens køb af plugin. Hvis du har mistet "
476
- "din adgangskode, skal du nulstille den"
477
-
478
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:74
479
- msgid ""
480
- "If you feel you are getting this message in error, please try refreshing the "
481
- "page."
482
- msgstr ""
483
- "Hvis du føler, at du får denne meddelelse ved en fejl, skal du prøve at "
484
- "opdatere siden."
485
-
486
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:83
487
- #: wp-live-chat-support/includes/settings_page.php:53
488
- msgid "General Settings"
489
- msgstr "Generelle indstillinger"
490
-
491
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:84
492
- #: wp-live-chat-support/includes/settings_page.php:58
493
- msgid "Chat Box"
494
- msgstr "Chat Box"
495
-
496
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:85
497
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:383
498
- #: wp-live-chat-support/includes/settings_page.php:63
499
- #: wp-live-chat-support/includes/settings_page.php:400
500
- #: wp-live-chat-support/wp-live-chat-support.php:757
501
- #: wp-live-chat-support/wp-live-chat-support.php:760
502
- msgid "Offline Messages"
503
- msgstr "Offline beskeder"
504
-
505
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:86
506
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:485
507
- #: wp-live-chat-support/includes/settings_page.php:68
508
- #: wp-live-chat-support/includes/settings_page.php:541
509
- msgid "Styling"
510
- msgstr "Udseende"
511
-
512
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:87
513
- msgid "Chat Agents"
514
- msgstr "Chat Agenter"
515
-
516
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:88
517
- #: wp-live-chat-support/includes/settings_page.php:78
518
- msgid "Blocked Visitors"
519
- msgstr "Blokerede Besøgende"
520
-
521
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:89
522
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:830
523
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:836
524
- msgid "Chat Experience Ratings"
525
- msgstr "Chat Erfarings bedømmelse"
526
-
527
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:90
528
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1857
529
- msgid "Encryption"
530
- msgstr "Kryptering"
531
-
532
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:93
533
- #: wp-live-chat-support/includes/settings_page.php:91
534
- msgid "Main Settings"
535
- msgstr "Primære Indstillinger"
536
-
537
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:96
538
- msgid "Find out more."
539
- msgstr "Læs mere…"
540
-
541
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:103
542
- msgid "Use our server to host your chat server."
543
- msgstr "Brug vores server til at være vært for din chat-server."
544
-
545
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:107
546
- #: wp-live-chat-support/wp-live-chat-support.php:3901
547
- msgid "API Key"
548
- msgstr "API key"
549
-
550
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:112
551
- msgid "This API key is "
552
- msgstr "Denne API-nøgle er"
553
-
554
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:115
555
- msgid "valid"
556
- msgstr "gyldigt"
557
-
558
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:118
559
- msgid "invalid"
560
- msgstr "ugyldigt"
561
-
562
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:122
563
- msgid ""
564
- "A valid API key means that you will be able to get the latest version of the "
565
- "plugin as and when it is released, as well as get access to support should "
566
- "you require it."
567
- msgstr ""
568
- "En gyldig API-nøgle betyder, at du vil være i stand til at få den nyeste "
569
- "version af plugin, når og hvis det er frigivet, samt få adgang til støtte bør "
570
- "du kræver det."
571
-
572
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:130
573
- #: wp-live-chat-support/includes/settings_page.php:94
574
- msgid "Chat enabled"
575
- msgstr "Chat aktiveret"
576
-
577
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:144
578
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1693
579
- msgid "Choose when I want to be online"
580
- msgstr "Vælg, når jeg ønsker at være online"
581
-
582
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:144
583
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1693
584
- msgid ""
585
- "Checking this will allow you to change your status to Online or Offline on "
586
- "the Live Chat page."
587
- msgstr ""
588
- "Afkrydsning af dette vil give dig mulighed for at ændre din status til online "
589
- "eller offline på live chat-side."
590
-
591
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:154
592
- #: wp-live-chat-support/includes/settings_page.php:116
593
- msgid "Hide Chat"
594
- msgstr "Skjul Chat"
595
-
596
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:154
597
- #: wp-live-chat-support/includes/settings_page.php:116
598
- msgid "Hides chat for 24hrs when user clicks X"
599
- msgstr "Skjuler chatte 24 timer, når brugeren klikker X"
600
-
601
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:162
602
- #: wp-live-chat-support/includes/settings_page.php:125
603
- msgid "Require Name And Email"
604
- msgstr "Kræv navn og email"
605
-
606
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:162
607
- #: wp-live-chat-support/includes/settings_page.php:125
608
- msgid ""
609
- "Users will have to enter their Name and Email Address when starting a chat"
610
- msgstr ""
611
- "Brugere bliver nødt til at indtaste deres navn og e-mail adresse, når du "
612
- "starter en chat"
613
-
614
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:172
615
- #: wp-live-chat-support/includes/settings_page.php:133
616
- msgid "Input Field Replacement Text"
617
- msgstr "Input feltets erstatningsteksten"
618
-
619
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:172
620
- #: wp-live-chat-support/includes/settings_page.php:133
621
- msgid "This is the text that will show in place of the Name And Email fields"
622
- msgstr "Dette er den tekst, der vil vise i stedet for navn og email felter"
623
-
624
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:182
625
- #: wp-live-chat-support/includes/settings_page.php:141
626
- msgid "Use Logged In User Details"
627
- msgstr "Brug indloggede bruger Detaljer"
628
-
629
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:182
630
- #: wp-live-chat-support/includes/settings_page.php:141
631
- msgid ""
632
- "A user's Name and Email Address will be used by default if they are logged in."
633
- msgstr ""
634
- "En brugers navn og e-mail adresse vil blive brugt som standard, hvis de er "
635
- "logget ind."
636
-
637
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:193
638
- #: wp-live-chat-support/includes/settings_page.php:149
639
- msgid "Enable On Mobile Devices"
640
- msgstr "Aktiver zoom på mobile enheder"
641
-
642
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:193
643
- #: wp-live-chat-support/includes/settings_page.php:149
644
- msgid ""
645
- "Disabling this will mean that the Chat Box will not be displayed on mobile "
646
- "devices. (Smartphones and Tablets)"
647
- msgstr ""
648
- "Deaktivering dette vil betyde, at Chat Box ikke vises på mobile enheder. "
649
- "(Smartphones og tablets)"
650
-
651
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:203
652
- #: wp-live-chat-support/includes/settings_page.php:157
653
- msgid "Record a visitor's IP Address"
654
- msgstr "Optag en besøgendes IP-adresse"
655
-
656
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:203
657
- #: wp-live-chat-support/includes/settings_page.php:157
658
- msgid "Disable this to enable anonymity for your visitors"
659
- msgstr "Deaktiver denne at aktivere anonymitet for dine besøgende"
660
-
661
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:213
662
- #: wp-live-chat-support/includes/settings_page.php:165
663
- msgid "Play a sound when a new message is received"
664
- msgstr "Afspil en lyd, når en ny besked modtages"
665
-
666
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:213
667
- #: wp-live-chat-support/includes/settings_page.php:165
668
- msgid ""
669
- "Disable this to mute the sound that is played when a new chat message is "
670
- "received"
671
- msgstr ""
672
- "Deaktiver denne for at slå lyd, der afspilles, når en ny chat-besked modtages"
673
-
674
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:222
675
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:2135
676
- msgid "Include chat window on the following pages:"
677
- msgstr "Medtag chat vindue på de følgende sider:"
678
-
679
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:222
680
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:2135
681
- #: wp-live-chat-support/includes/settings_page.php:175
682
- msgid ""
683
- "Show the chat window on the following pages. Leave blank to show on all. (Use "
684
- "comma-separated Page ID's)"
685
- msgstr ""
686
- "Vis chatvinduet på de følgende sider. Lad stå tomt for at vise på alle. (Brug "
687
- "kommasepareret Side ID'er)"
688
-
689
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:232
690
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:2143
691
- msgid "Exclude chat window on the following pages:"
692
- msgstr "Udeluk chatvinduet på de følgende sider:"
693
-
694
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:232
695
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:2143
696
- #: wp-live-chat-support/includes/settings_page.php:190
697
- msgid ""
698
- "Do not show the chat window on the following pages. Leave blank to show on "
699
- "all. (Use comma-separated Page ID's)"
700
- msgstr ""
701
- "Vis ikke chatvinduet på de følgende sider. Lad stå tomt for at vise på alle. "
702
- "(Brug kommasepareret Side ID'er)"
703
-
704
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:242
705
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:2151
706
- msgid "Allow any user to make themselves a chat agent"
707
- msgstr "Tillad alle brugere at gøre sig en chat agent"
708
-
709
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:242
710
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:2151
711
- msgid ""
712
- "Checking this will allow any of your users to make themselves a chat agent "
713
- "when editing their profile."
714
- msgstr ""
715
- "Kontrol dette vil give nogen af ​​dine brugere til at give sig en chat agent, "
716
- "når du redigerer deres profil."
717
-
718
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:255
719
- #: wp-live-chat-support/includes/settings_page.php:213
720
- msgid "Chat Window Settings"
721
- msgstr "Chatvinduet Indstillinger"
722
-
723
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:258
724
- #: wp-live-chat-support/includes/settings_page.php:216
725
- msgid "Chat box alignment"
726
- msgstr "Chatfeltet tilpasning"
727
-
728
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:263
729
- #: wp-live-chat-support/includes/settings_page.php:219
730
- msgid "Bottom left"
731
- msgstr "Forneden venstre"
732
-
733
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:266
734
- #: wp-live-chat-support/includes/settings_page.php:220
735
- msgid "Bottom right"
736
- msgstr "Forneden højre"
737
-
738
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:269
739
- #: wp-live-chat-support/includes/settings_page.php:221
740
- msgid "Left"
741
- msgstr "Venstre"
742
-
743
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:272
744
- #: wp-live-chat-support/includes/settings_page.php:222
745
- msgid "Right"
746
- msgstr "Højre"
747
-
748
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:278
749
- #: wp-live-chat-support/includes/settings_page.php:228
750
- msgid "Auto Pop-up"
751
- msgstr "Automatisk pop-up"
752
-
753
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:278
754
- #: wp-live-chat-support/includes/settings_page.php:228
755
- msgid ""
756
- "Expand the chat box automatically (prompts the user to enter their name and "
757
- "email address)."
758
- msgstr ""
759
- "Udvid chat boksen automatisk (beder brugeren om at indtaste deres navn og e-"
760
- "mail-adresse)."
761
-
762
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:289
763
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:919
764
- msgid "Name "
765
- msgstr "Navn"
766
-
767
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:303
768
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:990
769
- #: wp-live-chat-support/includes/settings_page.php:272
770
- msgid "Picture"
771
- msgstr "Billede"
772
-
773
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:311
774
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:998
775
- #: wp-live-chat-support/includes/settings_page.php:275
776
- #: wp-live-chat-support/includes/settings_page.php:291
777
- msgid "Upload Image"
778
- msgstr "Upload billede"
779
-
780
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:313
781
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1000
782
- msgid "Remove Image"
783
- msgstr "Fjern billede"
784
-
785
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:314
786
- msgid "Recomended Size 40px x 40px"
787
- msgstr "Anbefalet Størrelse 40px x 40px"
788
-
789
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:320
790
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1008
791
- #: wp-live-chat-support/includes/settings_page.php:288
792
- msgid "Logo"
793
- msgstr "Logo"
794
-
795
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:328
796
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1016
797
- msgid "Upload Logo"
798
- msgstr "Upload Logo"
799
-
800
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:330
801
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1018
802
- msgid "Remove Logo"
803
- msgstr "Fjern logo"
804
-
805
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:331
806
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1019
807
- msgid "Recomended Size 250px x 40px"
808
- msgstr "Anbefalet Størrelse 250px x 40px"
809
-
810
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:337
811
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1025
812
- #: wp-live-chat-support/includes/settings_page.php:304
813
- msgid "Chat delay (seconds)"
814
- msgstr "Chat forsinkelse (sekunder)"
815
-
816
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:337
817
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1025
818
- msgid "How long it takes for your chat window to pop up"
819
- msgstr "Hvor lang tid det tager for din chat-vindue til at poppe op"
820
-
821
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:346
822
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1034
823
- #: wp-live-chat-support/includes/settings_page.php:320
824
- msgid "Chat notifications"
825
- msgstr "Chat underretninger"
826
-
827
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:346
828
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1034
829
- msgid "Alert me via email as soon as someone wants to chat (while online only)"
830
- msgstr ""
831
- "Advare mig via e-mail, så snart nogen ønsker at chatte (mens kun online)"
832
-
833
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:356
834
- #: wp-live-chat-support/includes/settings_page.php:338
835
- msgid "Display name and avatar in chat"
836
- msgstr "Vist navn og avatar i chatten"
837
-
838
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:356
839
- #: wp-live-chat-support/includes/settings_page.php:338
840
- msgid "Display the agent and user name above each message in the chat window."
841
- msgstr "Vise agent og brugernavnet over hver besked i chatvinduet."
842
-
843
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:368
844
- #: wp-live-chat-support/includes/settings_page.php:348
845
- msgid "Only show the chat window to users that are logged in"
846
- msgstr "Vis kun chatvinduet til brugere, der er logget ind"
847
-
848
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:368
849
- #: wp-live-chat-support/includes/settings_page.php:348
850
- msgid ""
851
- "By checking this, only users that are logged in will be able to chat with you."
852
- msgstr ""
853
- "Ved at markere dette, vil kun brugere, der er logget ind kan chatte med dig."
854
-
855
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:387
856
- #: wp-live-chat-support/includes/settings_page.php:404
857
- msgid "Do not allow users to send offline messages"
858
- msgstr "Må ikke muligt for brugerne at sende offline beskeder"
859
-
860
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:387
861
- #: wp-live-chat-support/includes/settings_page.php:404
862
- msgid ""
863
- "The chat window will be hidden when it is offline. Users will not be able to "
864
- "send offline messages to you"
865
- msgstr ""
866
- "Chatten vindue vil være skjult, når den er offline. Brugerne vil ikke være i "
867
- "stand til at sende offline beskeder til dig"
868
-
869
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:399
870
- #: wp-live-chat-support/includes/settings_page.php:416
871
- msgid "Email Address"
872
- msgstr "E-mail adresse"
873
-
874
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:399
875
- #: wp-live-chat-support/includes/settings_page.php:416
876
- msgid ""
877
- "Email address where offline messages are delivered to. Use comma separated "
878
- "email addresses to send to more than one email address"
879
- msgstr ""
880
- "E-mail-adresse, hvor offline meddelelser leveres til. Brug kommasepareret e-"
881
- "mail adresser til at sende til mere end én e-mail-adresse"
882
-
883
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:412
884
- #: wp-live-chat-support/includes/settings_page.php:428
885
- msgid "Sending Method"
886
- msgstr "Sender Metode"
887
-
888
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:413
889
- #: wp-live-chat-support/includes/settings_page.php:429
890
- msgid "WP Mail"
891
- msgstr "WP Mail"
892
-
893
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:414
894
- #: wp-live-chat-support/includes/settings_page.php:430
895
- msgid "PHP Mailer"
896
- msgstr "PHP Mailer"
897
-
898
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:430
899
- #: wp-live-chat-support/includes/settings_page.php:446
900
- msgid "Host"
901
- msgstr "Værtsorganisme"
902
-
903
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:438
904
- #: wp-live-chat-support/includes/settings_page.php:454
905
- msgid "Port"
906
- msgstr "Port"
907
-
908
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:446
909
- #: wp-live-chat-support/includes/settings_page.php:462
910
- msgid "Username"
911
- msgstr "Brugernavn"
912
-
913
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:454
914
- #: wp-live-chat-support/includes/settings_page.php:470
915
- msgid "Password"
916
- msgstr "Adgangskode"
917
-
918
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:463
919
- #: wp-live-chat-support/includes/settings_page.php:479
920
- msgid "Offline Chat Box Title"
921
- msgstr "Offline Chat Box Titel"
922
-
923
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:471
924
- #: wp-live-chat-support/includes/settings_page.php:487
925
- msgid "Offline Text Fields"
926
- msgstr "Offline Tekst Felter"
927
-
928
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:504
929
- #: wp-live-chat-support/includes/settings_page.php:546
930
- msgid "Choose a theme"
931
- msgstr "Vælg et tema"
932
-
933
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:509
934
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:512
935
- msgid "Theme 1"
936
- msgstr "Tema 1"
937
-
938
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:515
939
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:518
940
- msgid "Theme 2"
941
- msgstr "Tema 2"
942
-
943
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:521
944
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:524
945
- msgid "Theme 3"
946
- msgstr "Tema 3"
947
-
948
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:527
949
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:530
950
- msgid "Theme 4"
951
- msgstr "Tema (4)"
952
-
953
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:533
954
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:536
955
- msgid "Theme 5"
956
- msgstr "Tema 5"
957
-
958
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:539
959
- msgid "Theme 6"
960
- msgstr "Tema 6"
961
-
962
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:542
963
- msgid "Custom. Enter Colour Values Below"
964
- msgstr "Skik. Indtast Farve Værdier under"
965
-
966
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:568
967
- msgid "Chat box fill color"
968
- msgstr "Chatfeltet fyldfarve"
969
-
970
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:574
971
- msgid "Chat box font color"
972
- msgstr "Chatfeltet font farve"
973
-
974
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:581
975
- #: wp-live-chat-support/includes/settings_page.php:677
976
- msgid "I'm using a localization plugin"
977
- msgstr "Jeg bruger en lokalisering plugin"
978
-
979
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:584
980
- msgid "documentation"
981
- msgstr "dokumentation"
982
-
983
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:589
984
- msgid ""
985
- "You will only be able to edit the strings shown in the chat window of the "
986
- "code now. <br/> This has been done to accommodate as many localization "
987
- "plugins as possible. <br/> For more information on how to change these "
988
- "strings, please consult the "
989
- msgstr ""
990
- "Du vil kun være i stand til at redigere strengene er vist i chatvinduet af "
991
- "koden nu. <br/> Dette er blevet gjort for at rumme så mange lokalisering "
992
- "plugins som muligt. <br/> For mere information om, hvordan du ændrer disse "
993
- "strenge, henvises til"
994
-
995
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:594
996
- #: wp-live-chat-support/includes/settings_page.php:685
997
- msgid "First Section Text"
998
- msgstr "Første afsnit Tekst"
999
-
1000
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:601
1001
- #: wp-live-chat-support/includes/settings_page.php:692
1002
- msgid "Intro Text"
1003
- msgstr "Intro tekst"
1004
-
1005
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:607
1006
- #: wp-live-chat-support/includes/settings_page.php:698
1007
- msgid "Second Section Text"
1008
- msgstr "forstærkningstog"
1009
-
1010
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:614
1011
- #: wp-live-chat-support/includes/settings_page.php:705
1012
- msgid "Reactivate Chat Section Text"
1013
- msgstr "Genaktiver Chat Sektion tekst"
1014
-
1015
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:622
1016
- #: wp-live-chat-support/includes/settings_page.php:713
1017
- msgid "User chat welcome"
1018
- msgstr "Bruger chat velkommen"
1019
-
1020
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:628
1021
- #: wp-live-chat-support/includes/settings_page.php:719
1022
- msgid "Other text"
1023
- msgstr "Andre tekst"
1024
-
1025
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:630
1026
- #: wp-live-chat-support/includes/settings_page.php:721
1027
- msgid "This text is shown above the user chat input field"
1028
- msgstr "Denne tekst vises over feltet brugeren chat input"
1029
-
1030
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:662
1031
- msgid ""
1032
- "You are using an outdated version of WP Live Chat Support Basic. Please "
1033
- "update your plugin to allow for animations to function"
1034
- msgstr ""
1035
- "Du bruger en forældet version af WP live chat support Basic. Opdater dit "
1036
- "plugin for at give mulighed for animationer til at fungere"
1037
-
1038
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:666
1039
- #: wp-live-chat-support/includes/settings_page.php:749
1040
- msgid "Choose an animation"
1041
- msgstr "Vælg en animation"
1042
-
1043
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:674
1044
- #: wp-live-chat-support/includes/settings_page.php:757
1045
- msgid "Slide Up"
1046
- msgstr "Glid op"
1047
-
1048
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:680
1049
- #: wp-live-chat-support/includes/settings_page.php:763
1050
- msgid "Slide From The Side"
1051
- msgstr "Slide fra siden"
1052
-
1053
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:686
1054
- #: wp-live-chat-support/includes/settings_page.php:769
1055
- msgid "Fade In"
1056
- msgstr "optone"
1057
-
1058
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:692
1059
- #: wp-live-chat-support/includes/settings_page.php:775
1060
- msgid "No Animation"
1061
- msgstr "Ingen Animation"
1062
-
1063
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:750
1064
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3462
1065
- #: wp-live-chat-support/wp-live-chat-support.php:3739
1066
- msgid "Current Users that are Chat Agents"
1067
- msgstr "Nuværende brugere, der er chat Agenter"
1068
-
1069
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:761
1070
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3473
1071
- #: wp-live-chat-support/wp-live-chat-support.php:3749
1072
- msgid "Online"
1073
- msgstr "Online"
1074
-
1075
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:771
1076
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3331
1077
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3483
1078
- #: wp-live-chat-support/wp-live-chat-support.php:2123
1079
- msgid "Remove"
1080
- msgstr "Fjern"
1081
-
1082
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:780
1083
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3492
1084
- #: wp-live-chat-support/wp-live-chat-support.php:3799
1085
- msgid "Add New Agent"
1086
- msgstr "Tilføj ny agent"
1087
-
1088
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:782
1089
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:798
1090
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3494
1091
- #: wp-live-chat-support/wp-live-chat-support.php:2559
1092
- #: wp-live-chat-support/wp-live-chat-support.php:3764
1093
- msgid "Select"
1094
- msgstr "Vælg"
1095
-
1096
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:804
1097
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3516
1098
- #: wp-live-chat-support/wp-live-chat-support.php:3800
1099
- msgid "Add Agent"
1100
- msgstr "Tilføj agent"
1101
-
1102
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:810
1103
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3522
1104
- msgid ""
1105
- "Should you wish to add a user that has a role less than 'Author', please go "
1106
- "to the <a href='./users.php'>Users</a> page, select the relevant user, click "
1107
- "Edit and scroll to the bottom of the page and enable the 'Chat Agent' "
1108
- "checkbox."
1109
- msgstr ""
1110
- "Hvis du ønsker at tilføje en bruger, der har en rolle mindre end 'Author', "
1111
- "skal du gå til <a href='./users.php'>Brugere</a> skal du vælge den relevante "
1112
- "bruger, skal du klikke på Rediger og rulle til bunden af siden, og gøre det "
1113
- "muligt for \"Chat Agent\" afkrydsningsfeltet."
1114
-
1115
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:811
1116
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3523
1117
- msgid "If there are no chat agents online, the chat will show as offline"
1118
- msgstr "Hvis der ikke er chat agenter online, vil chatten vises som offline"
1119
-
1120
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:815
1121
- #: wp-live-chat-support/includes/settings_page.php:802
1122
- msgid "Blocked Visitors - Based on IP Address"
1123
- msgstr "Blokerede Besøgende - Baseret på IP-adresse"
1124
-
1125
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:816
1126
- #: wp-live-chat-support/includes/settings_page.php:803
1127
- msgid "Enter each IP Address you would like to block on a new line"
1128
- msgstr "Indtast hver IP-adresse, du ønsker at blokere på en ny linje"
1129
-
1130
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:827
1131
- #: wp-live-chat-support/includes/settings_page.php:814
1132
- msgid ""
1133
- "Blocking a user's IP Address here will hide the chat window from them, "
1134
- "preventing them from chatting with you. Each IP Address must be on a new line"
1135
- msgstr ""
1136
- "Blokering en brugers IP-adresse her, vil skjule chatvinduet fra dem, "
1137
- "forhindrer dem i at chatte med dig. Hver IP-adresse skal være på en ny linje"
1138
-
1139
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:836
1140
- msgid ""
1141
- "are only available in the WP Live Chat Support Chat Experience Ratings add-on"
1142
- msgstr ""
1143
- "er kun tilgængelige i WP live chat support Chat Experience Ratings tilføjelse"
1144
-
1145
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:840
1146
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1821
1147
- msgid "Chat Encryption"
1148
- msgstr "Chat Kryptering"
1149
-
1150
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:843
1151
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1824
1152
- msgid "Enable Encryption"
1153
- msgstr "Aktiver kryptering"
1154
-
1155
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:843
1156
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1824
1157
- msgid ""
1158
- "All messages will be encrypted when being sent to and from the user and agent."
1159
- msgstr ""
1160
- "Alle meddelelser skal sendes krypteret, når de sendes til og fra brugeren og "
1161
- "agent."
1162
-
1163
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:851
1164
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1834
1165
- msgid ""
1166
- "Once enabled, all messages sent will be encrypted. This cannot be undone."
1167
- msgstr ""
1168
- "Når aktiveret, vil alle beskeder sendt krypteres. Dette kan ikke fortrydes."
1169
-
1170
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:857
1171
- #: wp-live-chat-support/includes/settings_page.php:822
1172
- msgid "Save Settings"
1173
- msgstr "Gem opsætning"
1174
-
1175
- #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:5
1176
- #: wp-live-chat-support-pro/includes/wplc_roi.php:83
1177
- msgid "Add New"
1178
- msgstr ""
1179
-
1180
- #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:8
1181
- #: wp-live-chat-support/wp-live-chat-support.php:4418
1182
- #: wp-live-chat-support/wp-live-chat-support.php:4448
1183
- msgid "WP Live Chat Support Triggers"
1184
- msgstr ""
1185
-
1186
- #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:16
1187
- #: wp-live-chat-support-pro/includes/wplc_roi.php:110
1188
- #: wp-live-chat-support/wp-live-chat-support.php:4402
1189
- #: wp-live-chat-support/wp-live-chat-support.php:4464
1190
- msgid "Update now"
1191
- msgstr ""
1192
-
1193
- #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:68
1194
- msgid "Trigger Name"
1195
- msgstr ""
1196
-
1197
- #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:73
1198
- msgid "Trigger Type"
1199
- msgstr ""
1200
-
1201
- #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:77
1202
- #: wp-live-chat-support/wp-live-chat-support.php:4454
1203
- msgid "Page Trigger"
1204
- msgstr ""
1205
-
1206
- #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:78
1207
- #: wp-live-chat-support/wp-live-chat-support.php:4455
1208
- msgid "Time Trigger"
1209
- msgstr ""
1210
-
1211
- #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:79
1212
- #: wp-live-chat-support/wp-live-chat-support.php:4456
1213
- msgid "Scroll Trigger"
1214
- msgstr ""
1215
-
1216
- #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:80
1217
- #: wp-live-chat-support/wp-live-chat-support.php:4457
1218
- msgid "Page Leave Trigger"
1219
- msgstr ""
1220
-
1221
- #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:81
1222
- msgid ""
1223
- "Note: When using page trigger with a the basic theme, no hovercard is shown "
1224
- "by default. We suggest using the time trigger for this instead."
1225
- msgstr ""
1226
-
1227
- #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:87
1228
- msgid "Page ID"
1229
- msgstr ""
1230
-
1231
- #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:88
1232
- msgid "Note: Leave empty for 'all' pages"
1233
- msgstr ""
1234
-
1235
- #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:92
1236
- msgid "Show After"
1237
- msgstr ""
1238
-
1239
- #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:93
1240
- msgid "Seconds"
1241
- msgstr ""
1242
-
1243
- #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:97
1244
- msgid "Show After Scrolled"
1245
- msgstr ""
1246
-
1247
- #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:98
1248
- msgid "(%) Percent of page height"
1249
- msgstr ""
1250
-
1251
- #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:102
1252
- msgid "Content Replacement"
1253
- msgstr ""
1254
-
1255
- #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:114
1256
- msgid "Replace Content"
1257
- msgstr ""
1258
-
1259
- #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:119
1260
- msgid "Enable Trigger"
1261
- msgstr ""
1262
-
1263
- #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:125
1264
- #: wp-live-chat-support-pro/includes/wplc_roi.php:237
1265
- msgid "Close"
1266
- msgstr ""
1267
-
1268
- #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:134
1269
- #: wp-live-chat-support-pro/includes/wplc_roi.php:246
1270
- msgid "Please review your submission"
1271
- msgstr ""
1272
-
1273
- #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:275
1274
- msgid "Trigger has been edited."
1275
- msgstr ""
1276
-
1277
- #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:428
1278
- msgid "Conflict with page"
1279
- msgstr ""
1280
-
1281
- #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:430
1282
- msgid "Trigger ID: "
1283
- msgstr ""
1284
-
1285
- #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:440
1286
- #: wp-live-chat-support-pro/includes/wplc_roi.php:127
1287
- #: wp-live-chat-support/functions.php:1853
1288
- msgid "ID"
1289
- msgstr ""
1290
-
1291
- #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:442
1292
- #: wp-live-chat-support/wp-live-chat-support.php:2321
1293
- msgid "Type"
1294
- msgstr "Type"
1295
-
1296
- #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:443
1297
- #: wp-live-chat-support-pro/includes/wplc_roi.php:130
1298
- msgid "Page"
1299
- msgstr ""
1300
-
1301
- #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:444
1302
- msgid "Content"
1303
- msgstr ""
1304
-
1305
- #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:445
1306
- #: wp-live-chat-support/wp-live-chat-support.php:2324
1307
- #: wp-live-chat-support/wp-live-chat-support.php:3075
1308
- msgid "Status"
1309
- msgstr "Status"
1310
-
1311
- #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:446
1312
- #: wp-live-chat-support-pro/includes/wplc_roi.php:132
1313
- #: wp-live-chat-support/functions.php:1623
1314
- #: wp-live-chat-support/wp-live-chat-support.php:2325
1315
- #: wp-live-chat-support/wp-live-chat-support.php:3076
1316
- msgid "Action"
1317
- msgstr "Handling"
1318
-
1319
- #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:453
1320
- #: wp-live-chat-support-pro/includes/wplc_roi.php:139
1321
- msgid "Edit"
1322
- msgstr ""
1323
-
1324
- #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:454
1325
- #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:585
1326
- #: wp-live-chat-support-pro/includes/wplc_roi.php:140
1327
- #: wp-live-chat-support-pro/includes/wplc_roi.php:545
1328
- msgid "Delete"
1329
- msgstr ""
1330
-
1331
- #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:462
1332
- #: wp-live-chat-support-pro/includes/wplc_roi.php:656
1333
- #: wp-live-chat-support/wp-live-chat-support.php:3553
1334
- msgid "All"
1335
- msgstr "Alle"
1336
-
1337
- #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:466
1338
- msgid "Click to change trigger status"
1339
- msgstr ""
1340
-
1341
- #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:476
1342
- msgid "No Triggers Found..."
1343
- msgstr ""
1344
-
1345
- #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:580
1346
- msgid "Are you sure you would like to delete trigger"
1347
- msgstr ""
1348
-
1349
- #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:586
1350
- #: wp-live-chat-support-pro/includes/wplc_roi.php:546
1351
- msgid "Cancel"
1352
- msgstr ""
1353
-
1354
- #: wp-live-chat-support-pro/includes/wplc_roi.php:72
1355
- msgid "ROI Goals"
1356
- msgstr ""
1357
-
1358
- #: wp-live-chat-support-pro/includes/wplc_roi.php:86
1359
- msgid "WP Live Chat Support ROI Goals"
1360
- msgstr ""
1361
-
1362
- #: wp-live-chat-support-pro/includes/wplc_roi.php:129
1363
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3873
1364
- msgid "Overview"
1365
- msgstr ""
1366
-
1367
- #: wp-live-chat-support-pro/includes/wplc_roi.php:131
1368
- #: wp-live-chat-support/modules/api/wplc-api.php:76
1369
- msgid "Value"
1370
- msgstr ""
1371
-
1372
- #: wp-live-chat-support-pro/includes/wplc_roi.php:146
1373
- msgid "None"
1374
- msgstr ""
1375
-
1376
- #: wp-live-chat-support-pro/includes/wplc_roi.php:153
1377
- msgid "No ROI Goals Found..."
1378
- msgstr ""
1379
-
1380
- #: wp-live-chat-support-pro/includes/wplc_roi.php:212
1381
- msgid "Goal Name"
1382
- msgstr ""
1383
-
1384
- #: wp-live-chat-support-pro/includes/wplc_roi.php:217
1385
- msgid "Goal Overview"
1386
- msgstr ""
1387
-
1388
- #: wp-live-chat-support-pro/includes/wplc_roi.php:222
1389
- msgid "Goal Page"
1390
- msgstr ""
1391
-
1392
- #: wp-live-chat-support-pro/includes/wplc_roi.php:231
1393
- msgid "Goal Value"
1394
- msgstr ""
1395
-
1396
- #: wp-live-chat-support-pro/includes/wplc_roi.php:377
1397
- msgid "Goal has been edited."
1398
- msgstr ""
1399
-
1400
- #: wp-live-chat-support-pro/includes/wplc_roi.php:540
1401
- msgid "Are you sure you would like to delete goal"
1402
- msgstr ""
1403
-
1404
- #: wp-live-chat-support-pro/includes/wplc_roi.php:622
1405
- msgid "ROI Reporting"
1406
- msgstr ""
1407
-
1408
- #: wp-live-chat-support-pro/includes/wplc_roi.php:636
1409
- msgid "Goal Statistics"
1410
- msgstr ""
1411
-
1412
- #: wp-live-chat-support-pro/includes/wplc_roi.php:648
1413
- msgid "No Goals Found"
1414
- msgstr ""
1415
-
1416
- #: wp-live-chat-support-pro/includes/wplc_roi.php:657
1417
- msgid "Last 30 Days"
1418
- msgstr ""
1419
-
1420
- #: wp-live-chat-support-pro/includes/wplc_roi.php:658
1421
- msgid "Last 15 Days"
1422
- msgstr ""
1423
-
1424
- #: wp-live-chat-support-pro/includes/wplc_roi.php:659
1425
- msgid "Last 7 Days"
1426
- msgstr ""
1427
-
1428
- #: wp-live-chat-support-pro/includes/wplc_roi.php:660
1429
- msgid "Last 24 Hours"
1430
- msgstr ""
1431
-
1432
- #: wp-live-chat-support-pro/includes/wplc_roi.php:712
1433
- msgid "Value Per Conversion"
1434
- msgstr ""
1435
-
1436
- #: wp-live-chat-support-pro/includes/wplc_roi.php:718
1437
- msgid "Total Value"
1438
- msgstr ""
1439
-
1440
- #: wp-live-chat-support-pro/includes/wplc_roi.php:723
1441
- msgid "Total Conversions"
1442
- msgstr ""
1443
-
1444
- #: wp-live-chat-support-pro/includes/wplc_roi.php:757
1445
- msgid "Value By Date"
1446
- msgstr ""
1447
-
1448
- #: wp-live-chat-support-pro/includes/wplc_roi.php:760
1449
- msgid "Value By Agent"
1450
- msgstr ""
1451
-
1452
- #: wp-live-chat-support-pro/includes/wplc_roi.php:766
1453
- msgid "No data available yet..."
1454
- msgstr ""
1455
-
1456
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:511
1457
- #, php-format
1458
- msgid ""
1459
- "WP Live Chat Support Pro <strong>requires WP Live Chat Support version 6+</"
1460
- "strong> (basic version). Please <strong><a href=\"%1$s\">update the plugin</"
1461
- "a></strong> in order for the plugin to continue working correctly."
1462
- msgstr ""
1463
-
1464
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:597
1465
- msgid "WP Live Chat Support Pro"
1466
- msgstr ""
1467
-
1468
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:710
1469
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:721
1470
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3201
1471
- msgid "Quick Responses"
1472
- msgstr "Hurtige svar"
1473
-
1474
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:711
1475
- msgid "Quick Response"
1476
- msgstr "Hurtig responstid"
1477
-
1478
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:712
1479
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:715
1480
- msgid "New Quick Response"
1481
- msgstr "Ny Quick Response"
1482
-
1483
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:713
1484
- msgid "Add New Quick Response"
1485
- msgstr "Tilføj ny Quick Response"
1486
-
1487
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:714
1488
- msgid "Edit Quick Response"
1489
- msgstr "Rediger Quick Response"
1490
-
1491
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:716
1492
- msgid "All Quick Responses"
1493
- msgstr "Alle hurtige svar"
1494
-
1495
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:717
1496
- msgid "View Quick Responses"
1497
- msgstr "Se hurtige svar"
1498
-
1499
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:718
1500
- msgid "Search Quick Responses"
1501
- msgstr "Søg hurtige svar"
1502
-
1503
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:719
1504
- msgid "No Quick Responses found"
1505
- msgstr "Ingen hurtige svar fundet"
1506
-
1507
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:720
1508
- msgid "No Quick Responses found in the Trash"
1509
- msgstr "Ingen hurtige svar findes i papirkurven"
1510
-
1511
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:725
1512
- msgid "Quick Responses for WP Live Chat Support Pro"
1513
- msgstr "Hurtige svar til WP live chat support Pro"
1514
-
1515
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:791
1516
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:795
1517
- #: wp-live-chat-support/wp-live-chat-support.php:2559
1518
- msgid "Assign Quick Response"
1519
- msgstr "Tildel Quick Response"
1520
-
1521
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:804
1522
- msgid "What is this?"
1523
- msgstr "Hvad er det?"
1524
-
1525
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:841
1526
- #, php-format
1527
- msgid "Incoming chat from %s (%s) on %s"
1528
- msgstr ""
1529
-
1530
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:847
1531
- #, php-format
1532
- msgid "%s (%s) wants to chat with you. <br /><br />Log in: %s"
1533
- msgstr ""
1534
-
1535
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:895
1536
- #: wp-live-chat-support/includes/settings_page.php:239
1537
- msgid "Display typing indicator"
1538
- msgstr ""
1539
-
1540
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:895
1541
- msgid ""
1542
- "Display the \"typing...\" animation in the chat window as soon as an agent or "
1543
- "visitor is typing."
1544
- msgstr ""
1545
-
1546
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:902
1547
- #, php-format
1548
- msgid ""
1549
- "Please update your <a href='%s'>basic version</a> to make use of this feature."
1550
- msgstr ""
1551
-
1552
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:910
1553
- msgid ""
1554
- "For non-cloud server users, please note that this will increase the amount of "
1555
- "server resources required."
1556
- msgstr ""
1557
-
1558
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:927
1559
- msgid "Use WordPress name instead"
1560
- msgstr ""
1561
-
1562
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:930
1563
- msgid "Note: 'Name' field will be ignored"
1564
- msgstr ""
1565
-
1566
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:948
1567
- msgid "Incoming chat ring tone"
1568
- msgstr ""
1569
-
1570
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:952
1571
- msgid "Default"
1572
- msgstr ""
1573
-
1574
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1001
1575
- msgid "Recomended Size 60px x 60px"
1576
- msgstr ""
1577
-
1578
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1043
1579
- msgid "User Experience"
1580
- msgstr ""
1581
-
1582
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1052
1583
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1082
1584
- #, php-format
1585
- msgid ""
1586
- "Please update your <a href='%s'>basic version</a> to make use of these "
1587
- "features."
1588
- msgstr ""
1589
-
1590
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1059
1591
- msgid "Enable Text Editor"
1592
- msgstr ""
1593
-
1594
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1059
1595
- msgid ""
1596
- "Adds advanced text editor features, such as links, text styling, and more!"
1597
- msgstr ""
1598
-
1599
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1063
1600
- msgid "Enable File Sharing"
1601
- msgstr ""
1602
-
1603
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1063
1604
- msgid "Adds file sharing to your chat box!"
1605
- msgstr ""
1606
-
1607
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1067
1608
- msgid "Enable Experience Ratings"
1609
- msgstr ""
1610
-
1611
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1067
1612
- msgid "Allows users to rate the chat experience with an agent."
1613
- msgstr ""
1614
-
1615
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1073
1616
- #: wp-live-chat-support/includes/settings_page.php:362
1617
- msgid "Social"
1618
- msgstr ""
1619
-
1620
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1090
1621
- #: wp-live-chat-support/includes/settings_page.php:367
1622
- msgid "Facebook URL"
1623
- msgstr ""
1624
-
1625
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1090
1626
- #: wp-live-chat-support/includes/settings_page.php:367
1627
- msgid "Link your Facebook page here. Leave blank to hide"
1628
- msgstr ""
1629
-
1630
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1091
1631
- #: wp-live-chat-support/includes/settings_page.php:369
1632
- msgid "Facebook URL..."
1633
- msgstr ""
1634
-
1635
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1094
1636
- #: wp-live-chat-support/includes/settings_page.php:380
1637
- msgid "Twitter URL"
1638
- msgstr ""
1639
-
1640
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1094
1641
- #: wp-live-chat-support/includes/settings_page.php:380
1642
- msgid "Link your Twitter page here. Leave blank to hide"
1643
- msgstr ""
1644
-
1645
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1095
1646
- #: wp-live-chat-support/includes/settings_page.php:382
1647
- msgid "Twitter URL..."
1648
- msgstr ""
1649
-
1650
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1118
1651
- msgid "Admin"
1652
- msgstr "Administrator"
1653
-
1654
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1612
1655
- msgid "You are currently accepting chats"
1656
- msgstr "Du er i øjeblikket accepterer chats"
1657
-
1658
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1613
1659
- msgid "You are not accepting chats"
1660
- msgstr "Du er ikke accepterer chats"
1661
-
1662
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1627
1663
- msgid ""
1664
- "You have set your status to offline. To view visitors and accept chats please "
1665
- "set your status to online using the switch above."
1666
- msgstr ""
1667
-
1668
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1833
1669
- msgid ""
1670
- "Please note: Chat messages will only be encrypted and decreypted if you have "
1671
- "inserted your WP Live Chat Support Pro API Key on the <a href=\"admin.php?"
1672
- "page=wplivechat-menu-api-keys-page\">API Keys page</a>."
1673
- msgstr ""
1674
-
1675
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:2119
1676
- msgid "Exclude chat from 'Home' page:"
1677
- msgstr ""
1678
-
1679
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:2119
1680
- msgid ""
1681
- "Leaving this unchecked will allow the chat window to display on your home "
1682
- "page."
1683
- msgstr ""
1684
-
1685
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:2127
1686
- msgid "Exclude chat from 'Archive' pages:"
1687
- msgstr ""
1688
-
1689
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:2127
1690
- msgid ""
1691
- "Leaving this unchecked will allow the chat window to display on your archive "
1692
- "pages."
1693
- msgstr ""
1694
-
1695
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:2458
1696
- msgid "Attempting to open the chat window... Please be patient."
1697
- msgstr "Forsøg på at åbne chat-vinduet ... Vær tålmodig."
1698
-
1699
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:2516
1700
- msgid ""
1701
- "You are not a chat agent. Please make yourself a chat agent before trying to "
1702
- "chat to visitors"
1703
- msgstr ""
1704
- "Du er ikke en chat agent. Vær dig selv en chat agent, før du prøver at snakke "
1705
- "med de besøgende"
1706
-
1707
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:2777
1708
- msgid "This chat has already been answered by another agent."
1709
- msgstr ""
1710
-
1711
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3084
1712
- #: wp-live-chat-support/wp-live-chat-support.php:2220
1713
- msgid "Agent(s) online"
1714
- msgstr "Agent (er) online"
1715
-
1716
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3202
1717
- #: wp-live-chat-support/wp-live-chat-support.php:731
1718
- msgid "Reporting"
1719
- msgstr ""
1720
-
1721
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3203
1722
- #: wp-live-chat-support/wp-live-chat-support.php:737
1723
- msgid "Triggers"
1724
- msgstr ""
1725
-
1726
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3679
1727
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3687
1728
- #: wp-live-chat-support/wp-live-chat-support.php:4298
1729
- msgid "Experience Rating"
1730
- msgstr ""
1731
-
1732
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3767
1733
- msgid "User Experience Ratings"
1734
- msgstr ""
1735
-
1736
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3774
1737
- msgid "Agent Statistics"
1738
- msgstr ""
1739
-
1740
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3820
1741
- msgid "Satisfaction Rating"
1742
- msgstr ""
1743
-
1744
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3821
1745
- msgid "Rating Count"
1746
- msgstr ""
1747
-
1748
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3821
1749
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3835
1750
- msgid "Good"
1751
- msgstr ""
1752
-
1753
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3821
1754
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3835
1755
- msgid "Bad"
1756
- msgstr ""
1757
-
1758
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3829
1759
- msgid "No Ratings for this agent"
1760
- msgstr ""
1761
-
1762
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3870
1763
- #: wp-live-chat-support/wp-live-chat-support.php:4379
1764
- #: wp-live-chat-support/wp-live-chat-support.php:4386
1765
- msgid "WP Live Chat Support Reporting"
1766
- msgstr ""
1767
-
1768
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3874
1769
- msgid "Popular Pages"
1770
- msgstr ""
1771
-
1772
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3892
1773
- msgid "Total Agents"
1774
- msgstr ""
1775
-
1776
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3892
1777
- msgid "Total number of agents that used the live chat"
1778
- msgstr ""
1779
-
1780
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3893
1781
- msgid "Total Chats"
1782
- msgstr ""
1783
-
1784
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3893
1785
- msgid "Total number of chats received"
1786
- msgstr ""
1787
-
1788
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3894
1789
- msgid "Total URLs"
1790
- msgstr ""
1791
-
1792
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3894
1793
- msgid "Total number of URLs a chat was initiated on"
1794
- msgstr ""
1795
-
1796
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3895
1797
- msgid "Chats per day"
1798
- msgstr ""
1799
-
1800
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3896
1801
- msgid "Popular pages a chat was initiated on"
1802
- msgstr ""
1803
-
1804
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3972
1805
- #: wp-live-chat-support/functions.php:1622
1806
- #: wp-live-chat-support/wp-live-chat-support.php:3074
1807
- msgid "URL"
1808
- msgstr "Webadresse"
1809
-
1810
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3973
1811
- msgid "Count"
1812
- msgstr ""
1813
-
1814
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3993
1815
- msgid "Disable initiate chat feature:"
1816
- msgstr ""
1817
-
1818
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3993
1819
- msgid ""
1820
- "This will substantially improve performance. If you are experiencing "
1821
- "performance issues on your site, you should disable the initiate chat feature "
1822
- "and only enable it when you need it."
1823
- msgstr ""
1824
-
1825
- #: wp-live-chat-support/functions.php:451
1826
- msgid "Only chat agents can accept chats"
1827
- msgstr ""
1828
-
1829
- #: wp-live-chat-support/functions.php:654
1830
- #: wp-live-chat-support/wp-live-chat-support.php:567
1831
- #: wp-live-chat-support/wp-live-chat-support.php:1588
1832
- #: wp-live-chat-support/wp-live-chat-support.php:2697
1833
- #: wp-live-chat-support/wp-live-chat-support.php:4268
1834
- msgid "Welcome. How may I help you?"
1835
- msgstr "Velkomst. Hvordan kan jeg hjælpe dig?"
1836
-
1837
- #: wp-live-chat-support/functions.php:1003
1838
- msgid "complete"
1839
- msgstr "afleveret"
1840
-
1841
- #: wp-live-chat-support/functions.php:1006
1842
- msgid "pending"
1843
- msgstr "Verserende"
1844
-
1845
- #: wp-live-chat-support/functions.php:1009
1846
- msgid "active"
1847
- msgstr "aktiv"
1848
-
1849
- #: wp-live-chat-support/functions.php:1012
1850
- msgid "deleted"
1851
- msgstr "Slettede"
1852
-
1853
- #: wp-live-chat-support/functions.php:1015
1854
- msgid "browsing"
1855
- msgstr "Visning"
1856
-
1857
- #: wp-live-chat-support/functions.php:1018
1858
- msgid "requesting chat"
1859
- msgstr "anmoder om chat"
1860
-
1861
- #: wp-live-chat-support/functions.php:1021
1862
- msgid "Chat Ended - User still browsing"
1863
- msgstr "Chat Sluttet - Bruger stadig aktiv på side"
1864
-
1865
- #: wp-live-chat-support/functions.php:1024
1866
- msgid "User is browsing but doesn't want to chat"
1867
- msgstr "Brugeren er aktiv på siden, men ønsker ikke at chatte"
1868
-
1869
- #: wp-live-chat-support/functions.php:1359
1870
- msgid "Get Pro Add-on to accept more chats"
1871
- msgstr "Få Pro Add-on til at acceptere flere chats"
1872
-
1873
- #: wp-live-chat-support/functions.php:1597
1874
- #: wp-live-chat-support/wp-live-chat-support.php:3036
1875
- msgid "Error: Could not delete chat"
1876
- msgstr ""
1877
-
1878
- #: wp-live-chat-support/functions.php:1601
1879
- #: wp-live-chat-support/wp-live-chat-support.php:3040
1880
- msgid "Chat Deleted"
1881
- msgstr ""
1882
-
1883
- #: wp-live-chat-support/functions.php:1608
1884
- #: wp-live-chat-support/wp-live-chat-support.php:3047
1885
- msgid "Are you sure you would like to delete this chat?"
1886
- msgstr ""
1887
-
1888
- #: wp-live-chat-support/functions.php:1650
1889
- msgid "You have not missed any chat requests."
1890
- msgstr "Du har ikke savnet nogen chat anmodninger."
1891
-
1892
- #: wp-live-chat-support/functions.php:1843
1893
- msgid "Open chat window via"
1894
- msgstr ""
1895
-
1896
- #: wp-live-chat-support/functions.php:1847
1897
- msgid "Click"
1898
- msgstr ""
1899
-
1900
- #: wp-live-chat-support/functions.php:1848
1901
- msgid "Hover"
1902
- msgstr ""
1903
-
1904
- #: wp-live-chat-support/functions.php:1850
1905
- msgid "element with"
1906
- msgstr ""
1907
-
1908
- #: wp-live-chat-support/functions.php:1852
1909
- msgid "Class"
1910
- msgstr ""
1911
-
1912
- #: wp-live-chat-support/includes/deprecated.php:151
1913
- #: wp-live-chat-support/includes/deprecated.php:348
1914
- #: wp-live-chat-support/wp-live-chat-support.php:559
1915
- #: wp-live-chat-support/wp-live-chat-support.php:1650
1916
- #: wp-live-chat-support/wp-live-chat-support.php:2683
1917
- #: wp-live-chat-support/wp-live-chat-support.php:4260
1918
- msgid "Questions?"
1919
- msgstr "Spørgsmål?"
1920
-
1921
- #: wp-live-chat-support/includes/deprecated.php:151
1922
- #: wp-live-chat-support/includes/deprecated.php:348
1923
- #: wp-live-chat-support/wp-live-chat-support.php:560
1924
- #: wp-live-chat-support/wp-live-chat-support.php:1651
1925
- #: wp-live-chat-support/wp-live-chat-support.php:2684
1926
- #: wp-live-chat-support/wp-live-chat-support.php:4261
1927
- msgid "Chat with us"
1928
- msgstr "Chat med os"
1929
-
1930
- #: wp-live-chat-support/includes/deprecated.php:158
1931
- #: wp-live-chat-support/includes/deprecated.php:355
1932
- msgid "Start Live Chat"
1933
- msgstr "Start chat"
1934
-
1935
- #: wp-live-chat-support/includes/deprecated.php:210
1936
- #: wp-live-chat-support/includes/deprecated.php:410
1937
- #: wp-live-chat-support/wp-live-chat-support.php:562
1938
- #: wp-live-chat-support/wp-live-chat-support.php:2686
1939
- #: wp-live-chat-support/wp-live-chat-support.php:4263
1940
- msgid "Start Chat"
1941
- msgstr "Start chat"
1942
-
1943
- #: wp-live-chat-support/includes/deprecated.php:213
1944
- #: wp-live-chat-support/includes/deprecated.php:413
1945
- msgid "Connecting you to a sales person. Please be patient."
1946
- msgstr "Forbinder dig til et salg person. Vær tålmodig."
1947
-
1948
- #: wp-live-chat-support/includes/deprecated.php:216
1949
- #: wp-live-chat-support/includes/deprecated.php:416
1950
- #: wp-live-chat-support/wp-live-chat-support.php:566
1951
- #: wp-live-chat-support/wp-live-chat-support.php:1784
1952
- #: wp-live-chat-support/wp-live-chat-support.php:1835
1953
- #: wp-live-chat-support/wp-live-chat-support.php:2690
1954
- #: wp-live-chat-support/wp-live-chat-support.php:4267
1955
- msgid "Reactivating your previous chat..."
1956
- msgstr "Genaktivering din tidligere chat ..."
1957
-
1958
- #: wp-live-chat-support/includes/deprecated.php:221
1959
- #: wp-live-chat-support/includes/deprecated.php:421
1960
- #: wp-live-chat-support/wp-live-chat-support.php:568
1961
- #: wp-live-chat-support/wp-live-chat-support.php:2558
1962
- #: wp-live-chat-support/wp-live-chat-support.php:2696
1963
- #: wp-live-chat-support/wp-live-chat-support.php:4269
1964
- msgid "Press ENTER to send your message"
1965
- msgstr "Tryk på ENTER for at sende din besked"
1966
-
1967
- #: wp-live-chat-support/includes/deprecated.php:225
1968
- #: wp-live-chat-support/includes/deprecated.php:425
1969
- #: wp-live-chat-support/wp-live-chat-support.php:1624
1970
- #: wp-live-chat-support/wp-live-chat-support.php:2573
1971
- msgid "Send"
1972
- msgstr "Send"
1973
-
1974
- #: wp-live-chat-support/includes/feedback-page.php:6
1975
- msgid "WP Live Chat Support Feedback"
1976
- msgstr "WP live chat support Feedback"
1977
-
1978
- #: wp-live-chat-support/includes/feedback-page.php:11
1979
- msgid "Your Name"
1980
- msgstr "Dit navn"
1981
-
1982
- #: wp-live-chat-support/includes/feedback-page.php:19
1983
- msgid "Your Email"
1984
- msgstr "Din e-mail"
1985
-
1986
- #: wp-live-chat-support/includes/feedback-page.php:27
1987
- msgid "Your Website"
1988
- msgstr "Hjemmeside"
1989
-
1990
- #: wp-live-chat-support/includes/feedback-page.php:35
1991
- #: wp-live-chat-support/wp-live-chat-support.php:766
1992
- msgid "Feedback"
1993
- msgstr "Feedback"
1994
-
1995
- #: wp-live-chat-support/includes/feedback-page.php:46
1996
- msgid "Send Feedback"
1997
- msgstr "Send feedback"
1998
-
1999
- #: wp-live-chat-support/includes/settings_page.php:73
2000
- msgid "Agents"
2001
- msgstr "Agenter"
2002
-
2003
- #: wp-live-chat-support/includes/settings_page.php:175
2004
- msgid "Include chat window on the following pages"
2005
- msgstr "Medtag chat vindue på de følgende sider"
2006
-
2007
- #: wp-live-chat-support/includes/settings_page.php:181
2008
- #: wp-live-chat-support/includes/settings_page.php:196
2009
- #: wp-live-chat-support/includes/settings_page.php:245
2010
- #: wp-live-chat-support/includes/settings_page.php:262
2011
- #: wp-live-chat-support/includes/settings_page.php:278
2012
- #: wp-live-chat-support/includes/settings_page.php:294
2013
- #: wp-live-chat-support/includes/settings_page.php:310
2014
- #: wp-live-chat-support/includes/settings_page.php:327
2015
- #: wp-live-chat-support/includes/settings_page.php:372
2016
- #: wp-live-chat-support/includes/settings_page.php:385
2017
- msgid "available in the"
2018
- msgstr "Tilgængelig som"
2019
-
2020
- #: wp-live-chat-support/includes/settings_page.php:182
2021
- #: wp-live-chat-support/includes/settings_page.php:197
2022
- #: wp-live-chat-support/includes/settings_page.php:246
2023
- #: wp-live-chat-support/includes/settings_page.php:263
2024
- #: wp-live-chat-support/includes/settings_page.php:279
2025
- #: wp-live-chat-support/includes/settings_page.php:295
2026
- #: wp-live-chat-support/includes/settings_page.php:311
2027
- #: wp-live-chat-support/includes/settings_page.php:328
2028
- #: wp-live-chat-support/includes/settings_page.php:373
2029
- #: wp-live-chat-support/includes/settings_page.php:386
2030
- #: wp-live-chat-support/wp-live-chat-support.php:3153
2031
- #: wp-live-chat-support/wp-live-chat-support.php:3945
2032
- #: wp-live-chat-support/wp-live-chat-support.php:4013
2033
- msgid "Pro Add-on"
2034
- msgstr "Pro Add-on"
2035
-
2036
- #: wp-live-chat-support/includes/settings_page.php:183
2037
- #: wp-live-chat-support/includes/settings_page.php:198
2038
- #: wp-live-chat-support/includes/settings_page.php:247
2039
- #: wp-live-chat-support/includes/settings_page.php:264
2040
- #: wp-live-chat-support/includes/settings_page.php:280
2041
- #: wp-live-chat-support/includes/settings_page.php:296
2042
- #: wp-live-chat-support/includes/settings_page.php:312
2043
- #: wp-live-chat-support/includes/settings_page.php:329
2044
- #: wp-live-chat-support/includes/settings_page.php:374
2045
- #: wp-live-chat-support/includes/settings_page.php:387
2046
- msgid "only"
2047
- msgstr "kun"
2048
-
2049
- #: wp-live-chat-support/includes/settings_page.php:190
2050
- msgid "Exclude chat window on the following pages"
2051
- msgstr "Udeluk chatvinduet på de følgende sider"
2052
-
2053
- #: wp-live-chat-support/includes/settings_page.php:239
2054
- msgid "Display a typing animation as soon as someone starts typing."
2055
- msgstr ""
2056
-
2057
- #: wp-live-chat-support/includes/settings_page.php:324
2058
- msgid "Alert me via email as soon as someone wants to chat"
2059
- msgstr "Advare mig via e-mail, så snart nogen ønsker at chatte"
2060
-
2061
- #: wp-live-chat-support/includes/settings_page.php:551
2062
- #: wp-live-chat-support/includes/settings_page.php:552
2063
- msgid "Classic"
2064
- msgstr ""
2065
-
2066
- #: wp-live-chat-support/includes/settings_page.php:555
2067
- #: wp-live-chat-support/includes/settings_page.php:556
2068
- msgid "Modern"
2069
- msgstr ""
2070
-
2071
- #: wp-live-chat-support/includes/settings_page.php:572
2072
- msgid "Colour Scheme"
2073
- msgstr ""
2074
-
2075
- #: wp-live-chat-support/includes/settings_page.php:627
2076
- msgid "Choose"
2077
- msgstr ""
2078
-
2079
- #: wp-live-chat-support/includes/settings_page.php:628
2080
- msgid "Your"
2081
- msgstr ""
2082
-
2083
- #: wp-live-chat-support/includes/settings_page.php:629
2084
- msgid "Colors"
2085
- msgstr ""
2086
-
2087
- #: wp-live-chat-support/includes/settings_page.php:630
2088
- msgid "Below"
2089
- msgstr ""
2090
-
2091
- #: wp-live-chat-support/includes/settings_page.php:652
2092
- msgid "Palette Color 1"
2093
- msgstr ""
2094
-
2095
- #: wp-live-chat-support/includes/settings_page.php:658
2096
- msgid "Palette Color 2"
2097
- msgstr ""
2098
-
2099
- #: wp-live-chat-support/includes/settings_page.php:664
2100
- msgid "Palette Color 3"
2101
- msgstr ""
2102
-
2103
- #: wp-live-chat-support/includes/settings_page.php:670
2104
- msgid "Palette Color 4"
2105
- msgstr ""
2106
-
2107
- #: wp-live-chat-support/includes/surveys.php:8
2108
- #: wp-live-chat-support/includes/surveys.php:21
2109
- #: wp-live-chat-support/includes/surveys.php:290
2110
- #: wp-live-chat-support/wp-live-chat-support.php:726
2111
- msgid "Surveys"
2112
- msgstr ""
2113
-
2114
- #: wp-live-chat-support/includes/surveys.php:24
2115
- msgid "Enable Surveys"
2116
- msgstr ""
2117
-
2118
- #: wp-live-chat-support/includes/surveys.php:24
2119
- msgid ""
2120
- "Enable surveys within your live chat box, either before or after a live chat "
2121
- "session."
2122
- msgstr ""
2123
-
2124
- #: wp-live-chat-support/includes/surveys.php:33
2125
- #, php-format
2126
- msgid ""
2127
- "No surveys created. Please <a href=\"%s\" target=\"_BLANK\" title="
2128
- "\"NimbleSquirrel\">create a survey and then refresh this page.</a>"
2129
- msgstr ""
2130
-
2131
- #: wp-live-chat-support/includes/surveys.php:40
2132
- msgid "Select a survey"
2133
- msgstr ""
2134
-
2135
- #: wp-live-chat-support/includes/surveys.php:66
2136
- msgid "Display survey"
2137
- msgstr ""
2138
-
2139
- #: wp-live-chat-support/includes/surveys.php:69
2140
- msgid "Before chat"
2141
- msgstr ""
2142
-
2143
- #: wp-live-chat-support/includes/surveys.php:70
2144
- msgid "After chat"
2145
- msgstr ""
2146
-
2147
- #: wp-live-chat-support/includes/surveys.php:75
2148
- msgid "Chat button text"
2149
- msgstr ""
2150
-
2151
- #: wp-live-chat-support/includes/surveys.php:81
2152
- msgid "Change title of chat box when chat ended to"
2153
- msgstr ""
2154
-
2155
- #: wp-live-chat-support/includes/surveys.php:246
2156
- #: wp-live-chat-support/wp-live-chat-support.php:563
2157
- #: wp-live-chat-support/wp-live-chat-support.php:2687
2158
- #: wp-live-chat-support/wp-live-chat-support.php:4264
2159
- msgid "Or chat to an agent now"
2160
- msgstr ""
2161
-
2162
- #: wp-live-chat-support/includes/surveys.php:251
2163
- #: wp-live-chat-support/wp-live-chat-support.php:1425
2164
- msgid "Leave a message"
2165
- msgstr ""
2166
-
2167
- #: wp-live-chat-support/includes/surveys.php:285
2168
- msgid "WP Live Chat Surveys with Nimble Squirrel"
2169
- msgstr ""
2170
-
2171
- #: wp-live-chat-support/includes/surveys.php:291
2172
- msgid ""
2173
- "To view your responses, click the button below and log in to your "
2174
- "NimbleSquirrel account."
2175
- msgstr ""
2176
-
2177
- #: wp-live-chat-support/includes/surveys.php:294
2178
- msgid ""
2179
- "Need help? <a href='https://wp-livechat.com/contact-us/' "
2180
- "target='_BLANK'>Contact us</a> and we'll get back to you as soon as possible!"
2181
- msgstr ""
2182
-
2183
- #: wp-live-chat-support/includes/surveys.php:304
2184
- #, php-format
2185
- msgid ""
2186
- "Register on <a href=\"%s\" target=\"_BLANK\" title=\"NimbleSquirrel"
2187
- "\">NimbleSquirrel</a> (It's free.)"
2188
- msgstr ""
2189
-
2190
- #: wp-live-chat-support/includes/surveys.php:307
2191
- #, php-format
2192
- msgid ""
2193
- "<a href=\"%s\" target=\"_BLANK\" title=\"Create a survey\">Create a survey</"
2194
- "a>."
2195
- msgstr ""
2196
-
2197
- #: wp-live-chat-support/includes/surveys.php:314
2198
- msgid "Add a Survey to your live chat box"
2199
- msgstr ""
2200
-
2201
- #: wp-live-chat-support/includes/surveys.php:315
2202
- msgid "Three simple steps:"
2203
- msgstr ""
2204
-
2205
- #: wp-live-chat-support/includes/surveys.php:319
2206
- msgid ""
2207
- "Enable surveys in your live chat <a href='admin.php?page=wplivechat-menu-"
2208
- "settings'>settings page</a>."
2209
- msgstr ""
2210
-
2211
- #: wp-live-chat-support/includes/welcome_page.php:4
2212
- msgid "Welcome to "
2213
- msgstr "Velkommen til"
2214
-
2215
- #: wp-live-chat-support/includes/welcome_page.php:6
2216
- msgid "Version 6"
2217
- msgstr ""
2218
-
2219
- #: wp-live-chat-support/includes/welcome_page.php:8
2220
- msgid "The most popular live chat plugin!"
2221
- msgstr ""
2222
-
2223
- #: wp-live-chat-support/includes/welcome_page.php:11
2224
- msgid "How did you find us?"
2225
- msgstr "Hvordan fandt du os?"
2226
-
2227
- #: wp-live-chat-support/includes/welcome_page.php:16
2228
- msgid "WordPress.org plugin repository "
2229
- msgstr "WordPress opbevaringssted"
2230
-
2231
- #: wp-live-chat-support/includes/welcome_page.php:19
2232
- msgid "Search Term"
2233
- msgstr "Søg efter"
2234
-
2235
- #: wp-live-chat-support/includes/welcome_page.php:23
2236
- msgid "Google or other search Engine"
2237
- msgstr "Google eller anden søgemaskine"
2238
-
2239
- #: wp-live-chat-support/includes/welcome_page.php:29
2240
- msgid "Friend recommendation"
2241
- msgstr "Venne anbefaling"
2242
-
2243
- #: wp-live-chat-support/includes/welcome_page.php:35
2244
- msgid "Other"
2245
- msgstr "Andet"
2246
-
2247
- #: wp-live-chat-support/includes/welcome_page.php:39
2248
- msgid "Please Explain"
2249
- msgstr "Forklar venligst"
2250
-
2251
- #: wp-live-chat-support/includes/welcome_page.php:48
2252
- msgid "Submit"
2253
- msgstr "Gennemfør"
2254
-
2255
- #: wp-live-chat-support/includes/welcome_page.php:50
2256
- msgid "Skip"
2257
- msgstr "Spring over"
2258
-
2259
- #: wp-live-chat-support/modules/api/wplc-api.php:44
2260
- msgid "Rest API"
2261
- msgstr ""
2262
-
2263
- #: wp-live-chat-support/modules/api/wplc-api.php:62
2264
- msgid ""
2265
- "To make use of the REST API, please ensure you are using a version of "
2266
- "WordPress with the REST API included."
2267
- msgstr ""
2268
-
2269
- #: wp-live-chat-support/modules/api/wplc-api.php:64
2270
- msgid ""
2271
- "Alternatively, please install the official Rest API plugin from WordPress."
2272
- msgstr ""
2273
-
2274
- #: wp-live-chat-support/modules/api/wplc-api.php:71
2275
- msgid "REST API"
2276
- msgstr ""
2277
-
2278
- #: wp-live-chat-support/modules/api/wplc-api.php:75
2279
- msgid "Option"
2280
- msgstr ""
2281
-
2282
- #: wp-live-chat-support/modules/api/wplc-api.php:82
2283
- msgid "Secret Token"
2284
- msgstr ""
2285
-
2286
- #: wp-live-chat-support/modules/api/wplc-api.php:85
2287
- msgid "No secret token found"
2288
- msgstr ""
2289
-
2290
- #: wp-live-chat-support/modules/api/wplc-api.php:86
2291
- msgid "Generate New"
2292
- msgstr ""
2293
-
2294
- #: wp-live-chat-support/modules/api/wplc-api.php:91
2295
- msgid "Supported API Calls"
2296
- msgstr ""
2297
-
2298
- #: wp-live-chat-support/modules/api/wplc-api.php:95
2299
- #: wp-live-chat-support/modules/api/wplc-api.php:103
2300
- #: wp-live-chat-support/modules/api/wplc-api.php:111
2301
- #: wp-live-chat-support/modules/api/wplc-api.php:119
2302
- #: wp-live-chat-support/modules/api/wplc-api.php:127
2303
- #: wp-live-chat-support/modules/api/wplc-api.php:136
2304
- msgid "Try"
2305
- msgstr ""
2306
-
2307
- #: wp-live-chat-support/modules/api/wplc-api.php:144
2308
- msgid "API Response Codes"
2309
- msgstr ""
2310
-
2311
- #: wp-live-chat-support/modules/api/wplc-api.php:288
2312
- msgid "Rest Console "
2313
- msgstr ""
2314
-
2315
- #: wp-live-chat-support/modules/api/wplc-api.php:295
2316
- msgid "Try it!"
2317
- msgstr ""
2318
-
2319
- #: wp-live-chat-support/wp-live-chat-support.php:554
2320
- #: wp-live-chat-support/wp-live-chat-support.php:1667
2321
- #: wp-live-chat-support/wp-live-chat-support.php:2691
2322
- #: wp-live-chat-support/wp-live-chat-support.php:4255
2323
- msgid "Chat offline. Leave a message"
2324
- msgstr "Chat offline. Efterlad en besked"
2325
-
2326
- #: wp-live-chat-support/wp-live-chat-support.php:555
2327
- #: wp-live-chat-support/wp-live-chat-support.php:1509
2328
- #: wp-live-chat-support/wp-live-chat-support.php:2692
2329
- #: wp-live-chat-support/wp-live-chat-support.php:4256
2330
- msgid "Hello. Please input your details so that I may help you."
2331
- msgstr "Hej. Indtast venligst dine oplysninger, så jeg kan hjælpe dig."
2332
-
2333
- #: wp-live-chat-support/wp-live-chat-support.php:556
2334
- #: wp-live-chat-support/wp-live-chat-support.php:956
2335
- #: wp-live-chat-support/wp-live-chat-support.php:1522
2336
- #: wp-live-chat-support/wp-live-chat-support.php:2693
2337
- #: wp-live-chat-support/wp-live-chat-support.php:4257
2338
- msgid ""
2339
- "We are currently offline. Please leave a message and we'll get back to you "
2340
- "shortly."
2341
- msgstr ""
2342
- "Vi er i øjeblikket offline. Indtal en besked, og vi vil vende tilbage til dig "
2343
- "snarest."
2344
-
2345
- #: wp-live-chat-support/wp-live-chat-support.php:557
2346
- #: wp-live-chat-support/wp-live-chat-support.php:957
2347
- #: wp-live-chat-support/wp-live-chat-support.php:2694
2348
- #: wp-live-chat-support/wp-live-chat-support.php:4258
2349
- msgid "Sending message..."
2350
- msgstr "Sender besked"
2351
-
2352
- #: wp-live-chat-support/wp-live-chat-support.php:558
2353
- #: wp-live-chat-support/wp-live-chat-support.php:958
2354
- #: wp-live-chat-support/wp-live-chat-support.php:2695
2355
- #: wp-live-chat-support/wp-live-chat-support.php:4259
2356
- msgid "Thank you for your message. We will be in contact soon."
2357
- msgstr "Tak for din besked. Vi vil være i kontakt snart."
2358
-
2359
- #: wp-live-chat-support/wp-live-chat-support.php:561
2360
- #: wp-live-chat-support/wp-live-chat-support.php:2685
2361
- #: wp-live-chat-support/wp-live-chat-support.php:4262
2362
- msgid "Start live chat"
2363
- msgstr "Start chat"
2364
-
2365
- #: wp-live-chat-support/wp-live-chat-support.php:564
2366
- #: wp-live-chat-support/wp-live-chat-support.php:2688
2367
- #: wp-live-chat-support/wp-live-chat-support.php:4265
2368
- msgid "Chat ended"
2369
- msgstr ""
2370
-
2371
- #: wp-live-chat-support/wp-live-chat-support.php:565
2372
- #: wp-live-chat-support/wp-live-chat-support.php:1559
2373
- #: wp-live-chat-support/wp-live-chat-support.php:1584
2374
- #: wp-live-chat-support/wp-live-chat-support.php:2689
2375
- #: wp-live-chat-support/wp-live-chat-support.php:4266
2376
- msgid "Connecting. Please be patient..."
2377
- msgstr "Tilslutning. Vær tålmodig..."
2378
-
2379
- #: wp-live-chat-support/wp-live-chat-support.php:602
2380
- #: wp-live-chat-support/wp-live-chat-support.php:2663
2381
- msgid "Please click \\'Start Chat\\' to initiate a chat with an agent"
2382
- msgstr "Klik \\ 'Start Chat \\' for at starte en chat med en agent"
2383
-
2384
- #: wp-live-chat-support/wp-live-chat-support.php:724
2385
- msgid "Live Chat"
2386
- msgstr "Live chat"
2387
-
2388
- #: wp-live-chat-support/wp-live-chat-support.php:725
2389
- msgid "Settings"
2390
- msgstr "Indstillinger"
2391
-
2392
- #: wp-live-chat-support/wp-live-chat-support.php:743
2393
- msgid "History"
2394
- msgstr "Historik"
2395
-
2396
- #: wp-live-chat-support/wp-live-chat-support.php:744
2397
- msgid "Missed Chats"
2398
- msgstr "Mistede Chats"
2399
-
2400
- #: wp-live-chat-support/wp-live-chat-support.php:767
2401
- #: wp-live-chat-support/wp-live-chat-support.php:3656
2402
- msgid "Support"
2403
- msgstr "Support"
2404
-
2405
- #: wp-live-chat-support/wp-live-chat-support.php:768
2406
- msgid "Extensions"
2407
- msgstr "Udvidelser"
2408
-
2409
- #: wp-live-chat-support/wp-live-chat-support.php:778
2410
- msgid "API Keys"
2411
- msgstr ""
2412
-
2413
- #: wp-live-chat-support/wp-live-chat-support.php:784
2414
- msgid "Premium Extension API Keys"
2415
- msgstr ""
2416
-
2417
- #: wp-live-chat-support/wp-live-chat-support.php:785
2418
- msgid ""
2419
- "To find and manage your premium API keys, please visit your <a "
2420
- "target='_BLANK' href='https://wp-livechat.com/my-account/'>my account</a> "
2421
- "page."
2422
- msgstr ""
2423
-
2424
- #: wp-live-chat-support/wp-live-chat-support.php:1264
2425
- #: wp-live-chat-support/wp-live-chat-support.php:1274
2426
- msgid "close"
2427
- msgstr ""
2428
-
2429
- #: wp-live-chat-support/wp-live-chat-support.php:1400
2430
- #: wp-live-chat-support/wp-live-chat-support.php:1419
2431
- msgid "Start chat"
2432
- msgstr ""
2433
-
2434
- #: wp-live-chat-support/wp-live-chat-support.php:1493
2435
- msgid "Send message"
2436
- msgstr "Send besked"
2437
-
2438
- #: wp-live-chat-support/wp-live-chat-support.php:2078
2439
- msgid "New chat received"
2440
- msgstr "Ny chat modtaget"
2441
-
2442
- #: wp-live-chat-support/wp-live-chat-support.php:2080
2443
- msgid ""
2444
- "A new chat has been received. Please go the 'Live Chat' page to accept the "
2445
- "chat"
2446
- msgstr ""
2447
- "En ny chat er blevet modtaget. Gå venligst \"Live Chat 'for at acceptere "
2448
- "chatten"
2449
-
2450
- #: wp-live-chat-support/wp-live-chat-support.php:2143
2451
- msgid ""
2452
- "You are using an outdated version of <strong>WP Live Chat Support Pro</"
2453
- "strong>. Please"
2454
- msgstr ""
2455
- "Du bruger en forældet version af <strong>WP live chat support Pro.</strong> "
2456
- "Be om"
2457
-
2458
- #: wp-live-chat-support/wp-live-chat-support.php:2143
2459
- msgid "update to at least version"
2460
- msgstr "opdatere til mindst version"
2461
-
2462
- #: wp-live-chat-support/wp-live-chat-support.php:2143
2463
- msgid "to ensure all functionality is in working order"
2464
- msgstr "at sikre al funktionalitet er i orden"
2465
-
2466
- #: wp-live-chat-support/wp-live-chat-support.php:2144
2467
- msgid ""
2468
- "You're live chat box on your website has been temporarily disabled until the "
2469
- "Pro plugin has been updated. This is to ensure a smooth and hassle-free user "
2470
- "experience for both yourself and your visitors."
2471
- msgstr ""
2472
- "Du er live chat boks på din hjemmeside er blevet midlertidigt deaktiveret "
2473
- "indtil Pro plugin er blevet opdateret. Dette er for at sikre en smidig og "
2474
- "problemfri brugeroplevelse for både dig selv og dine besøgende."
2475
-
2476
- #: wp-live-chat-support/wp-live-chat-support.php:2145
2477
- #: wp-live-chat-support/wp-live-chat-support.php:2165
2478
- msgid ""
2479
- "You can update your plugin <a href='./update-core.php'>here</a>, <a href='./"
2480
- "plugins.php'>here</a> or <a href='https://wp-livechat.com/get-updated-"
2481
- "version/' target='_BLANK'>here</a>."
2482
- msgstr ""
2483
-
2484
- #: wp-live-chat-support/wp-live-chat-support.php:2146
2485
- #: wp-live-chat-support/wp-live-chat-support.php:2166
2486
- msgid "If you are having difficulty updating the plugin, please contact"
2487
- msgstr "Hvis du har problemer med at opdatere plugin, kan du kontakte"
2488
-
2489
- #: wp-live-chat-support/wp-live-chat-support.php:2158
2490
- msgid ""
2491
- "You are using an outdated version of <strong>WP Live Chat Support Pro</"
2492
- "strong>."
2493
- msgstr ""
2494
- "Du bruger en forældet version af <strong>WP live chat support Pro.</strong>"
2495
-
2496
- #: wp-live-chat-support/wp-live-chat-support.php:2160
2497
- msgid "Please update to the latest version of WP Live Chat Support Pro"
2498
- msgstr "Opdater til den nyeste version af WP live chat support Pro"
2499
-
2500
- #: wp-live-chat-support/wp-live-chat-support.php:2161
2501
- msgid "Version 5.0.1"
2502
- msgstr "Version 5.0.1"
2503
-
2504
- #: wp-live-chat-support/wp-live-chat-support.php:2162
2505
- msgid "to ensure everything is working correctly."
2506
- msgstr "at sikre, at alt fungerer korrekt."
2507
-
2508
- #: wp-live-chat-support/wp-live-chat-support.php:2194
2509
- msgid "Congratulations"
2510
- msgstr "Tillykke"
2511
-
2512
- #: wp-live-chat-support/wp-live-chat-support.php:2195
2513
- msgid "You are now accepting live chat requests on your site."
2514
- msgstr "Du er nu accepterer live chat anmodninger på dit websted."
2515
-
2516
- #: wp-live-chat-support/wp-live-chat-support.php:2196
2517
- msgid "The live chat box has automatically been enabled on your website."
2518
- msgstr "Den live chat boks er automatisk blevet aktiveret på din hjemmeside."
2519
-
2520
- #: wp-live-chat-support/wp-live-chat-support.php:2197
2521
- msgid "Chat notifications will start appearing once visitors send a request."
2522
- msgstr "Chat anmeldelser vil blive vist, når de besøgende sende en anmodning."
2523
-
2524
- #: wp-live-chat-support/wp-live-chat-support.php:2198
2525
- msgid ""
2526
- "You may <a href='?page=wplivechat-menu-settings' target='_BLANK'>modify your "
2527
- "chat box settings here."
2528
- msgstr ""
2529
- "Du kan <a href='?page=wplivechat-menu-settings' target='_BLANK'>ændre her "
2530
- "dine chat box indstillinger.</a>"
2531
-
2532
- #: wp-live-chat-support/wp-live-chat-support.php:2199
2533
- msgid "Experiencing issues?"
2534
- msgstr "Oplever du problemer?"
2535
-
2536
- #: wp-live-chat-support/wp-live-chat-support.php:2199
2537
- msgid "Visit our troubleshooting section."
2538
- msgstr "Besøg vores fejlfinding sektion."
2539
-
2540
- #: wp-live-chat-support/wp-live-chat-support.php:2201
2541
- msgid "Hide"
2542
- msgstr "Skjul"
2543
-
2544
- #: wp-live-chat-support/wp-live-chat-support.php:2236
2545
- #: wp-live-chat-support/wp-live-chat-support.php:3676
2546
- #: wp-live-chat-support/wp-live-chat-support.php:3677
2547
- msgid "With the Pro add-on of WP Live Chat Support, you can"
2548
- msgstr "Med Pro tilføjelse af WP live chat support, kan du"
2549
-
2550
- #: wp-live-chat-support/wp-live-chat-support.php:2237
2551
- #: wp-live-chat-support/wp-live-chat-support.php:3676
2552
- msgid "see who's online and initiate chats"
2553
- msgstr "se hvem der er online og indlede chats"
2554
-
2555
- #: wp-live-chat-support/wp-live-chat-support.php:2238
2556
- #: wp-live-chat-support/wp-live-chat-support.php:3676
2557
- msgid "initiate chats"
2558
- msgstr "indled chats"
2559
-
2560
- #: wp-live-chat-support/wp-live-chat-support.php:2239
2561
- #: wp-live-chat-support/wp-live-chat-support.php:3676
2562
- msgid "with your online visitors with the click of a button."
2563
- msgstr "med dine online besøgende med et klik på en knap."
2564
-
2565
- #: wp-live-chat-support/wp-live-chat-support.php:2240
2566
- #: wp-live-chat-support/wp-live-chat-support.php:2242
2567
- msgid "Buy the Pro add-on now."
2568
- msgstr "Køb Pro add-on nu."
2569
-
2570
- #: wp-live-chat-support/wp-live-chat-support.php:2296
2571
- msgid ""
2572
- "Please note: This window must be open in order to receive new chat "
2573
- "notifications."
2574
- msgstr ""
2575
- "Bemærk: Dette vindue skal være åben for at modtage nye chat meddelelser."
2576
-
2577
- #: wp-live-chat-support/wp-live-chat-support.php:2307
2578
- msgid "Visitors online"
2579
- msgstr "Besøgende online"
2580
-
2581
- #: wp-live-chat-support/wp-live-chat-support.php:2319
2582
- msgid "Visitor"
2583
- msgstr "besøgende"
2584
-
2585
- #: wp-live-chat-support/wp-live-chat-support.php:2320
2586
- msgid "Time"
2587
- msgstr "Tid"
2588
-
2589
- #: wp-live-chat-support/wp-live-chat-support.php:2322
2590
- msgid "Device"
2591
- msgstr ""
2592
-
2593
- #: wp-live-chat-support/wp-live-chat-support.php:2323
2594
- msgid "Data"
2595
- msgstr "Data"
2596
-
2597
- #: wp-live-chat-support/wp-live-chat-support.php:2361
2598
- msgid "Chat Dashboard"
2599
- msgstr "Chat Dashboard"
2600
-
2601
- #: wp-live-chat-support/wp-live-chat-support.php:2364
2602
- msgid "Oh no!"
2603
- msgstr ""
2604
-
2605
- #: wp-live-chat-support/wp-live-chat-support.php:2367
2606
- msgid ""
2607
- "You do not have access to this page as <strong>you are not a chat agent</"
2608
- "strong>."
2609
- msgstr ""
2610
-
2611
- #: wp-live-chat-support/wp-live-chat-support.php:2479
2612
- msgid "Previous"
2613
- msgstr "Foregående"
2614
-
2615
- #: wp-live-chat-support/wp-live-chat-support.php:2481
2616
- msgid "Active"
2617
- msgstr "Aktiv"
2618
-
2619
- #: wp-live-chat-support/wp-live-chat-support.php:2490
2620
- msgid "Chat with"
2621
- msgstr "Chat med..."
2622
-
2623
- #: wp-live-chat-support/wp-live-chat-support.php:2493
2624
- msgid "End chat"
2625
- msgstr "Slut chat"
2626
-
2627
- #: wp-live-chat-support/wp-live-chat-support.php:2539
2628
- #: wp-live-chat-support/wp-live-chat-support.php:3491
2629
- msgid "Add-ons"
2630
- msgstr "Add-ons"
2631
-
2632
- #: wp-live-chat-support/wp-live-chat-support.php:2541
2633
- msgid "Get more add-ons"
2634
- msgstr ""
2635
-
2636
- #: wp-live-chat-support/wp-live-chat-support.php:2559
2637
- msgid "Add Quick Responses to your Live Chat"
2638
- msgstr "Føj hurtige svar til din live chat"
2639
-
2640
- #: wp-live-chat-support/wp-live-chat-support.php:2559
2641
- msgid "Pro version only"
2642
- msgstr "Kun pro version"
2643
-
2644
- #: wp-live-chat-support/wp-live-chat-support.php:2567
2645
- msgid "type here..."
2646
- msgstr "Skriv her …"
2647
-
2648
- #: wp-live-chat-support/wp-live-chat-support.php:2645
2649
- msgid "User has opened the chat window"
2650
- msgstr "Bruger har åbnet chatvinduet"
2651
-
2652
- #: wp-live-chat-support/wp-live-chat-support.php:2646
2653
- msgid "User has minimized the chat window"
2654
- msgstr "Bruger har minimeret chatvinduet"
2655
-
2656
- #: wp-live-chat-support/wp-live-chat-support.php:2647
2657
- msgid "User has maximized the chat window"
2658
- msgstr "Bruger har maksimeret chatvinduet"
2659
-
2660
- #: wp-live-chat-support/wp-live-chat-support.php:2648
2661
- msgid "The chat has been ended"
2662
- msgstr ""
2663
-
2664
- #: wp-live-chat-support/wp-live-chat-support.php:3065
2665
- msgid "Delete History"
2666
- msgstr "Slet Historie"
2667
-
2668
- #: wp-live-chat-support/wp-live-chat-support.php:3082
2669
- msgid "No chats available at the moment"
2670
- msgstr "Ingen chats rådighed i øjeblikket"
2671
-
2672
- #: wp-live-chat-support/wp-live-chat-support.php:3093
2673
- msgid "View Chat History"
2674
- msgstr "Chat-historik"
2675
-
2676
- #: wp-live-chat-support/wp-live-chat-support.php:3093
2677
- msgid "Download Chat History"
2678
- msgstr "Hent Chat History"
2679
-
2680
- #: wp-live-chat-support/wp-live-chat-support.php:3115
2681
- msgid "WP Live Chat History"
2682
- msgstr "WP live chat Historie"
2683
-
2684
- #: wp-live-chat-support/wp-live-chat-support.php:3135
2685
- msgid "WP Live Chat Missed Chats"
2686
- msgstr "WP live chat Mistede Chats"
2687
-
2688
- #: wp-live-chat-support/wp-live-chat-support.php:3150
2689
- msgid ""
2690
- "Please update to the latest version of WP Live Chat Support Pro to start "
2691
- "recording any offline messages."
2692
- msgstr ""
2693
- "Opdater til den nyeste version af WP live chat support Pro for at starte "
2694
- "optagelsen eventuelle offline beskeder."
2695
-
2696
- #: wp-live-chat-support/wp-live-chat-support.php:3153
2697
- msgid "This option is only available in the "
2698
- msgstr "Denne indstilling er kun tilgængelig i"
2699
-
2700
- #: wp-live-chat-support/wp-live-chat-support.php:3165
2701
- msgid "WP Live Chat Offline Messages"
2702
- msgstr "WP live chat Offline Beskeder"
2703
-
2704
- #: wp-live-chat-support/wp-live-chat-support.php:3186
2705
- msgid "Actions"
2706
- msgstr ""
2707
-
2708
- #: wp-live-chat-support/wp-live-chat-support.php:3204
2709
- msgid "Delete Message"
2710
- msgstr ""
2711
-
2712
- #: wp-live-chat-support/wp-live-chat-support.php:3298
2713
- msgid "Please click 'Start Chat' to initiate a chat with an agent"
2714
- msgstr "Klik 'Start Chat' for at starte en chat med en agent"
2715
-
2716
- #: wp-live-chat-support/wp-live-chat-support.php:3394
2717
- msgid "Your settings have been saved."
2718
- msgstr "Dine indstillinger er blevet gemt."
2719
-
2720
- #: wp-live-chat-support/wp-live-chat-support.php:3409
2721
- msgid "Thank You for your feedback!"
2722
- msgstr "Mange tak for din feedback"
2723
-
2724
- #: wp-live-chat-support/wp-live-chat-support.php:3413
2725
- #: wp-live-chat-support/wp-live-chat-support.php:3426
2726
- msgid "Thank you for your feedback. We will be in touch soon"
2727
- msgstr "Tak for din feedback. Vi vil være i kontakt snart"
2728
-
2729
- #: wp-live-chat-support/wp-live-chat-support.php:3429
2730
- msgid "There was a problem sending your feedback. Please log your feedback on "
2731
- msgstr ""
2732
- "Der var problemer med at sende din feedback. Du skal logge din feedback på"
2733
-
2734
- #: wp-live-chat-support/wp-live-chat-support.php:3463
2735
- msgid ""
2736
- "WPLC: set_time_limit() is not enabled on this server. You may experience "
2737
- "issues while using WP Live Chat Support as a result of this. Please get in "
2738
- "contact your host to get this function enabled."
2739
- msgstr ""
2740
- "WPLC: set_time_limit () er ikke aktiveret på denne server. Du kan opleve "
2741
- "problemer, mens du bruger WP live chat support som følge af dette. Venligst "
2742
- "komme i kontakt din host for at få denne funktion aktiveret."
2743
-
2744
- #: wp-live-chat-support/wp-live-chat-support.php:3469
2745
- msgid ""
2746
- "WPLC: Safe mode is enabled on this server. You may experience issues while "
2747
- "using WP Live Chat Support as a result of this. Please contact your host to "
2748
- "get safe mode disabled."
2749
- msgstr ""
2750
- "WPLC: fejlsikret tilstand er aktiveret på denne server. Du kan opleve "
2751
- "problemer, mens du bruger WP live chat support som følge af dette. Kontakt "
2752
- "venligst din vært til at komme i fejlsikret tilstand deaktiveret."
2753
-
2754
- #: wp-live-chat-support/wp-live-chat-support.php:3491
2755
- msgid "Suggested Plugins"
2756
- msgstr "Foreslåede Plugins"
2757
-
2758
- #: wp-live-chat-support/wp-live-chat-support.php:3502
2759
- #: wp-live-chat-support/wp-live-chat-support.php:3503
2760
- #: wp-live-chat-support/wp-live-chat-support.php:3504
2761
- #: wp-live-chat-support/wp-live-chat-support.php:3509
2762
- msgid "Sola Support Tickets"
2763
- msgstr "Sola Support Tickets"
2764
-
2765
- #: wp-live-chat-support/wp-live-chat-support.php:3507
2766
- msgid ""
2767
- "The easiest to use Help Desk & Support Ticket plugin. Create a support help "
2768
- "desk quickly and easily with Sola Support Tickets."
2769
- msgstr ""
2770
- "Den nemmeste at bruge Help Desk & Support Ticket plugin. Opret en støtte "
2771
- "helpdesk hurtigt og nemt med Sola Support Billetter."
2772
-
2773
- #: wp-live-chat-support/wp-live-chat-support.php:3509
2774
- #: wp-live-chat-support/wp-live-chat-support.php:3520
2775
- msgid "Get this Plugin"
2776
- msgstr "Få denne plugin"
2777
-
2778
- #: wp-live-chat-support/wp-live-chat-support.php:3513
2779
- #: wp-live-chat-support/wp-live-chat-support.php:3514
2780
- #: wp-live-chat-support/wp-live-chat-support.php:3515
2781
- #: wp-live-chat-support/wp-live-chat-support.php:3520
2782
- msgid "Nifty Newsletters"
2783
- msgstr "Nifty Nyhedsbreve"
2784
-
2785
- #: wp-live-chat-support/wp-live-chat-support.php:3518
2786
- msgid ""
2787
- "Create and send newsletters, automatic post notifications and autoresponders "
2788
- "that are modern and beautiful with Nifty Newsletters."
2789
- msgstr ""
2790
- "Opret og send nyhedsbreve, automatiske indlæg notifikationer og autosvar, der "
2791
- "er moderne og smukke med Nifty nyhedsbreve."
2792
-
2793
- #: wp-live-chat-support/wp-live-chat-support.php:3552
2794
- msgid "Price:"
2795
- msgstr "Priser:"
2796
-
2797
- #: wp-live-chat-support/wp-live-chat-support.php:3554
2798
- msgid "Free"
2799
- msgstr "Gratis"
2800
-
2801
- #: wp-live-chat-support/wp-live-chat-support.php:3555
2802
- msgid "Paid"
2803
- msgstr "Betalt"
2804
-
2805
- #: wp-live-chat-support/wp-live-chat-support.php:3558
2806
- msgid "For:"
2807
- msgstr "I stedet for :"
2808
-
2809
- #: wp-live-chat-support/wp-live-chat-support.php:3559
2810
- msgid "Both"
2811
- msgstr "Begge"
2812
-
2813
- #: wp-live-chat-support/wp-live-chat-support.php:3560
2814
- msgid "Free version"
2815
- msgstr "Gratis version"
2816
-
2817
- #: wp-live-chat-support/wp-live-chat-support.php:3561
2818
- msgid "Pro version"
2819
- msgstr "Pro version"
2820
-
2821
- #: wp-live-chat-support/wp-live-chat-support.php:3597
2822
- msgid "Already installed"
2823
- msgstr "Allerede installeret"
2824
-
2825
- #: wp-live-chat-support/wp-live-chat-support.php:3624
2826
- msgid "WP Live Chat Support"
2827
- msgstr "WP live chat support"
2828
-
2829
- #: wp-live-chat-support/wp-live-chat-support.php:3627
2830
- msgid "Documentation"
2831
- msgstr "Dokumentation"
2832
-
2833
- #: wp-live-chat-support/wp-live-chat-support.php:3629
2834
- msgid ""
2835
- "Getting started? Read through some of these articles to help you along your "
2836
- "way."
2837
- msgstr ""
2838
- "Kom godt i gang? Læs gennem nogle af disse artikler for at hjælpe dig på din "
2839
- "vej."
2840
-
2841
- #: wp-live-chat-support/wp-live-chat-support.php:3630
2842
- msgid "Documentation:"
2843
- msgstr "Dokumentation:"
2844
-
2845
- #: wp-live-chat-support/wp-live-chat-support.php:3632
2846
- msgid "Minimum System Requirements"
2847
- msgstr "Mindste systemkrav"
2848
-
2849
- #: wp-live-chat-support/wp-live-chat-support.php:3633
2850
- msgid "Do I have to be logged into the dashboard to chat with visitors?"
2851
- msgstr ""
2852
- "Behøver jeg at være logget ind i instrumentbrættet til at chatte med "
2853
- "besøgende?"
2854
-
2855
- #: wp-live-chat-support/wp-live-chat-support.php:3634
2856
- msgid "What are Quick Responses?"
2857
- msgstr "Hvad er hurtige svar?"
2858
-
2859
- #: wp-live-chat-support/wp-live-chat-support.php:3635
2860
- msgid "Can I use this plugin on my multi-site?"
2861
- msgstr "Kan jeg bruge dette plugin på min multi-site?"
2862
-
2863
- #: wp-live-chat-support/wp-live-chat-support.php:3636
2864
- msgid "How do I disable APC Object Cache?"
2865
- msgstr "Hvordan deaktiverer jeg APC Object Cache?"
2866
-
2867
- #: wp-live-chat-support/wp-live-chat-support.php:3637
2868
- msgid "Do you have a mobile app?"
2869
- msgstr "Har du en mobil app?"
2870
-
2871
- #: wp-live-chat-support/wp-live-chat-support.php:3638
2872
- msgid "How do I check for JavaScript errors on my site?"
2873
- msgstr "Hvordan kan jeg kontrollere, om JavaScript-fejl på min hjemmeside?"
2874
-
2875
- #: wp-live-chat-support/wp-live-chat-support.php:3642
2876
- msgid "Troubleshooting"
2877
- msgstr "Fejlfinding"
2878
-
2879
- #: wp-live-chat-support/wp-live-chat-support.php:3644
2880
- msgid ""
2881
- "WP Live Chat Support has a diverse and wide range of features which may, "
2882
- "from time to time, run into conflicts with the thousands of themes and other "
2883
- "plugins on the market."
2884
- msgstr ""
2885
- "WP live chat support har en alsidig og bred vifte af funktioner, der kan, fra "
2886
- "tid til anden, løbe ind konflikter med de tusindvis af temaer og andre "
2887
- "plugins på markedet."
2888
-
2889
- #: wp-live-chat-support/wp-live-chat-support.php:3645
2890
- msgid "Common issues:"
2891
- msgstr "Almindelige problemer:"
2892
-
2893
- #: wp-live-chat-support/wp-live-chat-support.php:3647
2894
- msgid "The chat box doesnt show up"
2895
- msgstr "Chatten dukke ikke op"
2896
-
2897
- #: wp-live-chat-support/wp-live-chat-support.php:3648
2898
- msgid "The chat window disappears when I logout or go offline"
2899
- msgstr "Chatvinduet forsvinder, når jeg logger af eller gå offline"
2900
-
2901
- #: wp-live-chat-support/wp-live-chat-support.php:3649
2902
- msgid "This chat has already been answered. Please close the chat window"
2903
- msgstr "Denne chat er allerede blevet besvaret. Luk chatvinduet"
2904
-
2905
- #: wp-live-chat-support/wp-live-chat-support.php:3650
2906
- msgid "Messages only show when I refresh the chat window"
2907
- msgstr "Beskeder viser kun, når jeg opdatere chatvinduet"
2908
-
2909
- #: wp-live-chat-support/wp-live-chat-support.php:3651
2910
- msgid "I'm not getting any notifications of a new chat"
2911
- msgstr "Jeg får ikke nogen meddelelser om en ny chat"
2912
-
2913
- #: wp-live-chat-support/wp-live-chat-support.php:3652
2914
- msgid "The chat window never goes offline"
2915
- msgstr "Chatvinduet aldrig går offline"
2916
-
2917
- #: wp-live-chat-support/wp-live-chat-support.php:3658
2918
- msgid "Still need help? Use one of these links below."
2919
- msgstr "Stadig brug for hjælp? Brug en af ​​disse links nedenfor."
2920
-
2921
- #: wp-live-chat-support/wp-live-chat-support.php:3660
2922
- msgid "Support desk"
2923
- msgstr ""
2924
-
2925
- #: wp-live-chat-support/wp-live-chat-support.php:3661
2926
- msgid "Contact us"
2927
- msgstr "Kontakt os"
2928
-
2929
- #: wp-live-chat-support/wp-live-chat-support.php:3676
2930
- msgid "Initiate Chats"
2931
- msgstr "Indled Chats"
2932
-
2933
- #: wp-live-chat-support/wp-live-chat-support.php:3676
2934
- #: wp-live-chat-support/wp-live-chat-support.php:3677
2935
- msgid "Buy the Pro add-on now (once off payment)."
2936
- msgstr "Køb Pro add-on nu (en gangs betaling)."
2937
-
2938
- #: wp-live-chat-support/wp-live-chat-support.php:3677
2939
- msgid "Multiple Chats"
2940
- msgstr "Flere Chats"
2941
-
2942
- #: wp-live-chat-support/wp-live-chat-support.php:3677
2943
- msgid "accept and handle multiple chats."
2944
- msgstr "acceptere og håndtere flere chats."
2945
-
2946
- #: wp-live-chat-support/wp-live-chat-support.php:3678
2947
- msgid "Add unlimited agents"
2948
- msgstr "Tilføj ubegrænset agenter"
2949
-
2950
- #: wp-live-chat-support/wp-live-chat-support.php:3678
2951
- msgid " with the Pro add-on of WP Live Chat Support"
2952
- msgstr "med Pro tilføjelse af WP live chat support"
2953
-
2954
- #: wp-live-chat-support/wp-live-chat-support.php:3678
2955
- msgid "(once off payment)."
2956
- msgstr "(en gang engangsbetaling)."
2957
-
2958
- #: wp-live-chat-support/wp-live-chat-support.php:3692
2959
- #, php-format
2960
- msgid ""
2961
- "Thank you for using <a href=\"%1$s\" target=\"_blank\">WP Live Chat Support</"
2962
- "a>! Please <a href=\"%2$s\" target=\"_blank\">rate us</a> on <a href=\"%2$s\" "
2963
- "target=\"_blank\">WordPress.org</a>"
2964
- msgstr ""
2965
- "Tak fordi du bruger <a href=\"%1$s\" target=\"_blank\">WP live chat support!</"
2966
- "a> Venligst <a href=\"%2$s\" target=\"_blank\">Bedøm os</a> på <a href=\"%2$s"
2967
- "\" target=\"_blank\">WordPress.org</a>"
2968
-
2969
- #: wp-live-chat-support/wp-live-chat-support.php:3697
2970
- msgid "WP Live Chat Support is a product of"
2971
- msgstr "WP live chat support er et produkt af"
2972
-
2973
- #: wp-live-chat-support/wp-live-chat-support.php:3801
2974
- msgid "Add as many agents as you need with the "
2975
- msgstr "Tilføj så mange agenter som du har brug med"
2976
-
2977
- #: wp-live-chat-support/wp-live-chat-support.php:3801
2978
- msgid "Pro version."
2979
- msgstr ""
2980
-
2981
- #: wp-live-chat-support/wp-live-chat-support.php:3805
2982
- #, php-format
2983
- msgid "Change the default chat agent from <strong>%1$s</strong> to "
2984
- msgstr ""
2985
-
2986
- #: wp-live-chat-support/wp-live-chat-support.php:3904
2987
- msgid "Verify"
2988
- msgstr ""
2989
-
2990
- #: wp-live-chat-support/wp-live-chat-support.php:3907
2991
- msgid "Status: "
2992
- msgstr ""
2993
-
2994
- #: wp-live-chat-support/wp-live-chat-support.php:3910
2995
- msgid "Valid"
2996
- msgstr ""
2997
-
2998
- #: wp-live-chat-support/wp-live-chat-support.php:3911
2999
- #: wp-live-chat-support/wp-live-chat-support.php:3915
3000
- msgid "Manage this extension"
3001
- msgstr ""
3002
-
3003
- #: wp-live-chat-support/wp-live-chat-support.php:3914
3004
- msgid "Invalid"
3005
- msgstr ""
3006
-
3007
- #: wp-live-chat-support/wp-live-chat-support.php:3920
3008
- msgid "Linked Domains"
3009
- msgstr ""
3010
-
3011
- #: wp-live-chat-support/wp-live-chat-support.php:3954
3012
- #: wp-live-chat-support/wp-live-chat-support.php:4022
3013
- msgid ""
3014
- "Get unlimited agents, initiate chats, advanced chat box control, encryption "
3015
- "and more with the Pro add-on."
3016
- msgstr ""
3017
-
3018
- #: wp-live-chat-support/wp-live-chat-support.php:3956
3019
- #: wp-live-chat-support/wp-live-chat-support.php:3978
3020
- #: wp-live-chat-support/wp-live-chat-support.php:3999
3021
- #: wp-live-chat-support/wp-live-chat-support.php:4024
3022
- msgid "Get this extension"
3023
- msgstr "Få denne udvidelse"
3024
-
3025
- #: wp-live-chat-support/wp-live-chat-support.php:3967
3026
- msgid "Mobile & Desktop App"
3027
- msgstr ""
3028
-
3029
- #: wp-live-chat-support/wp-live-chat-support.php:3976
3030
- msgid ""
3031
- "Answer chats directly from your mobile phone or desktop with our mobile app "
3032
- "and desktop client"
3033
- msgstr ""
3034
-
3035
- #: wp-live-chat-support/wp-live-chat-support.php:3997
3036
- msgid ""
3037
- "Reduce the resources required by your server - use our cloud server to host "
3038
- "your chats."
3039
- msgstr ""
3040
-
3041
- #: wp-live-chat-support/wp-live-chat-support.php:4045
3042
- #: wp-live-chat-support/wp-live-chat-support.php:4066
3043
- msgid "Relevant Extensions"
3044
- msgstr ""
3045
-
3046
- #: wp-live-chat-support/wp-live-chat-support.php:4085
3047
- msgid "Powered By WP Live Chat Support"
3048
- msgstr ""
3049
-
3050
- #: wp-live-chat-support/wp-live-chat-support.php:4231
3051
- msgid ""
3052
- "Your API Key is Invalid. You are not eligible for future updates. Please "
3053
- "enter your API key <a href=\"admin.php?page=wplivechat-menu-api-keys-page"
3054
- "\">here</a>."
3055
- msgstr ""
3056
-
3057
- #: wp-live-chat-support/wp-live-chat-support.php:4317
3058
- msgid "Advanced settings"
3059
- msgstr ""
3060
-
3061
- #: wp-live-chat-support/wp-live-chat-support.php:4326
3062
- msgid "Only change these settings if you are experiencing performance issues."
3063
- msgstr ""
3064
-
3065
- #: wp-live-chat-support/wp-live-chat-support.php:4336
3066
- msgid "What type of environment are you on?"
3067
- msgstr ""
3068
-
3069
- #: wp-live-chat-support/wp-live-chat-support.php:4340
3070
- msgid "Shared hosting - low level plan"
3071
- msgstr ""
3072
-
3073
- #: wp-live-chat-support/wp-live-chat-support.php:4341
3074
- msgid "Shared hosting - normal plan"
3075
- msgstr ""
3076
-
3077
- #: wp-live-chat-support/wp-live-chat-support.php:4342
3078
- msgid "VPS"
3079
- msgstr ""
3080
-
3081
- #: wp-live-chat-support/wp-live-chat-support.php:4343
3082
- msgid "Dedicated server"
3083
- msgstr ""
3084
-
3085
- #: wp-live-chat-support/wp-live-chat-support.php:4349
3086
- msgid "Long poll setup"
3087
- msgstr ""
3088
-
3089
- #: wp-live-chat-support/wp-live-chat-support.php:4349
3090
- msgid ""
3091
- "Only change these if you are an experienced developer or if you have received "
3092
- "these figures from the Code Cabin Support team."
3093
- msgstr ""
3094
-
3095
- #: wp-live-chat-support/wp-live-chat-support.php:4357
3096
- msgid "Iterations"
3097
- msgstr ""
3098
-
3099
- #: wp-live-chat-support/wp-live-chat-support.php:4361
3100
- msgid "Sleep between iterations"
3101
- msgstr ""
3102
-
3103
- #: wp-live-chat-support/wp-live-chat-support.php:4364
3104
- msgid "microseconds"
3105
- msgstr ""
3106
-
3107
- #: wp-live-chat-support/wp-live-chat-support.php:4387
3108
- msgid "View comprehensive reports regarding your chat and agent activity."
3109
- msgstr ""
3110
-
3111
- #: wp-live-chat-support/wp-live-chat-support.php:4390
3112
- msgid "Reports"
3113
- msgstr ""
3114
-
3115
- #: wp-live-chat-support/wp-live-chat-support.php:4392
3116
- msgid "Chat statistics"
3117
- msgstr ""
3118
-
3119
- #: wp-live-chat-support/wp-live-chat-support.php:4393
3120
- msgid "Popular pages"
3121
- msgstr ""
3122
-
3123
- #: wp-live-chat-support/wp-live-chat-support.php:4394
3124
- msgid ""
3125
- "ROI reporting and tracking (identify which agents produce the most sales)"
3126
- msgstr ""
3127
-
3128
- #: wp-live-chat-support/wp-live-chat-support.php:4395
3129
- msgid ""
3130
- "User experience ratings (identify which agents produce the happiest customers)"
3131
- msgstr ""
3132
-
3133
- #: wp-live-chat-support/wp-live-chat-support.php:4405
3134
- #: wp-live-chat-support/wp-live-chat-support.php:4467
3135
- msgid "Get all this and more in the "
3136
- msgstr ""
3137
-
3138
- #: wp-live-chat-support/wp-live-chat-support.php:4405
3139
- #: wp-live-chat-support/wp-live-chat-support.php:4467
3140
- msgid "Pro add-on"
3141
- msgstr "Pro add-on"
3142
-
3143
- #: wp-live-chat-support/wp-live-chat-support.php:4406
3144
- #: wp-live-chat-support/wp-live-chat-support.php:4468
3145
- msgid "Upgrade Now"
3146
- msgstr ""
3147
-
3148
- #: wp-live-chat-support/wp-live-chat-support.php:4449
3149
- msgid ""
3150
- "Create custom data triggers when users view a certain page, spend a certain "
3151
- "amount of time on a page, scroll past a certain point or when their mouse "
3152
- "leaves the window."
3153
- msgstr ""
3154
-
3155
- #: wp-live-chat-support/wp-live-chat-support.php:4452
3156
- msgid "Trigger Types"
3157
- msgstr ""
3158
-
3159
- #~ msgid "Dear User"
3160
- #~ msgstr "Kære Bruger"
3161
-
3162
- #~ msgid ""
3163
- #~ "You are using an outdated version of WP Live Chat Support Basic. Please"
3164
- #~ msgstr "Du bruger en forældet version af WP live chat support Basic. Be om"
3165
-
3166
- #~ msgid ""
3167
- #~ "You're live chat box on your website has been temporarily disabled until "
3168
- #~ "the basic plugin has been updated. This is to ensure a smooth and hassle-"
3169
- #~ "free user experience for both yourself and your visitors."
3170
- #~ msgstr ""
3171
- #~ "Du er live chat boks på din hjemmeside er blevet midlertidigt deaktiveret, "
3172
- #~ "indtil den grundlæggende plugin er blevet opdateret. Dette er for at sikre "
3173
- #~ "en smidig og problemfri brugeroplevelse for både dig selv og dine "
3174
- #~ "besøgende."
3175
-
3176
- #~ msgid ""
3177
- #~ "You can update your plugin <a href='./update-core.php'>here</a> or <a "
3178
- #~ "href='./plugins.php'>here</a>."
3179
- #~ msgstr ""
3180
- #~ "Du kan opdatere din plugin <a href='./update-core.php'>her</a> eller <a "
3181
- #~ "href='./plugins.php'>her.</a>"
3182
-
3183
- #~ msgid ""
3184
- #~ "WP Live Chat Support Pro requires WP Live Chat Support to function. You "
3185
- #~ "can download the latest copy from"
3186
- #~ msgstr ""
3187
- #~ "WP live chat support Pro kræver WP live chat support til at fungere. Du "
3188
- #~ "kan hente den nyeste kopi fra"
3189
-
3190
- #~ msgid "Rating Unavailable"
3191
- #~ msgstr "Bedømmelse Ikke tilgængelig"
3192
-
3193
- #~ msgid "Minimize Chat Window"
3194
- #~ msgstr "Minimer Chat vindue"
3195
-
3196
- #~ msgid "Close Chat Window"
3197
- #~ msgstr "luk vindue"
3198
-
3199
- #~ msgid "Chat sessions"
3200
- #~ msgstr "Chat-sessioner"
3201
-
3202
- #~ msgid "Unknown"
3203
- #~ msgstr "Ukendt"
3204
-
3205
- #~ msgid "User has closed and ended the chat"
3206
- #~ msgstr "Bruger har lukket og sluttede chatten"
3207
-
3208
- #~ msgid "Supplimentary Plugins"
3209
- #~ msgstr "Basale plugin"
3210
-
3211
- #~ msgid "Error Log"
3212
- #~ msgstr "Fejl Log"
3213
-
3214
- #~ msgid "Statistics"
3215
- #~ msgstr "Statistik"
3216
-
3217
- #~ msgid "We'd love to hear your comments and/or suggestions"
3218
- #~ msgstr "Vi vil meget gerne høre dine kommentarer og / eller forslag"
3219
-
3220
- #~ msgid "Get offline messages with the "
3221
- #~ msgstr "Få offline meddelelser med"
3222
-
3223
- #~ msgid "Offline text"
3224
- #~ msgstr "Offline tekst"
3225
-
3226
- #~ msgid "Edit these text fields using the "
3227
- #~ msgstr "Redigere disse tekstfelter ved hjælp af"
3228
-
3229
- #~ msgid "Choose a colour scheme. Only available in the"
3230
- #~ msgstr "Vælg et farveskema. Kun tilgængelig i"
3231
-
3232
- #~ msgid "Colour Scheme 1"
3233
- #~ msgstr "Farver"
3234
-
3235
- #~ msgid "Colour Scheme 2"
3236
- #~ msgstr "Farver"
3237
-
3238
- #~ msgid "Colour Scheme 3"
3239
- #~ msgstr "Farver"
3240
-
3241
- #~ msgid "Colour Scheme 4"
3242
- #~ msgstr "Farver"
3243
-
3244
- #~ msgid "Colour Scheme 5"
3245
- #~ msgstr "Farver"
3246
-
3247
- #~ msgid "Colour Scheme 6"
3248
- #~ msgstr "Farver"
3249
-
3250
- #~ msgid "First section text"
3251
- #~ msgstr "Første sektion tekst"
3252
-
3253
- #~ msgid "Second section text"
3254
- #~ msgstr "forstærkningstog"
3255
-
3256
- #~ msgid "Reactivate chat section text"
3257
- #~ msgstr "Genaktiver chat sektion tekst"
3258
-
3259
- #~ msgid "Choose an animation. Only available in the"
3260
- #~ msgstr "Vælg en animation. Kun tilgængelig i"
3261
-
3262
- #~ msgid "Pro"
3263
- #~ msgstr "Ordsprogenes Bog"
3264
-
3265
- #~ msgid "Pro version for only $19.95 once off."
3266
- #~ msgstr "Pro version for kun $ 19,95 en gang off."
3267
-
3268
- #~ msgid "Encrypt your chat messages in the "
3269
- #~ msgstr "Kryptere dine chat-beskeder i"
3270
-
3271
- #~ msgid "Version 5"
3272
- #~ msgstr "Version 5"
3273
-
3274
- #~ msgid "Provide Instant Live Chat Support!"
3275
- #~ msgstr "Giv øjeblikkelig live chat support!"
3276
-
3277
- #~ msgid ""
3278
- #~ "You can update your plugin <a href='./update-core.php'>here</a>, <a "
3279
- #~ "href='./plugins.php'>here</a> or <a href='http://wp-livechat.com/get-"
3280
- #~ "updated-version/' target='_BLANK'>here</a>."
3281
- #~ msgstr ""
3282
- #~ "Du kan opdatere din plugin <a href='./update-core.php'>her,</a> <a href='./"
3283
- #~ "plugins.php'>her</a> eller <a href='http://wp-livechat.com/get-updated-"
3284
- #~ "version/' target='_BLANK'>her.</a>"
3285
-
3286
- #~ msgid "Support forum"
3287
- #~ msgstr "Support forum."
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: wplivechat\n"
4
+ "POT-Creation-Date: 2016-10-18 14:14+0200\n"
5
+ "PO-Revision-Date: 2016-10-18 14:14+0200\n"
6
+ "Last-Translator: Kasper Jensen <support@teknisk-support.com>\n"
7
+ "Language-Team: \n"
8
+ "Language: da_DK\n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Generator: Poedit 1.8.10\n"
13
+ "X-Poedit-KeywordsList: _;gettext;gettext_noop;__;_e\n"
14
+ "X-Poedit-Basepath: ../..\n"
15
+ "Plural-Forms: nplurals=2; plural=(n != 1);\n"
16
+ "X-Poedit-SearchPath-0: wp-live-chat-support\n"
17
+ "X-Poedit-SearchPath-1: wp-live-chat-support-pro\n"
18
+ "X-Poedit-SearchPath-2: wp-live-chat-support-mobile-and-desktop-app\n"
19
+ "X-Poedit-SearchPath-3: wp-live-chat-support-cloud-server\n"
20
+
21
+ #: wp-live-chat-support-cloud-server/includes/update_control.php:43
22
+ #: wp-live-chat-support-cloud-server/wp-live-chat-support-cloud-server.php:59
23
+ #: wp-live-chat-support-cloud-server/wp-live-chat-support-cloud-server.php:371
24
+ #: wp-live-chat-support-cloud-server/wp-live-chat-support-cloud-server.php:393
25
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:98
26
+ #: wp-live-chat-support/wp-live-chat-support.php:3988
27
+ msgid "Cloud Server"
28
+ msgstr "Cloud Server"
29
+
30
+ #: wp-live-chat-support-cloud-server/includes/update_control.php:118
31
+ #: wp-live-chat-support/includes/update_control.class.php:122
32
+ msgid ""
33
+ "An Unexpected HTTP Error occurred during the API request.</p> <p><a href=\"?"
34
+ "\" onclick=\"document.location.reload(); return false;\">Try again</a>"
35
+ msgstr ""
36
+ "Der opstod en uventet HTTP-fejl under API-anmodningen. </p><p> <a href=“?” "
37
+ "onclick=“document.location.reload(); return false;”>Prøv igen</a>"
38
+
39
+ #: wp-live-chat-support-cloud-server/includes/update_control.php:123
40
+ #: wp-live-chat-support/includes/update_control.class.php:127
41
+ msgid "An unknown error occurred"
42
+ msgstr "En ukendt fejl opstod"
43
+
44
+ #: wp-live-chat-support-cloud-server/wp-live-chat-support-cloud-server.php:73
45
+ msgid "Chat functionality has been paused."
46
+ msgstr ""
47
+
48
+ #: wp-live-chat-support-cloud-server/wp-live-chat-support-cloud-server.php:74
49
+ msgid ""
50
+ "Please enter your verified API key in the <a href=\"admin.php?page=wplivechat-"
51
+ "menu-api-keys-page\">API Keys page</a> to activate the cloud based "
52
+ "functionality."
53
+ msgstr ""
54
+
55
+ #: wp-live-chat-support-cloud-server/wp-live-chat-support-cloud-server.php:90
56
+ msgid "Are you sure you would like to delete chat history?"
57
+ msgstr ""
58
+
59
+ #: wp-live-chat-support-cloud-server/wp-live-chat-support-cloud-server.php:92
60
+ #: wp-live-chat-support-cloud-server/wp-live-chat-support-cloud-server.php:108
61
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:135
62
+ #: wp-live-chat-support/functions.php:1609
63
+ #: wp-live-chat-support/includes/settings_page.php:97
64
+ #: wp-live-chat-support/wp-live-chat-support.php:3048
65
+ msgid "Yes"
66
+ msgstr "Ja"
67
+
68
+ #: wp-live-chat-support-cloud-server/wp-live-chat-support-cloud-server.php:93
69
+ #: wp-live-chat-support-cloud-server/wp-live-chat-support-cloud-server.php:109
70
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:138
71
+ #: wp-live-chat-support/functions.php:1609
72
+ #: wp-live-chat-support/includes/settings_page.php:98
73
+ #: wp-live-chat-support/wp-live-chat-support.php:3048
74
+ msgid "No"
75
+ msgstr "Nej"
76
+
77
+ #: wp-live-chat-support-cloud-server/wp-live-chat-support-cloud-server.php:106
78
+ msgid "Are you sure you would like to delete all missed chats?"
79
+ msgstr ""
80
+
81
+ #: wp-live-chat-support-cloud-server/wp-live-chat-support-cloud-server.php:374
82
+ msgid ""
83
+ "You are currently using our <strong>cloud server</strong> to handle your chat "
84
+ "requests and live chat sessions.<br /><br />To disable this, please "
85
+ "deactivate the WP Live Chat Support - Cloud Server plugin."
86
+ msgstr ""
87
+
88
+ #: wp-live-chat-support-mobile-and-desktop-app/wp-live-chat-support-mobile-and-desktop-app.php:47
89
+ msgid "Mobile and Desktop App"
90
+ msgstr ""
91
+
92
+ #: wp-live-chat-support-mobile-and-desktop-app/wp-live-chat-support-mobile-and-desktop-app.php:99
93
+ msgid "Mobile and Desktop App Settings"
94
+ msgstr ""
95
+
96
+ #: wp-live-chat-support-mobile-and-desktop-app/wp-live-chat-support-mobile-and-desktop-app.php:102
97
+ msgid "Enable mobile and desktop app"
98
+ msgstr ""
99
+
100
+ #: wp-live-chat-support-mobile-and-desktop-app/wp-live-chat-support-mobile-and-desktop-app.php:124
101
+ msgid "App"
102
+ msgstr ""
103
+
104
+ #: wp-live-chat-support-pro/ajax-pro.php:269
105
+ msgid "Guest"
106
+ msgstr "Gæst"
107
+
108
+ #: wp-live-chat-support-pro/ajax-pro.php:341
109
+ #: wp-live-chat-support/ajax_new.php:286
110
+ msgid "Admin has closed and ended the chat"
111
+ msgstr "Admin har lukket og sluttede chatten"
112
+
113
+ #: wp-live-chat-support-pro/ajax-pro.php:376
114
+ #: wp-live-chat-support/ajax_new.php:310
115
+ msgid "There is No Answer. Please Try Again Later"
116
+ msgstr "Der er Intet svar. Prøv igen senere"
117
+
118
+ #: wp-live-chat-support-pro/functions-pro.php:54
119
+ #: wp-live-chat-support-pro/functions-pro.php:173
120
+ #: wp-live-chat-support-pro/functions-pro.php:325
121
+ #: wp-live-chat-support/functions.php:294 wp-live-chat-support/functions.php:486
122
+ #: wp-live-chat-support/modules/api/wplc-api-functions.php:458
123
+ #: wp-live-chat-support/wp-live-chat-support.php:2485
124
+ msgid "IP Address not recorded"
125
+ msgstr "IP-adresse ikke registreret"
126
+
127
+ #: wp-live-chat-support-pro/functions-pro.php:56
128
+ #: wp-live-chat-support-pro/functions-pro.php:175
129
+ #: wp-live-chat-support-pro/functions-pro.php:327
130
+ #: wp-live-chat-support/functions.php:296 wp-live-chat-support/functions.php:488
131
+ #: wp-live-chat-support/wp-live-chat-support.php:2487
132
+ msgid "Whois for"
133
+ msgstr "Whois for"
134
+
135
+ #: wp-live-chat-support-pro/functions-pro.php:61
136
+ #: wp-live-chat-support-pro/functions-pro.php:333
137
+ #: wp-live-chat-support/functions.php:301 wp-live-chat-support/functions.php:443
138
+ #: wp-live-chat-support/functions.php:1359
139
+ msgid "Accept Chat"
140
+ msgstr "Accepter Chat"
141
+
142
+ #: wp-live-chat-support-pro/functions-pro.php:63
143
+ #: wp-live-chat-support-pro/functions-pro.php:335
144
+ #: wp-live-chat-support/functions.php:303
145
+ msgid "Incoming Chat"
146
+ msgstr "Indgående Chat"
147
+
148
+ #: wp-live-chat-support-pro/functions-pro.php:63
149
+ #: wp-live-chat-support-pro/functions-pro.php:335
150
+ #: wp-live-chat-support/functions.php:303
151
+ msgid "You have an incoming chat."
152
+ msgstr "Du har en indgående snak."
153
+
154
+ #: wp-live-chat-support-pro/functions-pro.php:67
155
+ #: wp-live-chat-support/functions.php:448
156
+ msgid "Open Chat"
157
+ msgstr "Åbn chat"
158
+
159
+ #: wp-live-chat-support-pro/functions-pro.php:69
160
+ #: wp-live-chat-support-pro/functions-pro.php:347
161
+ #: wp-live-chat-support/functions.php:309
162
+ msgid "Chat Active"
163
+ msgstr "Chat Aktiv"
164
+
165
+ #: wp-live-chat-support-pro/functions-pro.php:69
166
+ #: wp-live-chat-support-pro/functions-pro.php:347
167
+ #: wp-live-chat-support/functions.php:309
168
+ msgid "This chat is active"
169
+ msgstr "Denne chat er aktiv"
170
+
171
+ #: wp-live-chat-support-pro/functions-pro.php:74
172
+ #: wp-live-chat-support-pro/functions-pro.php:160
173
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:2349
174
+ #: wp-live-chat-support/wp-live-chat-support.php:1690
175
+ msgid "Initiate Chat"
176
+ msgstr "Indled Chat"
177
+
178
+ #: wp-live-chat-support-pro/functions-pro.php:76
179
+ #: wp-live-chat-support-pro/functions-pro.php:162
180
+ msgid "You must be a chat agent to initiate chats"
181
+ msgstr "Du skal være en chat agent til at indlede chats"
182
+
183
+ #: wp-live-chat-support-pro/functions-pro.php:99
184
+ #: wp-live-chat-support/functions.php:511
185
+ #: wp-live-chat-support/modules/api/wplc-api-functions.php:474
186
+ msgid "New"
187
+ msgstr "Ny"
188
+
189
+ #: wp-live-chat-support-pro/functions-pro.php:101
190
+ #: wp-live-chat-support/functions.php:513
191
+ #: wp-live-chat-support/modules/api/wplc-api-functions.php:476
192
+ msgid "Returning"
193
+ msgstr "Vender tilbage"
194
+
195
+ #: wp-live-chat-support-pro/functions-pro.php:143
196
+ msgid "Visitors on site"
197
+ msgstr "Besøgende på stedet"
198
+
199
+ #: wp-live-chat-support-pro/functions-pro.php:207
200
+ #: wp-live-chat-support-pro/functions-pro.php:377
201
+ #: wp-live-chat-support/functions.php:332
202
+ #: wp-live-chat-support/wp-live-chat-support.php:2522
203
+ msgid "Site Info"
204
+ msgstr "Side Info"
205
+
206
+ #: wp-live-chat-support-pro/functions-pro.php:209
207
+ #: wp-live-chat-support-pro/functions-pro.php:379
208
+ #: wp-live-chat-support/functions.php:334
209
+ #: wp-live-chat-support/wp-live-chat-support.php:2524
210
+ msgid "Chat initiated on:"
211
+ msgstr "Chat indledt på:"
212
+
213
+ #: wp-live-chat-support-pro/functions-pro.php:213
214
+ #: wp-live-chat-support-pro/functions-pro.php:383
215
+ #: wp-live-chat-support/functions.php:338
216
+ #: wp-live-chat-support/wp-live-chat-support.php:2528
217
+ msgid "Advanced Info"
218
+ msgstr "Avanceret Info"
219
+
220
+ #: wp-live-chat-support-pro/functions-pro.php:215
221
+ #: wp-live-chat-support-pro/functions-pro.php:385
222
+ #: wp-live-chat-support/functions.php:340
223
+ #: wp-live-chat-support/wp-live-chat-support.php:2530
224
+ msgid "Browser:"
225
+ msgstr "BROWSER"
226
+
227
+ #: wp-live-chat-support-pro/functions-pro.php:216
228
+ #: wp-live-chat-support-pro/functions-pro.php:386
229
+ #: wp-live-chat-support/functions.php:341
230
+ #: wp-live-chat-support/wp-live-chat-support.php:2531
231
+ msgid "IP Address:"
232
+ msgstr "IP-adresse"
233
+
234
+ #: wp-live-chat-support-pro/functions-pro.php:259
235
+ msgid "No visitors on-line at the moment"
236
+ msgstr "Ingen besøgende online i øjeblikket"
237
+
238
+ #: wp-live-chat-support-pro/functions-pro.php:302
239
+ #: wp-live-chat-support/functions.php:277
240
+ msgid "No chat sessions available at the moment"
241
+ msgstr "Ingen chat-sessioner til rådighed i øjeblikket"
242
+
243
+ #: wp-live-chat-support-pro/functions-pro.php:304
244
+ #: wp-live-chat-support/functions.php:279
245
+ msgid "Active Chats"
246
+ msgstr "Aktive Chats"
247
+
248
+ #: wp-live-chat-support-pro/functions-pro.php:339
249
+ msgid "You must be a chat agent to answer chats"
250
+ msgstr "Du skal være en chat agent til at besvare chats"
251
+
252
+ #: wp-live-chat-support-pro/functions-pro.php:345
253
+ #: wp-live-chat-support/functions.php:307
254
+ msgid "Open Chat Window"
255
+ msgstr "Åbn chat vindue"
256
+
257
+ #: wp-live-chat-support-pro/functions-pro.php:349
258
+ msgid "Chat has been answered by another agent"
259
+ msgstr "Chat er blevet besvaret af en anden agent"
260
+
261
+ #: wp-live-chat-support-pro/functions-pro.php:350
262
+ msgid "Chat answered by another agent"
263
+ msgstr "Chat besvaret af en anden agent"
264
+
265
+ #: wp-live-chat-support-pro/functions-pro.php:409
266
+ #: wp-live-chat-support/functions.php:1205
267
+ msgid "WP Live Chat Support - Offline Message from "
268
+ msgstr "WP live chat support - Offline Meddelelse fra"
269
+
270
+ #: wp-live-chat-support-pro/functions-pro.php:410
271
+ #: wp-live-chat-support-pro/functions-pro.php:969
272
+ #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:441
273
+ #: wp-live-chat-support-pro/includes/wplc_roi.php:128
274
+ #: wp-live-chat-support/functions.php:1206
275
+ #: wp-live-chat-support/functions.php:1620
276
+ #: wp-live-chat-support/includes/deprecated.php:192
277
+ #: wp-live-chat-support/includes/deprecated.php:391
278
+ #: wp-live-chat-support/includes/settings_page.php:256
279
+ #: wp-live-chat-support/wp-live-chat-support.php:1371
280
+ #: wp-live-chat-support/wp-live-chat-support.php:1529
281
+ #: wp-live-chat-support/wp-live-chat-support.php:3072
282
+ #: wp-live-chat-support/wp-live-chat-support.php:3183
283
+ msgid "Name"
284
+ msgstr "Navn"
285
+
286
+ #: wp-live-chat-support-pro/functions-pro.php:410
287
+ #: wp-live-chat-support-pro/functions-pro.php:970
288
+ #: wp-live-chat-support/functions.php:1207
289
+ #: wp-live-chat-support/functions.php:1621
290
+ #: wp-live-chat-support/includes/deprecated.php:193
291
+ #: wp-live-chat-support/includes/deprecated.php:392
292
+ #: wp-live-chat-support/wp-live-chat-support.php:1372
293
+ #: wp-live-chat-support/wp-live-chat-support.php:1530
294
+ #: wp-live-chat-support/wp-live-chat-support.php:3073
295
+ #: wp-live-chat-support/wp-live-chat-support.php:3184
296
+ msgid "Email"
297
+ msgstr "e-mail"
298
+
299
+ #: wp-live-chat-support-pro/functions-pro.php:410
300
+ #: wp-live-chat-support-pro/functions-pro.php:971
301
+ #: wp-live-chat-support-pro/functions-pro.php:1546
302
+ #: wp-live-chat-support/functions.php:1208
303
+ #: wp-live-chat-support/wp-live-chat-support.php:1531
304
+ #: wp-live-chat-support/wp-live-chat-support.php:3185
305
+ #: wp-live-chat-support/wp-live-chat-support.php:4127
306
+ #: wp-live-chat-support/wp-live-chat-support.php:4177
307
+ msgid "Message"
308
+ msgstr "Besked"
309
+
310
+ #: wp-live-chat-support-pro/functions-pro.php:410
311
+ #: wp-live-chat-support/functions.php:1209
312
+ msgid "Via WP Live Chat Support"
313
+ msgstr "Via WP live chat support"
314
+
315
+ #: wp-live-chat-support-pro/functions-pro.php:480
316
+ msgid "Alert: Someone wants to chat with you on "
317
+ msgstr "Alert: nogen ønsker at chatte med dig på"
318
+
319
+ #: wp-live-chat-support-pro/functions-pro.php:481
320
+ msgid "Someone wants to chat with you on your website"
321
+ msgstr "Nogen ønsker at chatte med dig på din hjemmeside"
322
+
323
+ #: wp-live-chat-support-pro/functions-pro.php:481
324
+ msgid "Log in"
325
+ msgstr "Log ind"
326
+
327
+ #: wp-live-chat-support-pro/functions-pro.php:748
328
+ #: wp-live-chat-support-pro/functions-pro.php:764
329
+ #: wp-live-chat-support-pro/functions-pro.php:779
330
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:2725
331
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:2741
332
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:2756
333
+ msgid "Chat Agent"
334
+ msgstr "Chat Agent"
335
+
336
+ #: wp-live-chat-support-pro/functions-pro.php:753
337
+ #: wp-live-chat-support-pro/functions-pro.php:769
338
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:2730
339
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:2746
340
+ msgid "Make this user a chat agent"
341
+ msgstr "Gør denne bruger en chat agent"
342
+
343
+ #: wp-live-chat-support-pro/functions-pro.php:783
344
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:2760
345
+ msgid "Your user role does not allow you to make yourself a chat agent."
346
+ msgstr "Din brugerrolle ikke tillader dig at gøre dig selv en chat agent."
347
+
348
+ #: wp-live-chat-support-pro/functions-pro.php:784
349
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:2761
350
+ msgid "Please contact the administrator of this website to change this."
351
+ msgstr "Kontakt administratoren af ​​denne hjemmeside til at ændre dette."
352
+
353
+ #: wp-live-chat-support-pro/functions-pro.php:869
354
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3145
355
+ msgid "Chat Agent Online"
356
+ msgstr "Chat Agent Online"
357
+
358
+ #: wp-live-chat-support-pro/functions-pro.php:871
359
+ #: wp-live-chat-support-pro/functions-pro.php:876
360
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3147
361
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3152
362
+ msgid "Chat Agents Online"
363
+ msgstr "Chat Agenter Online"
364
+
365
+ #: wp-live-chat-support-pro/functions-pro.php:968
366
+ #: wp-live-chat-support/functions.php:1619
367
+ #: wp-live-chat-support/wp-live-chat-support.php:3071
368
+ #: wp-live-chat-support/wp-live-chat-support.php:3182
369
+ msgid "Date"
370
+ msgstr "Dato"
371
+
372
+ #: wp-live-chat-support-pro/functions-pro.php:985
373
+ #: wp-live-chat-support/wp-live-chat-support.php:3196
374
+ msgid "You have not received any offline messages."
375
+ msgstr "Du har ikke modtaget nogen offline beskeder."
376
+
377
+ #: wp-live-chat-support-pro/functions-pro.php:1410
378
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:788
379
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3500
380
+ #: wp-live-chat-support/wp-live-chat-support.php:3770
381
+ msgid "Administrator"
382
+ msgstr "Administrator"
383
+
384
+ #: wp-live-chat-support-pro/functions-pro.php:1411
385
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:794
386
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3506
387
+ #: wp-live-chat-support/wp-live-chat-support.php:3779
388
+ msgid "Editor"
389
+ msgstr "Redaktør"
390
+
391
+ #: wp-live-chat-support-pro/functions-pro.php:1412
392
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:800
393
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3512
394
+ #: wp-live-chat-support/wp-live-chat-support.php:3788
395
+ msgid "Author"
396
+ msgstr "Forfatter"
397
+
398
+ #: wp-live-chat-support-pro/functions-pro.php:1413
399
+ msgid "Contributor"
400
+ msgstr "bidragsyder"
401
+
402
+ #: wp-live-chat-support-pro/functions-pro.php:1414
403
+ msgid "Subscriber"
404
+ msgstr "Abonnent"
405
+
406
+ #: wp-live-chat-support-pro/functions-pro.php:1544
407
+ #: wp-live-chat-support/wp-live-chat-support.php:4125
408
+ #: wp-live-chat-support/wp-live-chat-support.php:4175
409
+ msgid "Chat ID"
410
+ msgstr "Chat id"
411
+
412
+ #: wp-live-chat-support-pro/functions-pro.php:1545
413
+ #: wp-live-chat-support/wp-live-chat-support.php:4126
414
+ #: wp-live-chat-support/wp-live-chat-support.php:4176
415
+ msgid "From"
416
+ msgstr "Fra"
417
+
418
+ #: wp-live-chat-support-pro/functions-pro.php:1547
419
+ #: wp-live-chat-support/wp-live-chat-support.php:4128
420
+ #: wp-live-chat-support/wp-live-chat-support.php:4178
421
+ msgid "Timestamp"
422
+ msgstr "Tidsstempel"
423
+
424
+ #: wp-live-chat-support-pro/functions-pro.php:1548
425
+ #: wp-live-chat-support/wp-live-chat-support.php:4129
426
+ #: wp-live-chat-support/wp-live-chat-support.php:4179
427
+ msgid "Origin"
428
+ msgstr "Oprindelse"
429
+
430
+ #: wp-live-chat-support-pro/functions-pro.php:1560
431
+ #: wp-live-chat-support/wp-live-chat-support.php:4134
432
+ #: wp-live-chat-support/wp-live-chat-support.php:4184
433
+ msgid "user"
434
+ msgstr "bruger"
435
+
436
+ #: wp-live-chat-support-pro/functions-pro.php:1562
437
+ #: wp-live-chat-support/wp-live-chat-support.php:4136
438
+ #: wp-live-chat-support/wp-live-chat-support.php:4186
439
+ msgid "agent"
440
+ msgstr "enhed"
441
+
442
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:48
443
+ #: wp-live-chat-support/includes/settings_page.php:26
444
+ msgid "WP Live Chat Support Settings"
445
+ msgstr "WP live chat support Indstillinger"
446
+
447
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:71
448
+ #: wp-live-chat-support/wp-live-chat-support.php:2142
449
+ #: wp-live-chat-support/wp-live-chat-support.php:2157
450
+ msgid "Dear Pro User"
451
+ msgstr "Kære Pro Bruger"
452
+
453
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:72
454
+ msgid ""
455
+ "Please enter a valid API key on the 'Live Chat' -> 'Settings' page. Failing "
456
+ "to do this will result in you no longer receiving updates for this plugin."
457
+ msgstr ""
458
+ "Indtast en gyldig API-nøgle på \"Live Chat\" -> \"Indstillinger\" side. Ikke "
459
+ "at gøre dette vil resultere i du ikke længere at modtage opdateringer af "
460
+ "denne plugin."
461
+
462
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:73
463
+ msgid "You can obtain a copy of your API key "
464
+ msgstr "Du kan få en kopi af din API-nøgle"
465
+
466
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:73
467
+ msgid "here"
468
+ msgstr "her"
469
+
470
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:73
471
+ msgid ""
472
+ "An account has been created for you while purchasing the plugin. If you have "
473
+ "lost your password, please reset it "
474
+ msgstr ""
475
+ "En konto er blevet oprettet for dig, mens køb af plugin. Hvis du har mistet "
476
+ "din adgangskode, skal du nulstille den"
477
+
478
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:74
479
+ msgid ""
480
+ "If you feel you are getting this message in error, please try refreshing the "
481
+ "page."
482
+ msgstr ""
483
+ "Hvis du føler, at du får denne meddelelse ved en fejl, skal du prøve at "
484
+ "opdatere siden."
485
+
486
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:83
487
+ #: wp-live-chat-support/includes/settings_page.php:53
488
+ msgid "General Settings"
489
+ msgstr "Generelle indstillinger"
490
+
491
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:84
492
+ #: wp-live-chat-support/includes/settings_page.php:58
493
+ msgid "Chat Box"
494
+ msgstr "Chat Box"
495
+
496
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:85
497
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:383
498
+ #: wp-live-chat-support/includes/settings_page.php:63
499
+ #: wp-live-chat-support/includes/settings_page.php:400
500
+ #: wp-live-chat-support/wp-live-chat-support.php:757
501
+ #: wp-live-chat-support/wp-live-chat-support.php:760
502
+ msgid "Offline Messages"
503
+ msgstr "Offline beskeder"
504
+
505
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:86
506
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:485
507
+ #: wp-live-chat-support/includes/settings_page.php:68
508
+ #: wp-live-chat-support/includes/settings_page.php:541
509
+ msgid "Styling"
510
+ msgstr "Udseende"
511
+
512
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:87
513
+ msgid "Chat Agents"
514
+ msgstr "Chat Agenter"
515
+
516
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:88
517
+ #: wp-live-chat-support/includes/settings_page.php:78
518
+ msgid "Blocked Visitors"
519
+ msgstr "Blokerede Besøgende"
520
+
521
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:89
522
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:830
523
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:836
524
+ msgid "Chat Experience Ratings"
525
+ msgstr "Chat Erfarings bedømmelse"
526
+
527
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:90
528
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1857
529
+ msgid "Encryption"
530
+ msgstr "Kryptering"
531
+
532
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:93
533
+ #: wp-live-chat-support/includes/settings_page.php:91
534
+ msgid "Main Settings"
535
+ msgstr "Primære Indstillinger"
536
+
537
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:96
538
+ msgid "Find out more."
539
+ msgstr "Læs mere…"
540
+
541
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:103
542
+ msgid "Use our server to host your chat server."
543
+ msgstr "Brug vores server til at være vært for din chat-server."
544
+
545
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:107
546
+ #: wp-live-chat-support/wp-live-chat-support.php:3901
547
+ msgid "API Key"
548
+ msgstr "API key"
549
+
550
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:112
551
+ msgid "This API key is "
552
+ msgstr "Denne API-nøgle er"
553
+
554
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:115
555
+ msgid "valid"
556
+ msgstr "gyldigt"
557
+
558
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:118
559
+ msgid "invalid"
560
+ msgstr "ugyldigt"
561
+
562
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:122
563
+ msgid ""
564
+ "A valid API key means that you will be able to get the latest version of the "
565
+ "plugin as and when it is released, as well as get access to support should "
566
+ "you require it."
567
+ msgstr ""
568
+ "En gyldig API-nøgle betyder, at du vil være i stand til at få den nyeste "
569
+ "version af plugin, når og hvis det er frigivet, samt få adgang til støtte bør "
570
+ "du kræver det."
571
+
572
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:130
573
+ #: wp-live-chat-support/includes/settings_page.php:94
574
+ msgid "Chat enabled"
575
+ msgstr "Chat aktiveret"
576
+
577
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:144
578
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1693
579
+ msgid "Choose when I want to be online"
580
+ msgstr "Vælg, når jeg ønsker at være online"
581
+
582
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:144
583
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1693
584
+ msgid ""
585
+ "Checking this will allow you to change your status to Online or Offline on "
586
+ "the Live Chat page."
587
+ msgstr ""
588
+ "Afkrydsning af dette vil give dig mulighed for at ændre din status til online "
589
+ "eller offline på live chat-side."
590
+
591
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:154
592
+ #: wp-live-chat-support/includes/settings_page.php:116
593
+ msgid "Hide Chat"
594
+ msgstr "Skjul Chat"
595
+
596
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:154
597
+ #: wp-live-chat-support/includes/settings_page.php:116
598
+ msgid "Hides chat for 24hrs when user clicks X"
599
+ msgstr "Skjuler chatte 24 timer, når brugeren klikker X"
600
+
601
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:162
602
+ #: wp-live-chat-support/includes/settings_page.php:125
603
+ msgid "Require Name And Email"
604
+ msgstr "Kræv navn og email"
605
+
606
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:162
607
+ #: wp-live-chat-support/includes/settings_page.php:125
608
+ msgid ""
609
+ "Users will have to enter their Name and Email Address when starting a chat"
610
+ msgstr ""
611
+ "Brugere bliver nødt til at indtaste deres navn og e-mail adresse, når du "
612
+ "starter en chat"
613
+
614
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:172
615
+ #: wp-live-chat-support/includes/settings_page.php:133
616
+ msgid "Input Field Replacement Text"
617
+ msgstr "Input feltets erstatningsteksten"
618
+
619
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:172
620
+ #: wp-live-chat-support/includes/settings_page.php:133
621
+ msgid "This is the text that will show in place of the Name And Email fields"
622
+ msgstr "Dette er den tekst, der vil vise i stedet for navn og email felter"
623
+
624
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:182
625
+ #: wp-live-chat-support/includes/settings_page.php:141
626
+ msgid "Use Logged In User Details"
627
+ msgstr "Brug indloggede bruger Detaljer"
628
+
629
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:182
630
+ #: wp-live-chat-support/includes/settings_page.php:141
631
+ msgid ""
632
+ "A user's Name and Email Address will be used by default if they are logged in."
633
+ msgstr ""
634
+ "En brugers navn og e-mail adresse vil blive brugt som standard, hvis de er "
635
+ "logget ind."
636
+
637
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:193
638
+ #: wp-live-chat-support/includes/settings_page.php:149
639
+ msgid "Enable On Mobile Devices"
640
+ msgstr "Aktiver zoom på mobile enheder"
641
+
642
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:193
643
+ #: wp-live-chat-support/includes/settings_page.php:149
644
+ msgid ""
645
+ "Disabling this will mean that the Chat Box will not be displayed on mobile "
646
+ "devices. (Smartphones and Tablets)"
647
+ msgstr ""
648
+ "Deaktivering dette vil betyde, at Chat Box ikke vises på mobile enheder. "
649
+ "(Smartphones og tablets)"
650
+
651
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:203
652
+ #: wp-live-chat-support/includes/settings_page.php:157
653
+ msgid "Record a visitor's IP Address"
654
+ msgstr "Optag en besøgendes IP-adresse"
655
+
656
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:203
657
+ #: wp-live-chat-support/includes/settings_page.php:157
658
+ msgid "Disable this to enable anonymity for your visitors"
659
+ msgstr "Deaktiver denne at aktivere anonymitet for dine besøgende"
660
+
661
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:213
662
+ #: wp-live-chat-support/includes/settings_page.php:165
663
+ msgid "Play a sound when a new message is received"
664
+ msgstr "Afspil en lyd, når en ny besked modtages"
665
+
666
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:213
667
+ #: wp-live-chat-support/includes/settings_page.php:165
668
+ msgid ""
669
+ "Disable this to mute the sound that is played when a new chat message is "
670
+ "received"
671
+ msgstr ""
672
+ "Deaktiver denne for at slå lyd, der afspilles, når en ny chat-besked modtages"
673
+
674
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:222
675
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:2135
676
+ msgid "Include chat window on the following pages:"
677
+ msgstr "Medtag chat vindue på de følgende sider:"
678
+
679
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:222
680
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:2135
681
+ #: wp-live-chat-support/includes/settings_page.php:175
682
+ msgid ""
683
+ "Show the chat window on the following pages. Leave blank to show on all. (Use "
684
+ "comma-separated Page ID's)"
685
+ msgstr ""
686
+ "Vis chatvinduet på de følgende sider. Lad stå tomt for at vise på alle. (Brug "
687
+ "kommasepareret Side ID'er)"
688
+
689
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:232
690
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:2143
691
+ msgid "Exclude chat window on the following pages:"
692
+ msgstr "Udeluk chatvinduet på de følgende sider:"
693
+
694
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:232
695
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:2143
696
+ #: wp-live-chat-support/includes/settings_page.php:190
697
+ msgid ""
698
+ "Do not show the chat window on the following pages. Leave blank to show on "
699
+ "all. (Use comma-separated Page ID's)"
700
+ msgstr ""
701
+ "Vis ikke chatvinduet på de følgende sider. Lad stå tomt for at vise på alle. "
702
+ "(Brug kommasepareret Side ID'er)"
703
+
704
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:242
705
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:2151
706
+ msgid "Allow any user to make themselves a chat agent"
707
+ msgstr "Tillad alle brugere at gøre sig en chat agent"
708
+
709
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:242
710
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:2151
711
+ msgid ""
712
+ "Checking this will allow any of your users to make themselves a chat agent "
713
+ "when editing their profile."
714
+ msgstr ""
715
+ "Kontrol dette vil give nogen af ​​dine brugere til at give sig en chat agent, "
716
+ "når du redigerer deres profil."
717
+
718
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:255
719
+ #: wp-live-chat-support/includes/settings_page.php:213
720
+ msgid "Chat Window Settings"
721
+ msgstr "Chatvinduet Indstillinger"
722
+
723
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:258
724
+ #: wp-live-chat-support/includes/settings_page.php:216
725
+ msgid "Chat box alignment"
726
+ msgstr "Chatfeltet tilpasning"
727
+
728
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:263
729
+ #: wp-live-chat-support/includes/settings_page.php:219
730
+ msgid "Bottom left"
731
+ msgstr "Forneden venstre"
732
+
733
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:266
734
+ #: wp-live-chat-support/includes/settings_page.php:220
735
+ msgid "Bottom right"
736
+ msgstr "Forneden højre"
737
+
738
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:269
739
+ #: wp-live-chat-support/includes/settings_page.php:221
740
+ msgid "Left"
741
+ msgstr "Venstre"
742
+
743
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:272
744
+ #: wp-live-chat-support/includes/settings_page.php:222
745
+ msgid "Right"
746
+ msgstr "Højre"
747
+
748
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:278
749
+ #: wp-live-chat-support/includes/settings_page.php:228
750
+ msgid "Auto Pop-up"
751
+ msgstr "Automatisk pop-up"
752
+
753
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:278
754
+ #: wp-live-chat-support/includes/settings_page.php:228
755
+ msgid ""
756
+ "Expand the chat box automatically (prompts the user to enter their name and "
757
+ "email address)."
758
+ msgstr ""
759
+ "Udvid chat boksen automatisk (beder brugeren om at indtaste deres navn og e-"
760
+ "mail-adresse)."
761
+
762
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:289
763
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:919
764
+ msgid "Name "
765
+ msgstr "Navn"
766
+
767
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:303
768
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:990
769
+ #: wp-live-chat-support/includes/settings_page.php:272
770
+ msgid "Picture"
771
+ msgstr "Billede"
772
+
773
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:311
774
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:998
775
+ #: wp-live-chat-support/includes/settings_page.php:275
776
+ #: wp-live-chat-support/includes/settings_page.php:291
777
+ msgid "Upload Image"
778
+ msgstr "Upload billede"
779
+
780
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:313
781
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1000
782
+ msgid "Remove Image"
783
+ msgstr "Fjern billede"
784
+
785
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:314
786
+ msgid "Recomended Size 40px x 40px"
787
+ msgstr "Anbefalet Størrelse 40px x 40px"
788
+
789
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:320
790
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1008
791
+ #: wp-live-chat-support/includes/settings_page.php:288
792
+ msgid "Logo"
793
+ msgstr "Logo"
794
+
795
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:328
796
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1016
797
+ msgid "Upload Logo"
798
+ msgstr "Upload Logo"
799
+
800
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:330
801
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1018
802
+ msgid "Remove Logo"
803
+ msgstr "Fjern logo"
804
+
805
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:331
806
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1019
807
+ msgid "Recomended Size 250px x 40px"
808
+ msgstr "Anbefalet Størrelse 250px x 40px"
809
+
810
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:337
811
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1025
812
+ #: wp-live-chat-support/includes/settings_page.php:304
813
+ msgid "Chat delay (seconds)"
814
+ msgstr "Chat forsinkelse (sekunder)"
815
+
816
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:337
817
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1025
818
+ msgid "How long it takes for your chat window to pop up"
819
+ msgstr "Hvor lang tid det tager for din chat-vindue til at poppe op"
820
+
821
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:346
822
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1034
823
+ #: wp-live-chat-support/includes/settings_page.php:320
824
+ msgid "Chat notifications"
825
+ msgstr "Chat underretninger"
826
+
827
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:346
828
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1034
829
+ msgid "Alert me via email as soon as someone wants to chat (while online only)"
830
+ msgstr ""
831
+ "Advare mig via e-mail, så snart nogen ønsker at chatte (mens kun online)"
832
+
833
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:356
834
+ #: wp-live-chat-support/includes/settings_page.php:338
835
+ msgid "Display name and avatar in chat"
836
+ msgstr "Vist navn og avatar i chatten"
837
+
838
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:356
839
+ #: wp-live-chat-support/includes/settings_page.php:338
840
+ msgid "Display the agent and user name above each message in the chat window."
841
+ msgstr "Vise agent og brugernavnet over hver besked i chatvinduet."
842
+
843
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:368
844
+ #: wp-live-chat-support/includes/settings_page.php:348
845
+ msgid "Only show the chat window to users that are logged in"
846
+ msgstr "Vis kun chatvinduet til brugere, der er logget ind"
847
+
848
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:368
849
+ #: wp-live-chat-support/includes/settings_page.php:348
850
+ msgid ""
851
+ "By checking this, only users that are logged in will be able to chat with you."
852
+ msgstr ""
853
+ "Ved at markere dette, vil kun brugere, der er logget ind kan chatte med dig."
854
+
855
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:387
856
+ #: wp-live-chat-support/includes/settings_page.php:404
857
+ msgid "Do not allow users to send offline messages"
858
+ msgstr "Må ikke muligt for brugerne at sende offline beskeder"
859
+
860
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:387
861
+ #: wp-live-chat-support/includes/settings_page.php:404
862
+ msgid ""
863
+ "The chat window will be hidden when it is offline. Users will not be able to "
864
+ "send offline messages to you"
865
+ msgstr ""
866
+ "Chatten vindue vil være skjult, når den er offline. Brugerne vil ikke være i "
867
+ "stand til at sende offline beskeder til dig"
868
+
869
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:399
870
+ #: wp-live-chat-support/includes/settings_page.php:416
871
+ msgid "Email Address"
872
+ msgstr "E-mail adresse"
873
+
874
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:399
875
+ #: wp-live-chat-support/includes/settings_page.php:416
876
+ msgid ""
877
+ "Email address where offline messages are delivered to. Use comma separated "
878
+ "email addresses to send to more than one email address"
879
+ msgstr ""
880
+ "E-mail-adresse, hvor offline meddelelser leveres til. Brug kommasepareret e-"
881
+ "mail adresser til at sende til mere end én e-mail-adresse"
882
+
883
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:412
884
+ #: wp-live-chat-support/includes/settings_page.php:428
885
+ msgid "Sending Method"
886
+ msgstr "Sender Metode"
887
+
888
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:413
889
+ #: wp-live-chat-support/includes/settings_page.php:429
890
+ msgid "WP Mail"
891
+ msgstr "WP Mail"
892
+
893
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:414
894
+ #: wp-live-chat-support/includes/settings_page.php:430
895
+ msgid "PHP Mailer"
896
+ msgstr "PHP Mailer"
897
+
898
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:430
899
+ #: wp-live-chat-support/includes/settings_page.php:446
900
+ msgid "Host"
901
+ msgstr "Værtsorganisme"
902
+
903
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:438
904
+ #: wp-live-chat-support/includes/settings_page.php:454
905
+ msgid "Port"
906
+ msgstr "Port"
907
+
908
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:446
909
+ #: wp-live-chat-support/includes/settings_page.php:462
910
+ msgid "Username"
911
+ msgstr "Brugernavn"
912
+
913
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:454
914
+ #: wp-live-chat-support/includes/settings_page.php:470
915
+ msgid "Password"
916
+ msgstr "Adgangskode"
917
+
918
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:463
919
+ #: wp-live-chat-support/includes/settings_page.php:479
920
+ msgid "Offline Chat Box Title"
921
+ msgstr "Offline Chat Box Titel"
922
+
923
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:471
924
+ #: wp-live-chat-support/includes/settings_page.php:487
925
+ msgid "Offline Text Fields"
926
+ msgstr "Offline Tekst Felter"
927
+
928
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:504
929
+ #: wp-live-chat-support/includes/settings_page.php:546
930
+ msgid "Choose a theme"
931
+ msgstr "Vælg et tema"
932
+
933
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:509
934
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:512
935
+ msgid "Theme 1"
936
+ msgstr "Tema 1"
937
+
938
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:515
939
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:518
940
+ msgid "Theme 2"
941
+ msgstr "Tema 2"
942
+
943
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:521
944
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:524
945
+ msgid "Theme 3"
946
+ msgstr "Tema 3"
947
+
948
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:527
949
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:530
950
+ msgid "Theme 4"
951
+ msgstr "Tema (4)"
952
+
953
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:533
954
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:536
955
+ msgid "Theme 5"
956
+ msgstr "Tema 5"
957
+
958
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:539
959
+ msgid "Theme 6"
960
+ msgstr "Tema 6"
961
+
962
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:542
963
+ msgid "Custom. Enter Colour Values Below"
964
+ msgstr "Skik. Indtast Farve Værdier under"
965
+
966
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:568
967
+ msgid "Chat box fill color"
968
+ msgstr "Chatfeltet fyldfarve"
969
+
970
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:574
971
+ msgid "Chat box font color"
972
+ msgstr "Chatfeltet font farve"
973
+
974
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:581
975
+ #: wp-live-chat-support/includes/settings_page.php:677
976
+ msgid "I'm using a localization plugin"
977
+ msgstr "Jeg bruger en lokalisering plugin"
978
+
979
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:584
980
+ msgid "documentation"
981
+ msgstr "dokumentation"
982
+
983
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:589
984
+ msgid ""
985
+ "You will only be able to edit the strings shown in the chat window of the "
986
+ "code now. <br/> This has been done to accommodate as many localization "
987
+ "plugins as possible. <br/> For more information on how to change these "
988
+ "strings, please consult the "
989
+ msgstr ""
990
+ "Du vil kun være i stand til at redigere strengene er vist i chatvinduet af "
991
+ "koden nu. <br/> Dette er blevet gjort for at rumme så mange lokalisering "
992
+ "plugins som muligt. <br/> For mere information om, hvordan du ændrer disse "
993
+ "strenge, henvises til"
994
+
995
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:594
996
+ #: wp-live-chat-support/includes/settings_page.php:685
997
+ msgid "First Section Text"
998
+ msgstr "Første afsnit Tekst"
999
+
1000
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:601
1001
+ #: wp-live-chat-support/includes/settings_page.php:692
1002
+ msgid "Intro Text"
1003
+ msgstr "Intro tekst"
1004
+
1005
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:607
1006
+ #: wp-live-chat-support/includes/settings_page.php:698
1007
+ msgid "Second Section Text"
1008
+ msgstr "forstærkningstog"
1009
+
1010
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:614
1011
+ #: wp-live-chat-support/includes/settings_page.php:705
1012
+ msgid "Reactivate Chat Section Text"
1013
+ msgstr "Genaktiver Chat Sektion tekst"
1014
+
1015
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:622
1016
+ #: wp-live-chat-support/includes/settings_page.php:713
1017
+ msgid "User chat welcome"
1018
+ msgstr "Bruger chat velkommen"
1019
+
1020
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:628
1021
+ #: wp-live-chat-support/includes/settings_page.php:719
1022
+ msgid "Other text"
1023
+ msgstr "Andre tekst"
1024
+
1025
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:630
1026
+ #: wp-live-chat-support/includes/settings_page.php:721
1027
+ msgid "This text is shown above the user chat input field"
1028
+ msgstr "Denne tekst vises over feltet brugeren chat input"
1029
+
1030
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:662
1031
+ msgid ""
1032
+ "You are using an outdated version of WP Live Chat Support Basic. Please "
1033
+ "update your plugin to allow for animations to function"
1034
+ msgstr ""
1035
+ "Du bruger en forældet version af WP live chat support Basic. Opdater dit "
1036
+ "plugin for at give mulighed for animationer til at fungere"
1037
+
1038
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:666
1039
+ #: wp-live-chat-support/includes/settings_page.php:749
1040
+ msgid "Choose an animation"
1041
+ msgstr "Vælg en animation"
1042
+
1043
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:674
1044
+ #: wp-live-chat-support/includes/settings_page.php:757
1045
+ msgid "Slide Up"
1046
+ msgstr "Glid op"
1047
+
1048
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:680
1049
+ #: wp-live-chat-support/includes/settings_page.php:763
1050
+ msgid "Slide From The Side"
1051
+ msgstr "Slide fra siden"
1052
+
1053
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:686
1054
+ #: wp-live-chat-support/includes/settings_page.php:769
1055
+ msgid "Fade In"
1056
+ msgstr "optone"
1057
+
1058
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:692
1059
+ #: wp-live-chat-support/includes/settings_page.php:775
1060
+ msgid "No Animation"
1061
+ msgstr "Ingen Animation"
1062
+
1063
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:750
1064
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3462
1065
+ #: wp-live-chat-support/wp-live-chat-support.php:3739
1066
+ msgid "Current Users that are Chat Agents"
1067
+ msgstr "Nuværende brugere, der er chat Agenter"
1068
+
1069
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:761
1070
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3473
1071
+ #: wp-live-chat-support/wp-live-chat-support.php:3749
1072
+ msgid "Online"
1073
+ msgstr "Online"
1074
+
1075
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:771
1076
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3331
1077
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3483
1078
+ #: wp-live-chat-support/wp-live-chat-support.php:2123
1079
+ msgid "Remove"
1080
+ msgstr "Fjern"
1081
+
1082
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:780
1083
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3492
1084
+ #: wp-live-chat-support/wp-live-chat-support.php:3799
1085
+ msgid "Add New Agent"
1086
+ msgstr "Tilføj ny agent"
1087
+
1088
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:782
1089
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:798
1090
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3494
1091
+ #: wp-live-chat-support/wp-live-chat-support.php:2559
1092
+ #: wp-live-chat-support/wp-live-chat-support.php:3764
1093
+ msgid "Select"
1094
+ msgstr "Vælg"
1095
+
1096
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:804
1097
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3516
1098
+ #: wp-live-chat-support/wp-live-chat-support.php:3800
1099
+ msgid "Add Agent"
1100
+ msgstr "Tilføj agent"
1101
+
1102
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:810
1103
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3522
1104
+ msgid ""
1105
+ "Should you wish to add a user that has a role less than 'Author', please go "
1106
+ "to the <a href='./users.php'>Users</a> page, select the relevant user, click "
1107
+ "Edit and scroll to the bottom of the page and enable the 'Chat Agent' "
1108
+ "checkbox."
1109
+ msgstr ""
1110
+ "Hvis du ønsker at tilføje en bruger, der har en rolle mindre end 'Author', "
1111
+ "skal du gå til <a href='./users.php'>Brugere</a> skal du vælge den relevante "
1112
+ "bruger, skal du klikke på Rediger og rulle til bunden af siden, og gøre det "
1113
+ "muligt for \"Chat Agent\" afkrydsningsfeltet."
1114
+
1115
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:811
1116
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3523
1117
+ msgid "If there are no chat agents online, the chat will show as offline"
1118
+ msgstr "Hvis der ikke er chat agenter online, vil chatten vises som offline"
1119
+
1120
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:815
1121
+ #: wp-live-chat-support/includes/settings_page.php:802
1122
+ msgid "Blocked Visitors - Based on IP Address"
1123
+ msgstr "Blokerede Besøgende - Baseret på IP-adresse"
1124
+
1125
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:816
1126
+ #: wp-live-chat-support/includes/settings_page.php:803
1127
+ msgid "Enter each IP Address you would like to block on a new line"
1128
+ msgstr "Indtast hver IP-adresse, du ønsker at blokere på en ny linje"
1129
+
1130
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:827
1131
+ #: wp-live-chat-support/includes/settings_page.php:814
1132
+ msgid ""
1133
+ "Blocking a user's IP Address here will hide the chat window from them, "
1134
+ "preventing them from chatting with you. Each IP Address must be on a new line"
1135
+ msgstr ""
1136
+ "Blokering en brugers IP-adresse her, vil skjule chatvinduet fra dem, "
1137
+ "forhindrer dem i at chatte med dig. Hver IP-adresse skal være på en ny linje"
1138
+
1139
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:836
1140
+ msgid ""
1141
+ "are only available in the WP Live Chat Support Chat Experience Ratings add-on"
1142
+ msgstr ""
1143
+ "er kun tilgængelige i WP live chat support Chat Experience Ratings tilføjelse"
1144
+
1145
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:840
1146
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1821
1147
+ msgid "Chat Encryption"
1148
+ msgstr "Chat Kryptering"
1149
+
1150
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:843
1151
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1824
1152
+ msgid "Enable Encryption"
1153
+ msgstr "Aktiver kryptering"
1154
+
1155
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:843
1156
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1824
1157
+ msgid ""
1158
+ "All messages will be encrypted when being sent to and from the user and agent."
1159
+ msgstr ""
1160
+ "Alle meddelelser skal sendes krypteret, når de sendes til og fra brugeren og "
1161
+ "agent."
1162
+
1163
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:851
1164
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1834
1165
+ msgid ""
1166
+ "Once enabled, all messages sent will be encrypted. This cannot be undone."
1167
+ msgstr ""
1168
+ "Når aktiveret, vil alle beskeder sendt krypteres. Dette kan ikke fortrydes."
1169
+
1170
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:857
1171
+ #: wp-live-chat-support/includes/settings_page.php:822
1172
+ msgid "Save Settings"
1173
+ msgstr "Gem opsætning"
1174
+
1175
+ #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:5
1176
+ #: wp-live-chat-support-pro/includes/wplc_roi.php:83
1177
+ msgid "Add New"
1178
+ msgstr ""
1179
+
1180
+ #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:8
1181
+ #: wp-live-chat-support/wp-live-chat-support.php:4418
1182
+ #: wp-live-chat-support/wp-live-chat-support.php:4448
1183
+ msgid "WP Live Chat Support Triggers"
1184
+ msgstr ""
1185
+
1186
+ #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:16
1187
+ #: wp-live-chat-support-pro/includes/wplc_roi.php:110
1188
+ #: wp-live-chat-support/wp-live-chat-support.php:4402
1189
+ #: wp-live-chat-support/wp-live-chat-support.php:4464
1190
+ msgid "Update now"
1191
+ msgstr ""
1192
+
1193
+ #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:68
1194
+ msgid "Trigger Name"
1195
+ msgstr ""
1196
+
1197
+ #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:73
1198
+ msgid "Trigger Type"
1199
+ msgstr ""
1200
+
1201
+ #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:77
1202
+ #: wp-live-chat-support/wp-live-chat-support.php:4454
1203
+ msgid "Page Trigger"
1204
+ msgstr ""
1205
+
1206
+ #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:78
1207
+ #: wp-live-chat-support/wp-live-chat-support.php:4455
1208
+ msgid "Time Trigger"
1209
+ msgstr ""
1210
+
1211
+ #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:79
1212
+ #: wp-live-chat-support/wp-live-chat-support.php:4456
1213
+ msgid "Scroll Trigger"
1214
+ msgstr ""
1215
+
1216
+ #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:80
1217
+ #: wp-live-chat-support/wp-live-chat-support.php:4457
1218
+ msgid "Page Leave Trigger"
1219
+ msgstr ""
1220
+
1221
+ #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:81
1222
+ msgid ""
1223
+ "Note: When using page trigger with a the basic theme, no hovercard is shown "
1224
+ "by default. We suggest using the time trigger for this instead."
1225
+ msgstr ""
1226
+
1227
+ #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:87
1228
+ msgid "Page ID"
1229
+ msgstr ""
1230
+
1231
+ #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:88
1232
+ msgid "Note: Leave empty for 'all' pages"
1233
+ msgstr ""
1234
+
1235
+ #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:92
1236
+ msgid "Show After"
1237
+ msgstr ""
1238
+
1239
+ #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:93
1240
+ msgid "Seconds"
1241
+ msgstr ""
1242
+
1243
+ #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:97
1244
+ msgid "Show After Scrolled"
1245
+ msgstr ""
1246
+
1247
+ #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:98
1248
+ msgid "(%) Percent of page height"
1249
+ msgstr ""
1250
+
1251
+ #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:102
1252
+ msgid "Content Replacement"
1253
+ msgstr ""
1254
+
1255
+ #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:114
1256
+ msgid "Replace Content"
1257
+ msgstr ""
1258
+
1259
+ #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:119
1260
+ msgid "Enable Trigger"
1261
+ msgstr ""
1262
+
1263
+ #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:125
1264
+ #: wp-live-chat-support-pro/includes/wplc_roi.php:237
1265
+ msgid "Close"
1266
+ msgstr ""
1267
+
1268
+ #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:134
1269
+ #: wp-live-chat-support-pro/includes/wplc_roi.php:246
1270
+ msgid "Please review your submission"
1271
+ msgstr ""
1272
+
1273
+ #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:275
1274
+ msgid "Trigger has been edited."
1275
+ msgstr ""
1276
+
1277
+ #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:428
1278
+ msgid "Conflict with page"
1279
+ msgstr ""
1280
+
1281
+ #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:430
1282
+ msgid "Trigger ID: "
1283
+ msgstr ""
1284
+
1285
+ #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:440
1286
+ #: wp-live-chat-support-pro/includes/wplc_roi.php:127
1287
+ #: wp-live-chat-support/functions.php:1853
1288
+ msgid "ID"
1289
+ msgstr ""
1290
+
1291
+ #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:442
1292
+ #: wp-live-chat-support/wp-live-chat-support.php:2321
1293
+ msgid "Type"
1294
+ msgstr "Type"
1295
+
1296
+ #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:443
1297
+ #: wp-live-chat-support-pro/includes/wplc_roi.php:130
1298
+ msgid "Page"
1299
+ msgstr ""
1300
+
1301
+ #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:444
1302
+ msgid "Content"
1303
+ msgstr ""
1304
+
1305
+ #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:445
1306
+ #: wp-live-chat-support/wp-live-chat-support.php:2324
1307
+ #: wp-live-chat-support/wp-live-chat-support.php:3075
1308
+ msgid "Status"
1309
+ msgstr "Status"
1310
+
1311
+ #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:446
1312
+ #: wp-live-chat-support-pro/includes/wplc_roi.php:132
1313
+ #: wp-live-chat-support/functions.php:1623
1314
+ #: wp-live-chat-support/wp-live-chat-support.php:2325
1315
+ #: wp-live-chat-support/wp-live-chat-support.php:3076
1316
+ msgid "Action"
1317
+ msgstr "Handling"
1318
+
1319
+ #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:453
1320
+ #: wp-live-chat-support-pro/includes/wplc_roi.php:139
1321
+ msgid "Edit"
1322
+ msgstr ""
1323
+
1324
+ #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:454
1325
+ #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:585
1326
+ #: wp-live-chat-support-pro/includes/wplc_roi.php:140
1327
+ #: wp-live-chat-support-pro/includes/wplc_roi.php:545
1328
+ msgid "Delete"
1329
+ msgstr ""
1330
+
1331
+ #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:462
1332
+ #: wp-live-chat-support-pro/includes/wplc_roi.php:656
1333
+ #: wp-live-chat-support/wp-live-chat-support.php:3553
1334
+ msgid "All"
1335
+ msgstr "Alle"
1336
+
1337
+ #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:466
1338
+ msgid "Click to change trigger status"
1339
+ msgstr ""
1340
+
1341
+ #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:476
1342
+ msgid "No Triggers Found..."
1343
+ msgstr ""
1344
+
1345
+ #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:580
1346
+ msgid "Are you sure you would like to delete trigger"
1347
+ msgstr ""
1348
+
1349
+ #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:586
1350
+ #: wp-live-chat-support-pro/includes/wplc_roi.php:546
1351
+ msgid "Cancel"
1352
+ msgstr ""
1353
+
1354
+ #: wp-live-chat-support-pro/includes/wplc_roi.php:72
1355
+ msgid "ROI Goals"
1356
+ msgstr ""
1357
+
1358
+ #: wp-live-chat-support-pro/includes/wplc_roi.php:86
1359
+ msgid "WP Live Chat Support ROI Goals"
1360
+ msgstr ""
1361
+
1362
+ #: wp-live-chat-support-pro/includes/wplc_roi.php:129
1363
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3873
1364
+ msgid "Overview"
1365
+ msgstr ""
1366
+
1367
+ #: wp-live-chat-support-pro/includes/wplc_roi.php:131
1368
+ #: wp-live-chat-support/modules/api/wplc-api.php:76
1369
+ msgid "Value"
1370
+ msgstr ""
1371
+
1372
+ #: wp-live-chat-support-pro/includes/wplc_roi.php:146
1373
+ msgid "None"
1374
+ msgstr ""
1375
+
1376
+ #: wp-live-chat-support-pro/includes/wplc_roi.php:153
1377
+ msgid "No ROI Goals Found..."
1378
+ msgstr ""
1379
+
1380
+ #: wp-live-chat-support-pro/includes/wplc_roi.php:212
1381
+ msgid "Goal Name"
1382
+ msgstr ""
1383
+
1384
+ #: wp-live-chat-support-pro/includes/wplc_roi.php:217
1385
+ msgid "Goal Overview"
1386
+ msgstr ""
1387
+
1388
+ #: wp-live-chat-support-pro/includes/wplc_roi.php:222
1389
+ msgid "Goal Page"
1390
+ msgstr ""
1391
+
1392
+ #: wp-live-chat-support-pro/includes/wplc_roi.php:231
1393
+ msgid "Goal Value"
1394
+ msgstr ""
1395
+
1396
+ #: wp-live-chat-support-pro/includes/wplc_roi.php:377
1397
+ msgid "Goal has been edited."
1398
+ msgstr ""
1399
+
1400
+ #: wp-live-chat-support-pro/includes/wplc_roi.php:540
1401
+ msgid "Are you sure you would like