WP Live Chat Support - Version 3.07

Version Description

  • Fixed height issues with input boxes
  • Fixed Input that was showing half over chat area
  • Fixed Endless Connecting
Download this release

Release Info

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

Code changes from version 3.06 to 3.07

css/wplcstyle.css CHANGED
@@ -10,6 +10,7 @@
10
  -webkit-box-sizing: border-box;
11
  -moz-box-sizing: border-box;
12
  box-sizing: border-box;
 
13
  }
14
  #wplc_chatbox {
15
  padding: 5px;
@@ -65,7 +66,7 @@
65
  border-radius: 5px 5px 0 0 ;
66
  color:#999;
67
  max-width: 250px;
68
- max-height: 360px;
69
  z-index: 9999;
70
  }
71
 
@@ -168,6 +169,7 @@
168
  -webkit-box-sizing: border-box;
169
  -moz-box-sizing: border-box;
170
  box-sizing: border-box;
 
171
  }
172
  .wplc-user-message{
173
  display: inline-block;
10
  -webkit-box-sizing: border-box;
11
  -moz-box-sizing: border-box;
12
  box-sizing: border-box;
13
+ height: inherit;
14
  }
15
  #wplc_chatbox {
16
  padding: 5px;
66
  border-radius: 5px 5px 0 0 ;
67
  color:#999;
68
  max-width: 250px;
69
+ max-height: 400px;
70
  z-index: 9999;
71
  }
72
 
169
  -webkit-box-sizing: border-box;
170
  -moz-box-sizing: border-box;
171
  box-sizing: border-box;
172
+ height: inherit;
173
  }
174
  .wplc-user-message{
175
  display: inline-block;
functions.php CHANGED
@@ -408,6 +408,7 @@ function wplc_return_status($status) {
408
  if ($status == 6) {
409
  return "requesting chat";
410
  }
 
411
  }
412
 
413
  function wplc_user_initiate_chat($name,$email,$cid = null) {
408
  if ($status == 6) {
409
  return "requesting chat";
410
  }
411
+
412
  }
413
 
414
  function wplc_user_initiate_chat($name,$email,$cid = null) {
js/wplc_u.js CHANGED
@@ -106,7 +106,7 @@ jQuery(document).ready(function() {
106
  cid: wplc_check_cookie_id
107
  };
108
  jQuery.post(wplc_ajaxurl, data, function(response) {
109
- console.log(response);
110
  //console.log("wplc_user_close_chat");
111
  clearInterval(wplc_user_auto_refresh_status);
112
  clearInterval(wplc_user_auto_refresh);
@@ -204,8 +204,8 @@ jQuery(document).ready(function() {
204
  };
205
  jQuery.post(wplc_ajaxurl, data, function(response) {
206
  //console.log("wplc_start_chat");
207
- wplc_chat_session_id = response;
208
- wplc_check_cookie_id = response;
209
  wplc_user_waiting = setInterval(function (){wplc_user_await_session(wplc_chat_session_id);}, 5000);
210
 
211
  });
106
  cid: wplc_check_cookie_id
107
  };
108
  jQuery.post(wplc_ajaxurl, data, function(response) {
109
+ console.log(wplc_check_cookie_id);
110
  //console.log("wplc_user_close_chat");
111
  clearInterval(wplc_user_auto_refresh_status);
112
  clearInterval(wplc_user_auto_refresh);
204
  };
205
  jQuery.post(wplc_ajaxurl, data, function(response) {
206
  //console.log("wplc_start_chat");
207
+ wplc_chat_session_id = jQuery.trim(response);
208
+ wplc_check_cookie_id = jQuery.trim(response);
209
  wplc_user_waiting = setInterval(function (){wplc_user_await_session(wplc_chat_session_id);}, 5000);
210
 
211
  });
wp-live-chat-support.php CHANGED
@@ -3,7 +3,7 @@
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: 3.06
7
  Author: WP-LiveChat
8
  Author URI: http://www.wp-livechat.com
9
  */
@@ -17,7 +17,7 @@ global $wplc_tblname_chats;
17
  global $wplc_tblname_msgs;
18
  $wplc_tblname_chats = $wpdb->prefix . "wplc_chat_sessions";
19
  $wplc_tblname_msgs = $wpdb->prefix . "wplc_chat_msgs";
20
- $wplc_version = "3.06";
21
 
22
  require_once (plugin_dir_path( __FILE__ )."functions.php");
23
  add_action('wp_ajax_wplc_admin_set_transient', 'wplc_action_callback');
@@ -70,7 +70,6 @@ function wplc_admin_menu() {
70
  $wplc_mainpage = add_menu_page('WP Live Chat', __('Live Chat','wplivechat'), 'manage_options', 'wplivechat-menu', 'wplc_admin_menu_layout');
71
  add_submenu_page('wplivechat-menu', __('Settings','wplivechat'), __('Settings','wplivechat'), 'manage_options' , 'wplivechat-menu-settings', 'wplc_admin_settings_layout');
72
  add_submenu_page('wplivechat-menu', __('History','wplivechat'), __('History','wplivechat'), 'manage_options' , 'wplivechat-menu-history', 'wplc_admin_history_layout');
73
-
74
  }
75
  add_action('wp_head','wplc_user_top_js');
76
  function wplc_user_top_js() {
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: 3.07
7
  Author: WP-LiveChat
8
  Author URI: http://www.wp-livechat.com
9
  */
17
  global $wplc_tblname_msgs;
18
  $wplc_tblname_chats = $wpdb->prefix . "wplc_chat_sessions";
19
  $wplc_tblname_msgs = $wpdb->prefix . "wplc_chat_msgs";
20
+ $wplc_version = "3.07";
21
 
22
  require_once (plugin_dir_path( __FILE__ )."functions.php");
23
  add_action('wp_ajax_wplc_admin_set_transient', 'wplc_action_callback');
70
  $wplc_mainpage = add_menu_page('WP Live Chat', __('Live Chat','wplivechat'), 'manage_options', 'wplivechat-menu', 'wplc_admin_menu_layout');
71
  add_submenu_page('wplivechat-menu', __('Settings','wplivechat'), __('Settings','wplivechat'), 'manage_options' , 'wplivechat-menu-settings', 'wplc_admin_settings_layout');
72
  add_submenu_page('wplivechat-menu', __('History','wplivechat'), __('History','wplivechat'), 'manage_options' , 'wplivechat-menu-history', 'wplc_admin_history_layout');
 
73
  }
74
  add_action('wp_head','wplc_user_top_js');
75
  function wplc_user_top_js() {