WP Live Chat Support - Version 4.1.7

Version Description

2014-10-06 - Low priority = * Bug fix: sound was not played when user received a live chat message from the admin * Internationalization update * New WP Live Chat Support Translation added: * * Swedish (Thank You Tobias Sernhede)

Download this release

Release Info

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

Code changes from version 4.1.6 to 4.1.7

ajax.php CHANGED
@@ -1,324 +1,324 @@
1
- <?php
2
- @session_start();
3
- @ob_start();
4
- header('Access-Control-Allow-Origin: *');
5
- header('Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS');
6
- header('Access-Control-Max-Age: 604800');
7
- header('Access-Control-Allow-Headers: x-requested-with');
8
-
9
- ini_set('html_errors', 0);
10
- define('SHORTINIT', true);
11
-
12
-
13
- require_once( '../../../wp-load.php' );
14
-
15
-
16
- define( 'WP_PLUGIN_DIR', WP_CONTENT_DIR . '/plugins' ); // full path, no trailing slash
17
-
18
- $iterations = 55;
19
- /* time in microseconds between updating the user on the page within the DB (lower number = higher resource usage) */
20
- define('WPLC_DELAY_BETWEEN_UPDATES',500000);
21
- /* time in microseconds between long poll loop (lower number = higher resource usage) */
22
- define('WPLC_DELAY_BETWEEN_LOOPS',500000);
23
- /* this needs to take into account the previous constants so that we dont run out of time, which in turn returns a 503 error */
24
- define('WPLC_TIMEOUT',(((WPLC_DELAY_BETWEEN_UPDATES + WPLC_DELAY_BETWEEN_LOOPS))*$iterations)/1000000);
25
-
26
-
27
-
28
- require_once( ABSPATH . WPINC . '/l10n.php' );
29
-
30
- require_once( ABSPATH . WPINC . '/link-template.php' );
31
-
32
- require_once( ABSPATH . WPINC . '/formatting.php' );
33
-
34
- require_once( ABSPATH . WPINC . '/kses.php' );
35
-
36
-
37
-
38
- $plugin_dir = basename(dirname(__FILE__))."/languages/";
39
- load_plugin_textdomain( 'wplivechat', false, $plugin_dir );
40
-
41
-
42
-
43
-
44
- global $wpdb;
45
-
46
- global $wplc_tblname_chats;
47
-
48
- global $wplc_tblname_msgs;
49
-
50
- $wplc_tblname_chats = $wpdb->prefix . "wplc_chat_sessions";
51
-
52
- $wplc_tblname_msgs = $wpdb->prefix . "wplc_chat_msgs";
53
-
54
-
55
-
56
- require_once("functions.php");
57
-
58
-
59
-
60
-
61
- // stuff goes here
62
-
63
-
64
- /* 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 */
65
- session_write_close();
66
-
67
- $check = 1;
68
-
69
- if ($check == 1) {
70
-
71
- if($_POST['action'] == 'wplc_admin_long_poll'){
72
- if (defined('WPLC_TIMEOUT')) { @set_time_limit(WPLC_TIMEOUT); } else { @set_time_limit(120); }
73
- //sleep(6);
74
- $i = 1;
75
- while($i <= $iterations){
76
-
77
- // update chats if they have timed out every 10 seconds
78
- if($i %10 == 0) {
79
- wplc_update_chat_statuses();
80
- }
81
-
82
-
83
-
84
-
85
-
86
- if($_POST['wplc_update_admin_chat_table'] == 'false'){
87
- $old_chat_data = false;
88
- } else {
89
- $old_chat_data = $_POST['wplc_update_admin_chat_table'];
90
- }
91
-
92
- $pending = wplc_check_pending_chats();
93
- $new_chat_data = wplc_list_chats();
94
-
95
- if(stripslashes($new_chat_data) !== stripslashes($old_chat_data)){
96
- $array['old_chat_data'] = $old_chat_data;
97
- $array['wplc_update_admin_chat_table'] = $new_chat_data;
98
- $array['pending'] = $pending;
99
- $array['action'] = "wplc_update_admin_chat";
100
-
101
- }
102
-
103
- if(isset($array)){
104
- echo json_encode($array);
105
- break;
106
- }
107
- @ob_end_flush();
108
- if (defined('WPLC_DELAY_BETWEEN_LOOPS')) { usleep(WPLC_DELAY_BETWEEN_LOOPS); } else { usleep(500000); }
109
- $i++;
110
- }
111
- }
112
- if($_POST['action'] == "wplc_admin_long_poll_chat"){
113
- if (defined('WPLC_TIMEOUT')) { @set_time_limit(WPLC_TIMEOUT); } else { @set_time_limit(120); }
114
- $i = 1;
115
- $array = array();
116
- while($i <= $iterations){
117
- if(isset($_POST['action_2']) && $_POST['action_2'] == "wplc_long_poll_check_user_opened_chat"){
118
- $chat_status = wplc_return_chat_status($_POST['cid']);
119
- if($chat_status == 3){
120
- $array['action'] = "wplc_user_open_chat";
121
- }
122
- } else {
123
- $new_chat_status = wplc_return_chat_status($_POST['cid']);
124
- if($new_chat_status != $_POST['chat_status']){
125
- $array['chat_status'] = $new_chat_status;
126
- $array['action'] = "wplc_update_chat_status";
127
- }
128
- $new_chat_message = wplc_return_admin_chat_messages($_POST['cid']);
129
- if($new_chat_message){
130
-
131
- $array['chat_message'] = $new_chat_message;
132
- $array['action'] = "wplc_new_chat_message";
133
- }
134
- }
135
- if($array){
136
- echo json_encode($array);
137
- break;
138
- }
139
- @ob_end_flush();
140
- if (defined('WPLC_DELAY_BETWEEN_LOOPS')) { usleep(WPLC_DELAY_BETWEEN_LOOPS); } else { usleep(500000); }
141
- $i++;
142
- }
143
- }
144
- if ($_POST['action'] == "wplc_admin_accept_chat") {
145
- wplc_admin_accept_chat(sanitize_text_field($_POST['cid']));
146
- }
147
- if ($_POST['action'] == "wplc_admin_close_chat") {
148
- $chat_id = sanitize_text_field($_POST['cid']);
149
- wplc_change_chat_status($chat_id,1);
150
- echo 'done';
151
- }
152
- if ($_POST['action'] == "wplc_admin_send_msg") {
153
- $chat_id = sanitize_text_field($_POST['cid']);
154
- $chat_msg = sanitize_text_field($_POST['msg']);
155
- $wplc_rec_msg = wplc_record_chat_msg("2",$chat_id,$chat_msg);
156
- if ($wplc_rec_msg) {
157
- echo 'sent';
158
- } else {
159
- echo "There was an error sending your chat message. Please contact support";
160
- }
161
- }
162
-
163
-
164
-
165
-
166
- //User Ajax
167
-
168
- if($_POST['action'] == 'wplc_call_to_server_visitor'){
169
- if (defined('WPLC_TIMEOUT')) { @set_time_limit(WPLC_TIMEOUT); } else { @set_time_limit(120); }
170
- $i = 1;
171
- $array = array("check" => false);
172
-
173
- while($i <= $iterations){
174
-
175
- if($_POST['cid'] == null || $_POST['cid'] == "" || $_POST['cid'] == "null"){
176
- $user = "user".time();
177
- $email = "no email set";
178
- $cid = wplc_log_user_on_page($user,$email,$_POST['wplcsession']);
179
- $array['cid'] = $cid;
180
- $array['status'] = wplc_return_chat_status($cid);
181
- $array['wplc_name'] = $user;
182
- $array['wplc_email'] = $email;
183
- $array['check'] = true;
184
-
185
- } else {
186
- $new_status = wplc_return_chat_status($_POST['cid']);
187
- $array['wplc_name'] = $_POST['wplc_name'];
188
- $array['wplc_email'] = $_POST['wplc_email'];
189
- $array['cid'] = $_POST['cid'];
190
- if($new_status == $_POST['status']){ // if status matches do the following
191
- if($_POST['status'] != 2){
192
- /* check if session_variable is different? if yes then stop this script completely. */
193
- if (isset($_POST['wplcsession']) && $_POST['wplcsession'] != '' && $i > 1) {
194
- $wplc_session_variable = $_POST['wplcsession'];
195
- $current_session_variable = wplc_return_chat_session_variable($_POST['cid']);
196
- if ($current_session_variable != "" && $current_session_variable != $wplc_session_variable) {
197
- /* stop this script */
198
- $array['status'] = 11;
199
- echo json_encode($array);
200
- die();
201
- }
202
- }
203
-
204
-
205
- if ($i == 1) {
206
- wplc_update_user_on_page(sanitize_text_field($_POST['cid']), sanitize_text_field($_POST['status']),$_POST['wplcsession']);
207
- }
208
- }
209
- if ($_POST['status'] == 0){ // browsing - user tried to chat but admin didn't answer so turn back to browsing
210
- wplc_update_user_on_page($_POST['cid'], 5,$_POST['wplcsession']);
211
- $array['status'] = 5;
212
- $array['check'] = true;
213
- } else if($_POST['status'] == 3){
214
- //wplc_update_user_on_page($_POST['cid'], 3);
215
- $messages = wplc_return_user_chat_messages($_POST['cid']);
216
- if ($messages){
217
- wplc_mark_as_read_user_chat_messages($_POST['cid']);
218
- $array['status'] = 3;
219
- $array['data'] = $messages;
220
- $array['check'] = true;
221
- }
222
- }
223
-
224
- } else { // statuses do not match
225
- $array['status'] = $new_status;
226
- if($new_status == 1){ // completed
227
- wplc_update_user_on_page($_POST['cid'], 8,$_POST['wplcsession']);
228
- $array['check'] = true;
229
- $array['status'] = 8;
230
- $array['data'] = __("Admin has closed and ended the chat","wplivechat");
231
- }
232
- else if($new_status == 2){ // pending
233
- $array['check'] = true;
234
- $array['wplc_name'] = wplc_return_chat_name($_POST['cid']);
235
- $array['wplc_email'] = wplc_return_chat_email($_POST['cid']);
236
- }
237
- else if($new_status == 3){ // active
238
- $array['data'] = null;
239
- $array['check'] = true;
240
- if($_POST['status'] == 5){
241
- $messages = wplc_return_chat_messages($_POST['cid']);
242
- if ($messages){
243
- $array['data'] = $messages;
244
- }
245
- }
246
- }
247
- else if($new_status == 7){ // timed out
248
- wplc_update_user_on_page($_POST['cid'], 5,$_POST['wplcsession']);
249
- }
250
- else if($new_status == 9){ // user closed chat without inputting or starting a chat
251
- $array['check'] = true;
252
- }
253
- else if($new_status == 0){ // no answer from admin
254
- $array['data'] = __('There is No Answer. Please Try Again Later', 'wplivechat');
255
- $array['check'] = true;
256
- }
257
- else if($new_status == 10){ // minimized active chat
258
- $array['check'] = true;
259
- if($_POST['status'] == 5){
260
- $messages = wplc_return_chat_messages($_POST['cid']);
261
- if ($messages){
262
- $array['data'] = $messages;
263
- }
264
- }
265
- }
266
- }
267
-
268
- }
269
- if($array['check'] == true){
270
- echo json_encode($array);
271
- break;
272
- }
273
- $i++;
274
- @ob_end_flush();
275
- if (defined('WPLC_DELAY_BETWEEN_LOOPS')) { usleep(WPLC_DELAY_BETWEEN_LOOPS); } else { usleep(500000); }
276
- }
277
- }
278
-
279
- /* */
280
- if ($_POST['action'] == "wplc_user_close_chat") {
281
- if($_POST['status'] == 5){
282
- wplc_change_chat_status($_POST['cid'],9);
283
- } else if($_POST['status'] == 3){
284
- wplc_change_chat_status($_POST['cid'],8);
285
- }
286
- }
287
-
288
- if ($_POST['action'] == "wplc_user_minimize_chat") {
289
- $chat_id = $_POST['cid'];
290
- wplc_change_chat_status(sanitize_text_field($_POST['cid']),10);
291
- }
292
- if ($_POST['action'] == "wplc_user_maximize_chat") {
293
- $chat_id = $_POST['cid'];
294
- wplc_change_chat_status(sanitize_text_field($_POST['cid']),3);
295
- }
296
-
297
- if ($_POST['action'] == "wplc_user_send_msg") {
298
- $chat_id = sanitize_text_field($_POST['cid']);
299
- $chat_msg = sanitize_text_field($_POST['msg']);
300
- $wplc_rec_msg = wplc_record_chat_msg("1",$chat_id,$chat_msg);
301
- if ($wplc_rec_msg) {
302
- echo 'sent';
303
- } else {
304
- echo "There was an error sending your chat message. Please contact support";
305
- }
306
- }
307
- if ($_POST['action'] == "wplc_start_chat") {
308
- if (isset($_POST['cid'])) {
309
- if ($_POST['name'] && $_POST['email']) {
310
- echo wplc_user_initiate_chat(sanitize_text_field($_POST['name']),sanitize_email($_POST['email']),sanitize_text_field($_POST['cid']),$_POST['wplcsession']); // echo the chat session id
311
- } else {
312
- echo "error2";
313
- }
314
- } else {
315
- if ($_POST['name'] && $_POST['email']) {
316
- echo wplc_user_initiate_chat(sanitize_text_field($_POST['name']),sanitize_email($_POST['email']),null,$_POST['wplcsession']); // echo the chat session id
317
- } else {
318
- echo "error2";
319
- }
320
- }
321
- }
322
- }
323
-
324
  die();
1
+ <?php
2
+ @session_start();
3
+ @ob_start();
4
+ header('Access-Control-Allow-Origin: *');
5
+ header('Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS');
6
+ header('Access-Control-Max-Age: 604800');
7
+ header('Access-Control-Allow-Headers: x-requested-with');
8
+
9
+ ini_set('html_errors', 0);
10
+ define('SHORTINIT', true);
11
+
12
+
13
+ require_once( '../../../wp-load.php' );
14
+
15
+
16
+ define( 'WP_PLUGIN_DIR', WP_CONTENT_DIR . '/plugins' ); // full path, no trailing slash
17
+
18
+ $iterations = 55;
19
+ /* time in microseconds between updating the user on the page within the DB (lower number = higher resource usage) */
20
+ define('WPLC_DELAY_BETWEEN_UPDATES',500000);
21
+ /* time in microseconds between long poll loop (lower number = higher resource usage) */
22
+ define('WPLC_DELAY_BETWEEN_LOOPS',500000);
23
+ /* this needs to take into account the previous constants so that we dont run out of time, which in turn returns a 503 error */
24
+ define('WPLC_TIMEOUT',(((WPLC_DELAY_BETWEEN_UPDATES + WPLC_DELAY_BETWEEN_LOOPS))*$iterations)/1000000);
25
+
26
+
27
+
28
+ require_once( ABSPATH . WPINC . '/l10n.php' );
29
+
30
+ require_once( ABSPATH . WPINC . '/link-template.php' );
31
+
32
+ require_once( ABSPATH . WPINC . '/formatting.php' );
33
+
34
+ require_once( ABSPATH . WPINC . '/kses.php' );
35
+
36
+
37
+
38
+ $plugin_dir = basename(dirname(__FILE__))."/languages/";
39
+ load_plugin_textdomain( 'wplivechat', false, $plugin_dir );
40
+
41
+
42
+
43
+
44
+ global $wpdb;
45
+
46
+ global $wplc_tblname_chats;
47
+
48
+ global $wplc_tblname_msgs;
49
+
50
+ $wplc_tblname_chats = $wpdb->prefix . "wplc_chat_sessions";
51
+
52
+ $wplc_tblname_msgs = $wpdb->prefix . "wplc_chat_msgs";
53
+
54
+
55
+
56
+ require_once("functions.php");
57
+
58
+
59
+
60
+
61
+ // stuff goes here
62
+
63
+
64
+ /* 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 */
65
+ session_write_close();
66
+
67
+ $check = 1;
68
+
69
+ if ($check == 1) {
70
+
71
+ if($_POST['action'] == 'wplc_admin_long_poll'){
72
+ if (defined('WPLC_TIMEOUT')) { @set_time_limit(WPLC_TIMEOUT); } else { @set_time_limit(120); }
73
+ //sleep(6);
74
+ $i = 1;
75
+ while($i <= $iterations){
76
+
77
+ // update chats if they have timed out every 10 seconds
78
+ if($i %10 == 0) {
79
+ wplc_update_chat_statuses();
80
+ }
81
+
82
+
83
+
84
+
85
+
86
+ if($_POST['wplc_update_admin_chat_table'] == 'false'){
87
+ $old_chat_data = false;
88
+ } else {
89
+ $old_chat_data = $_POST['wplc_update_admin_chat_table'];
90
+ }
91
+
92
+ $pending = wplc_check_pending_chats();
93
+ $new_chat_data = wplc_list_chats();
94
+
95
+ if(stripslashes($new_chat_data) !== stripslashes($old_chat_data)){
96
+ $array['old_chat_data'] = $old_chat_data;
97
+ $array['wplc_update_admin_chat_table'] = $new_chat_data;
98
+ $array['pending'] = $pending;
99
+ $array['action'] = "wplc_update_admin_chat";
100
+
101
+ }
102
+
103
+ if(isset($array)){
104
+ echo json_encode($array);
105
+ break;
106
+ }
107
+ @ob_end_flush();
108
+ if (defined('WPLC_DELAY_BETWEEN_LOOPS')) { usleep(WPLC_DELAY_BETWEEN_LOOPS); } else { usleep(500000); }
109
+ $i++;
110
+ }
111
+ }
112
+ if($_POST['action'] == "wplc_admin_long_poll_chat"){
113
+ if (defined('WPLC_TIMEOUT')) { @set_time_limit(WPLC_TIMEOUT); } else { @set_time_limit(120); }
114
+ $i = 1;
115
+ $array = array();
116
+ while($i <= $iterations){
117
+ if(isset($_POST['action_2']) && $_POST['action_2'] == "wplc_long_poll_check_user_opened_chat"){
118
+ $chat_status = wplc_return_chat_status($_POST['cid']);
119
+ if($chat_status == 3){
120
+ $array['action'] = "wplc_user_open_chat";
121
+ }
122
+ } else {
123
+ $new_chat_status = wplc_return_chat_status($_POST['cid']);
124
+ if($new_chat_status != $_POST['chat_status']){
125
+ $array['chat_status'] = $new_chat_status;
126
+ $array['action'] = "wplc_update_chat_status";
127
+ }
128
+ $new_chat_message = wplc_return_admin_chat_messages($_POST['cid']);
129
+ if($new_chat_message){
130
+
131
+ $array['chat_message'] = $new_chat_message;
132
+ $array['action'] = "wplc_new_chat_message";
133
+ }
134
+ }
135
+ if($array){
136
+ echo json_encode($array);
137
+ break;
138
+ }
139
+ @ob_end_flush();
140
+ if (defined('WPLC_DELAY_BETWEEN_LOOPS')) { usleep(WPLC_DELAY_BETWEEN_LOOPS); } else { usleep(500000); }
141
+ $i++;
142
+ }
143
+ }
144
+ if ($_POST['action'] == "wplc_admin_accept_chat") {
145
+ wplc_admin_accept_chat(sanitize_text_field($_POST['cid']));
146
+ }
147
+ if ($_POST['action'] == "wplc_admin_close_chat") {
148
+ $chat_id = sanitize_text_field($_POST['cid']);
149
+ wplc_change_chat_status($chat_id,1);
150
+ echo 'done';
151
+ }
152
+ if ($_POST['action'] == "wplc_admin_send_msg") {
153
+ $chat_id = sanitize_text_field($_POST['cid']);
154
+ $chat_msg = sanitize_text_field($_POST['msg']);
155
+ $wplc_rec_msg = wplc_record_chat_msg("2",$chat_id,$chat_msg);
156
+ if ($wplc_rec_msg) {
157
+ echo 'sent';
158
+ } else {
159
+ echo "There was an error sending your chat message. Please contact support";
160
+ }
161
+ }
162
+
163
+
164
+
165
+
166
+ //User Ajax
167
+
168
+ if($_POST['action'] == 'wplc_call_to_server_visitor'){
169
+ if (defined('WPLC_TIMEOUT')) { @set_time_limit(WPLC_TIMEOUT); } else { @set_time_limit(120); }
170
+ $i = 1;
171
+ $array = array("check" => false);
172
+
173
+ while($i <= $iterations){
174
+
175
+ if($_POST['cid'] == null || $_POST['cid'] == "" || $_POST['cid'] == "null"){
176
+ $user = "user".time();
177
+ $email = "no email set";
178
+ $cid = wplc_log_user_on_page($user,$email,$_POST['wplcsession']);
179
+ $array['cid'] = $cid;
180
+ $array['status'] = wplc_return_chat_status($cid);
181
+ $array['wplc_name'] = $user;
182
+ $array['wplc_email'] = $email;
183
+ $array['check'] = true;
184
+
185
+ } else {
186
+ $new_status = wplc_return_chat_status($_POST['cid']);
187
+ $array['wplc_name'] = $_POST['wplc_name'];
188
+ $array['wplc_email'] = $_POST['wplc_email'];
189
+ $array['cid'] = $_POST['cid'];
190
+ if($new_status == $_POST['status']){ // if status matches do the following
191
+ if($_POST['status'] != 2){
192
+ /* check if session_variable is different? if yes then stop this script completely. */
193
+ if (isset($_POST['wplcsession']) && $_POST['wplcsession'] != '' && $i > 1) {
194
+ $wplc_session_variable = $_POST['wplcsession'];
195
+ $current_session_variable = wplc_return_chat_session_variable($_POST['cid']);
196
+ if ($current_session_variable != "" && $current_session_variable != $wplc_session_variable) {
197
+ /* stop this script */
198
+ $array['status'] = 11;
199
+ echo json_encode($array);
200
+ die();
201
+ }
202
+ }
203
+
204
+
205
+ if ($i == 1) {
206
+ wplc_update_user_on_page(sanitize_text_field($_POST['cid']), sanitize_text_field($_POST['status']),$_POST['wplcsession']);
207
+ }
208
+ }
209
+ if ($_POST['status'] == 0){ // browsing - user tried to chat but admin didn't answer so turn back to browsing
210
+ wplc_update_user_on_page($_POST['cid'], 5,$_POST['wplcsession']);
211
+ $array['status'] = 5;
212
+ $array['check'] = true;
213
+ } else if($_POST['status'] == 3){
214
+ //wplc_update_user_on_page($_POST['cid'], 3);
215
+ $messages = wplc_return_user_chat_messages($_POST['cid']);
216
+ if ($messages){
217
+ wplc_mark_as_read_user_chat_messages($_POST['cid']);
218
+ $array['status'] = 3;
219
+ $array['data'] = $messages;
220
+ $array['check'] = true;
221
+ }
222
+ }
223
+
224
+ } else { // statuses do not match
225
+ $array['status'] = $new_status;
226
+ if($new_status == 1){ // completed
227
+ wplc_update_user_on_page($_POST['cid'], 8,$_POST['wplcsession']);
228
+ $array['check'] = true;
229
+ $array['status'] = 8;
230
+ $array['data'] = __("Admin has closed and ended the chat","wplivechat");
231
+ }
232
+ else if($new_status == 2){ // pending
233
+ $array['check'] = true;
234
+ $array['wplc_name'] = wplc_return_chat_name($_POST['cid']);
235
+ $array['wplc_email'] = wplc_return_chat_email($_POST['cid']);
236
+ }
237
+ else if($new_status == 3){ // active
238
+ $array['data'] = null;
239
+ $array['check'] = true;
240
+ if($_POST['status'] == 5){
241
+ $messages = wplc_return_chat_messages($_POST['cid']);
242
+ if ($messages){
243
+ $array['data'] = $messages;
244
+ }
245
+ }
246
+ }
247
+ else if($new_status == 7){ // timed out
248
+ wplc_update_user_on_page($_POST['cid'], 5,$_POST['wplcsession']);
249
+ }
250
+ else if($new_status == 9){ // user closed chat without inputting or starting a chat
251
+ $array['check'] = true;
252
+ }
253
+ else if($new_status == 0){ // no answer from admin
254
+ $array['data'] = __('There is No Answer. Please Try Again Later', 'wplivechat');
255
+ $array['check'] = true;
256
+ }
257
+ else if($new_status == 10){ // minimized active chat
258
+ $array['check'] = true;
259
+ if($_POST['status'] == 5){
260
+ $messages = wplc_return_chat_messages($_POST['cid']);
261
+ if ($messages){
262
+ $array['data'] = $messages;
263
+ }
264
+ }
265
+ }
266
+ }
267
+
268
+ }
269
+ if($array['check'] == true){
270
+ echo json_encode($array);
271
+ break;
272
+ }
273
+ $i++;
274
+ @ob_end_flush();
275
+ if (defined('WPLC_DELAY_BETWEEN_LOOPS')) { usleep(WPLC_DELAY_BETWEEN_LOOPS); } else { usleep(500000); }
276
+ }
277
+ }
278
+
279
+ /* */
280
+ if ($_POST['action'] == "wplc_user_close_chat") {
281
+ if($_POST['status'] == 5){
282
+ wplc_change_chat_status($_POST['cid'],9);
283
+ } else if($_POST['status'] == 3){
284
+ wplc_change_chat_status($_POST['cid'],8);
285
+ }
286
+ }
287
+
288
+ if ($_POST['action'] == "wplc_user_minimize_chat") {
289
+ $chat_id = $_POST['cid'];
290
+ wplc_change_chat_status(sanitize_text_field($_POST['cid']),10);
291
+ }
292
+ if ($_POST['action'] == "wplc_user_maximize_chat") {
293
+ $chat_id = $_POST['cid'];
294
+ wplc_change_chat_status(sanitize_text_field($_POST['cid']),3);
295
+ }
296
+
297
+ if ($_POST['action'] == "wplc_user_send_msg") {
298
+ $chat_id = sanitize_text_field($_POST['cid']);
299
+ $chat_msg = sanitize_text_field($_POST['msg']);
300
+ $wplc_rec_msg = wplc_record_chat_msg("1",$chat_id,$chat_msg);
301
+ if ($wplc_rec_msg) {
302
+ echo 'sent';
303
+ } else {
304
+ echo "There was an error sending your chat message. Please contact support";
305
+ }
306
+ }
307
+ if ($_POST['action'] == "wplc_start_chat") {
308
+ if (isset($_POST['cid'])) {
309
+ if ($_POST['name'] && $_POST['email']) {
310
+ echo wplc_user_initiate_chat(sanitize_text_field($_POST['name']),sanitize_email($_POST['email']),sanitize_text_field($_POST['cid']),$_POST['wplcsession']); // echo the chat session id
311
+ } else {
312
+ echo "error2";
313
+ }
314
+ } else {
315
+ if ($_POST['name'] && $_POST['email']) {
316
+ echo wplc_user_initiate_chat(sanitize_text_field($_POST['name']),sanitize_email($_POST['email']),null,$_POST['wplcsession']); // echo the chat session id
317
+ } else {
318
+ echo "error2";
319
+ }
320
+ }
321
+ }
322
+ }
323
+
324
  die();
js/wplc_u.js CHANGED
@@ -92,6 +92,7 @@ jQuery(document).ready(function() {
92
  if(response['data']){
93
  var height = jQuery('#wplc_chatbox')[0].scrollHeight;
94
  jQuery('#wplc_chatbox').scrollTop(height);
 
95
  }
96
  }
97
  } else {
@@ -126,10 +127,13 @@ jQuery(document).ready(function() {
126
  if(response['data']){
127
  var height = jQuery('#wplc_chatbox')[0].scrollHeight;
128
  jQuery('#wplc_chatbox').scrollTop(height);
 
129
  }
130
  }
131
  }
132
 
 
 
133
  }
134
  }
135
  },
@@ -183,6 +187,42 @@ jQuery(document).ready(function() {
183
  wplc_init_chat_box = false;
184
  }
185
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
186
 
187
 
188
 
92
  if(response['data']){
93
  var height = jQuery('#wplc_chatbox')[0].scrollHeight;
94
  jQuery('#wplc_chatbox').scrollTop(height);
95
+ new Audio(wplc_plugin_url+'/wp-live-chat-support/ding.mp3').play()
96
  }
97
  }
98
  } else {
127
  if(response['data']){
128
  var height = jQuery('#wplc_chatbox')[0].scrollHeight;
129
  jQuery('#wplc_chatbox').scrollTop(height);
130
+
131
  }
132
  }
133
  }
134
 
135
+
136
+
137
  }
138
  }
139
  },
187
  wplc_init_chat_box = false;
188
  }
189
 
190
+
191
+ function wplc_sound(source,volume,loop)
192
+ {
193
+ this.source=source;
194
+ this.volume=volume;
195
+ this.loop=loop;
196
+ var son;
197
+ this.son=son;
198
+ this.finish=false;
199
+ this.stop=function()
200
+ {
201
+ document.body.removeChild(this.son);
202
+ }
203
+ this.start=function()
204
+ {
205
+ if(this.finish)return false;
206
+ this.son=document.createElement("embed");
207
+ this.son.setAttribute("src",this.source);
208
+ this.son.setAttribute("hidden","true");
209
+ this.son.setAttribute("volume",this.volume);
210
+ this.son.setAttribute("autostart","true");
211
+ this.son.setAttribute("loop",this.loop);
212
+ document.body.appendChild(this.son);
213
+ }
214
+ this.remove=function()
215
+ {
216
+ document.body.removeChild(this.son);
217
+ this.finish=true;
218
+ }
219
+ this.init=function(volume,loop)
220
+ {
221
+ this.finish=false;
222
+ this.volume=volume;
223
+ this.loop=loop;
224
+ }
225
+ }
226
 
227
 
228
 
languages/wplivechat-en_EN.mo CHANGED
Binary file
languages/wplivechat-en_EN.po CHANGED
@@ -1,8 +1,8 @@
1
  msgid ""
2
  msgstr ""
3
- "Project-Id-Version: wplc\n"
4
- "POT-Creation-Date: 2014-06-30 15:16+0200\n"
5
- "PO-Revision-Date: 2014-06-30 15:16+0200\n"
6
  "Last-Translator: \n"
7
  "Language-Team: \n"
8
  "MIME-Version: 1.0\n"
@@ -16,292 +16,338 @@ msgstr ""
16
  "X-Poedit-SearchPath-1: C:\\wamp\\www\\wordpress38\\wp-content\\plugins\\wp-"
17
  "live-chat-support-pro\n"
18
 
19
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/ajax.php:209
20
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/ajax-pro.php:212
21
  msgid "Admin has closed and ended the chat"
22
  msgstr ""
23
 
24
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/ajax.php:233
25
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/ajax-pro.php:245
26
  msgid "There is No Answer. Please Try Again Later"
27
  msgstr ""
28
 
29
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/functions.php:145
30
  #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/functions-pro.php:23
31
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/functions-pro.php:100
32
- msgid "IP"
33
  msgstr ""
34
 
35
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/functions.php:146
36
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/wp-live-chat-support.php:169
37
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:71
38
  #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/functions-pro.php:24
39
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/functions-pro.php:101
40
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/functions-pro.php:171
41
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-chat-support-pro.php:303
42
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-chat-support-pro.php:401
43
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-chat-support-pro.php:419
44
  msgid "Name"
45
  msgstr ""
46
 
47
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/functions.php:147
48
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/wp-live-chat-support.php:171
49
  #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/functions-pro.php:25
50
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/functions-pro.php:102
51
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/functions-pro.php:171
52
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-chat-support-pro.php:304
53
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-chat-support-pro.php:403
54
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-chat-support-pro.php:420
55
  msgid "Email"
56
  msgstr ""
57
 
58
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/functions.php:148
59
  #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/functions-pro.php:26
60
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/functions-pro.php:103
61
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-chat-support-pro.php:305
62
  msgid "URL"
63
  msgstr ""
64
 
65
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/functions.php:149
66
  #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/functions-pro.php:27
67
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/functions-pro.php:104
68
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-chat-support-pro.php:306
69
  msgid "Status"
70
  msgstr ""
71
 
72
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/functions.php:150
73
  #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/functions-pro.php:28
74
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/functions-pro.php:105
75
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-chat-support-pro.php:307
76
  msgid "Action"
77
  msgstr ""
78
 
79
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/functions.php:156
80
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/functions-pro.php:111
81
  msgid "No chat sessions available at the moment"
82
  msgstr ""
83
 
84
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/functions.php:393
 
 
 
 
 
 
 
 
 
 
85
  msgid "complete"
86
  msgstr ""
87
 
88
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/functions.php:396
89
  msgid "pending"
90
  msgstr ""
91
 
92
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/functions.php:399
93
  msgid "active"
94
  msgstr ""
95
 
96
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/functions.php:402
97
  msgid "deleted"
98
  msgstr ""
99
 
100
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/functions.php:405
101
  msgid "browsing"
102
  msgstr ""
103
 
104
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/functions.php:408
105
  msgid "requesting chat"
106
  msgstr ""
107
 
108
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/functions.php:411
109
  msgid "Chat Ended - User still browsing"
110
  msgstr ""
111
 
112
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/functions.php:414
113
  msgid "User is browsing but doesn't want to chat"
114
  msgstr ""
115
 
116
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/functions.php:466
117
  msgid "Get Pro Add-on to accept more chats"
118
  msgstr ""
119
 
120
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/wp-live-chat-support.php:81
121
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/wp-live-chat-support.php:436
122
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-chat-support-pro.php:1198
123
  msgid "Live Chat"
124
  msgstr ""
125
 
126
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/wp-live-chat-support.php:82
127
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-chat-support-pro.php:1199
128
  msgid "Settings"
129
  msgstr ""
130
 
131
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/wp-live-chat-support.php:83
132
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-chat-support-pro.php:1200
 
133
  msgid "History"
134
  msgstr ""
135
 
136
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/wp-live-chat-support.php:84
137
  #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/includes/feedback-page.php:37
138
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-chat-support-pro.php:1201
139
  msgid "Feedback"
140
  msgstr ""
141
 
142
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/wp-live-chat-support.php:159
143
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:208
144
  msgid "Questions?"
145
  msgstr ""
146
 
147
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/wp-live-chat-support.php:159
148
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:209
149
  msgid "Chat with us"
150
  msgstr ""
151
 
152
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/wp-live-chat-support.php:173
153
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:215
154
  msgid "Start Chat"
155
  msgstr ""
156
 
157
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/wp-live-chat-support.php:180
158
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:216
159
  msgid "Connecting you to a sales person. Please be patient."
160
  msgstr ""
161
 
162
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/wp-live-chat-support.php:183
163
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:224
164
  msgid "Reactivating your previous chat..."
165
  msgstr ""
166
 
167
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/wp-live-chat-support.php:187
168
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-chat-support-pro.php:681
169
  msgid "Press ENTER to send your message"
170
  msgstr ""
171
 
172
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/wp-live-chat-support.php:191
173
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/wp-live-chat-support.php:544
174
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-chat-support-pro.php:456
175
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-chat-support-pro.php:684
176
  msgid "Send"
177
  msgstr ""
178
 
179
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/wp-live-chat-support.php:402
180
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-chat-support-pro.php:202
181
  msgid "Dear Pro User"
182
  msgstr ""
183
 
184
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/wp-live-chat-support.php:403
185
- msgid "You are using an outdated version of WP Live Chat Support Pro. Please"
 
 
186
  msgstr ""
187
 
188
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/wp-live-chat-support.php:403
189
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-chat-support-pro.php:213
190
  msgid "update to at least version"
191
  msgstr ""
192
 
193
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/wp-live-chat-support.php:403
194
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-chat-support-pro.php:213
195
  msgid "to ensure all functionality is in working order"
196
  msgstr ""
197
 
198
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/wp-live-chat-support.php:405
199
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-chat-support-pro.php:215
 
 
 
 
 
 
 
 
 
 
 
 
 
 
200
  msgid "If you are having difficulty updating the plugin, please contact"
201
  msgstr ""
202
 
203
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/wp-live-chat-support.php:430
204
  msgid "Experiencing problems with the plugin?"
205
  msgstr ""
206
 
207
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/wp-live-chat-support.php:432
208
  msgid "Review the documentation."
209
  msgstr ""
210
 
211
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/wp-live-chat-support.php:433
212
  msgid "Or ask a question on our"
213
  msgstr ""
214
 
215
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/wp-live-chat-support.php:455
216
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-chat-support-pro.php:562
217
  msgid "Visitors on site"
218
  msgstr ""
219
 
220
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/wp-live-chat-support.php:456
221
  msgid "With the Pro add-on of WP Live Chat Support, you can"
222
  msgstr ""
223
 
224
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/wp-live-chat-support.php:456
225
  msgid "see who's online and initiate chats"
226
  msgstr ""
227
 
228
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/wp-live-chat-support.php:456
229
  msgid "with your online visitors with the click of a button."
230
  msgstr ""
231
 
232
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/wp-live-chat-support.php:456
233
  msgid "Buy the Pro add-on now for only $29.95 once off. Free Updates FOREVER."
234
  msgstr ""
235
 
236
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/wp-live-chat-support.php:456
237
  msgid "Buy the Pro add-on now for only $29.95 once off. Free Updates Forever."
238
  msgstr ""
239
 
240
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/wp-live-chat-support.php:516
241
  msgid "Previous"
242
  msgstr ""
243
 
244
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/wp-live-chat-support.php:516
245
  msgid "Active"
246
  msgstr ""
247
 
248
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/wp-live-chat-support.php:534
249
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-chat-support-pro.php:672
250
  msgid "End chat"
251
  msgstr ""
252
 
253
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/wp-live-chat-support.php:644
254
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-chat-support-pro.php:799
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
255
  msgid "User has opened the chat window"
256
  msgstr ""
257
 
258
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/wp-live-chat-support.php:649
259
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-chat-support-pro.php:804
260
  msgid "User has minimized the chat window"
261
  msgstr ""
262
 
263
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/wp-live-chat-support.php:654
264
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-chat-support-pro.php:809
265
  msgid "User has maximized the chat window"
266
  msgstr ""
267
 
268
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/wp-live-chat-support.php:659
269
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-chat-support-pro.php:814
270
  msgid "User has closed and ended the chat"
271
  msgstr ""
272
 
273
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/wp-live-chat-support.php:856
274
  msgid "WP Live Chat History"
275
  msgstr ""
276
 
277
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/wp-live-chat-support.php:861
278
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:47
279
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:78
280
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:94
281
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:110
282
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:126
283
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:143
284
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:164
285
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:178
286
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:228
287
  msgid "Pro Add-on"
288
  msgstr ""
289
 
290
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/wp-live-chat-support.php:885
291
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-chat-support-pro.php:514
292
  msgid "Your settings have been saved."
293
  msgstr ""
294
 
295
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/wp-live-chat-support.php:900
296
  msgid "Thank You for your feedback!"
297
  msgstr ""
298
 
299
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/wp-live-chat-support.php:904
300
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/wp-live-chat-support.php:917
301
  msgid "Thank you for your feedback. We will be in touch soon"
302
  msgstr ""
303
 
304
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/wp-live-chat-support.php:921
305
  msgid "There was a problem sending your feedback. Please log your feedback on "
306
  msgstr ""
307
 
@@ -329,200 +375,214 @@ msgstr ""
329
  msgid "Send Feedback"
330
  msgstr ""
331
 
332
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:6
333
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/includes/settings_page_pro.php:17
334
  msgid "WP Live Chat Support Settings"
335
  msgstr ""
336
 
337
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:19
338
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/includes/settings_page_pro.php:29
339
  msgid "General Settings"
340
  msgstr ""
341
 
342
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:20
343
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/includes/settings_page_pro.php:30
344
  msgid "Chat Box"
345
  msgstr ""
346
 
347
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:21
348
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:153
349
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/includes/settings_page_pro.php:31
350
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/includes/settings_page_pro.php:141
351
  msgid "Offline Messages"
352
  msgstr ""
353
 
354
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:22
355
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:190
356
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/includes/settings_page_pro.php:32
357
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/includes/settings_page_pro.php:226
358
  msgid "Styling"
359
  msgstr ""
360
 
361
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:23
362
  msgid "Agents"
363
  msgstr ""
364
 
365
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:26
366
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/includes/settings_page_pro.php:36
367
  msgid "Main Settings"
368
  msgstr ""
369
 
370
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:29
371
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/includes/settings_page_pro.php:39
372
  msgid "Chat enabled"
373
  msgstr ""
374
 
375
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:32
376
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/includes/settings_page_pro.php:42
377
  msgid "Yes"
378
  msgstr ""
379
 
380
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:33
381
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/includes/settings_page_pro.php:43
382
  msgid "No"
383
  msgstr ""
384
 
385
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:39
386
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/includes/settings_page_pro.php:49
387
  msgid "Hide Chat"
388
  msgstr ""
389
 
390
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:40
391
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/includes/settings_page_pro.php:50
392
  msgid "Hides chat for 24hrs when user clicks X"
393
  msgstr ""
394
 
395
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:46
396
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:77
397
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:93
398
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:109
399
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:125
400
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:142
401
  msgid "available in the"
402
  msgstr ""
403
 
404
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:48
405
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:79
406
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:95
407
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:111
408
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:127
409
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:144
410
  msgid "only"
411
  msgstr ""
412
 
413
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:57
414
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/includes/settings_page_pro.php:60
415
  msgid "Chat Window Settings"
416
  msgstr ""
417
 
418
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:60
419
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/includes/settings_page_pro.php:63
420
  msgid "Chat box alignment"
421
  msgstr ""
422
 
423
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:63
424
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/includes/settings_page_pro.php:66
425
  msgid "Bottom left"
426
  msgstr ""
427
 
428
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:64
429
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/includes/settings_page_pro.php:67
430
  msgid "Bottom right"
431
  msgstr ""
432
 
433
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:87
434
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/includes/settings_page_pro.php:86
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
435
  msgid "Picture"
436
  msgstr ""
437
 
438
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:90
439
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:106
440
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/includes/settings_page_pro.php:94
441
  msgid "Upload Image"
442
  msgstr ""
443
 
444
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:103
445
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/includes/settings_page_pro.php:103
446
  msgid "Logo"
447
  msgstr ""
448
 
449
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:119
450
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/includes/settings_page_pro.php:120
451
  msgid "Chat delay (seconds)"
452
  msgstr ""
453
 
454
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:135
455
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/includes/settings_page_pro.php:129
456
  msgid "Chat notifications"
457
  msgstr ""
458
 
459
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:139
460
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/includes/settings_page_pro.php:133
461
  msgid "Alert me via email as soon as someone wants to chat"
462
  msgstr ""
463
 
464
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:157
465
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/includes/settings_page_pro.php:145
466
  msgid "Email Address"
467
  msgstr ""
468
 
469
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:163
470
  msgid "Get offline messages with the "
471
  msgstr ""
472
 
473
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:172
474
  msgid "Offline text"
475
  msgstr ""
476
 
477
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:177
478
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:227
479
  msgid "Edit these text fields using the "
480
  msgstr ""
481
 
482
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:193
483
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/includes/settings_page_pro.php:229
484
  msgid "Chat box fill color"
485
  msgstr ""
486
 
487
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:199
488
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/includes/settings_page_pro.php:235
489
  msgid "Chat box font color"
490
  msgstr ""
491
 
492
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:206
493
  msgid "First section text"
494
  msgstr ""
495
 
496
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:213
497
  msgid "Second section text"
498
  msgstr ""
499
 
500
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:222
501
  msgid "Reactivate chat section text"
502
  msgstr ""
503
 
504
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:239
505
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/includes/settings_page_pro.php:294
506
  msgid "Multiple Agents"
507
  msgstr ""
508
 
509
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:240
510
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/includes/settings_page_pro.php:295
511
  msgid "Get"
512
  msgstr ""
513
 
514
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:240
515
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/includes/settings_page_pro.php:295
516
  msgid "Multiple agent support"
517
  msgstr ""
518
 
519
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:240
520
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/includes/settings_page_pro.php:295
521
- msgid "for only $39.95"
522
- msgstr ""
523
-
524
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:243
525
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/includes/settings_page_pro.php:299
526
  msgid "Save Settings"
527
  msgstr ""
528
 
@@ -570,230 +630,300 @@ msgstr ""
570
  msgid "You must be a chat agent to initiate chats"
571
  msgstr ""
572
 
573
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/functions-pro.php:66
574
  msgid "No visitors on-line at the moment"
575
  msgstr ""
576
 
577
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/functions-pro.php:125
578
- msgid "Accept Chat"
579
- msgstr ""
580
-
581
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/functions-pro.php:128
582
- msgid "You must be a chat agent to answer chats"
583
- msgstr ""
584
-
585
  #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/functions-pro.php:135
586
- msgid "Open Chat Window"
587
  msgstr ""
588
 
589
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/functions-pro.php:138
590
  msgid "Chat has been answered by another agent"
591
  msgstr ""
592
 
593
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/functions-pro.php:141
594
- msgid "Chat has been Accpted By Chat Agent "
595
  msgstr ""
596
 
597
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/functions-pro.php:170
598
  msgid "WP Live Chat Support - Offline Message from"
599
  msgstr ""
600
 
601
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/functions-pro.php:171
602
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-chat-support-pro.php:421
603
  msgid "Message"
604
  msgstr ""
605
 
606
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/functions-pro.php:171
607
  msgid "Via WP Live Chat Support"
608
  msgstr ""
609
 
610
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/functions-pro.php:225
611
  msgid "Alert: Someone wants to chat with you on "
612
  msgstr ""
613
 
614
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/functions-pro.php:226
615
  msgid "Someone wants to chat with you on your website"
616
  msgstr ""
617
 
618
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/functions-pro.php:226
619
  msgid "Log in"
620
  msgstr ""
621
 
622
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-chat-support-pro.php:203
623
- msgid ""
624
- "WP Live Chat Support Pro requires WP Live Chat Support to function. You Can "
625
- "download the latest copy from"
626
  msgstr ""
627
 
628
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-chat-support-pro.php:212
 
 
 
 
 
 
 
 
 
 
 
 
 
629
  msgid "Dear User"
630
  msgstr ""
631
 
632
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-chat-support-pro.php:213
633
  msgid "You are using an outdated version of WP Live Chat Support Basic. Please"
634
  msgstr ""
635
 
636
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-chat-support-pro.php:302
637
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-chat-support-pro.php:661
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
638
  msgid "Date"
639
  msgstr ""
640
 
641
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-chat-support-pro.php:313
642
  msgid "No chats available at the moment"
643
  msgstr ""
644
 
645
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-chat-support-pro.php:423
646
  msgid "Send message"
647
  msgstr ""
648
 
649
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-chat-support-pro.php:535
650
  msgid "Chat sessions"
651
  msgstr ""
652
 
653
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-chat-support-pro.php:557
654
  msgid ""
655
  "Please note: This window must be open in order to receive new chat "
656
  "notifications."
657
  msgstr ""
658
 
659
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-chat-support-pro.php:651
660
- msgid "Chat with"
661
- msgstr ""
662
-
663
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-chat-support-pro.php:658
664
- msgid "Email address"
665
- msgstr ""
666
-
667
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-chat-support-pro.php:659
668
- msgid "IP Address"
669
- msgstr ""
670
-
671
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-chat-support-pro.php:660
672
- msgid "From URL"
673
  msgstr ""
674
 
675
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-chat-support-pro.php:660
676
- msgid "open"
677
  msgstr ""
678
 
679
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-chat-support-pro.php:667
680
  msgid "Attempting to open the chat window... Please be patient."
681
  msgstr ""
682
 
683
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-chat-support-pro.php:735
684
  msgid "This chat has already been answered. Please close the chat window"
685
  msgstr ""
686
 
687
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-chat-support-pro.php:1111
688
  msgid ""
689
  "An Unexpected HTTP Error occurred during the API request.</p> <p><a href=\"?"
690
  "\" onclick=\"document.location.reload(); return false;\">Try again</a>"
691
  msgstr ""
692
 
693
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-chat-support-pro.php:1116
694
  msgid "An unknown error occurred"
695
  msgstr ""
696
 
697
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-chat-support-pro.php:1203
 
 
 
 
 
 
698
  msgid "Error Log"
699
  msgstr ""
700
 
701
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/includes/settings_page_pro.php:33
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
702
  msgid "Chat Agents"
703
  msgstr ""
704
 
705
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/includes/settings_page_pro.php:74
706
  msgid "Name "
707
  msgstr ""
708
 
709
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/includes/settings_page_pro.php:96
710
  msgid "Remove Image"
711
  msgstr ""
712
 
713
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/includes/settings_page_pro.php:97
714
  msgid "Recomended Size 40px x 40px"
715
  msgstr ""
716
 
717
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/includes/settings_page_pro.php:111
718
  msgid "Upload Logo"
719
  msgstr ""
720
 
721
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/includes/settings_page_pro.php:113
722
  msgid "Remove Logo"
723
  msgstr ""
724
 
725
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/includes/settings_page_pro.php:114
726
  msgid "Recomended Size 250px x 40px"
727
  msgstr ""
728
 
729
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/includes/settings_page_pro.php:123
730
  msgid "how long it takes for your chat window to pop up"
731
  msgstr ""
732
 
733
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/includes/settings_page_pro.php:134
734
  msgid "(while online only)"
735
  msgstr ""
736
 
737
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/includes/settings_page_pro.php:149
738
  msgid "Email address where offline messages are delivered to"
739
  msgstr ""
740
 
741
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/includes/settings_page_pro.php:157
742
  msgid "Sending Method"
743
  msgstr ""
744
 
745
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/includes/settings_page_pro.php:158
746
  msgid "WP Mail"
747
  msgstr ""
748
 
749
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/includes/settings_page_pro.php:159
750
  msgid "PHP Mailer"
751
  msgstr ""
752
 
753
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/includes/settings_page_pro.php:171
754
  msgid "Host"
755
  msgstr ""
756
 
757
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/includes/settings_page_pro.php:179
758
  msgid "Port"
759
  msgstr ""
760
 
761
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/includes/settings_page_pro.php:187
762
  msgid "Username"
763
  msgstr ""
764
 
765
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/includes/settings_page_pro.php:195
766
  msgid "Password"
767
  msgstr ""
768
 
769
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/includes/settings_page_pro.php:204
770
  msgid "Offline Chat Box Title"
771
  msgstr ""
772
 
773
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/includes/settings_page_pro.php:212
774
  msgid "Offline Text Fields"
775
  msgstr ""
776
 
777
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/includes/settings_page_pro.php:241
778
  msgid "First Section Text"
779
  msgstr ""
780
 
781
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/includes/settings_page_pro.php:250
782
  msgid "Intro Text"
783
  msgstr ""
784
 
785
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/includes/settings_page_pro.php:256
786
  msgid "Second Section Text"
787
  msgstr ""
788
 
789
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/includes/settings_page_pro.php:263
790
  msgid "Reactivate Chat Section Text"
791
  msgstr ""
792
 
793
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/includes/settings_page_pro.php:271
794
  msgid "User chat welcome"
795
  msgstr ""
796
 
797
- #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/includes/settings_page_pro.php:280
798
  msgid "Other text"
799
  msgstr ""
 
 
 
 
 
 
 
 
 
 
1
  msgid ""
2
  msgstr ""
3
+ "Project-Id-Version: wplivechat\n"
4
+ "POT-Creation-Date: 2014-10-06 11:02+0200\n"
5
+ "PO-Revision-Date: 2014-10-06 11:03+0200\n"
6
  "Last-Translator: \n"
7
  "Language-Team: \n"
8
  "MIME-Version: 1.0\n"
16
  "X-Poedit-SearchPath-1: C:\\wamp\\www\\wordpress38\\wp-content\\plugins\\wp-"
17
  "live-chat-support-pro\n"
18
 
19
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/ajax.php:230
20
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/ajax-pro.php:261
21
  msgid "Admin has closed and ended the chat"
22
  msgstr ""
23
 
24
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/ajax.php:254
25
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/ajax-pro.php:296
26
  msgid "There is No Answer. Please Try Again Later"
27
  msgstr ""
28
 
29
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/functions.php:171
30
  #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/functions-pro.php:23
31
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/functions-pro.php:101
32
+ msgid "User Data"
33
  msgstr ""
34
 
35
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/functions.php:172
36
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/wp-live-chat-support.php:246
37
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:81
38
  #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/functions-pro.php:24
39
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/functions-pro.php:102
40
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/functions-pro.php:178
41
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-chat-support-pro.php:461
42
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-chat-support-pro.php:565
43
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-chat-support-pro.php:583
44
  msgid "Name"
45
  msgstr ""
46
 
47
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/functions.php:173
48
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/wp-live-chat-support.php:248
49
  #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/functions-pro.php:25
50
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/functions-pro.php:103
51
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/functions-pro.php:178
52
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-chat-support-pro.php:462
53
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-chat-support-pro.php:567
54
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-chat-support-pro.php:584
55
  msgid "Email"
56
  msgstr ""
57
 
58
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/functions.php:174
59
  #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/functions-pro.php:26
60
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/functions-pro.php:104
61
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-chat-support-pro.php:463
62
  msgid "URL"
63
  msgstr ""
64
 
65
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/functions.php:175
66
  #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/functions-pro.php:27
67
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/functions-pro.php:105
68
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-chat-support-pro.php:464
69
  msgid "Status"
70
  msgstr ""
71
 
72
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/functions.php:176
73
  #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/functions-pro.php:28
74
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/functions-pro.php:106
75
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-chat-support-pro.php:465
76
  msgid "Action"
77
  msgstr ""
78
 
79
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/functions.php:182
80
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/functions-pro.php:112
81
  msgid "No chat sessions available at the moment"
82
  msgstr ""
83
 
84
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/functions.php:200
85
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/functions-pro.php:132
86
+ msgid "Accept Chat"
87
+ msgstr ""
88
+
89
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/functions.php:205
90
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/functions-pro.php:142
91
+ msgid "Open Chat Window"
92
+ msgstr ""
93
+
94
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/functions.php:441
95
  msgid "complete"
96
  msgstr ""
97
 
98
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/functions.php:444
99
  msgid "pending"
100
  msgstr ""
101
 
102
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/functions.php:447
103
  msgid "active"
104
  msgstr ""
105
 
106
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/functions.php:450
107
  msgid "deleted"
108
  msgstr ""
109
 
110
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/functions.php:453
111
  msgid "browsing"
112
  msgstr ""
113
 
114
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/functions.php:456
115
  msgid "requesting chat"
116
  msgstr ""
117
 
118
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/functions.php:459
119
  msgid "Chat Ended - User still browsing"
120
  msgstr ""
121
 
122
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/functions.php:462
123
  msgid "User is browsing but doesn't want to chat"
124
  msgstr ""
125
 
126
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/functions.php:526
127
  msgid "Get Pro Add-on to accept more chats"
128
  msgstr ""
129
 
130
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/wp-live-chat-support.php:140
131
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/wp-live-chat-support.php:535
132
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-chat-support-pro.php:1402
133
  msgid "Live Chat"
134
  msgstr ""
135
 
136
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/wp-live-chat-support.php:141
137
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-chat-support-pro.php:1403
138
  msgid "Settings"
139
  msgstr ""
140
 
141
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/wp-live-chat-support.php:142
142
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-chat-support-pro.php:1404
143
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-chat-support-pro.php:1406
144
  msgid "History"
145
  msgstr ""
146
 
147
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/wp-live-chat-support.php:143
148
  #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/includes/feedback-page.php:37
149
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-chat-support-pro.php:1407
150
  msgid "Feedback"
151
  msgstr ""
152
 
153
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/wp-live-chat-support.php:233
154
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:218
155
  msgid "Questions?"
156
  msgstr ""
157
 
158
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/wp-live-chat-support.php:233
159
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:219
160
  msgid "Chat with us"
161
  msgstr ""
162
 
163
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/wp-live-chat-support.php:250
164
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:225
165
  msgid "Start Chat"
166
  msgstr ""
167
 
168
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/wp-live-chat-support.php:257
169
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:226
170
  msgid "Connecting you to a sales person. Please be patient."
171
  msgstr ""
172
 
173
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/wp-live-chat-support.php:260
174
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:234
175
  msgid "Reactivating your previous chat..."
176
  msgstr ""
177
 
178
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/wp-live-chat-support.php:265
179
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-chat-support-pro.php:847
180
  msgid "Press ENTER to send your message"
181
  msgstr ""
182
 
183
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/wp-live-chat-support.php:269
184
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/wp-live-chat-support.php:651
185
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-chat-support-pro.php:620
186
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-chat-support-pro.php:850
187
  msgid "Send"
188
  msgstr ""
189
 
190
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/wp-live-chat-support.php:500
191
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-chat-support-pro.php:358
192
  msgid "Dear Pro User"
193
  msgstr ""
194
 
195
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/wp-live-chat-support.php:501
196
+ msgid ""
197
+ "You are using an outdated version of <strong>WP Live Chat Support Pro</"
198
+ "strong>. Please"
199
  msgstr ""
200
 
201
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/wp-live-chat-support.php:501
202
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-chat-support-pro.php:339
203
  msgid "update to at least version"
204
  msgstr ""
205
 
206
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/wp-live-chat-support.php:501
207
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-chat-support-pro.php:339
208
  msgid "to ensure all functionality is in working order"
209
  msgstr ""
210
 
211
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/wp-live-chat-support.php:502
212
+ msgid ""
213
+ "You're live chat box on your website has been temporarily disabled until the "
214
+ "Pro plugin has been updated. This is to ensure a smooth and hassle-free user "
215
+ "experience for both yourself and your visitors."
216
+ msgstr ""
217
+
218
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/wp-live-chat-support.php:503
219
+ msgid ""
220
+ "You can update your plugin <a href='./update-core.php'>here</a>, <a href='./"
221
+ "plugins.php'>here</a> or <a href='http://wp-livechat.com/get-updated-"
222
+ "version/' target='_BLANK'>here</a>."
223
+ msgstr ""
224
+
225
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/wp-live-chat-support.php:504
226
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-chat-support-pro.php:342
227
  msgid "If you are having difficulty updating the plugin, please contact"
228
  msgstr ""
229
 
230
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/wp-live-chat-support.php:529
231
  msgid "Experiencing problems with the plugin?"
232
  msgstr ""
233
 
234
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/wp-live-chat-support.php:531
235
  msgid "Review the documentation."
236
  msgstr ""
237
 
238
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/wp-live-chat-support.php:532
239
  msgid "Or ask a question on our"
240
  msgstr ""
241
 
242
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/wp-live-chat-support.php:554
243
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-chat-support-pro.php:714
244
  msgid "Visitors on site"
245
  msgstr ""
246
 
247
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/wp-live-chat-support.php:555
248
  msgid "With the Pro add-on of WP Live Chat Support, you can"
249
  msgstr ""
250
 
251
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/wp-live-chat-support.php:555
252
  msgid "see who's online and initiate chats"
253
  msgstr ""
254
 
255
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/wp-live-chat-support.php:555
256
  msgid "with your online visitors with the click of a button."
257
  msgstr ""
258
 
259
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/wp-live-chat-support.php:555
260
  msgid "Buy the Pro add-on now for only $29.95 once off. Free Updates FOREVER."
261
  msgstr ""
262
 
263
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/wp-live-chat-support.php:555
264
  msgid "Buy the Pro add-on now for only $29.95 once off. Free Updates Forever."
265
  msgstr ""
266
 
267
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/wp-live-chat-support.php:620
268
  msgid "Previous"
269
  msgstr ""
270
 
271
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/wp-live-chat-support.php:620
272
  msgid "Active"
273
  msgstr ""
274
 
275
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/wp-live-chat-support.php:641
276
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-chat-support-pro.php:838
277
  msgid "End chat"
278
  msgstr ""
279
 
280
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/wp-live-chat-support.php:653
281
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-chat-support-pro.php:1491
282
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-chat-support-pro.php:1493
283
+ msgid "Assign Quick Response"
284
+ msgstr ""
285
+
286
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/wp-live-chat-support.php:653
287
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-chat-support-pro.php:1495
288
+ msgid "Select"
289
+ msgstr ""
290
+
291
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/wp-live-chat-support.php:653
292
+ msgid "Add Quick Responses to your Live Chat"
293
+ msgstr ""
294
+
295
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/wp-live-chat-support.php:653
296
+ msgid "Pro version only"
297
+ msgstr ""
298
+
299
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/wp-live-chat-support.php:753
300
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-chat-support-pro.php:964
301
  msgid "User has opened the chat window"
302
  msgstr ""
303
 
304
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/wp-live-chat-support.php:758
305
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-chat-support-pro.php:969
306
  msgid "User has minimized the chat window"
307
  msgstr ""
308
 
309
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/wp-live-chat-support.php:763
310
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-chat-support-pro.php:974
311
  msgid "User has maximized the chat window"
312
  msgstr ""
313
 
314
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/wp-live-chat-support.php:768
315
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-chat-support-pro.php:979
316
  msgid "User has closed and ended the chat"
317
  msgstr ""
318
 
319
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/wp-live-chat-support.php:977
320
  msgid "WP Live Chat History"
321
  msgstr ""
322
 
323
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/wp-live-chat-support.php:982
324
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:46
325
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:88
326
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:104
327
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:120
328
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:136
329
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:153
330
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:174
331
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:188
332
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:238
333
  msgid "Pro Add-on"
334
  msgstr ""
335
 
336
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/wp-live-chat-support.php:1007
337
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-chat-support-pro.php:679
338
  msgid "Your settings have been saved."
339
  msgstr ""
340
 
341
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/wp-live-chat-support.php:1022
342
  msgid "Thank You for your feedback!"
343
  msgstr ""
344
 
345
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/wp-live-chat-support.php:1026
346
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/wp-live-chat-support.php:1039
347
  msgid "Thank you for your feedback. We will be in touch soon"
348
  msgstr ""
349
 
350
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/wp-live-chat-support.php:1043
351
  msgid "There was a problem sending your feedback. Please log your feedback on "
352
  msgstr ""
353
 
375
  msgid "Send Feedback"
376
  msgstr ""
377
 
378
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:5
379
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/includes/settings_page_pro.php:19
380
  msgid "WP Live Chat Support Settings"
381
  msgstr ""
382
 
383
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:18
384
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/includes/settings_page_pro.php:31
385
  msgid "General Settings"
386
  msgstr ""
387
 
388
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:19
389
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/includes/settings_page_pro.php:32
390
  msgid "Chat Box"
391
  msgstr ""
392
 
393
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:20
394
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:163
395
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/includes/settings_page_pro.php:33
396
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/includes/settings_page_pro.php:156
397
  msgid "Offline Messages"
398
  msgstr ""
399
 
400
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:21
401
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:200
402
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/includes/settings_page_pro.php:34
403
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/includes/settings_page_pro.php:241
404
  msgid "Styling"
405
  msgstr ""
406
 
407
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:22
408
  msgid "Agents"
409
  msgstr ""
410
 
411
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:25
412
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/includes/settings_page_pro.php:38
413
  msgid "Main Settings"
414
  msgstr ""
415
 
416
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:28
417
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/includes/settings_page_pro.php:41
418
  msgid "Chat enabled"
419
  msgstr ""
420
 
421
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:31
422
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/includes/settings_page_pro.php:44
423
  msgid "Yes"
424
  msgstr ""
425
 
426
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:32
427
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/includes/settings_page_pro.php:45
428
  msgid "No"
429
  msgstr ""
430
 
431
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:38
432
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/includes/settings_page_pro.php:51
433
  msgid "Hide Chat"
434
  msgstr ""
435
 
436
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:39
437
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/includes/settings_page_pro.php:52
438
  msgid "Hides chat for 24hrs when user clicks X"
439
  msgstr ""
440
 
441
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:45
442
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:87
443
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:103
444
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:119
445
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:135
446
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:152
447
  msgid "available in the"
448
  msgstr ""
449
 
450
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:47
451
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:89
452
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:105
453
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:121
454
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:137
455
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:154
456
  msgid "only"
457
  msgstr ""
458
 
459
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:56
460
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/includes/settings_page_pro.php:62
461
  msgid "Chat Window Settings"
462
  msgstr ""
463
 
464
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:59
465
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/includes/settings_page_pro.php:65
466
  msgid "Chat box alignment"
467
  msgstr ""
468
 
469
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:62
470
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/includes/settings_page_pro.php:68
471
  msgid "Bottom left"
472
  msgstr ""
473
 
474
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:63
475
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/includes/settings_page_pro.php:69
476
  msgid "Bottom right"
477
  msgstr ""
478
 
479
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:64
480
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/includes/settings_page_pro.php:70
481
+ msgid "Left"
482
+ msgstr ""
483
+
484
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:65
485
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/includes/settings_page_pro.php:71
486
+ msgid "Right"
487
+ msgstr ""
488
+
489
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:71
490
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/includes/settings_page_pro.php:77
491
+ msgid "Auto Pop-up"
492
+ msgstr ""
493
+
494
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:75
495
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/includes/settings_page_pro.php:81
496
+ msgid ""
497
+ "Expand the chat box automatically (prompts the user to enter their name and "
498
+ "email address)."
499
+ msgstr ""
500
+
501
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:97
502
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/includes/settings_page_pro.php:101
503
  msgid "Picture"
504
  msgstr ""
505
 
506
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:100
507
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:116
508
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/includes/settings_page_pro.php:109
509
  msgid "Upload Image"
510
  msgstr ""
511
 
512
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:113
513
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/includes/settings_page_pro.php:118
514
  msgid "Logo"
515
  msgstr ""
516
 
517
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:129
518
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/includes/settings_page_pro.php:135
519
  msgid "Chat delay (seconds)"
520
  msgstr ""
521
 
522
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:145
523
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/includes/settings_page_pro.php:144
524
  msgid "Chat notifications"
525
  msgstr ""
526
 
527
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:149
528
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/includes/settings_page_pro.php:148
529
  msgid "Alert me via email as soon as someone wants to chat"
530
  msgstr ""
531
 
532
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:167
533
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/includes/settings_page_pro.php:160
534
  msgid "Email Address"
535
  msgstr ""
536
 
537
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:173
538
  msgid "Get offline messages with the "
539
  msgstr ""
540
 
541
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:182
542
  msgid "Offline text"
543
  msgstr ""
544
 
545
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:187
546
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:237
547
  msgid "Edit these text fields using the "
548
  msgstr ""
549
 
550
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:203
551
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/includes/settings_page_pro.php:244
552
  msgid "Chat box fill color"
553
  msgstr ""
554
 
555
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:209
556
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/includes/settings_page_pro.php:250
557
  msgid "Chat box font color"
558
  msgstr ""
559
 
560
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:216
561
  msgid "First section text"
562
  msgstr ""
563
 
564
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:223
565
  msgid "Second section text"
566
  msgstr ""
567
 
568
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:232
569
  msgid "Reactivate chat section text"
570
  msgstr ""
571
 
572
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:249
 
573
  msgid "Multiple Agents"
574
  msgstr ""
575
 
576
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:250
 
577
  msgid "Get"
578
  msgstr ""
579
 
580
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:250
 
581
  msgid "Multiple agent support"
582
  msgstr ""
583
 
584
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:253
585
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/includes/settings_page_pro.php:320
 
 
 
 
 
586
  msgid "Save Settings"
587
  msgstr ""
588
 
630
  msgid "You must be a chat agent to initiate chats"
631
  msgstr ""
632
 
633
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/functions-pro.php:70
634
  msgid "No visitors on-line at the moment"
635
  msgstr ""
636
 
 
 
 
 
 
 
 
 
637
  #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/functions-pro.php:135
638
+ msgid "You must be a chat agent to answer chats"
639
  msgstr ""
640
 
641
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/functions-pro.php:145
642
  msgid "Chat has been answered by another agent"
643
  msgstr ""
644
 
645
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/functions-pro.php:148
646
+ msgid "Chat has been Accepted By Chat Agent "
647
  msgstr ""
648
 
649
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/functions-pro.php:177
650
  msgid "WP Live Chat Support - Offline Message from"
651
  msgstr ""
652
 
653
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/functions-pro.php:178
654
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-chat-support-pro.php:585
655
  msgid "Message"
656
  msgstr ""
657
 
658
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/functions-pro.php:178
659
  msgid "Via WP Live Chat Support"
660
  msgstr ""
661
 
662
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/functions-pro.php:227
663
  msgid "Alert: Someone wants to chat with you on "
664
  msgstr ""
665
 
666
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/functions-pro.php:228
667
  msgid "Someone wants to chat with you on your website"
668
  msgstr ""
669
 
670
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/functions-pro.php:228
671
  msgid "Log in"
672
  msgstr ""
673
 
674
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/functions-pro.php:382
675
+ msgid "Chat Agent"
 
 
676
  msgstr ""
677
 
678
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/functions-pro.php:387
679
+ msgid "Make this user a chat agent"
680
+ msgstr ""
681
+
682
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/functions-pro.php:465
683
+ msgid "Chat Agent Online"
684
+ msgstr ""
685
+
686
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/functions-pro.php:467
687
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/functions-pro.php:472
688
+ msgid "Chat Agents Online"
689
+ msgstr ""
690
+
691
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-chat-support-pro.php:338
692
  msgid "Dear User"
693
  msgstr ""
694
 
695
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-chat-support-pro.php:339
696
  msgid "You are using an outdated version of WP Live Chat Support Basic. Please"
697
  msgstr ""
698
 
699
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-chat-support-pro.php:340
700
+ msgid ""
701
+ "You're live chat box on your website has been temporarily disabled until the "
702
+ "basic plugin has been updated. This is to ensure a smooth and hassle-free "
703
+ "user experience for both yourself and your visitors."
704
+ msgstr ""
705
+
706
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-chat-support-pro.php:341
707
+ msgid ""
708
+ "You can update your plugin <a href='./update-core.php'>here</a> or <a "
709
+ "href='./plugins.php'>here</a>."
710
+ msgstr ""
711
+
712
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-chat-support-pro.php:359
713
+ msgid ""
714
+ "WP Live Chat Support Pro requires WP Live Chat Support to function. You can "
715
+ "download the latest copy from"
716
+ msgstr ""
717
+
718
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-chat-support-pro.php:460
719
  msgid "Date"
720
  msgstr ""
721
 
722
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-chat-support-pro.php:471
723
  msgid "No chats available at the moment"
724
  msgstr ""
725
 
726
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-chat-support-pro.php:587
727
  msgid "Send message"
728
  msgstr ""
729
 
730
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-chat-support-pro.php:700
731
  msgid "Chat sessions"
732
  msgstr ""
733
 
734
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-chat-support-pro.php:709
735
  msgid ""
736
  "Please note: This window must be open in order to receive new chat "
737
  "notifications."
738
  msgstr ""
739
 
740
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-chat-support-pro.php:809
741
+ msgid "Unknown"
 
 
 
 
 
 
 
 
 
 
 
 
742
  msgstr ""
743
 
744
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-chat-support-pro.php:814
745
+ msgid "Chat with"
746
  msgstr ""
747
 
748
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-chat-support-pro.php:833
749
  msgid "Attempting to open the chat window... Please be patient."
750
  msgstr ""
751
 
752
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-chat-support-pro.php:900
753
  msgid "This chat has already been answered. Please close the chat window"
754
  msgstr ""
755
 
756
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-chat-support-pro.php:1309
757
  msgid ""
758
  "An Unexpected HTTP Error occurred during the API request.</p> <p><a href=\"?"
759
  "\" onclick=\"document.location.reload(); return false;\">Try again</a>"
760
  msgstr ""
761
 
762
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-chat-support-pro.php:1314
763
  msgid "An unknown error occurred"
764
  msgstr ""
765
 
766
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-chat-support-pro.php:1404
767
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-chat-support-pro.php:1417
768
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-chat-support-pro.php:1428
769
+ msgid "Quick Responses"
770
+ msgstr ""
771
+
772
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-chat-support-pro.php:1411
773
  msgid "Error Log"
774
  msgstr ""
775
 
776
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-chat-support-pro.php:1418
777
+ msgid "Quick Response"
778
+ msgstr ""
779
+
780
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-chat-support-pro.php:1419
781
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-chat-support-pro.php:1422
782
+ msgid "New Quick Response"
783
+ msgstr ""
784
+
785
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-chat-support-pro.php:1420
786
+ msgid "Add New Quick Response"
787
+ msgstr ""
788
+
789
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-chat-support-pro.php:1421
790
+ msgid "Edit Quick Response"
791
+ msgstr ""
792
+
793
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-chat-support-pro.php:1423
794
+ msgid "All Quick Responses"
795
+ msgstr ""
796
+
797
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-chat-support-pro.php:1424
798
+ msgid "View Quick Responses"
799
+ msgstr ""
800
+
801
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-chat-support-pro.php:1425
802
+ msgid "Search Quick Responses"
803
+ msgstr ""
804
+
805
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-chat-support-pro.php:1426
806
+ msgid "No Quick Responses found"
807
+ msgstr ""
808
+
809
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-chat-support-pro.php:1427
810
+ msgid "No Quick Responses found in the Trash"
811
+ msgstr ""
812
+
813
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-chat-support-pro.php:1432
814
+ msgid "Quick Responses for WP Live Chat Support Pro"
815
+ msgstr ""
816
+
817
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-chat-support-pro.php:1502
818
+ msgid "What is this?"
819
+ msgstr ""
820
+
821
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/includes/settings_page_pro.php:35
822
  msgid "Chat Agents"
823
  msgstr ""
824
 
825
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/includes/settings_page_pro.php:87
826
  msgid "Name "
827
  msgstr ""
828
 
829
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/includes/settings_page_pro.php:111
830
  msgid "Remove Image"
831
  msgstr ""
832
 
833
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/includes/settings_page_pro.php:112
834
  msgid "Recomended Size 40px x 40px"
835
  msgstr ""
836
 
837
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/includes/settings_page_pro.php:126
838
  msgid "Upload Logo"
839
  msgstr ""
840
 
841
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/includes/settings_page_pro.php:128
842
  msgid "Remove Logo"
843
  msgstr ""
844
 
845
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/includes/settings_page_pro.php:129
846
  msgid "Recomended Size 250px x 40px"
847
  msgstr ""
848
 
849
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/includes/settings_page_pro.php:138
850
  msgid "how long it takes for your chat window to pop up"
851
  msgstr ""
852
 
853
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/includes/settings_page_pro.php:149
854
  msgid "(while online only)"
855
  msgstr ""
856
 
857
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/includes/settings_page_pro.php:164
858
  msgid "Email address where offline messages are delivered to"
859
  msgstr ""
860
 
861
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/includes/settings_page_pro.php:172
862
  msgid "Sending Method"
863
  msgstr ""
864
 
865
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/includes/settings_page_pro.php:173
866
  msgid "WP Mail"
867
  msgstr ""
868
 
869
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/includes/settings_page_pro.php:174
870
  msgid "PHP Mailer"
871
  msgstr ""
872
 
873
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/includes/settings_page_pro.php:186
874
  msgid "Host"
875
  msgstr ""
876
 
877
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/includes/settings_page_pro.php:194
878
  msgid "Port"
879
  msgstr ""
880
 
881
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/includes/settings_page_pro.php:202
882
  msgid "Username"
883
  msgstr ""
884
 
885
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/includes/settings_page_pro.php:210
886
  msgid "Password"
887
  msgstr ""
888
 
889
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/includes/settings_page_pro.php:219
890
  msgid "Offline Chat Box Title"
891
  msgstr ""
892
 
893
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/includes/settings_page_pro.php:227
894
  msgid "Offline Text Fields"
895
  msgstr ""
896
 
897
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/includes/settings_page_pro.php:256
898
  msgid "First Section Text"
899
  msgstr ""
900
 
901
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/includes/settings_page_pro.php:265
902
  msgid "Intro Text"
903
  msgstr ""
904
 
905
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/includes/settings_page_pro.php:271
906
  msgid "Second Section Text"
907
  msgstr ""
908
 
909
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/includes/settings_page_pro.php:278
910
  msgid "Reactivate Chat Section Text"
911
  msgstr ""
912
 
913
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/includes/settings_page_pro.php:286
914
  msgid "User chat welcome"
915
  msgstr ""
916
 
917
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/includes/settings_page_pro.php:295
918
  msgid "Other text"
919
  msgstr ""
920
+
921
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/includes/settings_page_pro.php:315
922
+ msgid ""
923
+ "To add or remove a user as a chat agent, go into the users profile and "
924
+ "select the checkbox Chat Agent and click save."
925
+ msgstr ""
926
+
927
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/includes/settings_page_pro.php:316
928
+ msgid "If there are no chat agents online, the chat will show as offline"
929
+ msgstr ""
languages/wplivechat-fr_FR.mo ADDED
Binary file
languages/wplivechat-fr_FR.po ADDED
@@ -0,0 +1,641 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: WP Live Chat Support v4.1.5\n"
4
+ "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: \n"
6
+ "PO-Revision-Date: 2014-09-25 00:40+0100\n"
7
+ "Last-Translator: Marcello Cavallucci <contact@fbmediaworks.com>\n"
8
+ "Language-Team: \n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "Plural-Forms: nplurals=2; plural=n>1;\n"
13
+ "X-Generator: Poedit 1.5.7\n"
14
+ "X-Poedit-SourceCharset: utf-8\n"
15
+ "X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;"
16
+ "_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"
17
+ "X-Poedit-Basepath: ../\n"
18
+ "X-Textdomain-Support: yes\n"
19
+ "Language: fr_FR\n"
20
+ "X-Poedit-SearchPath-0: .\n"
21
+
22
+ # @ wplivechat
23
+ #: ajax.php:242
24
+ msgid "Admin has closed and ended the chat"
25
+ msgstr "L'administrateur àa mis fin à la discussion"
26
+
27
+ # @ wplivechat
28
+ #: ajax.php:266
29
+ msgid "There is No Answer. Please Try Again Later"
30
+ msgstr "Pas de réponse. Merci de ré essayer plus tard"
31
+
32
+ # @ wplivechat
33
+ #: functions.php:171
34
+ msgid "User Data"
35
+ msgstr "Info Visiteur"
36
+
37
+ # @ wplivechat
38
+ #: functions.php:172 includes/settings_page.php:81
39
+ #: wp-live-chat-support.php:231
40
+ msgid "Name"
41
+ msgstr "Nom"
42
+
43
+ # @ wplivechat
44
+ #: functions.php:173 wp-live-chat-support.php:233
45
+ msgid "Email"
46
+ msgstr ""
47
+
48
+ # @ wplivechat
49
+ #: functions.php:174
50
+ msgid "URL"
51
+ msgstr ""
52
+
53
+ # @ wplivechat
54
+ #: functions.php:175
55
+ msgid "Status"
56
+ msgstr "Statut"
57
+
58
+ # @ wplivechat
59
+ #: functions.php:176
60
+ msgid "Action"
61
+ msgstr ""
62
+
63
+ # @ wplivechat
64
+ #: functions.php:182
65
+ msgid "No chat sessions available at the moment"
66
+ msgstr "Pas de session de discussion disponible pour le moment"
67
+
68
+ # @ wplivechat
69
+ #: functions.php:200
70
+ msgid "Accept Chat"
71
+ msgstr "Accepter la discussion"
72
+
73
+ # @ wplivechat
74
+ #: functions.php:205
75
+ msgid "Open Chat Window"
76
+ msgstr "Ouvrir la fenêtre de discussion"
77
+
78
+ # @ wplivechat
79
+ #: functions.php:441
80
+ msgid "complete"
81
+ msgstr "complet"
82
+
83
+ # @ wplivechat
84
+ #: functions.php:444
85
+ msgid "pending"
86
+ msgstr "\ten attente"
87
+
88
+ # @ wplivechat
89
+ #: functions.php:447
90
+ msgid "active"
91
+ msgstr "activé"
92
+
93
+ # @ wplivechat
94
+ #: functions.php:450
95
+ msgid "deleted"
96
+ msgstr "supprimé"
97
+
98
+ # @ wplivechat
99
+ #: functions.php:453
100
+ msgid "browsing"
101
+ msgstr "naviguer"
102
+
103
+ # @ wplivechat
104
+ #: functions.php:456
105
+ msgid "requesting chat"
106
+ msgstr "Discussion demandée"
107
+
108
+ # @ wplivechat
109
+ #: functions.php:459
110
+ msgid "Chat Ended - User still browsing"
111
+ msgstr "Discussion terminée - Le visiteur continue à naviguer sur votre site"
112
+
113
+ # @ wplivechat
114
+ #: functions.php:462
115
+ msgid "User is browsing but doesn't want to chat"
116
+ msgstr "Le visiteur navigue sur votre site et ne souhaite pas discuter"
117
+
118
+ # @ wplivechat
119
+ #: functions.php:526
120
+ msgid "Get Pro Add-on to accept more chats"
121
+ msgstr "Prenez la version PRO pour accepter plus de discussions"
122
+
123
+ # @ wplivechat
124
+ #: includes/feedback-page.php:7
125
+ msgid "WP Live Chat Support Feedback"
126
+ msgstr "Votre avis sur WP LIve Chat Support "
127
+
128
+ # @ wplivechat
129
+ #: includes/feedback-page.php:8
130
+ msgid "We'd love to hear your comments and/or suggestions"
131
+ msgstr "Nous aimerions reccueillir vos commentaires et/ou suggestions"
132
+
133
+ # @ wplivechat
134
+ #: includes/feedback-page.php:13
135
+ msgid "Your Name"
136
+ msgstr "Votre nom"
137
+
138
+ # @ wplivechat
139
+ #: includes/feedback-page.php:21
140
+ msgid "Your Email"
141
+ msgstr "Votre email"
142
+
143
+ # @ wplivechat
144
+ #: includes/feedback-page.php:29
145
+ msgid "Your Website"
146
+ msgstr "Votre site web"
147
+
148
+ # @ wplivechat
149
+ #: includes/feedback-page.php:37 wp-live-chat-support.php:129
150
+ msgid "Feedback"
151
+ msgstr "Votre avis"
152
+
153
+ # @ wplivechat
154
+ #: includes/feedback-page.php:48
155
+ msgid "Send Feedback"
156
+ msgstr "Envoyer votre avis"
157
+
158
+ # @ wplivechat
159
+ #: includes/settings_page.php:5
160
+ msgid "WP Live Chat Support Settings"
161
+ msgstr "Paramètres de WP Live Chat Support"
162
+
163
+ # @ wplivechat
164
+ #: includes/settings_page.php:18
165
+ msgid "General Settings"
166
+ msgstr "Paramètres généraux"
167
+
168
+ # @ wplivechat
169
+ #: includes/settings_page.php:19
170
+ msgid "Chat Box"
171
+ msgstr "Fenêtre de discussion"
172
+
173
+ # @ wplivechat
174
+ #: includes/settings_page.php:20 includes/settings_page.php:163
175
+ msgid "Offline Messages"
176
+ msgstr "Messages hors-ligne"
177
+
178
+ # @ wplivechat
179
+ #: includes/settings_page.php:21 includes/settings_page.php:200
180
+ msgid "Styling"
181
+ msgstr "Style"
182
+
183
+ # @ wplivechat
184
+ #: includes/settings_page.php:22
185
+ msgid "Agents"
186
+ msgstr "Opérateur"
187
+
188
+ # @ wplivechat
189
+ #: includes/settings_page.php:25
190
+ msgid "Main Settings"
191
+ msgstr "Paramètres de base"
192
+
193
+ # @ wplivechat
194
+ #: includes/settings_page.php:28
195
+ msgid "Chat enabled"
196
+ msgstr "Discussion activée"
197
+
198
+ # @ wplivechat
199
+ #: includes/settings_page.php:31
200
+ msgid "Yes"
201
+ msgstr "Oui"
202
+
203
+ # @ wplivechat
204
+ #: includes/settings_page.php:32
205
+ msgid "No"
206
+ msgstr "Non"
207
+
208
+ # @ wplivechat
209
+ #: includes/settings_page.php:38
210
+ msgid "Hide Chat"
211
+ msgstr "Masquer fenêtre de discussion"
212
+
213
+ # @ wplivechat
214
+ #: includes/settings_page.php:39
215
+ msgid "Hides chat for 24hrs when user clicks X"
216
+ msgstr ""
217
+ "Masquer fenêtre de discussion durant 24 h si le visiteur a cliqué sur la X"
218
+
219
+ # @ wplivechat
220
+ #: includes/settings_page.php:45 includes/settings_page.php:87
221
+ #: includes/settings_page.php:103 includes/settings_page.php:119
222
+ #: includes/settings_page.php:135 includes/settings_page.php:152
223
+ msgid "available in the"
224
+ msgstr "disponible dans le"
225
+
226
+ # @ wplivechat
227
+ #: includes/settings_page.php:46 includes/settings_page.php:88
228
+ #: includes/settings_page.php:104 includes/settings_page.php:120
229
+ #: includes/settings_page.php:136 includes/settings_page.php:153
230
+ #: includes/settings_page.php:174 includes/settings_page.php:188
231
+ #: includes/settings_page.php:238 wp-live-chat-support.php:963
232
+ msgid "Pro Add-on"
233
+ msgstr "Version Pro"
234
+
235
+ # @ wplivechat
236
+ #: includes/settings_page.php:47 includes/settings_page.php:89
237
+ #: includes/settings_page.php:105 includes/settings_page.php:121
238
+ #: includes/settings_page.php:137 includes/settings_page.php:154
239
+ msgid "only"
240
+ msgstr "seulement"
241
+
242
+ # @ wplivechat
243
+ #: includes/settings_page.php:56
244
+ msgid "Chat Window Settings"
245
+ msgstr "Paramètres de la fenêtre"
246
+
247
+ # @ wplivechat
248
+ #: includes/settings_page.php:59
249
+ msgid "Chat box alignment"
250
+ msgstr "Alignement de la fenêtre"
251
+
252
+ # @ wplivechat
253
+ #: includes/settings_page.php:62
254
+ msgid "Bottom left"
255
+ msgstr "En bas à gauche"
256
+
257
+ # @ wplivechat
258
+ #: includes/settings_page.php:63
259
+ msgid "Bottom right"
260
+ msgstr "En bas à droite"
261
+
262
+ # @ wplivechat
263
+ #: includes/settings_page.php:64
264
+ msgid "Left"
265
+ msgstr "à gauche"
266
+
267
+ # @ wplivechat
268
+ #: includes/settings_page.php:65
269
+ msgid "Right"
270
+ msgstr "à droite"
271
+
272
+ # @ wplivechat
273
+ #: includes/settings_page.php:71
274
+ msgid "Auto Pop-up"
275
+ msgstr "Ouverture automatique"
276
+
277
+ # @ wplivechat
278
+ #: includes/settings_page.php:75
279
+ msgid ""
280
+ "Expand the chat box automatically (prompts the user to enter their name and "
281
+ "email address)."
282
+ msgstr ""
283
+ "Ouvrir la fenêtre de discussion automatiquement (invite le visiteur à entrer "
284
+ "ses noms et adresse Email)."
285
+
286
+ # @ wplivechat
287
+ #: includes/settings_page.php:97
288
+ msgid "Picture"
289
+ msgstr "Image"
290
+
291
+ # @ wplivechat
292
+ #: includes/settings_page.php:100 includes/settings_page.php:116
293
+ msgid "Upload Image"
294
+ msgstr "Importer l'image"
295
+
296
+ # @ wplivechat
297
+ #: includes/settings_page.php:113
298
+ msgid "Logo"
299
+ msgstr ""
300
+
301
+ # @ wplivechat
302
+ #: includes/settings_page.php:129
303
+ msgid "Chat delay (seconds)"
304
+ msgstr "Délai de discussion (secondes)"
305
+
306
+ # @ wplivechat
307
+ #: includes/settings_page.php:145
308
+ msgid "Chat notifications"
309
+ msgstr "Notification de discussion"
310
+
311
+ # @ wplivechat
312
+ #: includes/settings_page.php:149
313
+ msgid "Alert me via email as soon as someone wants to chat"
314
+ msgstr ""
315
+ "Alertez-moi par Email dès qu'un visiteur souhaite ouvrir une discussion"
316
+
317
+ # @ wplivechat
318
+ #: includes/settings_page.php:167
319
+ msgid "Email Address"
320
+ msgstr "Adresse Email"
321
+
322
+ # @ wplivechat
323
+ #: includes/settings_page.php:173
324
+ msgid "Get offline messages with the "
325
+ msgstr "Obtenir les messages hors-ligne avec le"
326
+
327
+ # @ wplivechat
328
+ #: includes/settings_page.php:182
329
+ msgid "Offline text"
330
+ msgstr "Texte hors-ligne"
331
+
332
+ # @ wplivechat
333
+ #: includes/settings_page.php:187 includes/settings_page.php:237
334
+ msgid "Edit these text fields using the "
335
+ msgstr "Editer ces champs de textes en utilisant le"
336
+
337
+ # @ wplivechat
338
+ #: includes/settings_page.php:203
339
+ msgid "Chat box fill color"
340
+ msgstr "Réglage couleur de la fenêtre de discussion"
341
+
342
+ # @ wplivechat
343
+ #: includes/settings_page.php:209
344
+ msgid "Chat box font color"
345
+ msgstr "Couleur de police de la fenêtre de discussion"
346
+
347
+ # @ wplivechat
348
+ #: includes/settings_page.php:216
349
+ msgid "First section text"
350
+ msgstr "Texte de première partie"
351
+
352
+ # @ wplivechat
353
+ #: includes/settings_page.php:218 wp-live-chat-support.php:218
354
+ msgid "Questions?"
355
+ msgstr ""
356
+
357
+ # @ wplivechat
358
+ #: includes/settings_page.php:219 wp-live-chat-support.php:218
359
+ msgid "Chat with us"
360
+ msgstr "Discutez avec nous"
361
+
362
+ # @ wplivechat
363
+ #: includes/settings_page.php:223
364
+ msgid "Second section text"
365
+ msgstr "Texte de seconde partie"
366
+
367
+ # @ wplivechat
368
+ #: includes/settings_page.php:225 wp-live-chat-support.php:235
369
+ msgid "Start Chat"
370
+ msgstr "Démarrer la discussion"
371
+
372
+ # @ wplivechat
373
+ #: includes/settings_page.php:226 wp-live-chat-support.php:242
374
+ msgid "Connecting you to a sales person. Please be patient."
375
+ msgstr ""
376
+ "Nous vous mettons en relation avec un opérateur. Merci de bien vouloir "
377
+ "patienter."
378
+
379
+ # @ wplivechat
380
+ #: includes/settings_page.php:232
381
+ msgid "Reactivate chat section text"
382
+ msgstr "Ré-activer la partie texte de la discussion"
383
+
384
+ # @ wplivechat
385
+ #: includes/settings_page.php:234 wp-live-chat-support.php:245
386
+ msgid "Reactivating your previous chat..."
387
+ msgstr "Ré-activer votre précédente discussion"
388
+
389
+ # @ wplivechat
390
+ #: includes/settings_page.php:249
391
+ msgid "Multiple Agents"
392
+ msgstr "Multiples opérateurs"
393
+
394
+ # @ wplivechat
395
+ #: includes/settings_page.php:250
396
+ msgid "Get"
397
+ msgstr "Obtenir"
398
+
399
+ # @ wplivechat
400
+ #: includes/settings_page.php:250
401
+ msgid "Multiple agent support"
402
+ msgstr "Assistance multiple opérateurs"
403
+
404
+ # @ wplivechat
405
+ #: includes/settings_page.php:253
406
+ msgid "Save Settings"
407
+ msgstr "Sauvegarder les réglages"
408
+
409
+ # @ wplivechat
410
+ #: includes/welcome_page.php:4
411
+ msgid "Welcome to "
412
+ msgstr "Bienvenue à"
413
+
414
+ # @ wplivechat
415
+ #: includes/welcome_page.php:15
416
+ msgid "WordPress.org plugin repository "
417
+ msgstr "WordPress.org référentiel de plugins"
418
+
419
+ # @ wplivechat
420
+ #: includes/welcome_page.php:18
421
+ msgid "Search Term"
422
+ msgstr "Recherche de terme"
423
+
424
+ # @ wplivechat
425
+ #: includes/welcome_page.php:22
426
+ msgid "Google or other search Engine"
427
+ msgstr "Google ou autres moteurs de recherche"
428
+
429
+ # @ wplivechat
430
+ #: includes/welcome_page.php:28
431
+ msgid "Friend recommendation"
432
+ msgstr "Recommandation d'un ami"
433
+
434
+ # @ wplivechat
435
+ #: includes/welcome_page.php:34
436
+ msgid "Other"
437
+ msgstr "Autre"
438
+
439
+ # @ wplivechat
440
+ #: includes/welcome_page.php:38
441
+ msgid "Please Explain"
442
+ msgstr "Expliquer, SVP"
443
+
444
+ # @ wplivechat
445
+ #: includes/welcome_page.php:47
446
+ msgid "Submit"
447
+ msgstr "Soumettre"
448
+
449
+ # @ wplivechat
450
+ #: includes/welcome_page.php:49
451
+ msgid "Skip"
452
+ msgstr "Passer"
453
+
454
+ # @ wplivechat
455
+ #: wp-live-chat-support.php:126 wp-live-chat-support.php:518
456
+ msgid "Live Chat"
457
+ msgstr "Discussion en live"
458
+
459
+ # @ wplivechat
460
+ #: wp-live-chat-support.php:127
461
+ msgid "Settings"
462
+ msgstr "Paramètres"
463
+
464
+ # @ wplivechat
465
+ #: wp-live-chat-support.php:128
466
+ msgid "History"
467
+ msgstr "Historique"
468
+
469
+ # @ wplivechat
470
+ #: wp-live-chat-support.php:249
471
+ msgid "Press ENTER to send your message"
472
+ msgstr "Appuyer sur ENTRÉE pour envoyer votre message"
473
+
474
+ # @ wplivechat
475
+ #: wp-live-chat-support.php:253 wp-live-chat-support.php:634
476
+ msgid "Send"
477
+ msgstr "Envoyé"
478
+
479
+ # @ wplivechat
480
+ #: wp-live-chat-support.php:483
481
+ msgid "Dear Pro User"
482
+ msgstr "Cher utilisateur Pro"
483
+
484
+ # @ wplivechat
485
+ #: wp-live-chat-support.php:484
486
+ msgid ""
487
+ "You are using an outdated version of <strong>WP Live Chat Support Pro</"
488
+ "strong>. Please"
489
+ msgstr ""
490
+ "Vous utilisez une version périmée de <strong>WP Live Chat Support Pro</"
491
+ "strong>. S'il vous plait"
492
+
493
+ # @ wplivechat
494
+ #: wp-live-chat-support.php:484
495
+ msgid "update to at least version"
496
+ msgstr "mettez votre version à jour"
497
+
498
+ # @ wplivechat
499
+ #: wp-live-chat-support.php:484
500
+ msgid "to ensure all functionality is in working order"
501
+ msgstr "pour être sûr que toutes les fonctionnalités soient en ordre de marche"
502
+
503
+ # @ wplivechat
504
+ #: wp-live-chat-support.php:485
505
+ msgid ""
506
+ "You're live chat box on your website has been temporarily disabled until the "
507
+ "Pro plugin has been updated. This is to ensure a smooth and hassle-free user "
508
+ "experience for both yourself and your visitors."
509
+ msgstr ""
510
+ "Votre fenêtre de discussion à été temporairement désactivée durant la mise à "
511
+ "jour de la version Pro. Pour être sûr que vous ne rencontriez pas de "
512
+ "problème, que ce soit du côté opérateur que du côté visiteurs."
513
+
514
+ # @ wplivechat
515
+ #: wp-live-chat-support.php:486
516
+ msgid ""
517
+ "You can update your plugin <a href='./update-core.php'>here</a>, <a href='./"
518
+ "plugins.php'>here</a> or <a href='http://wp-livechat.com/get-updated-"
519
+ "version/' target='_BLANK'>here</a>."
520
+ msgstr ""
521
+ "Vous pouvez mettre à jour votre plugin <a href='./update-core.php'>ici</a>, "
522
+ "<a href='./plugins.php'>ici</a> or <a href='http://wp-livechat.com/get-"
523
+ "updated-version/' target='_BLANK'>ici</a>."
524
+
525
+ # @ wplivechat
526
+ #: wp-live-chat-support.php:487
527
+ msgid "If you are having difficulty updating the plugin, please contact"
528
+ msgstr ""
529
+ "Si vous rencontrez des difficultés pour mettre à jour le plugin, merci de "
530
+ "nous contacter"
531
+
532
+ # @ wplivechat
533
+ #: wp-live-chat-support.php:512
534
+ msgid "Experiencing problems with the plugin?"
535
+ msgstr "Vous rencontrez des problèmes avec le plugin?"
536
+
537
+ # @ wplivechat
538
+ #: wp-live-chat-support.php:514
539
+ msgid "Review the documentation."
540
+ msgstr "Consultez la documentation."
541
+
542
+ # @ wplivechat
543
+ #: wp-live-chat-support.php:515
544
+ msgid "Or ask a question on our"
545
+ msgstr "Ou posez une question sur notre"
546
+
547
+ # @ wplivechat
548
+ #: wp-live-chat-support.php:537
549
+ msgid "Visitors on site"
550
+ msgstr "Visiteur sur le site"
551
+
552
+ # @ wplivechat
553
+ #: wp-live-chat-support.php:538
554
+ msgid "With the Pro add-on of WP Live Chat Support, you can"
555
+ msgstr "Avec la version Pro de WP Live Chat Support, vous pouvez"
556
+
557
+ # @ wplivechat
558
+ #: wp-live-chat-support.php:538
559
+ msgid "see who's online and initiate chats"
560
+ msgstr "voir qui est en ligne et être à l'initiative de la discussion"
561
+
562
+ # @ wplivechat
563
+ #: wp-live-chat-support.php:538
564
+ msgid "with your online visitors with the click of a button."
565
+ msgstr "avec vos visiteurs en ligne en 1 clic."
566
+
567
+ # @ wplivechat
568
+ #: wp-live-chat-support.php:538
569
+ msgid "Buy the Pro add-on now for only $29.95 once off. Free Updates FOREVER."
570
+ msgstr ""
571
+ " Achetez la version Pro pour seulement $29.95 une fois pour toutes. Mises à "
572
+ "jour illimitées."
573
+
574
+ # @ wplivechat
575
+ #: wp-live-chat-support.php:538
576
+ msgid "Buy the Pro add-on now for only $29.95 once off. Free Updates Forever."
577
+ msgstr ""
578
+ " Achetez la version Pro pour seulement $29.95 une fois pour toutes. Mises à "
579
+ "jour illimitées."
580
+
581
+ # @ wplivechat
582
+ #: wp-live-chat-support.php:603
583
+ msgid "Previous"
584
+ msgstr "Précédent"
585
+
586
+ # @ wplivechat
587
+ #: wp-live-chat-support.php:603
588
+ msgid "Active"
589
+ msgstr "Actif"
590
+
591
+ # @ wplivechat
592
+ #: wp-live-chat-support.php:624
593
+ msgid "End chat"
594
+ msgstr "Terminer la discussion"
595
+
596
+ # @ wplivechat
597
+ #: wp-live-chat-support.php:734
598
+ msgid "User has opened the chat window"
599
+ msgstr "Le visiteur a ouvert la fenêtre de discussion"
600
+
601
+ # @ wplivechat
602
+ #: wp-live-chat-support.php:739
603
+ msgid "User has minimized the chat window"
604
+ msgstr "Le visiteur a réduit la fenêtre de discussion"
605
+
606
+ # @ wplivechat
607
+ #: wp-live-chat-support.php:744
608
+ msgid "User has maximized the chat window"
609
+ msgstr "Le visiteur a agrandi la fenêtre de discussion"
610
+
611
+ # @ wplivechat
612
+ #: wp-live-chat-support.php:749
613
+ msgid "User has closed and ended the chat"
614
+ msgstr "Le visiteur a clos la discussion"
615
+
616
+ # @ wplivechat
617
+ #: wp-live-chat-support.php:958
618
+ msgid "WP Live Chat History"
619
+ msgstr "Historique WP Live Chat "
620
+
621
+ # @ wplivechat
622
+ #: wp-live-chat-support.php:988
623
+ msgid "Your settings have been saved."
624
+ msgstr "Vos paramètres ont été sauvegardés"
625
+
626
+ # @ wplivechat
627
+ #: wp-live-chat-support.php:1003
628
+ msgid "Thank You for your feedback!"
629
+ msgstr "Merci pour votre avis!"
630
+
631
+ # @ wplc
632
+ #: wp-live-chat-support.php:1007 wp-live-chat-support.php:1020
633
+ msgid "Thank you for your feedback. We will be in touch soon"
634
+ msgstr "Merci pour votre avis. Nous vous contacterons prochainement"
635
+
636
+ # @ wplc
637
+ #: wp-live-chat-support.php:1024
638
+ msgid "There was a problem sending your feedback. Please log your feedback on "
639
+ msgstr ""
640
+ "Il y a eu un probleme lors de l'envoi de votre avis. Merci de mettre votre "
641
+ "avis sur"
languages/wplivechat-sv_SE.mo ADDED
Binary file
languages/wplivechat-sv_SE.po ADDED
@@ -0,0 +1,1026 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: wplc\n"
4
+ "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2014-06-30 15:16+0200\n"
6
+ "PO-Revision-Date: 2014-10-02 12:20+0100\n"
7
+ "Last-Translator: \n"
8
+ "Language-Team: \n"
9
+ "Language: sv_SE\n"
10
+ "Plural-Forms: nplurals=2; plural=n != 1;\n"
11
+ "MIME-Version: 1.0\n"
12
+ "Content-Type: text/plain; charset=UTF-8\n"
13
+ "Content-Transfer-Encoding: 8bit\n"
14
+ "X-Poedit-SourceCharset: UTF-8\n"
15
+ "X-Loco-Source-Locale: sv_SE\n"
16
+ "X-Generator: Poedit 1.6.5\n"
17
+ "X-Poedit-KeywordsList: _;gettext;gettext_noop;__;_e\n"
18
+ "X-Poedit-Basepath: .\n"
19
+ "X-Loco-Parser: loco_parse_po\n"
20
+ "X-Loco-Target-Locale: en_GB\n"
21
+ "X-Poedit-SearchPath-0: C:\\wamp\\www\\wordpress38\\wp-content\\plugins\\wp-"
22
+ "live-chat-support\n"
23
+ "X-Poedit-SearchPath-1: C:\\wamp\\www\\wordpress38\\wp-content\\plugins\\wp-"
24
+ "live-chat-support-pro\n"
25
+
26
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/ajax.php:209
27
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/ajax-pro.
28
+ #: php:212
29
+ msgid "Admin has closed and ended the chat"
30
+ msgstr "Administratören har stäng och avslutat chatten"
31
+
32
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/ajax.php:233
33
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/ajax-pro.
34
+ #: php:245
35
+ msgid "There is No Answer. Please Try Again Later"
36
+ msgstr "Inget svar. Var god och testa senare"
37
+
38
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/functions.php:
39
+ #: 145
40
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/functions-
41
+ #: pro.php:23 pro.php:100
42
+ msgid "IP"
43
+ msgstr "IP"
44
+
45
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/functions.php:
46
+ #: 146
47
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/wp-live-chat-
48
+ #: support.php:169 C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-
49
+ #: support/includes/settings_page.php:71
50
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/functions-
51
+ #: pro.php:24 pro.php:101 pro.php:171
52
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-
53
+ #: chat-support-pro.php:303 chat-support-pro.php:401 chat-support-pro.php:419
54
+ msgid "Name"
55
+ msgstr "Namn"
56
+
57
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/functions.php:
58
+ #: 147
59
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/wp-live-chat-
60
+ #: support.php:171
61
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/functions-
62
+ #: pro.php:25 pro.php:102 pro.php:171
63
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-
64
+ #: chat-support-pro.php:304 chat-support-pro.php:403 chat-support-pro.php:420
65
+ msgid "Email"
66
+ msgstr "E-post"
67
+
68
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/functions.php:
69
+ #: 148
70
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/functions-
71
+ #: pro.php:26 pro.php:103
72
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-
73
+ #: chat-support-pro.php:305
74
+ msgid "URL"
75
+ msgstr "URL"
76
+
77
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/functions.php:
78
+ #: 149
79
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/functions-
80
+ #: pro.php:27 pro.php:104
81
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-
82
+ #: chat-support-pro.php:306
83
+ msgid "Status"
84
+ msgstr "Status"
85
+
86
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/functions.php:
87
+ #: 150
88
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/functions-
89
+ #: pro.php:28 pro.php:105
90
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-
91
+ #: chat-support-pro.php:307
92
+ msgid "Action"
93
+ msgstr "Handling"
94
+
95
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/functions.php:
96
+ #: 156
97
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/functions-
98
+ #: pro.php:111
99
+ msgid "No chat sessions available at the moment"
100
+ msgstr "Inga chattar är tillgängliga för tillfället"
101
+
102
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/functions.php:
103
+ #: 393
104
+ msgid "complete"
105
+ msgstr "klart"
106
+
107
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/functions.php:
108
+ #: 396
109
+ msgid "pending"
110
+ msgstr "pågående"
111
+
112
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/functions.php:
113
+ #: 399
114
+ msgid "active"
115
+ msgstr "aktiv"
116
+
117
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/functions.php:
118
+ #: 402
119
+ msgid "deleted"
120
+ msgstr "borttagen"
121
+
122
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/functions.php:
123
+ #: 405
124
+ msgid "browsing"
125
+ msgstr "online"
126
+
127
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/functions.php:
128
+ #: 408
129
+ msgid "requesting chat"
130
+ msgstr "begär chat"
131
+
132
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/functions.php:
133
+ #: 411
134
+ msgid "Chat Ended - User still browsing"
135
+ msgstr "Chat avslutad - Användare är fortfarande online"
136
+
137
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/functions.php:
138
+ #: 414
139
+ msgid "User is browsing but doesn't want to chat"
140
+ msgstr "Användaren är online men vill inte chatta."
141
+
142
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/functions.php:
143
+ #: 466
144
+ msgid "Get Pro Add-on to accept more chats"
145
+ msgstr "Skaffa Pro Add-on för att acceptera mer chattar"
146
+
147
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/wp-live-chat-
148
+ #: support.php:81 support.php:436
149
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-
150
+ #: chat-support-pro.php:1198
151
+ msgid "Live Chat"
152
+ msgstr "Live Chat"
153
+
154
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/wp-live-chat-
155
+ #: support.php:82
156
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-
157
+ #: chat-support-pro.php:1199
158
+ msgid "Settings"
159
+ msgstr "Inställningar"
160
+
161
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/wp-live-chat-
162
+ #: support.php:83
163
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-
164
+ #: chat-support-pro.php:1200
165
+ msgid "History"
166
+ msgstr "Historik"
167
+
168
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/wp-live-chat-
169
+ #: support.php:84 C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-
170
+ #: support/includes/feedback-page.php:37
171
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-
172
+ #: chat-support-pro.php:1201
173
+ msgid "Feedback"
174
+ msgstr "Feedback"
175
+
176
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/wp-live-chat-
177
+ #: support.php:159 C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-
178
+ #: support/includes/settings_page.php:208
179
+ msgid "Questions?"
180
+ msgstr "Frågor?"
181
+
182
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/wp-live-chat-
183
+ #: support.php:159 C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-
184
+ #: support/includes/settings_page.php:209
185
+ msgid "Chat with us"
186
+ msgstr "Chatta med oss"
187
+
188
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/wp-live-chat-
189
+ #: support.php:173 C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-
190
+ #: support/includes/settings_page.php:215
191
+ msgid "Start Chat"
192
+ msgstr "Starta chatt"
193
+
194
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/wp-live-chat-
195
+ #: support.php:180 C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-
196
+ #: support/includes/settings_page.php:216
197
+ msgid "Connecting you to a sales person. Please be patient."
198
+ msgstr "Kopplar dig till en säljare. Var god vänta."
199
+
200
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/wp-live-chat-
201
+ #: support.php:183 C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-
202
+ #: support/includes/settings_page.php:224
203
+ msgid "Reactivating your previous chat..."
204
+ msgstr "Återaktiverar din föregående chatt"
205
+
206
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/wp-live-chat-
207
+ #: support.php:187
208
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-
209
+ #: chat-support-pro.php:681
210
+ msgid "Press ENTER to send your message"
211
+ msgstr "Tryck ENTER flr att skicka ditt meddelande"
212
+
213
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/wp-live-chat-
214
+ #: support.php:191 support.php:544
215
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-
216
+ #: chat-support-pro.php:456 chat-support-pro.php:684
217
+ msgid "Send"
218
+ msgstr "Skicka"
219
+
220
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/wp-live-chat-
221
+ #: support.php:402
222
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-
223
+ #: chat-support-pro.php:202
224
+ msgid "Dear Pro User"
225
+ msgstr "Kära Pro användare"
226
+
227
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/wp-live-chat-
228
+ #: support.php:403
229
+ msgid "You are using an outdated version of WP Live Chat Support Pro. Please"
230
+ msgstr "Du använder en gammal version av WP Live Chat Support Pro. Var god"
231
+
232
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/wp-live-chat-
233
+ #: support.php:403
234
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-
235
+ #: chat-support-pro.php:213
236
+ msgid "update to at least version"
237
+ msgstr "uppdatera till senaste versionen"
238
+
239
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/wp-live-chat-
240
+ #: support.php:403
241
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-
242
+ #: chat-support-pro.php:213
243
+ msgid "to ensure all functionality is in working order"
244
+ msgstr "för att säkerställa att alla funktioner funkar"
245
+
246
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/wp-live-chat-
247
+ #: support.php:405
248
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-
249
+ #: chat-support-pro.php:215
250
+ msgid "If you are having difficulty updating the plugin, please contact"
251
+ msgstr "Om du har problem med att uppdatera detta plugin, var god kontakta"
252
+
253
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/wp-live-chat-
254
+ #: support.php:430
255
+ msgid "Experiencing problems with the plugin?"
256
+ msgstr "Upplever du problem med detta plugin?"
257
+
258
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/wp-live-chat-
259
+ #: support.php:432
260
+ msgid "Review the documentation."
261
+ msgstr "Läs dokumentationen."
262
+
263
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/wp-live-chat-
264
+ #: support.php:433
265
+ msgid "Or ask a question on our"
266
+ msgstr "Eller ställ en fråga på vår"
267
+
268
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/wp-live-chat-
269
+ #: support.php:455
270
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-
271
+ #: chat-support-pro.php:562
272
+ msgid "Visitors on site"
273
+ msgstr "Besökare på sidan"
274
+
275
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/wp-live-chat-
276
+ #: support.php:456
277
+ msgid "With the Pro add-on of WP Live Chat Support, you can"
278
+ msgstr "Med Pro add-on av WP live Chat Support, så kan du"
279
+
280
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/wp-live-chat-
281
+ #: support.php:456
282
+ msgid "see who's online and initiate chats"
283
+ msgstr "se vilka som är online och initiera chattar"
284
+
285
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/wp-live-chat-
286
+ #: support.php:456
287
+ msgid "with your online visitors with the click of a button."
288
+ msgstr "med dina besökare som är online med ett klick."
289
+
290
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/wp-live-chat-
291
+ #: support.php:456
292
+ msgid "Buy the Pro add-on now for only $29.95 once off. Free Updates FOREVER."
293
+ msgstr ""
294
+ "Köp Pro add-on nu för endast en engångssumma på $29.95. Fria uppdateringar "
295
+ "för evigt!"
296
+
297
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/wp-live-chat-
298
+ #: support.php:456
299
+ msgid "Buy the Pro add-on now for only $29.95 once off. Free Updates Forever."
300
+ msgstr ""
301
+ "Köp Pro add-on nu för endast en engångssumma på $29.95. Fria uppdateringar "
302
+ "för evigt!"
303
+
304
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/wp-live-chat-
305
+ #: support.php:516
306
+ msgid "Previous"
307
+ msgstr "Föregående"
308
+
309
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/wp-live-chat-
310
+ #: support.php:516
311
+ msgid "Active"
312
+ msgstr "Aktiv"
313
+
314
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/wp-live-chat-
315
+ #: support.php:534
316
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-
317
+ #: chat-support-pro.php:672
318
+ msgid "End chat"
319
+ msgstr "Avsluta chatt"
320
+
321
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/wp-live-chat-
322
+ #: support.php:644
323
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-
324
+ #: chat-support-pro.php:799
325
+ msgid "User has opened the chat window"
326
+ msgstr "Användaren har öppnat chattfönstret"
327
+
328
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/wp-live-chat-
329
+ #: support.php:649
330
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-
331
+ #: chat-support-pro.php:804
332
+ msgid "User has minimized the chat window"
333
+ msgstr "Användaren har minimerat chattfönstret"
334
+
335
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/wp-live-chat-
336
+ #: support.php:654
337
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-
338
+ #: chat-support-pro.php:809
339
+ msgid "User has maximized the chat window"
340
+ msgstr "Användaren har maximerat chattfönstret"
341
+
342
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/wp-live-chat-
343
+ #: support.php:659
344
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-
345
+ #: chat-support-pro.php:814
346
+ msgid "User has closed and ended the chat"
347
+ msgstr "Användaren har stängt chattfönstrtet"
348
+
349
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/wp-live-chat-
350
+ #: support.php:856
351
+ msgid "WP Live Chat History"
352
+ msgstr "WP Live Chat Historik"
353
+
354
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/wp-live-chat-
355
+ #: support.php:861 C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-
356
+ #: support/includes/settings_page.php:47 support/includes/settings_page.php:78
357
+ #: support/includes/settings_page.php:94
358
+ #: support/includes/settings_page.php:110
359
+ #: support/includes/settings_page.php:126
360
+ #: support/includes/settings_page.php:143
361
+ #: support/includes/settings_page.php:164
362
+ #: support/includes/settings_page.php:178
363
+ #: support/includes/settings_page.php:228
364
+ msgid "Pro Add-on"
365
+ msgstr "Pro Add-on"
366
+
367
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/wp-live-chat-
368
+ #: support.php:885
369
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-
370
+ #: chat-support-pro.php:514
371
+ msgid "Your settings have been saved."
372
+ msgstr "Dina inställningar har blivit sparade."
373
+
374
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/wp-live-chat-
375
+ #: support.php:900
376
+ msgid "Thank You for your feedback!"
377
+ msgstr "Tack för din feedback!"
378
+
379
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/wp-live-chat-
380
+ #: support.php:904 support.php:917
381
+ msgid "Thank you for your feedback. We will be in touch soon"
382
+ msgstr "Tack för din feedback. Vi hör av oss snart"
383
+
384
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support/wp-live-chat-
385
+ #: support.php:921
386
+ msgid "There was a problem sending your feedback. Please log your feedback on "
387
+ msgstr ""
388
+ "Det uppstod ett problem när din feedback skickades. Var god skicka din "
389
+ "feedback på"
390
+
391
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-
392
+ #: support/includes/feedback-page.php:7
393
+ msgid "WP Live Chat Support Feedback"
394
+ msgstr "WP Live Chat Support Feedback"
395
+
396
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-
397
+ #: support/includes/feedback-page.php:8
398
+ msgid "We'd love to hear your comments and/or suggestions"
399
+ msgstr "Vi vill verkligen höra dina kommentarer och/eller förslag"
400
+
401
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-
402
+ #: support/includes/feedback-page.php:13
403
+ msgid "Your Name"
404
+ msgstr "Ditt Namn"
405
+
406
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-
407
+ #: support/includes/feedback-page.php:21
408
+ msgid "Your Email"
409
+ msgstr "Din E-post"
410
+
411
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-
412
+ #: support/includes/feedback-page.php:29
413
+ msgid "Your Website"
414
+ msgstr "Din Hemsida"
415
+
416
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-
417
+ #: support/includes/feedback-page.php:48
418
+ msgid "Send Feedback"
419
+ msgstr "Skicka Feedback"
420
+
421
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-
422
+ #: support/includes/settings_page.php:6
423
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-
424
+ #: pro/includes/settings_page_pro.php:17
425
+ msgid "WP Live Chat Support Settings"
426
+ msgstr "WP live Chat Support Inställningar"
427
+
428
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-
429
+ #: support/includes/settings_page.php:19
430
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-
431
+ #: pro/includes/settings_page_pro.php:29
432
+ msgid "General Settings"
433
+ msgstr "Allmänna Inställningar"
434
+
435
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-
436
+ #: support/includes/settings_page.php:20
437
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-
438
+ #: pro/includes/settings_page_pro.php:30
439
+ msgid "Chat Box"
440
+ msgstr "Chatt Fönster"
441
+
442
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-
443
+ #: support/includes/settings_page.php:21
444
+ #: support/includes/settings_page.php:153
445
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-
446
+ #: pro/includes/settings_page_pro.php:31
447
+ #: pro/includes/settings_page_pro.php:141
448
+ msgid "Offline Messages"
449
+ msgstr "Offline Meddelanden"
450
+
451
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-
452
+ #: support/includes/settings_page.php:22
453
+ #: support/includes/settings_page.php:190
454
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-
455
+ #: pro/includes/settings_page_pro.php:32
456
+ #: pro/includes/settings_page_pro.php:226
457
+ msgid "Styling"
458
+ msgstr "Styling"
459
+
460
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-
461
+ #: support/includes/settings_page.php:23
462
+ msgid "Agents"
463
+ msgstr "Agenter"
464
+
465
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-
466
+ #: support/includes/settings_page.php:26
467
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-
468
+ #: pro/includes/settings_page_pro.php:36
469
+ msgid "Main Settings"
470
+ msgstr "Huvudinställningar"
471
+
472
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-
473
+ #: support/includes/settings_page.php:29
474
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-
475
+ #: pro/includes/settings_page_pro.php:39
476
+ msgid "Chat enabled"
477
+ msgstr "Chatt aktiverad"
478
+
479
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-
480
+ #: support/includes/settings_page.php:32
481
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-
482
+ #: pro/includes/settings_page_pro.php:42
483
+ msgid "Yes"
484
+ msgstr "Ja"
485
+
486
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-
487
+ #: support/includes/settings_page.php:33
488
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-
489
+ #: pro/includes/settings_page_pro.php:43
490
+ msgid "No"
491
+ msgstr "Nej"
492
+
493
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-
494
+ #: support/includes/settings_page.php:39
495
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-
496
+ #: pro/includes/settings_page_pro.php:49
497
+ msgid "Hide Chat"
498
+ msgstr "Göm Chatt"
499
+
500
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-
501
+ #: support/includes/settings_page.php:40
502
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-
503
+ #: pro/includes/settings_page_pro.php:50
504
+ msgid "Hides chat for 24hrs when user clicks X"
505
+ msgstr "Göm chatten i 24 timmar när användaren klickar på X"
506
+
507
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-
508
+ #: support/includes/settings_page.php:46 support/includes/settings_page.php:77
509
+ #: support/includes/settings_page.php:93
510
+ #: support/includes/settings_page.php:109
511
+ #: support/includes/settings_page.php:125
512
+ #: support/includes/settings_page.php:142
513
+ msgid "available in the"
514
+ msgstr "tillgängligt i"
515
+
516
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-
517
+ #: support/includes/settings_page.php:48 support/includes/settings_page.php:79
518
+ #: support/includes/settings_page.php:95
519
+ #: support/includes/settings_page.php:111
520
+ #: support/includes/settings_page.php:127
521
+ #: support/includes/settings_page.php:144
522
+ msgid "only"
523
+ msgstr "endast"
524
+
525
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-
526
+ #: support/includes/settings_page.php:57
527
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-
528
+ #: pro/includes/settings_page_pro.php:60
529
+ msgid "Chat Window Settings"
530
+ msgstr "Inställningar Chattfönster"
531
+
532
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-
533
+ #: support/includes/settings_page.php:60
534
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-
535
+ #: pro/includes/settings_page_pro.php:63
536
+ msgid "Chat box alignment"
537
+ msgstr "Chattfönster placering"
538
+
539
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-
540
+ #: support/includes/settings_page.php:63
541
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-
542
+ #: pro/includes/settings_page_pro.php:66
543
+ msgid "Bottom left"
544
+ msgstr "Botten till vänster"
545
+
546
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-
547
+ #: support/includes/settings_page.php:64
548
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-
549
+ #: pro/includes/settings_page_pro.php:67
550
+ msgid "Bottom right"
551
+ msgstr "Botten till höger"
552
+
553
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-
554
+ #: support/includes/settings_page.php:87
555
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-
556
+ #: pro/includes/settings_page_pro.php:86
557
+ msgid "Picture"
558
+ msgstr "Bild"
559
+
560
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-
561
+ #: support/includes/settings_page.php:90
562
+ #: support/includes/settings_page.php:106
563
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-
564
+ #: pro/includes/settings_page_pro.php:94
565
+ msgid "Upload Image"
566
+ msgstr "Ladda upp bild"
567
+
568
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-
569
+ #: support/includes/settings_page.php:103
570
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-
571
+ #: pro/includes/settings_page_pro.php:103
572
+ msgid "Logo"
573
+ msgstr "Logo"
574
+
575
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-
576
+ #: support/includes/settings_page.php:119
577
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-
578
+ #: pro/includes/settings_page_pro.php:120
579
+ msgid "Chat delay (seconds)"
580
+ msgstr "Chattfördröjning (sekunder)"
581
+
582
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-
583
+ #: support/includes/settings_page.php:135
584
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-
585
+ #: pro/includes/settings_page_pro.php:129
586
+ msgid "Chat notifications"
587
+ msgstr "Chattnotifikationer"
588
+
589
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-
590
+ #: support/includes/settings_page.php:139
591
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-
592
+ #: pro/includes/settings_page_pro.php:133
593
+ msgid "Alert me via email as soon as someone wants to chat"
594
+ msgstr "Skicka ett email till mig så snart någon vill chatta"
595
+
596
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-
597
+ #: support/includes/settings_page.php:157
598
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-
599
+ #: pro/includes/settings_page_pro.php:145
600
+ msgid "Email Address"
601
+ msgstr "E-postadress"
602
+
603
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-
604
+ #: support/includes/settings_page.php:163
605
+ msgid "Get offline messages with the "
606
+ msgstr "Få offline meddelande med"
607
+
608
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-
609
+ #: support/includes/settings_page.php:172
610
+ msgid "Offline text"
611
+ msgstr "Offline text"
612
+
613
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-
614
+ #: support/includes/settings_page.php:177
615
+ #: support/includes/settings_page.php:227
616
+ msgid "Edit these text fields using the "
617
+ msgstr "Ändra dessa textfält med"
618
+
619
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-
620
+ #: support/includes/settings_page.php:193
621
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-
622
+ #: pro/includes/settings_page_pro.php:229
623
+ msgid "Chat box fill color"
624
+ msgstr "Chattfönster färg"
625
+
626
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-
627
+ #: support/includes/settings_page.php:199
628
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-
629
+ #: pro/includes/settings_page_pro.php:235
630
+ msgid "Chat box font color"
631
+ msgstr "Chattfönster textfärg"
632
+
633
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-
634
+ #: support/includes/settings_page.php:206
635
+ msgid "First section text"
636
+ msgstr "Första textsektionen"
637
+
638
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-
639
+ #: support/includes/settings_page.php:213
640
+ msgid "Second section text"
641
+ msgstr "Andra textsektionen"
642
+
643
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-
644
+ #: support/includes/settings_page.php:222
645
+ msgid "Reactivate chat section text"
646
+ msgstr "Återaktivera chatt textsektion"
647
+
648
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-
649
+ #: support/includes/settings_page.php:239
650
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-
651
+ #: pro/includes/settings_page_pro.php:294
652
+ msgid "Multiple Agents"
653
+ msgstr "Flera Agenter"
654
+
655
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-
656
+ #: support/includes/settings_page.php:240
657
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-
658
+ #: pro/includes/settings_page_pro.php:295
659
+ msgid "Get"
660
+ msgstr "Få"
661
+
662
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-
663
+ #: support/includes/settings_page.php:240
664
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-
665
+ #: pro/includes/settings_page_pro.php:295
666
+ msgid "Multiple agent support"
667
+ msgstr "Support för flera agenter"
668
+
669
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-
670
+ #: support/includes/settings_page.php:240
671
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-
672
+ #: pro/includes/settings_page_pro.php:295
673
+ msgid "for only $39.95"
674
+ msgstr "för endast $39.95"
675
+
676
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-
677
+ #: support/includes/settings_page.php:243
678
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-
679
+ #: pro/includes/settings_page_pro.php:299
680
+ msgid "Save Settings"
681
+ msgstr "Spara Inställningar"
682
+
683
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-
684
+ #: support/includes/welcome_page.php:4
685
+ msgid "Welcome to "
686
+ msgstr "Välkommen till"
687
+
688
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-
689
+ #: support/includes/welcome_page.php:15
690
+ msgid "WordPress.org plugin repository "
691
+ msgstr "WordPress.org plugin repository"
692
+
693
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-
694
+ #: support/includes/welcome_page.php:18
695
+ msgid "Search Term"
696
+ msgstr "Sökterm"
697
+
698
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-
699
+ #: support/includes/welcome_page.php:22
700
+ msgid "Google or other search Engine"
701
+ msgstr "Google eller andra sökmotorer"
702
+
703
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-
704
+ #: support/includes/welcome_page.php:28
705
+ msgid "Friend recommendation"
706
+ msgstr "Vänrekommendation"
707
+
708
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-
709
+ #: support/includes/welcome_page.php:34
710
+ msgid "Other"
711
+ msgstr "Övrigt"
712
+
713
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-
714
+ #: support/includes/welcome_page.php:38
715
+ msgid "Please Explain"
716
+ msgstr "Var god förklara"
717
+
718
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-
719
+ #: support/includes/welcome_page.php:47
720
+ msgid "Submit"
721
+ msgstr "Skicka"
722
+
723
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-
724
+ #: support/includes/welcome_page.php:49
725
+ msgid "Skip"
726
+ msgstr "Hoppa över"
727
+
728
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/functions-
729
+ #: pro.php:46
730
+ msgid "Initiate Chat"
731
+ msgstr "Påbörja Chatt"
732
+
733
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/functions-
734
+ #: pro.php:48
735
+ msgid "You must be a chat agent to initiate chats"
736
+ msgstr "Du måste vara en chattagent för att påbörja chattar"
737
+
738
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/functions-
739
+ #: pro.php:66
740
+ msgid "No visitors on-line at the moment"
741
+ msgstr "Inga besökare är online för tillfället"
742
+
743
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/functions-
744
+ #: pro.php:125
745
+ msgid "Accept Chat"
746
+ msgstr "Acceptera chatt"
747
+
748
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/functions-
749
+ #: pro.php:128
750
+ msgid "You must be a chat agent to answer chats"
751
+ msgstr "Du måste vara en chattagent för att svara på chattar"
752
+
753
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/functions-
754
+ #: pro.php:135
755
+ msgid "Open Chat Window"
756
+ msgstr "Öppna chattfönster"
757
+
758
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/functions-
759
+ #: pro.php:138
760
+ msgid "Chat has been answered by another agent"
761
+ msgstr "Chatten har blivit besvarad av en annan agent"
762
+
763
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/functions-
764
+ #: pro.php:141
765
+ msgid "Chat has been Accpted By Chat Agent "
766
+ msgstr "Chatten har blivit accepterad av en chattagent"
767
+
768
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/functions-
769
+ #: pro.php:170
770
+ msgid "WP Live Chat Support - Offline Message from"
771
+ msgstr "WP Live Chat Support - Offline Meddelande från"
772
+
773
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/functions-
774
+ #: pro.php:171
775
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-
776
+ #: chat-support-pro.php:421
777
+ msgid "Message"
778
+ msgstr "Meddelande"
779
+
780
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/functions-
781
+ #: pro.php:171
782
+ msgid "Via WP Live Chat Support"
783
+ msgstr "Via WP Live Chat Support"
784
+
785
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/functions-
786
+ #: pro.php:225
787
+ msgid "Alert: Someone wants to chat with you on "
788
+ msgstr "Alert: Någon vill chatta med dig"
789
+
790
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/functions-
791
+ #: pro.php:226
792
+ msgid "Someone wants to chat with you on your website"
793
+ msgstr "Någon vill chatta med dig på din hemsida"
794
+
795
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/functions-
796
+ #: pro.php:226
797
+ msgid "Log in"
798
+ msgstr "Logga in"
799
+
800
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-
801
+ #: chat-support-pro.php:203
802
+ msgid ""
803
+ "WP Live Chat Support Pro requires WP Live Chat Support to function. You Can "
804
+ "download the latest copy from"
805
+ msgstr ""
806
+ "WP Live Chat Support Pro kräver WP Live Chat Support för att fungera. Du kan "
807
+ "ladda ner den senaste versionen från"
808
+
809
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-
810
+ #: chat-support-pro.php:212
811
+ msgid "Dear User"
812
+ msgstr "Kära Användare"
813
+
814
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-
815
+ #: chat-support-pro.php:213
816
+ msgid "You are using an outdated version of WP Live Chat Support Basic. Please"
817
+ msgstr "Du använder en gammal version av WP Live Chat Support Basic Please"
818
+
819
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-
820
+ #: chat-support-pro.php:302 chat-support-pro.php:661
821
+ msgid "Date"
822
+ msgstr "Datum"
823
+
824
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-
825
+ #: chat-support-pro.php:313
826
+ msgid "No chats available at the moment"
827
+ msgstr "Inga chattar är tillgängliga för tillfället"
828
+
829
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-
830
+ #: chat-support-pro.php:423
831
+ msgid "Send message"
832
+ msgstr "Skicka meddelande"
833
+
834
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-
835
+ #: chat-support-pro.php:535
836
+ msgid "Chat sessions"
837
+ msgstr "Chattsessioner"
838
+
839
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-
840
+ #: chat-support-pro.php:557
841
+ msgid ""
842
+ "Please note: This window must be open in order to receive new chat "
843
+ "notifications."
844
+ msgstr ""
845
+ "Vänligen notera: Detta fönster måste vara öppet för att kunna ta emot nya "
846
+ "chattnotifikationer."
847
+
848
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-
849
+ #: chat-support-pro.php:651
850
+ msgid "Chat with"
851
+ msgstr "Chatta med"
852
+
853
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-
854
+ #: chat-support-pro.php:658
855
+ msgid "Email address"
856
+ msgstr "E-postadress"
857
+
858
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-
859
+ #: chat-support-pro.php:659
860
+ msgid "IP Address"
861
+ msgstr "IP adress"
862
+
863
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-
864
+ #: chat-support-pro.php:660
865
+ msgid "From URL"
866
+ msgstr "Från URL"
867
+
868
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-
869
+ #: chat-support-pro.php:660
870
+ msgid "open"
871
+ msgstr "öppna"
872
+
873
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-
874
+ #: chat-support-pro.php:667
875
+ msgid "Attempting to open the chat window... Please be patient."
876
+ msgstr "Försöker öppna chattfönstret... Var god vänta."
877
+
878
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-
879
+ #: chat-support-pro.php:735
880
+ msgid "This chat has already been answered. Please close the chat window"
881
+ msgstr "Denna chatt har redan blivit svarad. Var god stäng chattfönstret"
882
+
883
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-
884
+ #: chat-support-pro.php:1111
885
+ msgid ""
886
+ "An Unexpected HTTP Error occurred during the API request.</p> <p><a href=\"?"
887
+ "\" onclick=\"document.location.reload(); return false;\">Try again</a>"
888
+ msgstr ""
889
+ "Ett oväntat HTTP fel har uppstått under API förfrågan.\n"
890
+ "</p> <p><a href=\"?\" onclick=\"document.location.reload(); return false;"
891
+ "\">Försök Igen</a>"
892
+
893
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-
894
+ #: chat-support-pro.php:1116
895
+ msgid "An unknown error occurred"
896
+ msgstr "Ett oväntat fel uppstod"
897
+
898
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-
899
+ #: chat-support-pro.php:1203
900
+ msgid "Error Log"
901
+ msgstr "Felprotokoll"
902
+
903
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-
904
+ #: pro/includes/settings_page_pro.php:33
905
+ msgid "Chat Agents"
906
+ msgstr "Chattagenter"
907
+
908
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-
909
+ #: pro/includes/settings_page_pro.php:74
910
+ msgid "Name "
911
+ msgstr "Namn"
912
+
913
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-
914
+ #: pro/includes/settings_page_pro.php:96
915
+ msgid "Remove Image"
916
+ msgstr "Ta bort bild"
917
+
918
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-
919
+ #: pro/includes/settings_page_pro.php:97
920
+ msgid "Recomended Size 40px x 40px"
921
+ msgstr "Rekommenderad Storlek 40px x 40px"
922
+
923
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-
924
+ #: pro/includes/settings_page_pro.php:111
925
+ msgid "Upload Logo"
926
+ msgstr "Ladda upp Logo"
927
+
928
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-
929
+ #: pro/includes/settings_page_pro.php:113
930
+ msgid "Remove Logo"
931
+ msgstr "Ta bort Logo"
932
+
933
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-
934
+ #: pro/includes/settings_page_pro.php:114
935
+ msgid "Recomended Size 250px x 40px"
936
+ msgstr "Rekommenderad Storlek 250px x 40px"
937
+
938
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-
939
+ #: pro/includes/settings_page_pro.php:123
940
+ msgid "how long it takes for your chat window to pop up"
941
+ msgstr "hur länge det tar innan ditt chattfönster ska öppnas"
942
+
943
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-
944
+ #: pro/includes/settings_page_pro.php:134
945
+ msgid "(while online only)"
946
+ msgstr "(enbart medans online)"
947
+
948
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-
949
+ #: pro/includes/settings_page_pro.php:149
950
+ msgid "Email address where offline messages are delivered to"
951
+ msgstr "E-postadressen dit offlinemeddelanden skickas"
952
+
953
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-
954
+ #: pro/includes/settings_page_pro.php:157
955
+ msgid "Sending Method"
956
+ msgstr "Metod för att Skicka"
957
+
958
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-
959
+ #: pro/includes/settings_page_pro.php:158
960
+ msgid "WP Mail"
961
+ msgstr "WP Mail"
962
+
963
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-
964
+ #: pro/includes/settings_page_pro.php:159
965
+ msgid "PHP Mailer"
966
+ msgstr "PHP Mailer"
967
+
968
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-
969
+ #: pro/includes/settings_page_pro.php:171
970
+ msgid "Host"
971
+ msgstr "Host"
972
+
973
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-
974
+ #: pro/includes/settings_page_pro.php:179
975
+ msgid "Port"
976
+ msgstr "Port"
977
+
978
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-
979
+ #: pro/includes/settings_page_pro.php:187
980
+ msgid "Username"
981
+ msgstr "Användarnamn"
982
+
983
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-
984
+ #: pro/includes/settings_page_pro.php:195
985
+ msgid "Password"
986
+ msgstr "Lösenord"
987
+
988
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-
989
+ #: pro/includes/settings_page_pro.php:204
990
+ msgid "Offline Chat Box Title"
991
+ msgstr "Titel för Chattfönster Offline"
992
+
993
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-
994
+ #: pro/includes/settings_page_pro.php:212
995
+ msgid "Offline Text Fields"
996
+ msgstr "Textfält Offline"
997
+
998
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-
999
+ #: pro/includes/settings_page_pro.php:241
1000
+ msgid "First Section Text"
1001
+ msgstr "Första Textsektionen"
1002
+
1003
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-
1004
+ #: pro/includes/settings_page_pro.php:250
1005
+ msgid "Intro Text"
1006
+ msgstr "Introtext"
1007
+
1008
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-
1009
+ #: pro/includes/settings_page_pro.php:256
1010
+ msgid "Second Section Text"
1011
+ msgstr "Andra Textsektionen"
1012
+
1013
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-
1014
+ #: pro/includes/settings_page_pro.php:263
1015
+ msgid "Reactivate Chat Section Text"
1016
+ msgstr "Återaktivera Textsektionen för Chatt"
1017
+
1018
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-
1019
+ #: pro/includes/settings_page_pro.php:271
1020
+ msgid "User chat welcome"
1021
+ msgstr "Välkomstmeddelande för Användare"
1022
+
1023
+ #: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-
1024
+ #: pro/includes/settings_page_pro.php:280
1025
+ msgid "Other text"
1026
+ msgstr "Annan Text"
readme.txt CHANGED
@@ -7,7 +7,7 @@ Tested up to: 4.0
7
  Stable tag: trunk
8
  License: GPLv2
9
 
10
- Fully functional Live Chat plugin. Chat with your visitors for free! No need for third party connections or monthly payments.
11
 
12
  == Description ==
13
 
@@ -27,9 +27,11 @@ The most cost effective Live Chat plugin. Chat with your visitors for free! WP L
27
 
28
  = Pro Version Features =
29
 
 
30
  * Unlimited live chat agents
31
  * Initiate live chats with online visitors
32
  * Chat to more than one visitor at a time
 
33
  * Access historical live chat records
34
  * Set up your user profile
35
  * Add your company logo to the live chat window
@@ -38,13 +40,15 @@ The most cost effective Live Chat plugin. Chat with your visitors for free! WP L
38
  * World-class support
39
  * Fully customizable live chat experience
40
 
41
- = Coming soon =
42
- * Triggers - Build custom live chat triggers. For example, if a user has been idle for more than 2 minutes, initiate a live chat and send a response.
43
- * Quick responses - Create "quick responses" for your live chat window (click to insert a response)
44
- * XMP notifications - Get notified about new live chats in Gtalk, ICQ, Yahoo! messenger, etc.
45
-
46
 
47
- Get the [WP Live Chat Support Pro Add-on](http://wp-livechat.com/purchase-pro/) for only $29.95 once off!
 
 
 
 
 
 
48
 
49
  = 30 second live chat installation =
50
 
@@ -54,10 +58,6 @@ Our live chat plugin instantly gives you the ability to chat directly with poten
54
 
55
  Once the live chat plugin is activated, click on "Live Chat" in the left menu navigation. As soon as a visitor lands on your website, their details will be displayed in the live chat control panel. A live chat box will be displayed on their screen. If they fill out their details and click "Start chat", a ringing sound will trigger in your live chat control panel. Once you accept the chat, you can communicate directly with your visitor.
56
 
57
- = Coming Soon to WP Live Chat Support =
58
-
59
- * More advanced customization and themes
60
-
61
  = Translations =
62
  Get a free copy of the WP Live Chat Support Pro version in exchange for translating our plugin!
63
 
@@ -65,9 +65,11 @@ Get a free copy of the WP Live Chat Support Pro version in exchange for translat
65
  * German (Dennis Klinger)
66
  * Spanish (Sergio Castrillon)
67
  * Russian (Igor Butsky)
 
68
  * Brazilian (Gustavo Silva)
69
  * Hebrew (David Cohen)
70
  * Slovakian (Dana Kadarova)
 
71
  * Chinese - Simplified^
72
  * Chinese - Traditional^
73
  * Italian^
@@ -122,12 +124,17 @@ It is highly recommended that you upgrade to WP Live Chat Support version 4.1.4
122
 
123
  == Changelog ==
124
 
 
 
 
 
 
 
125
  = 4.1.6 2014-09-25 - Low priority =
126
- * Code improvements (JavaScript errors fixed in IE)
127
- * New WP Live Chat Support Translations Added:
128
- * - Slovakian (Thank You Dana Kadarova)
129
- * - German (Thank You Dennis Klingr)
130
- * - Hebrew (Thank You David Cohen)
131
 
132
  = 4.1.5 2014-08-22 - Low priority =
133
  * Code improvements (PHP warnings - set_time_limit caused warnings on some hosts)
7
  Stable tag: trunk
8
  License: GPLv2
9
 
10
+ Why pay a monthly fee? Fully functional Live Chat plugin. Chat with your visitors for free! No need for third party connections or monthly payments.
11
 
12
  == Description ==
13
 
27
 
28
  = Pro Version Features =
29
 
30
+ * Pay once and never again for WP Live Chat Support Pro
31
  * Unlimited live chat agents
32
  * Initiate live chats with online visitors
33
  * Chat to more than one visitor at a time
34
+ * Quick Responses (insert a predefined response to your live chat box)
35
  * Access historical live chat records
36
  * Set up your user profile
37
  * Add your company logo to the live chat window
40
  * World-class support
41
  * Fully customizable live chat experience
42
 
43
+ Get the [WP Live Chat Support Pro Add-on](http://wp-livechat.com/purchase-pro/?utm_source=readme&utm_medium=wordpress&utm_campaign=buy) for only $29.95 once off!
 
 
 
 
44
 
45
+ = Coming soon =
46
+ * (Oct 2014) (Free & Pro) New feature - Enable/disable the requirement for the user's name and email address when initiating a live chat.
47
+ * (Oct 2014) (Free & Pro) Design update - New transitions (live chat box slides up, fades, jumps, etc after x seconds)
48
+ * (Cct 2014) (Free & Pro) Improvements - Better link and image handling within the live chat text area
49
+ * (Nov 2014) (Pro) New feature - Triggers - Build custom live chat triggers. For example, if a user has been idle for more than 2 minutes, initiate a live chat and send a response.
50
+ * (Nov 2014) (Free & Pro) New feature - XMP notifications - Get notified about new live chats in Gtalk, ICQ, Yahoo! messenger, etc.
51
+ * (Jan 2015) (Pro+) New feature - Full XMP support (chat through Skype, Gtalk, ICQ, Yahoo! messenger, etc)
52
 
53
  = 30 second live chat installation =
54
 
58
 
59
  Once the live chat plugin is activated, click on "Live Chat" in the left menu navigation. As soon as a visitor lands on your website, their details will be displayed in the live chat control panel. A live chat box will be displayed on their screen. If they fill out their details and click "Start chat", a ringing sound will trigger in your live chat control panel. Once you accept the chat, you can communicate directly with your visitor.
60
 
 
 
 
 
61
  = Translations =
62
  Get a free copy of the WP Live Chat Support Pro version in exchange for translating our plugin!
63
 
65
  * German (Dennis Klinger)
66
  * Spanish (Sergio Castrillon)
67
  * Russian (Igor Butsky)
68
+ * French (Marcello Cavallucci)
69
  * Brazilian (Gustavo Silva)
70
  * Hebrew (David Cohen)
71
  * Slovakian (Dana Kadarova)
72
+ * Swedish (Tobias Sernhede)
73
  * Chinese - Simplified^
74
  * Chinese - Traditional^
75
  * Italian^
124
 
125
  == Changelog ==
126
 
127
+ = 4.1.7 2014-10-06 - Low priority =
128
+ * Bug fix: sound was not played when user received a live chat message from the admin
129
+ * Internationalization update
130
+ * New WP Live Chat Support Translation added:
131
+ * * Swedish (Thank You Tobias Sernhede)
132
+
133
  = 4.1.6 2014-09-25 - Low priority =
134
+ * Live chat translations added:
135
+ * - Hebrew
136
+ * - German
137
+ * - Slovakian
 
138
 
139
  = 4.1.5 2014-08-22 - Low priority =
140
  * Code improvements (PHP warnings - set_time_limit caused warnings on some hosts)
wp-live-chat-support.php CHANGED
@@ -1,1058 +1,1071 @@
1
- <?php
2
- /*
3
- Plugin Name: WP Live Chat Support
4
- Plugin URI: http://www.wp-livechat.com
5
- Description: The easiest to use website live chat plugin. Let your visitors chat with you and increase sales conversion rates with WP Live Chat Support. No third party connection required!
6
- Version: 4.1.6
7
- Author: WP-LiveChat
8
- Author URI: http://www.wp-livechat.com
9
- */
10
-
11
-
12
- /* 4.1.6
13
- * Code improvements (JavaScript errors fixed in IE)
14
- * New WP Live Chat Support Translations Added:
15
- * - Slovakian (Thank You Dana Kadarova)
16
- * - German (Thank You Dennis Klingr)
17
- * - Hebrew (Thank You David Cohen)
18
- *
19
- * 4.1.5
20
- * Code improvements (PHP warnings - set_time_limit caused warnings on some hosts)
21
- *
22
- * 4.1.4
23
- * Significant performance improvements
24
- * Brazilian translation added - thank you Gustavo Silva
25
- *
26
- * 4.1.3
27
- * Code improvements (PHP warnings)
28
- *
29
- * 4.1.2
30
- * DB bug fix
31
- *
32
- * 4.1.1
33
- * Significant performance improvements
34
- * Live chat window will now only show in one window (if user has multiple tabs open on your site)
35
- * You can now see the browser of the live chat user
36
- * Improved the UI of the backend
37
- * Bug fixes
38
- *
39
- * 4.1.0
40
- * New feature: You can now show the chat box on the left or right
41
- * Vulnerability fix (JS injections). Thank you Patrik @ www.it-securityguard.com
42
- * Fixed 403 bug when saving settings
43
- * Fixed Ajax Time out error (Lowered From 90 to 28)
44
- * Fixed IE8 bug
45
- * Added option to auto pop up chat window
46
- * Added Italian language files. Thanks to Davide
47
- *
48
- */
49
-
50
- //error_reporting(E_ERROR);
51
- global $wplc_version;
52
- global $wplc_p_version;
53
- global $wplc_tblname;
54
- global $wpdb;
55
- global $wplc_tblname_chats;
56
- global $wplc_tblname_msgs;
57
- $wplc_tblname_chats = $wpdb->prefix . "wplc_chat_sessions";
58
- $wplc_tblname_msgs = $wpdb->prefix . "wplc_chat_msgs";
59
- $wplc_version = "4.1.6";
60
-
61
- define('WPLC_BASIC_PLUGIN_DIR',dirname(__FILE__));
62
- define('WPLC_BASIC_PLUGIN_URL',plugins_url()."/wp-live-chat-support/");
63
- global $wplc_basic_plugin_url;
64
- $wplc_basic_plugin_url = get_option('siteurl')."/wp-content/plugins/wp-live-chat-support/";
65
- require_once (plugin_dir_path( __FILE__ )."functions.php");
66
- add_action('wp_ajax_wplc_admin_set_transient', 'wplc_action_callback');
67
- add_action('init','wplc_version_control');
68
- add_action('wp_footer', 'wplc_display_box');
69
-
70
- add_action('init','wplc_init');
71
-
72
- if (function_exists('wplc_head_pro')) {
73
- add_action('admin_head', 'wplc_head_pro');
74
- } else {
75
- add_action('admin_head', 'wplc_head_basic');
76
- }
77
-
78
-
79
- add_action('wp_enqueue_scripts', 'wplc_add_user_stylesheet' );
80
- add_action('admin_enqueue_scripts', 'wplc_add_admin_stylesheet');
81
-
82
- if(function_exists('wplc_admin_menu_pro')){
83
- add_action('admin_menu', 'wplc_admin_menu_pro');
84
- } else {
85
- add_action('admin_menu', 'wplc_admin_menu');
86
- }
87
- add_action('admin_head', 'wplc_superadmin_javascript');
88
- register_activation_hook( __FILE__, 'wplc_activate' );
89
-
90
- function wplc_basic_check(){
91
- // check if basic exists if pro is installed
92
- }
93
- function wplc_init() {
94
- $plugin_dir = basename(dirname(__FILE__))."/languages/";
95
- load_plugin_textdomain( 'wplivechat', false, $plugin_dir );
96
- }
97
-
98
-
99
- function wplc_version_control() {
100
- global $wplc_version;
101
-
102
-
103
- $current_version = get_option("wplc_current_version");
104
- if (!isset($current_version) || $current_version != $wplc_version) {
105
- wplc_handle_db();
106
- update_option("wplc_current_version",$wplc_version);
107
-
108
- }
109
-
110
-
111
- }
112
- function wplc_action_callback() {
113
- global $wpdb;
114
- global $wplc_tblname_chats;
115
- $check = check_ajax_referer( 'wplc', 'security' );
116
-
117
- if ($check == 1) {
118
- if ($_POST['action'] == "wplc_admin_set_transient") {
119
- set_transient("wplc_is_admin_logged_in", "1", 70 );
120
-
121
- }
122
- }
123
- die(); // this is required to return a proper result
124
-
125
- }
126
-
127
-
128
- function wplc_feedback_page_include(){
129
- include 'includes/feedback-page.php';
130
- }
131
-
132
- function wplc_admin_menu() {
133
- $wplc_mainpage = add_menu_page('WP Live Chat', __('Live Chat','wplivechat'), 'manage_options', 'wplivechat-menu', 'wplc_admin_menu_layout');
134
- add_submenu_page('wplivechat-menu', __('Settings','wplivechat'), __('Settings','wplivechat'), 'manage_options' , 'wplivechat-menu-settings', 'wplc_admin_settings_layout');
135
- add_submenu_page('wplivechat-menu', __('History','wplivechat'), __('History','wplivechat'), 'manage_options' , 'wplivechat-menu-history', 'wplc_admin_history_layout');
136
- add_submenu_page('wplivechat-menu', __('Feedback','wplivechat'), __('Feedback','wplivechat'), 'manage_options' , 'wplivechat-menu-feedback-page', 'wplc_feedback_page_include');
137
- }
138
- add_action('wp_head','wplc_user_top_js');
139
- function wplc_user_top_js() {
140
- echo "<!-- DEFINING DO NOT CACHE -->";
141
- define('DONOTCACHEPAGE', true);
142
- define('DONOTCACHEDB', true);
143
- $ajax_nonce = wp_create_nonce("wplc");
144
- wp_register_script( 'wplc-user-jquery-cookie', plugins_url('/js/jquery-cookie.js', __FILE__) , array('jquery-ui-draggable'));
145
- wp_enqueue_script( 'wplc-user-jquery-cookie');
146
- $wplc_settings = get_option("WPLC_SETTINGS");
147
-
148
- ?>
149
-
150
- <script type="text/javascript">
151
- <?php if (!function_exists("wplc_register_pro_version")) { ?>
152
- var wplc_ajaxurl = '<?php echo plugins_url('/ajax.php', __FILE__); ?>';
153
-
154
- <?php } ?>
155
- var wplc_nonce = '<?php echo $ajax_nonce; ?>';
156
- </script>
157
- <?php
158
-
159
-
160
- }
161
-
162
- function wplc_draw_user_box() {
163
- $wplc_settings = get_option("WPLC_SETTINGS");
164
- if ($wplc_settings["wplc_settings_enabled"] == 2) { return; }
165
-
166
-
167
- wp_register_script( 'wplc-user-script', plugins_url('/js/wplc_u.js', __FILE__) );
168
- wp_enqueue_script( 'wplc-user-script' );
169
- wp_localize_script('wplc-user-script', 'wplc_hide_chat', null);
170
- wp_enqueue_script( 'jquery' );
171
- wp_enqueue_script( 'jquery-ui-core' );
172
- wp_enqueue_script( 'jquery-ui-draggable');
173
- wplc_output_box();
174
-
175
- }
176
- function wplc_output_box() {
177
-
178
- $wplc_class = "";
179
- $wplc_settings = get_option("WPLC_SETTINGS");
180
- if ($wplc_settings["wplc_settings_enabled"] == 2) { return; }
181
-
182
- if ($wplc_settings["wplc_settings_align"] == 1) {
183
- $original_pos = "bottom_left";
184
- $wplc_box_align = "left:100px; bottom:0px;";
185
-
186
- } else if ($wplc_settings["wplc_settings_align"] == 2){
187
- $original_pos = "bottom_right";
188
- $wplc_box_align = "right:100px; bottom:0px;";
189
-
190
- } else if($wplc_settings["wplc_settings_align"] == 3){
191
- $original_pos = "left";
192
- $wplc_box_align = "left:0; bottom:100px;";
193
- $wplc_class = "wplc_left";
194
- } else if($wplc_settings["wplc_settings_align"] == 4){
195
- $original_pos = "right";
196
- $wplc_box_align = "right:0; bottom:100px;";
197
- $wplc_class = "wplc_right";
198
- }
199
- if ($wplc_settings["wplc_settings_fill"]) { $wplc_settings_fill = "#".$wplc_settings["wplc_settings_fill"]; } else { $wplc_settings_fill = "#ed832f"; }
200
- if ($wplc_settings["wplc_settings_font"]) { $wplc_settings_font = "#".$wplc_settings["wplc_settings_font"]; } else { $wplc_settings_font = "#FFFFFF"; }
201
-
202
- $wplc_is_admin_logged_in = get_transient("wplc_is_admin_logged_in");
203
- if (!function_exists("wplc_register_pro_version") && $wplc_is_admin_logged_in != 1) {
204
- return "";
205
- }
206
-
207
- ?>
208
- <div id="wp-live-chat" style="display:none; <?php echo $wplc_box_align; ?>; " class="<?php echo $wplc_class ?> wplc_close" original_pos="<?php echo $original_pos ?>" wplc-auto-pop-up="<?php if (isset($wplc_settings['wplc_auto_pop_up'])) { echo $wplc_settings['wplc_auto_pop_up']; } ?>">
209
-
210
-
211
- <?php if (function_exists("wplc_register_pro_version")) {
212
- wplc_pro_output_box();
213
- } else {
214
- ?>
215
-
216
-
217
- <div class="wp-live-chat-wraper">
218
- <div id="wp-live-chat-header" style="background-color: <?php echo $wplc_settings_fill; ?> !important; color: <?php echo $wplc_settings_font; ?> !important; ">
219
-
220
- <i id="wp-live-chat-minimize" class="fa fa-minus" style="display:none;" ></i>
221
- <i id="wp-live-chat-close" class="fa fa-times" style="display:none;" ></i>
222
-
223
- <div id="wp-live-chat-1" >
224
- <div style="display:block; ">
225
- <strong><?php _e("Questions?", "wplivechat") ?></strong> <?php _e("Chat with us", "wplivechat") ?>
226
- </div>
227
- </div>
228
- </div>
229
-
230
- <div>
231
-
232
- <div id="wp-live-chat-2" style="display:none;">
233
-
234
- <div id="wp-live-chat-2-info">
235
- <strong>Start Live Chat</strong>
236
- </div>
237
-
238
- <input type="text" name="wplc_name" id="wplc_name" value="" placeholder="<?php _e("Name","wplivechat"); ?>" />
239
-
240
- <input type="text" name="wplc_email" id="wplc_email" value="" placeholder="<?php _e("Email","wplivechat"); ?>" />
241
-
242
- <input id="wplc_start_chat_btn" type="button" value="<?php _e("Start Chat","wplivechat"); ?>" style="background-color: <?php echo $wplc_settings_fill; ?> !important; color: <?php echo $wplc_settings_font; ?> !important;"/>
243
-
244
-
245
-
246
- </div>
247
-
248
- <div id="wp-live-chat-3" style="display:none;">
249
- <p><?php _e("Connecting you to a sales person. Please be patient.","wplivechat") ?></p>
250
- </div>
251
- <div id="wp-live-chat-react" style="display:none;">
252
- <p><?php _e("Reactivating your previous chat...", "wplivechat") ?></p>
253
- </div>
254
- <div id="wp-live-chat-4" style="display:none;">
255
- <div id="wplc_chatbox"></div>
256
- <p style="text-align:center; font-size:11px;"><?php _e("Press ENTER to send your message", "wplivechat" )?></p>
257
- <p>
258
- <input type="text" name="wplc_chatmsg" id="wplc_chatmsg" value="" />
259
- <input type="hidden" name="wplc_cid" id="wplc_cid" value="" />
260
- <input id="wplc_send_msg" type="button" value="<?php _e("Send","wplivechat"); ?>" style="display:none;" /></p>
261
- </div>
262
- </div>
263
- </div>
264
- </div>
265
- <?php
266
- }
267
- }
268
-
269
- function wplc_display_box() {
270
- $wplc_is_admin_logged_in = get_transient("wplc_is_admin_logged_in");
271
- if ($wplc_is_admin_logged_in != 1) { echo "<!-- wplc a-n-c -->"; }
272
-
273
- /* do not show if pro is outdated */
274
- global $wplc_pro_version;
275
- if (isset($wplc_pro_version)) {
276
- $float_version = floatval($wplc_pro_version);
277
- if ($float_version < 4 || $wplc_pro_version == "4.1.0" || $wplc_pro_version == "4.1.1") { return; }
278
- }
279
-
280
- if (function_exists("wplc_register_pro_version")) { wplc_pro_draw_user_box(); } else { wplc_draw_user_box(); }
281
- }
282
-
283
-
284
-
285
- function wplc_admin_display_chat($cid) {
286
- global $wpdb;
287
- global $wplc_tblname_msgs;
288
- $results = $wpdb->get_results(
289
- "
290
- SELECT *
291
- FROM $wplc_tblname_msgs
292
- WHERE `chat_sess_id` = '$cid'
293
- ORDER BY `timestamp` DESC
294
- LIMIT 0, 100
295
- "
296
- );
297
- foreach ($results as $result) {
298
- $from = $result->from;
299
- $msg = stripslashes($result->msg);
300
- $msg_hist .= "$from: $msg<br />";
301
-
302
- }
303
- echo $msg_hist;
304
- }
305
- function wplc_admin_accept_chat($cid) {
306
- wplc_change_chat_status($cid,3);
307
- return true;
308
-
309
- }
310
- add_action('admin_head','wplc_update_chat_statuses');
311
-
312
-
313
- function wplc_superadmin_javascript() {
314
-
315
- if (isset($_GET['page']) && $_GET['page'] == 'wplivechat-menu') {
316
-
317
- if (!isset($_GET['action'])) {
318
- if (function_exists("wplc_register_pro_version")) {
319
- wplc_pro_admin_javascript();
320
- } else {
321
- wplc_admin_javascript();
322
- }
323
-
324
- } // main page
325
- else if (isset($_GET['action'])) {
326
- if (function_exists("wplc_register_pro_version")) {
327
- wplc_return_pro_admin_chat_javascript($_GET['cid']);
328
- } else {
329
- wplc_return_admin_chat_javascript($_GET['cid']);
330
- }
331
-
332
- }
333
-
334
-
335
-
336
- }
337
-
338
- $ajax_nonce = wp_create_nonce("wplc");
339
- ?>
340
- <script type="text/javascript">
341
- jQuery(document).ready(function() {
342
-
343
-
344
- var wplc_set_transient = null;
345
-
346
- wplc_set_transient = setInterval(function (){wpcl_admin_set_transient();}, 60000);
347
- wpcl_admin_set_transient();
348
- function wpcl_admin_set_transient() {
349
- var data = {
350
- action: 'wplc_admin_set_transient',
351
- security: '<?php echo $ajax_nonce; ?>'
352
-
353
- };
354
- jQuery.post(ajaxurl, data, function(response) {
355
- //console.log("wplc_admin_set_transient");
356
- });
357
- }
358
-
359
-
360
-
361
-
362
-
363
- });
364
-
365
-
366
-
367
- </script>
368
- <?php
369
- }
370
- function wplc_admin_javascript() {
371
- $ajax_nonce = wp_create_nonce("wplc");
372
- ?>
373
-
374
- <script type="text/javascript">
375
- var wplc_ajaxurl = '<?php echo plugins_url('/ajax.php', __FILE__); ?>';
376
- var data = {
377
- action: 'wplc_admin_long_poll',
378
- security: '<?php echo $ajax_nonce; ?>',
379
- wplc_list_visitors_data: false ,
380
- wplc_update_admin_chat_table: false
381
- };
382
- var wplc_pending_refresh = null;
383
-
384
- var wplc_run = true;
385
- function wplc_call_to_server(data) {
386
-
387
-
388
- jQuery.ajax({
389
- url: wplc_ajaxurl,
390
- data:data,
391
- type:"POST",
392
- success: function(response) {
393
-
394
- //Update your dashboard gauge
395
- if(response){
396
-
397
- response = JSON.parse(response);
398
- //console.log(response);
399
- data["wplc_update_admin_chat_table"] = response['wplc_update_admin_chat_table'];
400
- //console.log(response['visitors']);
401
-
402
- if(response['action'] === "wplc_update_admin_chat"){
403
- jQuery("#wplc_admin_chat_area").html(response['wplc_update_admin_chat_table']);
404
- if (response['pending'] === true) {
405
-
406
- var orig_title = document.getElementsByTagName("title")[0].innerHTML;
407
- var ringer_cnt = 0;
408
- wplc_pending_refresh = setInterval(function (){
409
- //console.log("chat request");
410
- ringer_cnt++;
411
- if (ringer_cnt > 1) {
412
- clearInterval(wplc_pending_refresh);
413
- wplc_title_alerts4 = setTimeout(function (){ document.title = orig_title; }, 4000);
414
- return;
415
- }
416
- document.title = "** CHAT REQUEST **";
417
- wplc_title_alerts2 = setTimeout(function (){ document.title = "** CHAT REQUEST **"; }, 2000);
418
- wplc_title_alerts4 = setTimeout(function (){ document.title = orig_title; }, 4000);
419
-
420
- document.getElementById("wplc_sound").innerHTML="<embed src='<?php echo plugins_url('/ring.wav', __FILE__); ?>' hidden=true autostart=true loop=false>";
421
- }, 5000);
422
- } else {
423
- //console.log("end");
424
- clearInterval(wplc_pending_refresh);
425
- }
426
- }
427
-
428
- }
429
- },
430
- error: function(jqXHR, exception) {
431
- if (jqXHR.status == 404) {
432
- console.log('Requested page not found. [404]');
433
- wplc_run = false;
434
- } else if (jqXHR.status == 500) {
435
- console.log('Internal Server Error [500].');
436
- wplc_run = false;
437
- } else if (exception === 'parsererror') {
438
- console.log('Requested JSON parse failed.');
439
- wplc_run = false;
440
- } else if (exception === 'abort') {
441
- console.log('Ajax request aborted.');
442
- wplc_run = false;
443
- } else {
444
- console.log('Uncaught Error.\n' + jqXHR.responseText);
445
- wplc_run = false;
446
- }
447
- },
448
- complete: function(response){
449
- //console.log(wplc_run);
450
- if (wplc_run) {
451
- setTimeout(function() { wplc_call_to_server(data); }, 1500);
452
- }
453
- },
454
- timeout: 120000
455
- });
456
- };
457
-
458
-
459
-
460
- jQuery(document).ready(function() {
461
- jQuery('body').on("click", "a", function (event) {
462
- if(jQuery(this).hasClass('wplc_open_chat')){
463
- if(event.preventDefault) {
464
- event.preventDefault();
465
- } else {
466
- event.returnValue = false;
467
- }
468
- window.open(jQuery(this).attr("href"), jQuery(this).attr("window-title" ), "width=600,height=600,scrollbars=yes", false);
469
- }
470
- });
471
-
472
- wplc_call_to_server(data);
473
- });
474
-
475
-
476
-
477
- </script>
478
- <?php
479
- }
480
-
481
-
482
-
483
- function wplc_admin_menu_layout() {
484
- if (function_exists("wplc_register_pro_version")) {
485
- global $wplc_pro_version;
486
- if (floatval($wplc_pro_version) < 4 || $wplc_pro_version == "4.1.0" || $wplc_pro_version == "4.1.1") {
487
- ?>
488
- <div class='error below-h1'>
489
-
490
- <p><?php _e("Dear Pro User", "wplivechat") ?><br /></p>
491
- <p><?php _e("You are using an outdated version of <strong>WP Live Chat Support Pro</strong>. Please" , "wplivechat")?> <a href="http://wp-livechat.com/get-updated-version/" target=\"_BLANK\"><?php _e("update to at least version", "wplivechat") ?> 4.0</a> <?php _e("to ensure all functionality is in working order", "wplivechat" ) ?>.</p>
492
- <p><strong><?php _e("You're live chat box on your website has been temporarily disabled until the Pro plugin has been updated. This is to ensure a smooth and hassle-free user experience for both yourself and your visitors.","wplivechat") ?></strong></p>
493
- <p><?php _e("You can update your plugin <a href='./update-core.php'>here</a>, <a href='./plugins.php'>here</a> or <a href='http://wp-livechat.com/get-updated-version/' target='_BLANK'>here</a>.","wplivechat") ?></strong></p>
494
- <p><?php _e("If you are having difficulty updating the plugin, please contact","wplivechat") ?> nick@wp-livechat.com</p>
495
-
496
- </div>
497
- <?php
498
- }
499
- }
500
- if(get_option("WPLC_FIRST_TIME") == true && !class_exists("APC_Object_Cache")){
501
- update_option('WPLC_FIRST_TIME', false);
502
- include 'includes/welcome_page.php';
503
- } else {
504
- update_option('WPLC_FIRST_TIME', false);
505
- if (function_exists("wplc_register_pro_version")) {
506
- wplc_pro_admin_menu_layout_display();
507
- } else {
508
- wplc_admin_menu_layout_display();
509
- }
510
- }
511
-
512
- }
513
-
514
- function wplc_admin_menu_layout_display() {
515
- if (!isset($_GET['action'])) {
516
-
517
- ?>
518
- <div style='float:right; display:block; width:450px; padding:10px; text-align:center; background-color: #EEE; border: 1px solid #E6DB55; margin:10px;'>
519
- <strong><?php _e("Experiencing problems with the plugin?", "wplivechat") ?></strong>
520
- <br />
521
- <a href='http://wp-livechat.com/documentation/' title='WP Live Chat Support Documentation' target='_BLANK'><?php _e("Review the documentation.", "wplivechat") ?></a>
522
- <?php _e("Or ask a question on our", "wplivechat") ?> <a href='http://wp-livechat.com/forums/forum/support/' title='WP Live Chat Support Forum' target='_BLANK'>Support forum.</a>
523
- </div>
524
-
525
- <h1><?php _e("Live Chat", "wplivechat") ?> </h1>
526
- <div id="wplc_sound"></div>
527
-
528
-
529
-
530
-
531
- <div id="wplc_admin_chat_area">
532
-
533
- <?php if (function_exists("wplc_register_pro_version")) {
534
- echo wplc_list_chats_pro();
535
-
536
- } else {
537
- echo wplc_list_chats();
538
-
539
- }
540
-
541
- ?>
542
- </div>
543
-
544
- <h1><?php _e("Visitors on site","wplivechat") ?></h1>
545
- <p><?php _e("With the Pro add-on of WP Live Chat Support, you can","wplivechat"); ?> <a href="http://www.wp-livechat.com/purchase-pro/?utm_source=plugin&utm_medium=link&utm_campaign=initiate1" title="<?php _e("see who's online and initiate chats","wplivechat"); ?>" target=\"_BLANK\"><?php _e("see who's online and initiate chats","wplivechat"); ?></a> <?php _e("with your online visitors with the click of a button.","wplivechat"); ?> <a href="http://www.wp-livechat.com/purchase-pro/?utm_source=plugin&utm_medium=link&utm_campaign=initiate2" title="<?php _e("Buy the Pro add-on now for only $29.95 once off. Free Updates FOREVER.","wplivechat"); ?>" target=\"_BLANK\"><strong><?php _e("Buy the Pro add-on now for only $29.95 once off. Free Updates Forever.","wplivechat"); ?></strong></a></p>
546
- <?php
547
- }
548
- else {
549
-
550
- if ($_GET['action'] == 'ac') {
551
- wplc_change_chat_status($_GET['cid'],3);
552
- if(function_exists('wplc_ma_register')){
553
- wplc_ma_update_agent_id($_GET['cid'], $_GET['agent_id']);
554
- }
555
- if (function_exists("wplc_register_pro_version")) { wplc_pro_draw_chat_area($_GET['cid']); } else { wplc_draw_chat_area($_GET['cid']); }
556
- }
557
- }
558
- }
559
-
560
- function wplc_draw_chat_area($cid) {
561
-
562
- global $wpdb;
563
- global $wplc_tblname_chats;
564
- $results = $wpdb->get_results(
565
- "
566
- SELECT *
567
- FROM $wplc_tblname_chats
568
- WHERE `id` = '$cid'
569
- LIMIT 1
570
- "
571
- );?>
572
- <style>
573
- .wplc-user-message{
574
- display: inline-block;
575
- padding: 5px;
576
- -webkit-box-shadow: 0px 0px 5px 0px rgba(50, 50, 50, 0.5);
577
- -moz-box-shadow: 0px 0px 5px 0px rgba(50, 50, 50, 0.5);
578
- box-shadow: 0px 0px 5px 0px rgba(50, 50, 50, 0.5);
579
- border-radius: 5px;
580
- float: left;
581
- margin-bottom: 5px;
582
- }
583
- .wplc-user-message hr , .wplc-admin-message hr{
584
- margin:0;
585
- }
586
- .wplc-clear-float-message{
587
- clear: both;
588
- }
589
-
590
- .wplc-admin-message{
591
- display: inline-block;
592
- padding: 5px;
593
- -webkit-box-shadow: 0px 0px 5px 0px rgba(50, 50, 50, 0.5);
594
- -moz-box-shadow: 0px 0px 5px 0px rgba(50, 50, 50, 0.5);
595
- box-shadow: 0px 0px 5px 0px rgba(50, 50, 50, 0.5);
596
- border-radius: 5px;
597
- float: right;
598
- margin-bottom: 5px;
599
- }
600
- </style>
601
- <?php
602
-
603
-
604
- foreach ($results as $result) {
605
- $user_data = maybe_unserialize($result->ip);
606
- $user_ip = $user_data['ip'];
607
- $browser = wplc_return_browser_string($user_data['user_agent']);
608
- $browser_image = wplc_return_browser_image($browser,"16");
609
- global $wplc_basic_plugin_url;
610
- if ($result->status == 1) { $status = __("Previous", "wplivechat"); } else { $status = __("Active", "wplivechat"); }
611
-
612
- echo "<h2>$status Chat with ".$result->name."</h2>";
613
- echo "<style>#adminmenuwrap { display:none; } #adminmenuback { display:none; } #wpadminbar { display:none; } #wpfooter { display:none; } .update-nag { display:none; }</style>";
614
- echo "<div style='display:block;'>";
615
- echo "<div style='float:left; width:100px;'><img src=\"http://www.gravatar.com/avatar/".md5($result->email)."\" /></div>";
616
- echo "<div id=\"wplc_sound_update\"></div>";
617
- echo "<div style='float:left; width:350px;'>";
618
- echo "<table>";
619
- echo "<tr><td><i class=\"fa fa-envelope\"> </i></td><td><a href='mailto:".$result->email."' title='".$result->email."'>".$result->email."</a></td></tr>";
620
- echo "<tr><td valign='top'><i class=\"fa fa-user\"> </i></td><td>";
621
- echo "<img src='".$wplc_basic_plugin_url."/images/$browser_image' alt='$browser' title='$browser' /> ";
622
- echo "<a href='http://www.ip-adress.com/ip_tracer/".$user_ip."' title='Whois for ".$user_ip."'>".$user_ip."</a>";
623
- echo "</td></tr>";
624
- echo "<tr><td><i class=\"fa fa-link\"> </i></td><td>".$result->url. " (<a href='".$result->url."' target='_BLANK'>open</a>)"."</td></tr>";
625
- echo "<tr><td><i class=\"fa fa-clock-o\"> </i></td><td>".$result->timestamp."</td></tr>";
626
- echo "</table><br />";
627
- echo "</div>";
628
- echo "</div>";
629
-
630
- echo "
631
- <div style=\"display:block; clear:both; width:99%; text-align:right; font-size:10px;\"><a href=\"javascript:void(0);\" class=\"wplc_admin_close_chat button\" id=\"wplc_admin_close_chat\">".__("End chat","wplivechat")."</a></div>
632
- <div id='admin_chat_box'>
633
- <div id='admin_chat_box_area_".$result->id."' style='height:200px; width:95%; border:1px solid #ccc; overflow:auto; background-color:#FFF; padding:2%;'>".wplc_return_chat_messages($cid)."</div>
634
- <p>
635
- ";
636
- if ($result->status != 1) {
637
- echo "
638
- <p style=\"text-align:left; font-size:11px;\">Press ENTER to send your message</p>
639
- <input type='text' name='wplc_admin_chatmsg' id='wplc_admin_chatmsg' value='' style=\"border:1px solid #666; width:98%;\" />
640
- <input id='wplc_admin_cid' type='hidden' value='".$_GET['cid']."' />
641
- <input id='wplc_admin_send_msg' type='button' value='".__("Send","wplivechat")."' style=\"display:none;\" />
642
- </p>
643
- </div>
644
- ";
645
- //echo wplc_return_admin_chat_javascript($_GET['cid']);
646
- }
647
-
648
- }
649
- }
650
-
651
- function wplc_return_admin_chat_javascript($cid) {
652
- $ajax_nonce = wp_create_nonce("wplc");
653
- if(function_exists("wplc_pro_get_admin_picture")){
654
- $src = wplc_pro_get_admin_picture();
655
- if($src){
656
- $image = "<img src=".$src." width='20px' id='wp-live-chat-2-img'/>";
657
- }
658
- }
659
- ?>
660
- <script type="text/javascript">
661
- var wplc_ajaxurl = '<?php echo plugins_url('/ajax.php', __FILE__); ?>';
662
- var chat_status = 3;
663
- var cid = <?php echo $cid; ?>;
664
- var data = {
665
- action: 'wplc_admin_long_poll_chat',
666
- security: '<?php echo $ajax_nonce; ?>',
667
- cid: cid,
668
- chat_status: chat_status
669
- };
670
- var wplc_run = true;
671
- function wplc_call_to_server_admin_chat(data) {
672
- jQuery.ajax({
673
- url: wplc_ajaxurl,
674
- data:data,
675
- type:"POST",
676
- success: function(response) {
677
- if(response){
678
-
679
- response = JSON.parse(response);
680
- //console.log(response);
681
- if(response['action'] === "wplc_update_chat_status"){
682
- data['chat_status'] = response['chat_status'];
683
- wplc_display_chat_status_update(response['chat_status'],cid);
684
- }
685
- if(response['action'] === "wplc_new_chat_message"){
686
- current_len = jQuery("#admin_chat_box_area_"+cid).html().length;
687
- jQuery("#admin_chat_box_area_"+cid).append(response['chat_message']);
688
- new_length = jQuery("#admin_chat_box_area_"+cid).html().length;
689
- if (current_len < new_length) {
690
- document.getElementById("wplc_sound_update").innerHTML="<embed src='<?php echo plugins_url('/ding.mp3', __FILE__); ?>' hidden=true autostart=true loop=false>";
691
- }
692
- var height = jQuery('#admin_chat_box_area_'+cid)[0].scrollHeight;
693
- jQuery('#admin_chat_box_area_'+cid).scrollTop(height);
694
- }
695
- if(response['action'] === "wplc_user_open_chat"){
696
- data['action_2'] = "";
697
- <?php $url = admin_url( 'admin.php?page=wplivechat-menu&action=ac&cid='.$cid); ?>
698
- window.location.replace('<?php echo $url; ?>');
699
- }
700
-
701
- }
702
- },
703
- error: function(jqXHR, exception) {
704
- if (jqXHR.status == 404) {
705
- console.log('Requested page not found. [404]');
706
- wplc_run = false;
707
- } else if (jqXHR.status == 500) {
708
- console.log('Internal Server Error [500].');
709
- wplc_run = false;
710
- } else if (exception === 'parsererror') {
711
- console.log('Requested JSON parse failed.');
712
- wplc_run = false;
713
- } else if (exception === 'abort') {
714
- console.log('Ajax request aborted.');
715
- wplc_run = false;
716
- } else {
717
- console.log('Uncaught Error.\n' + jqXHR.responseText);
718
- wplc_run = false;
719
- }
720
- },
721
- complete: function(response){
722
- //console.log(wplc_run);
723
- if (wplc_run) {
724
- wplc_call_to_server_admin_chat(data);
725
- }
726
- },
727
-
728
- timeout: 120000
729
- });
730
- };
731
-
732
- function wplc_display_chat_status_update(new_chat_status, cid){
733
- if (new_chat_status === "0") { } else {
734
- if (chat_status !== new_chat_status) {
735
- previous_chat_status = chat_status;
736
- //console.log("previous chat status: "+previous_chat_status);
737
- chat_status = new_chat_status;
738
- //console.log("chat status: "+chat_status);
739
-
740
- if ((previous_chat_status === "2" && chat_status === "3") || (previous_chat_status === "5" && chat_status === "3")) {
741
- jQuery("#admin_chat_box_area_"+cid).append("<em><?php _e("User has opened the chat window","wplivechat"); ?></em><br />");
742
- var height = jQuery('#admin_chat_box_area_'+cid)[0].scrollHeight;
743
- jQuery('#admin_chat_box_area_'+cid).scrollTop(height);
744
-
745
- } else if (chat_status == "10" && previous_chat_status == "3") {
746
- jQuery("#admin_chat_box_area_"+cid).append("<em><?php _e("User has minimized the chat window","wplivechat"); ?></em><br />");
747
- var height = jQuery('#admin_chat_box_area_'+cid)[0].scrollHeight;
748
- jQuery('#admin_chat_box_area_'+cid).scrollTop(height);
749
- }
750
- else if(chat_status === "3" && previous_chat_status === "10"){
751
- jQuery("#admin_chat_box_area_"+cid).append("<em><?php _e("User has maximized the chat window","wplivechat"); ?></em><br />");
752
- var height = jQuery('#admin_chat_box_area_'+cid)[0].scrollHeight;
753
- jQuery('#admin_chat_box_area_'+cid).scrollTop(height);
754
- }
755
- else if (chat_status === "1" || chat_status === "8") {
756
- jQuery("#admin_chat_box_area_"+cid).append("<em><?php _e("User has closed and ended the chat","wplivechat"); ?></em><br />");
757
- var height = jQuery('#admin_chat_box_area_'+cid)[0].scrollHeight;
758
- jQuery('#admin_chat_box_area_'+cid).scrollTop(height);
759
- document.getElementById('wplc_admin_chatmsg').disabled = true;
760
- }
761
- }
762
- }
763
- }
764
-
765
-
766
-
767
- jQuery(document).ready(function() {
768
-
769
- var wplc_image = "<?php if (isset($image)) { echo $image; } else { echo ""; } ?>";
770
- var wplc_ajaxurl = '<?php echo plugins_url('/ajax.php', __FILE__); ?>';
771
-
772
-
773
- jQuery("#wplc_admin_chatmsg").focus();
774
-
775
-
776
-
777
-
778
- wplc_call_to_server_admin_chat(data);
779
-
780
- if (jQuery('#wplc_admin_cid').length){
781
- var wplc_cid = jQuery("#wplc_admin_cid").val();
782
- var height = jQuery('#admin_chat_box_area_'+wplc_cid)[0].scrollHeight;
783
- jQuery('#admin_chat_box_area_'+wplc_cid).scrollTop(height);
784
- }
785
-
786
- jQuery(".wplc_admin_accept").on("click", function() {
787
- wplc_title_alerts3 = setTimeout(function (){ document.title = "WP Live Chat Support"; }, 2500);
788
- var cid = jQuery(this).attr("cid");
789
-
790
- var data = {
791
- action: 'wplc_admin_accept_chat',
792
- cid: cid,
793
- security: '<?php echo $ajax_nonce; ?>'
794
- };
795
- jQuery.post(wplc_ajaxurl, data, function(response) {
796
- //console.log("wplc_admin_accept_chat");
797
- wplc_refresh_chat_boxes[cid] = setInterval(function (){wpcl_admin_update_chat_box(cid);}, 3000);
798
- jQuery("#admin_chat_box_"+cid).show();
799
- });
800
- });
801
-
802
- jQuery("#wplc_admin_chatmsg").keyup(function(event){
803
- if(event.keyCode == 13){
804
- jQuery("#wplc_admin_send_msg").click();
805
- }
806
- });
807
-
808
- jQuery("#wplc_admin_close_chat").on("click", function() {
809
- var wplc_cid = jQuery("#wplc_admin_cid").val();
810
- var data = {
811
- action: 'wplc_admin_close_chat',
812
- security: '<?php echo $ajax_nonce; ?>',
813
- cid: wplc_cid
814
-
815
- };
816
- jQuery.post(wplc_ajaxurl, data, function(response) {
817
- //console.log("wplc_admin_close_chat");
818
- //console.log(response);
819
- window.close();
820
- });
821
-
822
- });
823
-
824
- function wplc_strip(str) {
825
- str=str.replace(/<br>/gi, "\n");
826
- str=str.replace(/<p.*>/gi, "\n");
827
- str=str.replace(/<a.*href="(.*?)".*>(.*?)<\/a>/gi, " $2 ($1) ");
828
- str=str.replace(/<(?:.|\s)*?>/g, "");
829
- return str;
830
- }
831
- jQuery("#wplc_admin_send_msg").on("click", function() {
832
- var wplc_cid = jQuery("#wplc_admin_cid").val();
833
- var wplc_chat = wplc_strip(document.getElementById('wplc_admin_chatmsg').value);
834
- var wplc_name = "a"+"d"+"m"+"i"+"n";
835
- jQuery("#wplc_admin_chatmsg").val('');
836
-
837
-
838
- jQuery("#admin_chat_box_area_"+wplc_cid).append("<span class='wplc-admin-message'>"+wplc_image+" <strong>"+wplc_name+"</strong>:<hr/>"+wplc_chat+"</span><br /><div class='wplc-clear-float-message'></div>");
839
- var height = jQuery('#admin_chat_box_area_'+wplc_cid)[0].scrollHeight;
840
- jQuery('#admin_chat_box_area_'+wplc_cid).scrollTop(height);
841
-
842
-
843
- var data = {
844
- action: 'wplc_admin_send_msg',
845
- security: '<?php echo $ajax_nonce; ?>',
846
- cid: wplc_cid,
847
- msg: wplc_chat
848
- };
849
- jQuery.post(wplc_ajaxurl, data, function(response) {
850
- //console.log("wplc_admin_send_msg");
851
-
852
- /* do nothing
853
- jQuery("#admin_chat_box_area_"+wplc_cid).html(response);
854
- var height = jQuery('#admin_chat_box_area_'+wplc_cid)[0].scrollHeight;
855
- jQuery('#admin_chat_box_area_'+wplc_cid).scrollTop(height);
856
- */
857
- });
858
-
859
-
860
- });
861
-
862
-
863
-
864
-
865
-
866
-
867
-
868
- });
869
- </script>
870
- <?php
871
-
872
- }
873
- function wplc_activate() {
874
- wplc_handle_db();
875
- if (!get_option("WPLC_SETTINGS")) {
876
- add_option('WPLC_SETTINGS',array("wplc_settings_align" => "2", "wplc_settings_enabled" => "1", "wplc_settings_fill" => "ed832f", "wplc_settings_font" => "FFFFFF"));
877
- }
878
- add_option("WPLC_HIDE_CHAT","true");
879
- add_option("WPLC_FIRST_TIME", true);
880
- }
881
-
882
-
883
- function wplc_handle_db() {
884
- global $wpdb;
885
- global $wplc_version;
886
- global $wplc_tblname_chats;
887
- global $wplc_tblname_msgs;
888
-
889
- $sql = "
890
- CREATE TABLE ".$wplc_tblname_chats." (
891
- id int(11) NOT NULL AUTO_INCREMENT,
892
- timestamp datetime NOT NULL,
893
- name varchar(700) NOT NULL,
894
- email varchar(700) NOT NULL,
895
- ip varchar(700) NOT NULL,
896
- status int(11) NOT NULL,
897
- session varchar(100) NOT NULL,
898
- url varchar(700) NOT NULL,
899
- last_active_timestamp datetime NOT NULL,
900
- PRIMARY KEY (id)
901
- ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
902
- ";
903
-
904
- require_once(ABSPATH . 'wp-admin/includes/upgrade.php');
905
- dbDelta($sql);
906
-
907
- $sql = '
908
- CREATE TABLE '.$wplc_tblname_msgs.' (
909
- id int(11) NOT NULL AUTO_INCREMENT,
910
- chat_sess_id int(11) NOT NULL,
911
- `from` varchar(150) CHARACTER SET utf8 NOT NULL,
912
- msg varchar(700) CHARACTER SET utf8 NOT NULL,
913
- timestamp datetime NOT NULL,
914
- status INT(3) NOT NULL,
915
- originates INT(3) NOT NULL,
916
- PRIMARY KEY (id)
917
- ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
918
- ';
919
-
920
- require_once(ABSPATH . 'wp-admin/includes/upgrade.php');
921
- @dbDelta($sql);
922
-
923
- add_option("wplc_db_version", $wplc_version);
924
- update_option("wplc_db_version",$wplc_version);
925
- }
926
-
927
- function wplc_add_user_stylesheet() {
928
- wp_register_style( 'wplc-font-awesome', plugins_url('/css/font-awesome.min.css', __FILE__) );
929
- wp_enqueue_style( 'wplc-font-awesome' );
930
- wp_register_style( 'wplc-style', plugins_url('/css/wplcstyle.css', __FILE__) );
931
- wp_enqueue_style( 'wplc-style' );
932
-
933
- }
934
- function wplc_add_admin_stylesheet() {
935
- if (isset($_GET['page']) && ($_GET['page'] == 'wplivechat-menu' || $_GET['page'] == 'wplivechat-menu-settings')) {
936
- wp_register_style( 'wplc-admin-style', 'http://code.jquery.com/ui/1.8.24/themes/smoothness/jquery-ui.css' );
937
- wp_enqueue_style( 'wplc-admin-style' );
938
- wp_register_style( 'wplc-font-awesome', plugins_url('/css/font-awesome.min.css', __FILE__) );
939
- wp_enqueue_style( 'wplc-font-awesome' );
940
- }
941
- }
942
-
943
- if (isset($_GET['page']) && $_GET['page'] == 'wplivechat-menu-settings') {
944
- add_action('admin_print_scripts', 'wplc_admin_scripts_basic');
945
- }
946
- function wplc_admin_scripts_basic() {
947
-
948
- if (isset($_GET['page']) && $_GET['page'] == "wplivechat-menu-settings") {
949
- wp_enqueue_script( 'jquery' );
950
- wp_enqueue_script('jquery-ui-core');
951
-
952
- wp_register_script('my-wplc-color', plugins_url('js/jscolor.js',__FILE__), false, '1.4.1', false);
953
- wp_enqueue_script('my-wplc-color');
954
- wp_enqueue_script( 'jquery-ui-tabs');
955
- wp_register_script('my-wplc-tabs', plugins_url('js/wplc_tabs.js',__FILE__), array('jquery-ui-core'), '', true);
956
- wp_enqueue_script('my-wplc-tabs');
957
- }
958
- }
959
-
960
-
961
- function wplc_admin_settings_layout() {
962
- wplc_settings_page_basic();
963
- }
964
- function wplc_admin_history_layout() {
965
- echo"<div class=\"wrap\"><div id=\"icon-edit\" class=\"icon32 icon32-posts-post\"><br></div><h2>".__("WP Live Chat History","wplivechat")."</h2>";
966
- if (function_exists("wplc_register_pro_version")) {
967
- wplc_pro_admin_display_history();
968
- }
969
- else {
970
- echo "<br /><br >This option is only available in the <a href=\"http://www.wp-livechat.com/purchase-pro/?utm_source=plugin&utm_medium=link&utm_campaign=history1\" title=\"".__("Pro Add-on","wplivechat")."\" target=\"_BLANK\">Pro Add-on</a> of WP Live Chat. <a href=\"http://www.wp-livechat.com/purchase-pro/?utm_source=plugin&utm_medium=link&utm_campaign=history2\" title=\"".__("Pro Add-on","wplivechat")."\" target=\"_BLANK\">Get it now for only $29.95 once off!</a>";
971
- }
972
- }
973
-
974
-
975
- function wplc_settings_page_basic() {
976
- if(function_exists("wplc_register_pro_version")){
977
- wplc_settings_page_pro();
978
- } else {
979
- include 'includes/settings_page.php';
980
- }
981
- }
982
- function wplc_head_basic() {
983
- global $wpdb;
984
-
985
- if (isset($_POST['wplc_save_settings'])){
986
-
987
- if (isset($_POST['wplc_settings_align'])) { $wplc_data['wplc_settings_align'] = esc_attr($_POST['wplc_settings_align']); }
988
- if (isset($_POST['wplc_settings_fill'])) { $wplc_data['wplc_settings_fill'] = esc_attr($_POST['wplc_settings_fill']); }
989
- if (isset($_POST['wplc_settings_font'])) { $wplc_data['wplc_settings_font'] = esc_attr($_POST['wplc_settings_font']); }
990
- if (isset($_POST['wplc_settings_enabled'])) { $wplc_data['wplc_settings_enabled'] = esc_attr($_POST['wplc_settings_enabled']); }
991
- if (isset($_POST['wplc_auto_pop_up'])) { $wplc_data['wplc_auto_pop_up'] = esc_attr($_POST['wplc_auto_pop_up']); }
992
- update_option('WPLC_SETTINGS', $wplc_data);
993
- if (isset($_POST['wplc_hide_chat'])) { update_option("WPLC_HIDE_CHAT", $_POST['wplc_hide_chat']); }
994
- echo "<div class='updated'>";
995
- _e("Your settings have been saved.","wplivechat");
996
- echo "</div>";
997
- }
998
- if(isset($_POST['action']) && $_POST['action'] == "wplc_submit_find_us"){
999
- if (function_exists('curl_version')) {
1000
- $request_url = "http://www.wp-livechat.com/apif/rec.php";
1001
- $ch = curl_init();
1002
- curl_setopt($ch, CURLOPT_URL, $request_url);
1003
- curl_setopt($ch, CURLOPT_POST, 1);
1004
- curl_setopt($ch, CURLOPT_POSTFIELDS, $_POST);
1005
- curl_setopt($ch, CURLOPT_REFERER, $_SERVER['HTTP_HOST']);
1006
- curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
1007
- $output = curl_exec($ch);
1008
- curl_close($ch);
1009
- }
1010
- echo "<div class=\"updated\"><p>". __("Thank You for your feedback!","wplivechat")."</p></div>";
1011
- }
1012
- if (isset($_POST['wplc_nl_send_feedback'])) {
1013
- if(wp_mail("nick@wp-livechat.com", "Plugin feedback", "Name: ".$_POST['wplc_nl_feedback_name']."\n\r"."Email: ".$_POST['wplc_nl_feedback_email']."\n\r"."Website: ".$_POST['wplc_nl_feedback_website']."\n\r"."Feedback:".$_POST['wplc_nl_feedback_feedback'] )){
1014
- echo "<div id=\"message\" class=\"updated\"><p>".__("Thank you for your feedback. We will be in touch soon","wplc")."</p></div>";
1015
- } else {
1016
-
1017
- if (function_exists('curl_version')) {
1018
- $request_url = "http://www.wp-livechat.com/apif/rec_feedback.php";
1019
- $ch = curl_init();
1020
- curl_setopt($ch, CURLOPT_URL, $request_url);
1021
- curl_setopt($ch, CURLOPT_POST, 1);
1022
- curl_setopt($ch, CURLOPT_POSTFIELDS, $_POST);
1023
- curl_setopt($ch, CURLOPT_REFERER, $_SERVER['HTTP_HOST']);
1024
- curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
1025
- $output = curl_exec($ch);
1026
- curl_close($ch);
1027
- echo "<div id=\"message\" class=\"updated\"><p>".__("Thank you for your feedback. We will be in touch soon","wplc")."</p></div>";
1028
- }
1029
- else {
1030
- echo "<div id=\"message\" class=\"error\">";
1031
- echo "<p>".__("There was a problem sending your feedback. Please log your feedback on ","wplc")."<a href='http://wp-livechat.com/forums/forum/support/' target='_BLANK'>http://wp-livechat.com/forums/forum/support/</a></p>";
1032
- echo "</div>";
1033
- }
1034
- }
1035
- }
1036
-
1037
- }
1038
-
1039
- function wplc_logout() {
1040
- delete_transient('wplc_is_admin_logged_in');
1041
- }
1042
- add_action('wp_logout', 'wplc_logout');
1043
-
1044
-
1045
- function wplc_get_home_path() {
1046
- $home = get_option( 'home' );
1047
- $siteurl = get_option( 'siteurl' );
1048
- if ( ! empty( $home ) && 0 !== strcasecmp( $home, $siteurl ) ) {
1049
- $wp_path_rel_to_home = str_ireplace( $home, '', $siteurl ); /* $siteurl - $home */
1050
- $pos = strripos( str_replace( '\\', '/', $_SERVER['SCRIPT_FILENAME'] ), trailingslashit( $wp_path_rel_to_home ) );
1051
- $home_path = substr( $_SERVER['SCRIPT_FILENAME'], 0, $pos );
1052
- $home_path = trailingslashit( $home_path );
1053
- } else {
1054
- $home_path = ABSPATH;
1055
- }
1056
-
1057
- return str_replace( '\\', '/', $home_path );
 
 
 
 
 
 
 
 
 
 
 
 
 
1058
  }
1
+ <?php
2
+ /*
3
+ Plugin Name: WP Live Chat Support
4
+ Plugin URI: http://www.wp-livechat.com
5
+ Description: The easiest to use website live chat plugin. Let your visitors chat with you and increase sales conversion rates with WP Live Chat Support. No third party connection required!
6
+ Version: 4.1.7
7
+ Author: WP-LiveChat
8
+ Author URI: http://www.wp-livechat.com
9
+ */
10
+
11
+
12
+ /* 4.1.7
13
+ * Bug fix: sound was not played when user received a message from the admin
14
+ * Internationalization update
15
+ * New WP Live Chat Support Translation added:
16
+ * * Swedish (Thank You Tobias Sernhede)
17
+ * * French (Thank You Marcello Cavallucci)
18
+ *
19
+ *
20
+ * 4.1.6
21
+ * Code improvements (JavaScript errors fixed in IE)
22
+ * New WP Live Chat Support Translations Added:
23
+ * * Slovakian (Thank You Dana Kadarova)
24
+ * * German (Thank You Dennis Klingr)
25
+ * * Hebrew (Thank You David Cohen)
26
+ *
27
+ * 4.1.5
28
+ * Code improvements (PHP warnings - set_time_limit caused warnings on some hosts)
29
+ *
30
+ * 4.1.4
31
+ * Significant performance improvements
32
+ * Brazilian translation added - thank you Gustavo Silva
33
+ *
34
+ * 4.1.3
35
+ * Code improvements (PHP warnings)
36
+ *
37
+ * 4.1.2
38
+ * DB bug fix
39
+ *
40
+ * 4.1.1
41
+ * Significant performance improvements
42
+ * Live chat window will now only show in one window (if user has multiple tabs open on your site)
43
+ * You can now see the browser of the live chat user
44
+ * Improved the UI of the backend
45
+ * Bug fixes
46
+ *
47
+ * 4.1.0
48
+ * New feature: You can now show the chat box on the left or right
49
+ * Vulnerability fix (JS injections). Thank you Patrik @ www.it-securityguard.com
50
+ * Fixed 403 bug when saving settings
51
+ * Fixed Ajax Time out error (Lowered From 90 to 28)
52
+ * Fixed IE8 bug
53
+ * Added option to auto pop up chat window
54
+ * Added Italian language files. Thanks to Davide
55
+ *
56
+ */
57
+
58
+ //error_reporting(E_ERROR);
59
+ global $wplc_version;
60
+ global $wplc_p_version;
61
+ global $wplc_tblname;
62
+ global $wpdb;
63
+ global $wplc_tblname_chats;
64
+ global $wplc_tblname_msgs;
65
+ $wplc_tblname_chats = $wpdb->prefix . "wplc_chat_sessions";
66
+ $wplc_tblname_msgs = $wpdb->prefix . "wplc_chat_msgs";
67
+ $wplc_version = "4.1.7";
68
+
69
+ define('WPLC_BASIC_PLUGIN_DIR',dirname(__FILE__));
70
+ define('WPLC_BASIC_PLUGIN_URL',plugins_url()."/wp-live-chat-support/");
71
+ global $wplc_basic_plugin_url;
72
+ $wplc_basic_plugin_url = get_option('siteurl')."/wp-content/plugins/wp-live-chat-support/";
73
+ require_once (plugin_dir_path( __FILE__ )."functions.php");
74
+ add_action('wp_ajax_wplc_admin_set_transient', 'wplc_action_callback');
75
+ add_action('init','wplc_version_control');
76
+ add_action('wp_footer', 'wplc_display_box');
77
+
78
+ add_action('init','wplc_init');
79
+
80
+ if (function_exists('wplc_head_pro')) {
81
+ add_action('admin_head', 'wplc_head_pro');
82
+ } else {
83
+ add_action('admin_head', 'wplc_head_basic');
84
+ }
85
+
86
+
87
+ add_action('wp_enqueue_scripts', 'wplc_add_user_stylesheet' );
88
+ add_action('admin_enqueue_scripts', 'wplc_add_admin_stylesheet');
89
+
90
+ if(function_exists('wplc_admin_menu_pro')){
91
+ add_action('admin_menu', 'wplc_admin_menu_pro');
92
+ } else {
93
+ add_action('admin_menu', 'wplc_admin_menu');
94
+ }
95
+ add_action('admin_head', 'wplc_superadmin_javascript');
96
+ register_activation_hook( __FILE__, 'wplc_activate' );
97
+
98
+ function wplc_basic_check(){
99
+ // check if basic exists if pro is installed
100
+ }
101
+ function wplc_init() {
102
+ $plugin_dir = basename(dirname(__FILE__))."/languages/";
103
+ load_plugin_textdomain( 'wplivechat', false, $plugin_dir );
104
+ }
105
+
106
+
107
+ function wplc_version_control() {
108
+ global $wplc_version;
109
+
110
+
111
+ $current_version = get_option("wplc_current_version");
112
+ if (!isset($current_version) || $current_version != $wplc_version) {
113
+ wplc_handle_db();
114
+ update_option("wplc_current_version",$wplc_version);
115
+
116
+ }
117
+
118
+
119
+ }
120
+ function wplc_action_callback() {
121
+ global $wpdb;
122
+ global $wplc_tblname_chats;
123
+ $check = check_ajax_referer( 'wplc', 'security' );
124
+
125
+ if ($check == 1) {
126
+ if ($_POST['action'] == "wplc_admin_set_transient") {
127
+ set_transient("wplc_is_admin_logged_in", "1", 70 );
128
+
129
+ }
130
+ }
131
+ die(); // this is required to return a proper result
132
+
133
+ }
134
+
135
+
136
+ function wplc_feedback_page_include(){
137
+ include 'includes/feedback-page.php';
138
+ }
139
+
140
+ function wplc_admin_menu() {
141
+ $wplc_mainpage = add_menu_page('WP Live Chat', __('Live Chat','wplivechat'), 'manage_options', 'wplivechat-menu', 'wplc_admin_menu_layout');
142
+ add_submenu_page('wplivechat-menu', __('Settings','wplivechat'), __('Settings','wplivechat'), 'manage_options' , 'wplivechat-menu-settings', 'wplc_admin_settings_layout');
143
+ add_submenu_page('wplivechat-menu', __('History','wplivechat'), __('History','wplivechat'), 'manage_options' , 'wplivechat-menu-history', 'wplc_admin_history_layout');
144
+ add_submenu_page('wplivechat-menu', __('Feedback','wplivechat'), __('Feedback','wplivechat'), 'manage_options' , 'wplivechat-menu-feedback-page', 'wplc_feedback_page_include');
145
+ }
146
+ add_action('wp_head','wplc_user_top_js');
147
+ function wplc_user_top_js() {
148
+ echo "<!-- DEFINING DO NOT CACHE -->";
149
+ define('DONOTCACHEPAGE', true);
150
+ define('DONOTCACHEDB', true);
151
+ $ajax_nonce = wp_create_nonce("wplc");
152
+ wp_register_script( 'wplc-user-jquery-cookie', plugins_url('/js/jquery-cookie.js', __FILE__) , array('jquery-ui-draggable'));
153
+ wp_enqueue_script( 'wplc-user-jquery-cookie');
154
+ $wplc_settings = get_option("WPLC_SETTINGS");
155
+
156
+ ?>
157
+
158
+ <script type="text/javascript">
159
+ <?php if (!function_exists("wplc_register_pro_version")) { ?>
160
+ var wplc_ajaxurl = '<?php echo plugins_url('/ajax.php', __FILE__); ?>';
161
+
162
+ <?php } ?>
163
+ var wplc_nonce = '<?php echo $ajax_nonce; ?>';
164
+ </script>
165
+ <?php
166
+
167
+
168
+ }
169
+
170
+ function wplc_draw_user_box() {
171
+ $wplc_settings = get_option("WPLC_SETTINGS");
172
+ if ($wplc_settings["wplc_settings_enabled"] == 2) { return; }
173
+
174
+
175
+ wp_register_script( 'wplc-user-script', plugins_url('/js/wplc_u.js', __FILE__) );
176
+ wp_enqueue_script( 'wplc-user-script' );
177
+ wp_localize_script('wplc-user-script', 'wplc_hide_chat', null);
178
+ wp_localize_script('wplc-user-script', 'wplc_plugin_url', plugins_url());
179
+ wp_enqueue_script( 'jquery' );
180
+ wp_enqueue_script( 'jquery-ui-core' );
181
+ wp_enqueue_script( 'jquery-ui-draggable');
182
+ wplc_output_box();
183
+
184
+ }
185
+ function wplc_output_box() {
186
+
187
+ $wplc_class = "";
188
+ $wplc_settings = get_option("WPLC_SETTINGS");
189
+ if ($wplc_settings["wplc_settings_enabled"] == 2) { return; }
190
+
191
+ if ($wplc_settings["wplc_settings_align"] == 1) {
192
+ $original_pos = "bottom_left";
193
+ $wplc_box_align = "left:100px; bottom:0px;";
194
+
195
+ } else if ($wplc_settings["wplc_settings_align"] == 2){
196
+ $original_pos = "bottom_right";
197
+ $wplc_box_align = "right:100px; bottom:0px;";
198
+
199
+ } else if($wplc_settings["wplc_settings_align"] == 3){
200
+ $original_pos = "left";
201
+ $wplc_box_align = "left:0; bottom:100px;";
202
+ $wplc_class = "wplc_left";
203
+ } else if($wplc_settings["wplc_settings_align"] == 4){
204
+ $original_pos = "right";
205
+ $wplc_box_align = "right:0; bottom:100px;";
206
+ $wplc_class = "wplc_right";
207
+ }
208
+ if ($wplc_settings["wplc_settings_fill"]) { $wplc_settings_fill = "#".$wplc_settings["wplc_settings_fill"]; } else { $wplc_settings_fill = "#ed832f"; }
209
+ if ($wplc_settings["wplc_settings_font"]) { $wplc_settings_font = "#".$wplc_settings["wplc_settings_font"]; } else { $wplc_settings_font = "#FFFFFF"; }
210
+
211
+ $wplc_is_admin_logged_in = get_transient("wplc_is_admin_logged_in");
212
+ if (!function_exists("wplc_register_pro_version") && $wplc_is_admin_logged_in != 1) {
213
+ return "";
214
+ }
215
+
216
+ ?>
217
+ <div id="wp-live-chat" style="display:none; <?php echo $wplc_box_align; ?>; " class="<?php echo $wplc_class ?> wplc_close" original_pos="<?php echo $original_pos ?>" wplc-auto-pop-up="<?php if (isset($wplc_settings['wplc_auto_pop_up'])) { echo $wplc_settings['wplc_auto_pop_up']; } ?>">
218
+
219
+
220
+ <?php if (function_exists("wplc_register_pro_version")) {
221
+ wplc_pro_output_box();
222
+ } else {
223
+ ?>
224
+
225
+
226
+ <div class="wp-live-chat-wraper">
227
+ <div id="wp-live-chat-header" style="background-color: <?php echo $wplc_settings_fill; ?> !important; color: <?php echo $wplc_settings_font; ?> !important; ">
228
+
229
+ <i id="wp-live-chat-minimize" class="fa fa-minus" style="display:none;" ></i>
230
+ <i id="wp-live-chat-close" class="fa fa-times" style="display:none;" ></i>
231
+
232
+ <div id="wp-live-chat-1" >
233
+ <div style="display:block; ">
234
+ <strong><?php _e("Questions?", "wplivechat") ?></strong> <?php _e("Chat with us", "wplivechat") ?>
235
+ </div>
236
+ </div>
237
+ </div>
238
+
239
+ <div>
240
+
241
+ <div id="wp-live-chat-2" style="display:none;">
242
+
243
+ <div id="wp-live-chat-2-info">
244
+ <strong>Start Live Chat</strong>
245
+ </div>
246
+
247
+ <input type="text" name="wplc_name" id="wplc_name" value="" placeholder="<?php _e("Name","wplivechat"); ?>" />
248
+
249
+ <input type="text" name="wplc_email" id="wplc_email" value="" placeholder="<?php _e("Email","wplivechat"); ?>" />
250
+
251
+ <input id="wplc_start_chat_btn" type="button" value="<?php _e("Start Chat","wplivechat"); ?>" style="background-color: <?php echo $wplc_settings_fill; ?> !important; color: <?php echo $wplc_settings_font; ?> !important;"/>
252
+
253
+
254
+
255
+ </div>
256
+
257
+ <div id="wp-live-chat-3" style="display:none;">
258
+ <p><?php _e("Connecting you to a sales person. Please be patient.","wplivechat") ?></p>
259
+ </div>
260
+ <div id="wp-live-chat-react" style="display:none;">
261
+ <p><?php _e("Reactivating your previous chat...", "wplivechat") ?></p>
262
+ </div>
263
+ <div id="wp-live-chat-4" style="display:none;">
264
+ <div id="wplc_sound_update" style='height:0; width:0; display:none; border:0;'></div>;
265
+ <div id="wplc_chatbox"></div>
266
+ <p style="text-align:center; font-size:11px;"><?php _e("Press ENTER to send your message", "wplivechat" )?></p>
267
+ <p>
268
+ <input type="text" name="wplc_chatmsg" id="wplc_chatmsg" value="" />
269
+ <input type="hidden" name="wplc_cid" id="wplc_cid" value="" />
270
+ <input id="wplc_send_msg" type="button" value="<?php _e("Send","wplivechat"); ?>" style="display:none;" />
271
+ </p>
272
+ </div>
273
+ </div>
274
+ </div>
275
+ </div>
276
+ <?php
277
+ }
278
+ }
279
+
280
+ function wplc_display_box() {
281
+ $wplc_is_admin_logged_in = get_transient("wplc_is_admin_logged_in");
282
+ if ($wplc_is_admin_logged_in != 1) { echo "<!-- wplc a-n-c -->"; }
283
+
284
+ /* do not show if pro is outdated */
285
+ global $wplc_pro_version;
286
+ if (isset($wplc_pro_version)) {
287
+ $float_version = floatval($wplc_pro_version);
288
+ if ($float_version < 4 || $wplc_pro_version == "4.1.0" || $wplc_pro_version == "4.1.1") { return; }
289
+ }
290
+
291
+ if (function_exists("wplc_register_pro_version")) { wplc_pro_draw_user_box(); } else { wplc_draw_user_box(); }
292
+ }
293
+
294
+
295
+
296
+ function wplc_admin_display_chat($cid) {
297
+ global $wpdb;
298
+ global $wplc_tblname_msgs;
299
+ $results = $wpdb->get_results(
300
+ "
301
+ SELECT *
302
+ FROM $wplc_tblname_msgs
303
+ WHERE `chat_sess_id` = '$cid'
304
+ ORDER BY `timestamp` DESC
305
+ LIMIT 0, 100
306
+ "
307
+ );
308
+ foreach ($results as $result) {
309
+ $from = $result->from;
310
+ $msg = stripslashes($result->msg);
311
+ $msg_hist .= "$from: $msg<br />";
312
+
313
+ }
314
+ echo $msg_hist;
315
+ }
316
+ function wplc_admin_accept_chat($cid) {
317
+ wplc_change_chat_status($cid,3);
318
+ return true;
319
+
320
+ }
321
+ add_action('admin_head','wplc_update_chat_statuses');
322
+
323
+
324
+ function wplc_superadmin_javascript() {
325
+
326
+ if (isset($_GET['page']) && $_GET['page'] == 'wplivechat-menu') {
327
+
328
+ if (!isset($_GET['action'])) {
329
+ if (function_exists("wplc_register_pro_version")) {
330
+ wplc_pro_admin_javascript();
331
+ } else {
332
+ wplc_admin_javascript();
333
+ }
334
+
335
+ } // main page
336
+ else if (isset($_GET['action'])) {
337
+ if (function_exists("wplc_register_pro_version")) {
338
+ wplc_return_pro_admin_chat_javascript($_GET['cid']);
339
+ } else {
340
+ wplc_return_admin_chat_javascript($_GET['cid']);
341
+ }
342
+
343
+ }
344
+
345
+
346
+
347
+ }
348
+
349
+ $ajax_nonce = wp_create_nonce("wplc");
350
+ ?>
351
+ <script type="text/javascript">
352
+ jQuery(document).ready(function() {
353
+
354
+
355
+ var wplc_set_transient = null;
356
+
357
+ wplc_set_transient = setInterval(function (){wpcl_admin_set_transient();}, 60000);
358
+ wpcl_admin_set_transient();
359
+ function wpcl_admin_set_transient() {
360
+ var data = {
361
+ action: 'wplc_admin_set_transient',
362
+ security: '<?php echo $ajax_nonce; ?>'
363
+
364
+ };
365
+ jQuery.post(ajaxurl, data, function(response) {
366
+ //console.log("wplc_admin_set_transient");
367
+ });
368
+ }
369
+
370
+
371
+
372
+
373
+
374
+ });
375
+
376
+
377
+
378
+ </script>
379
+ <?php
380
+ }
381
+ function wplc_admin_javascript() {
382
+ $ajax_nonce = wp_create_nonce("wplc");
383
+ ?>
384
+
385
+ <script type="text/javascript">
386
+ var wplc_ajaxurl = '<?php echo plugins_url('/ajax.php', __FILE__); ?>';
387
+ var data = {
388
+ action: 'wplc_admin_long_poll',
389
+ security: '<?php echo $ajax_nonce; ?>',
390
+ wplc_list_visitors_data: false ,
391
+ wplc_update_admin_chat_table: false
392
+ };
393
+ var wplc_pending_refresh = null;
394
+
395
+ var wplc_run = true;
396
+ function wplc_call_to_server(data) {
397
+
398
+
399
+ jQuery.ajax({
400
+ url: wplc_ajaxurl,
401
+ data:data,
402
+ type:"POST",
403
+ success: function(response) {
404
+
405
+ //Update your dashboard gauge
406
+ if(response){
407
+
408
+ response = JSON.parse(response);
409
+ //console.log(response);
410
+ data["wplc_update_admin_chat_table"] = response['wplc_update_admin_chat_table'];
411
+ //console.log(response['visitors']);
412
+
413
+ if(response['action'] === "wplc_update_admin_chat"){
414
+ jQuery("#wplc_admin_chat_area").html(response['wplc_update_admin_chat_table']);
415
+ if (response['pending'] === true) {
416
+
417
+ var orig_title = document.getElementsByTagName("title")[0].innerHTML;
418
+ var ringer_cnt = 0;
419
+ wplc_pending_refresh = setInterval(function (){
420
+ //console.log("chat request");
421
+ ringer_cnt++;
422
+ if (ringer_cnt > 1) {
423
+ clearInterval(wplc_pending_refresh);
424
+ wplc_title_alerts4 = setTimeout(function (){ document.title = orig_title; }, 4000);
425
+ return;
426
+ }
427
+ document.title = "** CHAT REQUEST **";
428
+ wplc_title_alerts2 = setTimeout(function (){ document.title = "** CHAT REQUEST **"; }, 2000);
429
+ wplc_title_alerts4 = setTimeout(function (){ document.title = orig_title; }, 4000);
430
+
431
+ document.getElementById("wplc_sound").innerHTML="<embed src='<?php echo plugins_url('/ring.wav', __FILE__); ?>' hidden=true autostart=true loop=false>";
432
+ }, 5000);
433
+ } else {
434
+ //console.log("end");
435
+ clearInterval(wplc_pending_refresh);
436
+ }
437
+ }
438
+
439
+ }
440
+ },
441
+ error: function(jqXHR, exception) {
442
+ if (jqXHR.status == 404) {
443
+ console.log('Requested page not found. [404]');
444
+ wplc_run = false;
445
+ } else if (jqXHR.status == 500) {
446
+ console.log('Internal Server Error [500].');
447
+ wplc_run = false;
448
+ } else if (exception === 'parsererror') {
449
+ console.log('Requested JSON parse failed.');
450
+ wplc_run = false;
451
+ } else if (exception === 'abort') {
452
+ console.log('Ajax request aborted.');
453
+ wplc_run = false;
454
+ } else {
455
+ console.log('Uncaught Error.\n' + jqXHR.responseText);
456
+ wplc_run = false;
457
+ }
458
+ },
459
+ complete: function(response){
460
+ //console.log(wplc_run);
461
+ if (wplc_run) {
462
+ setTimeout(function() { wplc_call_to_server(data); }, 1500);
463
+ }
464
+ },
465
+ timeout: 120000
466
+ });
467
+ };
468
+
469
+
470
+
471
+ jQuery(document).ready(function() {
472
+ jQuery('body').on("click", "a", function (event) {
473
+ if(jQuery(this).hasClass('wplc_open_chat')){
474
+ if(event.preventDefault) {
475
+ event.preventDefault();
476
+ } else {
477
+ event.returnValue = false;
478
+ }
479
+ window.open(jQuery(this).attr("href"), jQuery(this).attr("window-title" ), "width=600,height=600,scrollbars=yes", false);
480
+ }
481
+ });
482
+
483
+ wplc_call_to_server(data);
484
+ });
485
+
486
+
487
+
488
+ </script>
489
+ <?php
490
+ }
491
+
492
+
493
+
494
+ function wplc_admin_menu_layout() {
495
+ if (function_exists("wplc_register_pro_version")) {
496
+ global $wplc_pro_version;
497
+ if (floatval($wplc_pro_version) < 4 || $wplc_pro_version == "4.1.0" || $wplc_pro_version == "4.1.1") {
498
+ ?>
499
+ <div class='error below-h1'>
500
+
501
+ <p><?php _e("Dear Pro User", "wplivechat") ?><br /></p>
502
+ <p><?php _e("You are using an outdated version of <strong>WP Live Chat Support Pro</strong>. Please" , "wplivechat")?> <a href="http://wp-livechat.com/get-updated-version/" target=\"_BLANK\"><?php _e("update to at least version", "wplivechat") ?> 4.0</a> <?php _e("to ensure all functionality is in working order", "wplivechat" ) ?>.</p>
503
+ <p><strong><?php _e("You're live chat box on your website has been temporarily disabled until the Pro plugin has been updated. This is to ensure a smooth and hassle-free user experience for both yourself and your visitors.","wplivechat") ?></strong></p>
504
+ <p><?php _e("You can update your plugin <a href='./update-core.php'>here</a>, <a href='./plugins.php'>here</a> or <a href='http://wp-livechat.com/get-updated-version/' target='_BLANK'>here</a>.","wplivechat") ?></strong></p>
505
+ <p><?php _e("If you are having difficulty updating the plugin, please contact","wplivechat") ?> nick@wp-livechat.com</p>
506
+
507
+ </div>
508
+ <?php
509
+ }
510
+ }
511
+ if(get_option("WPLC_FIRST_TIME") == true && !class_exists("APC_Object_Cache")){
512
+ update_option('WPLC_FIRST_TIME', false);
513
+ include 'includes/welcome_page.php';
514
+ } else {
515
+ update_option('WPLC_FIRST_TIME', false);
516
+ if (function_exists("wplc_register_pro_version")) {
517
+ wplc_pro_admin_menu_layout_display();
518
+ } else {
519
+ wplc_admin_menu_layout_display();
520
+ }
521
+ }
522
+
523
+ }
524
+
525
+ function wplc_admin_menu_layout_display() {
526
+ if (!isset($_GET['action'])) {
527
+
528
+ ?>
529
+ <div style='float:right; display:block; width:450px; padding:10px; text-align:center; background-color: #EEE; border: 1px solid #E6DB55; margin:10px;'>
530
+ <strong><?php _e("Experiencing problems with the plugin?", "wplivechat") ?></strong>
531
+ <br />
532
+ <a href='http://wp-livechat.com/documentation/' title='WP Live Chat Support Documentation' target='_BLANK'><?php _e("Review the documentation.", "wplivechat") ?></a>
533
+ <?php _e("Or ask a question on our", "wplivechat") ?> <a href='http://wp-livechat.com/forums/forum/support/' title='WP Live Chat Support Forum' target='_BLANK'>Support forum.</a>
534
+ </div>
535
+
536
+ <h1><?php _e("Live Chat", "wplivechat") ?> </h1>
537
+ <div id="wplc_sound"></div>
538
+
539
+
540
+
541
+
542
+ <div id="wplc_admin_chat_area">
543
+
544
+ <?php if (function_exists("wplc_register_pro_version")) {
545
+ echo wplc_list_chats_pro();
546
+
547
+ } else {
548
+ echo wplc_list_chats();
549
+
550
+ }
551
+
552
+ ?>
553
+ </div>
554
+
555
+ <h1><?php _e("Visitors on site","wplivechat") ?></h1>
556
+ <p><?php _e("With the Pro add-on of WP Live Chat Support, you can","wplivechat"); ?> <a href="http://www.wp-livechat.com/purchase-pro/?utm_source=plugin&utm_medium=link&utm_campaign=initiate1" title="<?php _e("see who's online and initiate chats","wplivechat"); ?>" target=\"_BLANK\"><?php _e("see who's online and initiate chats","wplivechat"); ?></a> <?php _e("with your online visitors with the click of a button.","wplivechat"); ?> <a href="http://www.wp-livechat.com/purchase-pro/?utm_source=plugin&utm_medium=link&utm_campaign=initiate2" title="<?php _e("Buy the Pro add-on now for only $29.95 once off. Free Updates FOREVER.","wplivechat"); ?>" target=\"_BLANK\"><strong><?php _e("Buy the Pro add-on now for only $29.95 once off. Free Updates Forever.","wplivechat"); ?></strong></a></p>
557
+ <?php
558
+ }
559
+ else {
560
+
561
+ if ($_GET['action'] == 'ac') {
562
+ wplc_change_chat_status($_GET['cid'],3);
563
+ if(function_exists('wplc_ma_register')){
564
+ wplc_ma_update_agent_id($_GET['cid'], $_GET['agent_id']);
565
+ }
566
+ if (function_exists("wplc_register_pro_version")) { wplc_pro_draw_chat_area($_GET['cid']); } else { wplc_draw_chat_area($_GET['cid']); }
567
+ }
568
+ }
569
+ }
570
+
571
+ function wplc_draw_chat_area($cid) {
572
+
573
+ global $wpdb;
574
+ global $wplc_tblname_chats;
575
+ $results = $wpdb->get_results(
576
+ "
577
+ SELECT *
578
+ FROM $wplc_tblname_chats
579
+ WHERE `id` = '$cid'
580
+ LIMIT 1
581
+ "
582
+ );?>
583
+ <style>
584
+ .wplc-user-message{
585
+ display: inline-block;
586
+ padding: 5px;
587
+ -webkit-box-shadow: 0px 0px 5px 0px rgba(50, 50, 50, 0.5);
588
+ -moz-box-shadow: 0px 0px 5px 0px rgba(50, 50, 50, 0.5);
589
+ box-shadow: 0px 0px 5px 0px rgba(50, 50, 50, 0.5);
590
+ border-radius: 5px;
591
+ float: left;
592
+ margin-bottom: 5px;
593
+ }
594
+ .wplc-user-message hr , .wplc-admin-message hr{
595
+ margin:0;
596
+ }
597
+ .wplc-clear-float-message{
598
+ clear: both;
599
+ }
600
+
601
+ .wplc-admin-message{
602
+ display: inline-block;
603
+ padding: 5px;
604
+ -webkit-box-shadow: 0px 0px 5px 0px rgba(50, 50, 50, 0.5);
605
+ -moz-box-shadow: 0px 0px 5px 0px rgba(50, 50, 50, 0.5);
606
+ box-shadow: 0px 0px 5px 0px rgba(50, 50, 50, 0.5);
607
+ border-radius: 5px;
608
+ float: right;
609
+ margin-bottom: 5px;
610
+ }
611
+ </style>
612
+ <?php
613
+
614
+
615
+ foreach ($results as $result) {
616
+ $user_data = maybe_unserialize($result->ip);
617
+ $user_ip = $user_data['ip'];
618
+ $browser = wplc_return_browser_string($user_data['user_agent']);
619
+ $browser_image = wplc_return_browser_image($browser,"16");
620
+ global $wplc_basic_plugin_url;
621
+ if ($result->status == 1) { $status = __("Previous", "wplivechat"); } else { $status = __("Active", "wplivechat"); }
622
+
623
+ echo "<h2>$status Chat with ".$result->name."</h2>";
624
+ echo "<style>#adminmenuwrap { display:none; } #adminmenuback { display:none; } #wpadminbar { display:none; } #wpfooter { display:none; } .update-nag { display:none; }</style>";
625
+ echo "<div style='display:block;'>";
626
+ echo "<div style='float:left; width:100px;'><img src=\"http://www.gravatar.com/avatar/".md5($result->email)."\" /></div>";
627
+ echo "<div id=\"wplc_sound_update\"></div>";
628
+ echo "<div style='float:left; width:350px;'>";
629
+ echo "<table>";
630
+ echo "<tr><td><i class=\"fa fa-envelope\"> </i></td><td><a href='mailto:".$result->email."' title='".$result->email."'>".$result->email."</a></td></tr>";
631
+ echo "<tr><td valign='top'><i class=\"fa fa-user\"> </i></td><td>";
632
+ echo "<img src='".$wplc_basic_plugin_url."/images/$browser_image' alt='$browser' title='$browser' /> ";
633
+ echo "<a href='http://www.ip-adress.com/ip_tracer/".$user_ip."' title='Whois for ".$user_ip."'>".$user_ip."</a>";
634
+ echo "</td></tr>";
635
+ echo "<tr><td><i class=\"fa fa-link\"> </i></td><td>".$result->url. " (<a href='".$result->url."' target='_BLANK'>open</a>)"."</td></tr>";
636
+ echo "<tr><td><i class=\"fa fa-clock-o\"> </i></td><td>".$result->timestamp."</td></tr>";
637
+ echo "</table><br />";
638
+ echo "</div>";
639
+ echo "</div>";
640
+
641
+ echo "
642
+ <div style=\"display:block; clear:both; width:99%; text-align:right; font-size:10px;\"><a href=\"javascript:void(0);\" class=\"wplc_admin_close_chat button\" id=\"wplc_admin_close_chat\">".__("End chat","wplivechat")."</a></div>
643
+ <div id='admin_chat_box'>
644
+ <div id='admin_chat_box_area_".$result->id."' style='height:200px; width:95%; border:1px solid #ccc; overflow:auto; background-color:#FFF; padding:2%;'>".wplc_return_chat_messages($cid)."</div>
645
+ <p>
646
+ ";
647
+ if ($result->status != 1) {
648
+ echo "
649
+ <p style=\"text-align:left; font-size:11px;\">Press ENTER to send your message</p>
650
+ <input type='text' name='wplc_admin_chatmsg' id='wplc_admin_chatmsg' value='' style=\"border:1px solid #666; width:98%;\" />
651
+ <input id='wplc_admin_cid' type='hidden' value='".$_GET['cid']."' />
652
+ <input id='wplc_admin_send_msg' type='button' value='".__("Send","wplivechat")."' style=\"display:none;\" />
653
+ </p>
654
+ ".__("Assign Quick Response","wplivechat")." <select name='wplc_macros_select' class='wplc_macros_select' disabled><option>".__('Select','wplivechat')."</option></select> <a href='http://wp-livechat.com/purchase-pro/?utm_source=plugin&utm_medium=link&utm_campaign=quick_resposnes' title='".__('Add Quick Responses to your Live Chat','wplivechat')."' target='_BLANK'>".__("Pro version only","wplivechat")."</a>
655
+
656
+ </div>
657
+ ";
658
+ //echo wplc_return_admin_chat_javascript($_GET['cid']);
659
+ }
660
+
661
+ }
662
+ }
663
+
664
+ function wplc_return_admin_chat_javascript($cid) {
665
+ $ajax_nonce = wp_create_nonce("wplc");
666
+ if(function_exists("wplc_pro_get_admin_picture")){
667
+ $src = wplc_pro_get_admin_picture();
668
+ if($src){
669
+ $image = "<img src=".$src." width='20px' id='wp-live-chat-2-img'/>";
670
+ }
671
+ }
672
+ ?>
673
+ <script type="text/javascript">
674
+ var wplc_ajaxurl = '<?php echo plugins_url('/ajax.php', __FILE__); ?>';
675
+ var chat_status = 3;
676
+ var cid = <?php echo $cid; ?>;
677
+ var data = {
678
+ action: 'wplc_admin_long_poll_chat',
679
+ security: '<?php echo $ajax_nonce; ?>',
680
+ cid: cid,
681
+ chat_status: chat_status
682
+ };
683
+ var wplc_run = true;
684
+ function wplc_call_to_server_admin_chat(data) {
685
+ jQuery.ajax({
686
+ url: wplc_ajaxurl,
687
+ data:data,
688
+ type:"POST",
689
+ success: function(response) {
690
+ if(response){
691
+
692
+ response = JSON.parse(response);
693
+ //console.log(response);
694
+ if(response['action'] === "wplc_update_chat_status"){
695
+ data['chat_status'] = response['chat_status'];
696
+ wplc_display_chat_status_update(response['chat_status'],cid);
697
+ }
698
+ if(response['action'] === "wplc_new_chat_message"){
699
+ current_len = jQuery("#admin_chat_box_area_"+cid).html().length;
700
+ jQuery("#admin_chat_box_area_"+cid).append(response['chat_message']);
701
+ new_length = jQuery("#admin_chat_box_area_"+cid).html().length;
702
+ if (current_len < new_length) {
703
+ document.getElementById("wplc_sound_update").innerHTML="<embed src='<?php echo plugins_url('/ding.mp3', __FILE__); ?>' hidden=true autostart=true loop=false>";
704
+ }
705
+ var height = jQuery('#admin_chat_box_area_'+cid)[0].scrollHeight;
706
+ jQuery('#admin_chat_box_area_'+cid).scrollTop(height);
707
+ }
708
+ if(response['action'] === "wplc_user_open_chat"){
709
+ data['action_2'] = "";
710
+ <?php $url = admin_url( 'admin.php?page=wplivechat-menu&action=ac&cid='.$cid); ?>
711
+ window.location.replace('<?php echo $url; ?>');
712
+ }
713
+
714
+ }
715
+ },
716
+ error: function(jqXHR, exception) {
717
+ if (jqXHR.status == 404) {
718
+ console.log('Requested page not found. [404]');
719
+ wplc_run = false;
720
+ } else if (jqXHR.status == 500) {
721
+ console.log('Internal Server Error [500].');
722
+ wplc_run = false;
723
+ } else if (exception === 'parsererror') {
724
+ console.log('Requested JSON parse failed.');
725
+ wplc_run = false;
726
+ } else if (exception === 'abort') {
727
+ console.log('Ajax request aborted.');
728
+ wplc_run = false;
729
+ } else {
730
+ console.log('Uncaught Error.\n' + jqXHR.responseText);
731
+ wplc_run = false;
732
+ }
733
+ },
734
+ complete: function(response){
735
+ //console.log(wplc_run);
736
+ if (wplc_run) {
737
+ wplc_call_to_server_admin_chat(data);
738
+ }
739
+ },
740
+
741
+ timeout: 120000
742
+ });
743
+ };
744
+
745
+ function wplc_display_chat_status_update(new_chat_status, cid){
746
+ if (new_chat_status === "0") { } else {
747
+ if (chat_status !== new_chat_status) {
748
+ previous_chat_status = chat_status;
749
+ //console.log("previous chat status: "+previous_chat_status);
750
+ chat_status = new_chat_status;
751
+ //console.log("chat status: "+chat_status);
752
+
753
+ if ((previous_chat_status === "2" && chat_status === "3") || (previous_chat_status === "5" && chat_status === "3")) {
754
+ jQuery("#admin_chat_box_area_"+cid).append("<em><?php _e("User has opened the chat window","wplivechat"); ?></em><br />");
755
+ var height = jQuery('#admin_chat_box_area_'+cid)[0].scrollHeight;
756
+ jQuery('#admin_chat_box_area_'+cid).scrollTop(height);
757
+
758
+ } else if (chat_status == "10" && previous_chat_status == "3") {
759
+ jQuery("#admin_chat_box_area_"+cid).append("<em><?php _e("User has minimized the chat window","wplivechat"); ?></em><br />");
760
+ var height = jQuery('#admin_chat_box_area_'+cid)[0].scrollHeight;
761
+ jQuery('#admin_chat_box_area_'+cid).scrollTop(height);
762
+ }
763
+ else if(chat_status === "3" && previous_chat_status === "10"){
764
+ jQuery("#admin_chat_box_area_"+cid).append("<em><?php _e("User has maximized the chat window","wplivechat"); ?></em><br />");
765
+ var height = jQuery('#admin_chat_box_area_'+cid)[0].scrollHeight;
766
+ jQuery('#admin_chat_box_area_'+cid).scrollTop(height);
767
+ }
768
+ else if (chat_status === "1" || chat_status === "8") {
769
+ jQuery("#admin_chat_box_area_"+cid).append("<em><?php _e("User has closed and ended the chat","wplivechat"); ?></em><br />");
770
+ var height = jQuery('#admin_chat_box_area_'+cid)[0].scrollHeight;
771
+ jQuery('#admin_chat_box_area_'+cid).scrollTop(height);
772
+ document.getElementById('wplc_admin_chatmsg').disabled = true;
773
+ }
774
+ }
775
+ }
776
+ }
777
+
778
+
779
+
780
+ jQuery(document).ready(function() {
781
+
782
+ var wplc_image = "<?php if (isset($image)) { echo $image; } else { echo ""; } ?>";
783
+ var wplc_ajaxurl = '<?php echo plugins_url('/ajax.php', __FILE__); ?>';
784
+
785
+
786
+ jQuery("#wplc_admin_chatmsg").focus();
787
+
788
+
789
+
790
+
791
+ wplc_call_to_server_admin_chat(data);
792
+
793
+ if (jQuery('#wplc_admin_cid').length){
794
+ var wplc_cid = jQuery("#wplc_admin_cid").val();
795
+ var height = jQuery('#admin_chat_box_area_'+wplc_cid)[0].scrollHeight;
796
+ jQuery('#admin_chat_box_area_'+wplc_cid).scrollTop(height);
797
+ }
798
+
799
+ jQuery(".wplc_admin_accept").on("click", function() {
800
+ wplc_title_alerts3 = setTimeout(function (){ document.title = "WP Live Chat Support"; }, 2500);
801
+ var cid = jQuery(this).attr("cid");
802
+
803
+ var data = {
804
+ action: 'wplc_admin_accept_chat',
805
+ cid: cid,
806
+ security: '<?php echo $ajax_nonce; ?>'
807
+ };
808
+ jQuery.post(wplc_ajaxurl, data, function(response) {
809
+ //console.log("wplc_admin_accept_chat");
810
+ wplc_refresh_chat_boxes[cid] = setInterval(function (){wpcl_admin_update_chat_box(cid);}, 3000);
811
+ jQuery("#admin_chat_box_"+cid).show();
812
+ });
813
+ });
814
+
815
+ jQuery("#wplc_admin_chatmsg").keyup(function(event){
816
+ if(event.keyCode == 13){
817
+ jQuery("#wplc_admin_send_msg").click();
818
+ }
819
+ });
820
+
821
+ jQuery("#wplc_admin_close_chat").on("click", function() {
822
+ var wplc_cid = jQuery("#wplc_admin_cid").val();
823
+ var data = {
824
+ action: 'wplc_admin_close_chat',
825
+ security: '<?php echo $ajax_nonce; ?>',
826
+ cid: wplc_cid
827
+
828
+ };
829
+ jQuery.post(wplc_ajaxurl, data, function(response) {
830
+ //console.log("wplc_admin_close_chat");
831
+ //console.log(response);
832
+ window.close();
833
+ });
834
+
835
+ });
836
+
837
+ function wplc_strip(str) {
838
+ str=str.replace(/<br>/gi, "\n");
839
+ str=str.replace(/<p.*>/gi, "\n");
840
+ str=str.replace(/<a.*href="(.*?)".*>(.*?)<\/a>/gi, " $2 ($1) ");
841
+ str=str.replace(/<(?:.|\s)*?>/g, "");
842
+ return str;
843
+ }
844
+ jQuery("#wplc_admin_send_msg").on("click", function() {
845
+ var wplc_cid = jQuery("#wplc_admin_cid").val();
846
+ var wplc_chat = wplc_strip(document.getElementById('wplc_admin_chatmsg').value);
847
+ var wplc_name = "a"+"d"+"m"+"i"+"n";
848
+ jQuery("#wplc_admin_chatmsg").val('');
849
+
850
+
851
+ jQuery("#admin_chat_box_area_"+wplc_cid).append("<span class='wplc-admin-message'>"+wplc_image+" <strong>"+wplc_name+"</strong>:<hr/>"+wplc_chat+"</span><br /><div class='wplc-clear-float-message'></div>");
852
+ var height = jQuery('#admin_chat_box_area_'+wplc_cid)[0].scrollHeight;
853
+ jQuery('#admin_chat_box_area_'+wplc_cid).scrollTop(height);
854
+
855
+
856
+ var data = {
857
+ action: 'wplc_admin_send_msg',
858
+ security: '<?php echo $ajax_nonce; ?>',
859
+ cid: wplc_cid,
860
+ msg: wplc_chat
861
+ };
862
+ jQuery.post(wplc_ajaxurl, data, function(response) {
863
+ //console.log("wplc_admin_send_msg");
864
+
865
+ /* do nothing
866
+ jQuery("#admin_chat_box_area_"+wplc_cid).html(response);
867
+ var height = jQuery('#admin_chat_box_area_'+wplc_cid)[0].scrollHeight;
868
+ jQuery('#admin_chat_box_area_'+wplc_cid).scrollTop(height);
869
+ */
870
+ });
871
+
872
+
873
+ });
874
+
875
+
876
+
877
+
878
+
879
+
880
+
881
+ });
882
+ </script>
883
+ <?php
884
+
885
+ }
886
+ function wplc_activate() {
887
+ wplc_handle_db();
888
+ if (!get_option("WPLC_SETTINGS")) {
889
+ add_option('WPLC_SETTINGS',array("wplc_settings_align" => "2", "wplc_settings_enabled" => "1", "wplc_settings_fill" => "ed832f", "wplc_settings_font" => "FFFFFF"));
890
+ }
891
+ add_option("WPLC_HIDE_CHAT","true");
892
+ add_option("WPLC_FIRST_TIME", true);
893
+ }
894
+
895
+
896
+ function wplc_handle_db() {
897
+ global $wpdb;
898
+ global $wplc_version;
899
+ global $wplc_tblname_chats;
900
+ global $wplc_tblname_msgs;
901
+
902
+ $sql = "
903
+ CREATE TABLE ".$wplc_tblname_chats." (
904
+ id int(11) NOT NULL AUTO_INCREMENT,
905
+ timestamp datetime NOT NULL,
906
+ name varchar(700) NOT NULL,
907
+ email varchar(700) NOT NULL,
908
+ ip varchar(700) NOT NULL,
909
+ status int(11) NOT NULL,
910
+ session varchar(100) NOT NULL,
911
+ url varchar(700) NOT NULL,
912
+ last_active_timestamp datetime NOT NULL,
913
+ PRIMARY KEY (id)
914
+ ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
915
+ ";
916
+
917
+ require_once(ABSPATH . 'wp-admin/includes/upgrade.php');
918
+ dbDelta($sql);
919
+
920
+ $sql = '
921
+ CREATE TABLE '.$wplc_tblname_msgs.' (
922
+ id int(11) NOT NULL AUTO_INCREMENT,
923
+ chat_sess_id int(11) NOT NULL,
924
+ `from` varchar(150) CHARACTER SET utf8 NOT NULL,
925
+ msg varchar(700) CHARACTER SET utf8 NOT NULL,
926
+ timestamp datetime NOT NULL,
927
+ status INT(3) NOT NULL,
928
+ originates INT(3) NOT NULL,
929
+ PRIMARY KEY (id)
930
+ ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
931
+ ';
932
+
933
+ require_once(ABSPATH . 'wp-admin/includes/upgrade.php');
934
+ @dbDelta($sql);
935
+
936
+ add_option("wplc_db_version", $wplc_version);
937
+ update_option("wplc_db_version",$wplc_version);
938
+ }
939
+
940
+ function wplc_add_user_stylesheet() {
941
+ wp_register_style( 'wplc-font-awesome', plugins_url('/css/font-awesome.min.css', __FILE__) );
942
+ wp_enqueue_style( 'wplc-font-awesome' );
943
+ wp_register_style( 'wplc-style', plugins_url('/css/wplcstyle.css', __FILE__) );
944
+ wp_enqueue_style( 'wplc-style' );
945
+
946
+ }
947
+ function wplc_add_admin_stylesheet() {
948
+ if (isset($_GET['page']) && ($_GET['page'] == 'wplivechat-menu' || $_GET['page'] == 'wplivechat-menu-settings')) {
949
+ wp_register_style( 'wplc-admin-style', 'http://code.jquery.com/ui/1.8.24/themes/smoothness/jquery-ui.css' );
950
+ wp_enqueue_style( 'wplc-admin-style' );
951
+ wp_register_style( 'wplc-font-awesome', plugins_url('/css/font-awesome.min.css', __FILE__) );
952
+ wp_enqueue_style( 'wplc-font-awesome' );
953
+ }
954
+ }
955
+
956
+ if (isset($_GET['page']) && $_GET['page'] == 'wplivechat-menu-settings') {
957
+ add_action('admin_print_scripts', 'wplc_admin_scripts_basic');
958
+ }
959
+ function wplc_admin_scripts_basic() {
960
+
961
+ if (isset($_GET['page']) && $_GET['page'] == "wplivechat-menu-settings") {
962
+ wp_enqueue_script( 'jquery' );
963
+ wp_enqueue_script('jquery-ui-core');
964
+
965
+ wp_register_script('my-wplc-color', plugins_url('js/jscolor.js',__FILE__), false, '1.4.1', false);
966
+ wp_enqueue_script('my-wplc-color');
967
+ wp_enqueue_script( 'jquery-ui-tabs');
968
+ wp_register_script('my-wplc-tabs', plugins_url('js/wplc_tabs.js',__FILE__), array('jquery-ui-core'), '', true);
969
+ wp_enqueue_script('my-wplc-tabs');
970
+ }
971
+ }
972
+
973
+
974
+ function wplc_admin_settings_layout() {
975
+ wplc_settings_page_basic();
976
+ }
977
+ function wplc_admin_history_layout() {
978
+ echo"<div class=\"wrap\"><div id=\"icon-edit\" class=\"icon32 icon32-posts-post\"><br></div><h2>".__("WP Live Chat History","wplivechat")."</h2>";
979
+ if (function_exists("wplc_register_pro_version")) {
980
+ wplc_pro_admin_display_history();
981
+ }
982
+ else {
983
+ echo "<br /><br >This option is only available in the <a href=\"http://www.wp-livechat.com/purchase-pro/?utm_source=plugin&utm_medium=link&utm_campaign=history1\" title=\"".__("Pro Add-on","wplivechat")."\" target=\"_BLANK\">Pro Add-on</a> of WP Live Chat. <a href=\"http://www.wp-livechat.com/purchase-pro/?utm_source=plugin&utm_medium=link&utm_campaign=history2\" title=\"".__("Pro Add-on","wplivechat")."\" target=\"_BLANK\">Get it now for only $29.95 once off!</a>";
984
+ }
985
+ }
986
+
987
+
988
+ function wplc_settings_page_basic() {
989
+ if(function_exists("wplc_register_pro_version")){
990
+ wplc_settings_page_pro();
991
+ } else {
992
+ include 'includes/settings_page.php';
993
+ }
994
+ }
995
+ function wplc_head_basic() {
996
+ global $wpdb;
997
+
998
+ if (isset($_POST['wplc_save_settings'])){
999
+
1000
+ if (isset($_POST['wplc_settings_align'])) { $wplc_data['wplc_settings_align'] = esc_attr($_POST['wplc_settings_align']); }
1001
+ if (isset($_POST['wplc_settings_fill'])) { $wplc_data['wplc_settings_fill'] = esc_attr($_POST['wplc_settings_fill']); }
1002
+ if (isset($_POST['wplc_settings_font'])) { $wplc_data['wplc_settings_font'] = esc_attr($_POST['wplc_settings_font']); }
1003
+ if (isset($_POST['wplc_settings_enabled'])) { $wplc_data['wplc_settings_enabled'] = esc_attr($_POST['wplc_settings_enabled']); }
1004
+ if (isset($_POST['wplc_auto_pop_up'])) { $wplc_data['wplc_auto_pop_up'] = esc_attr($_POST['wplc_auto_pop_up']); }
1005
+ update_option('WPLC_SETTINGS', $wplc_data);
1006
+ if (isset($_POST['wplc_hide_chat'])) { update_option("WPLC_HIDE_CHAT", $_POST['wplc_hide_chat']); }
1007
+ echo "<div class='updated'>";
1008
+ _e("Your settings have been saved.","wplivechat");
1009
+ echo "</div>";
1010
+ }
1011
+ if(isset($_POST['action']) && $_POST['action'] == "wplc_submit_find_us"){
1012
+ if (function_exists('curl_version')) {
1013
+ $request_url = "http://www.wp-livechat.com/apif/rec.php";
1014
+ $ch = curl_init();
1015
+ curl_setopt($ch, CURLOPT_URL, $request_url);
1016
+ curl_setopt($ch, CURLOPT_POST, 1);
1017
+ curl_setopt($ch, CURLOPT_POSTFIELDS, $_POST);
1018
+ curl_setopt($ch, CURLOPT_REFERER, $_SERVER['HTTP_HOST']);
1019
+ curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
1020
+ $output = curl_exec($ch);
1021
+ curl_close($ch);
1022
+ }
1023
+ echo "<div class=\"updated\"><p>". __("Thank You for your feedback!","wplivechat")."</p></div>";
1024
+ }
1025
+ if (isset($_POST['wplc_nl_send_feedback'])) {
1026
+ if(wp_mail("nick@wp-livechat.com", "Plugin feedback", "Name: ".$_POST['wplc_nl_feedback_name']."\n\r"."Email: ".$_POST['wplc_nl_feedback_email']."\n\r"."Website: ".$_POST['wplc_nl_feedback_website']."\n\r"."Feedback:".$_POST['wplc_nl_feedback_feedback'] )){
1027
+ echo "<div id=\"message\" class=\"updated\"><p>".__("Thank you for your feedback. We will be in touch soon","wplc")."</p></div>";
1028
+ } else {
1029
+
1030
+ if (function_exists('curl_version')) {
1031
+ $request_url = "http://www.wp-livechat.com/apif/rec_feedback.php";
1032
+ $ch = curl_init();
1033
+ curl_setopt($ch, CURLOPT_URL, $request_url);
1034
+ curl_setopt($ch, CURLOPT_POST, 1);
1035
+ curl_setopt($ch, CURLOPT_POSTFIELDS, $_POST);
1036
+ curl_setopt($ch, CURLOPT_REFERER, $_SERVER['HTTP_HOST']);
1037
+ curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
1038
+ $output = curl_exec($ch);
1039
+ curl_close($ch);
1040
+ echo "<div id=\"message\" class=\"updated\"><p>".__("Thank you for your feedback. We will be in touch soon","wplc")."</p></div>";
1041
+ }
1042
+ else {
1043
+ echo "<div id=\"message\" class=\"error\">";
1044
+ echo "<p>".__("There was a problem sending your feedback. Please log your feedback on ","wplc")."<a href='http://wp-livechat.com/forums/forum/support/' target='_BLANK'>http://wp-livechat.com/forums/forum/support/</a></p>";
1045
+ echo "</div>";
1046
+ }
1047
+ }
1048
+ }
1049
+
1050
+ }
1051
+
1052
+ function wplc_logout() {
1053
+ delete_transient('wplc_is_admin_logged_in');
1054
+ }
1055
+ add_action('wp_logout', 'wplc_logout');
1056
+
1057
+
1058
+ function wplc_get_home_path() {
1059
+ $home = get_option( 'home' );
1060
+ $siteurl = get_option( 'siteurl' );
1061
+ if ( ! empty( $home ) && 0 !== strcasecmp( $home, $siteurl ) ) {
1062
+ $wp_path_rel_to_home = str_ireplace( $home, '', $siteurl ); /* $siteurl - $home */
1063
+ $pos = strripos( str_replace( '\\', '/', $_SERVER['SCRIPT_FILENAME'] ), trailingslashit( $wp_path_rel_to_home ) );
1064
+ $home_path = substr( $_SERVER['SCRIPT_FILENAME'], 0, $pos );
1065
+ $home_path = trailingslashit( $home_path );
1066
+ } else {
1067
+ $home_path = ABSPATH;
1068
+ }
1069
+
1070
+ return str_replace( '\\', '/', $home_path );
1071
  }