WP Live Chat Support - Version 9.3.1

Version Description

  • 2021-03-03 =
  • Fixed issue with periodically redirections to chat page when in admin.
Download this release

Release Info

Developer wpdev3cx
Plugin Icon 128x128 WP Live Chat Support
Version 9.3.1
Comparing to
See all releases

Code changes from version 9.3.0 to 9.3.1

changelog.txt CHANGED
@@ -1,3 +1,6 @@
 
 
 
1
  = 9.3.0 - 2020-02-12 =
2
  * Styling improvements on mobile mode.
3
  * Added the functionality of theme picker on Code-Generator and WordPress plugin.
@@ -26,45 +29,45 @@
26
  * Fixed issue not showing exception in case of a non-valid attachment uploaded by the visitor.
27
 
28
  = 9.2.1 - 2020-12-23 =
29
- * Adjusted default popout behavior on 3CX mode.
30
- * Fixed “New Message” tab notification to be shown only after the visitor engaged on chat.
31
- * Fixed special characters set on welcome message not shown properly on popout window for 3CX mode.
32
- * Fixed issue of not passing all parameters to the popout window for 3CX mode.
33
  * Security fixes.
34
 
35
  = 9.2.0 - 2020-12-15 =
36
- * Revamped offline form to be of conversation style.
37
- * Added greeting functionality that can be configured for Online and Offline mode.
38
- * Added indicator on minimized bubble for unread messages.
39
- * Added a variable for the visitor name that can be used for messages, e.g Welcome message.
40
- * Fixed issue with chat not fit on screen when video activated.
41
- * Fixed spacing on “is typing”
42
  * Improved the visual presentation custom fields to the agents on “Standard - No 3CX” mode.
43
- * Fixed issue with flickering screen when switching between conversations
44
- * Adjusted UI to hide the arrow from consecutive conversations when they are coming from the same end.
45
- * Fixed issue with offline form not shown on “Standard - No 3CX” mode when specific times are set on Chat Operating Hours options.
46
- * Fixed issue with hanging in case that offline form failed to submit.
47
- * Fixed issue with agent faulty refresh on “Standard - No 3CX” mode.
48
  * Fixed issue with file attachment send remains hanging on “Standard - No 3CX” mode.
49
- * Fixed issue with chat ended message not being configurable.
50
  * Improved the handling of chats in case of inactivity or missed chats on “Standard - No 3CX” mode.
51
- * Fixed issue of not hiding the minimized bubble in case of Phone Only mode when configuration is not valid or offline.
52
- * Fixed issue with animation repetition on each user action.
53
- * Fixed issue of not properly wrapping date/time inside the chat message box.
54
- * Fixed issue of not resizing properly the chat window on iOS and Safari browser.
55
- * Fixed issue with default visitor name configuration.
56
- * Fixed issue with scrolling on Android devices.
57
- * Fixed issue with chat window in caset that is configured using the percentage.
58
- * Updated incoming chat sound notification.
59
- * Fixed issue with avatar background color not respecting the chat color configuration.
60
- * Fixed issue on plugin editor with "number of chat rings" validation.
61
- * Fixed issues with “is typing” indicator flickering.
62
  * Fixed styling issue on department selection.
63
  * Adjusted status indicator on agents chat conversions for “Standard - No 3CX” mode.
64
- * Added the option to “Ignore Queue ownership” on “3CX” mode.
65
- * Added the ability to configure the profile picture prior taking ownership.
66
- * Improved “Chat Operating Hours” configuration page.
67
- * Fixed drop-downs to be of the same width.
68
  * Added support for Automated first response for “3CX” mode.
69
 
70
  = 9.1.2 - 2020-11-18 =
1
+ = 9.3.1 - 2020-03-03 =
2
+ * Fixed issue with periodically redirections to chat page when in admin.
3
+
4
  = 9.3.0 - 2020-02-12 =
5
  * Styling improvements on mobile mode.
6
  * Added the functionality of theme picker on Code-Generator and WordPress plugin.
29
  * Fixed issue not showing exception in case of a non-valid attachment uploaded by the visitor.
30
 
31
  = 9.2.1 - 2020-12-23 =
32
+ * Adjusted default popout behavior on 3CX mode.
33
+ * Fixed “New Message” tab notification to be shown only after the visitor engaged on chat.
34
+ * Fixed special characters set on welcome message not shown properly on popout window for 3CX mode.
35
+ * Fixed issue of not passing all parameters to the popout window for 3CX mode.
36
  * Security fixes.
37
 
38
  = 9.2.0 - 2020-12-15 =
39
+ * Revamped offline form to be of conversation style.
40
+ * Added greeting functionality that can be configured for Online and Offline mode.
41
+ * Added indicator on minimized bubble for unread messages.
42
+ * Added a variable for the visitor name that can be used for messages, e.g Welcome message.
43
+ * Fixed issue with chat not fit on screen when video activated.
44
+ * Fixed spacing on “is typing”
45
  * Improved the visual presentation custom fields to the agents on “Standard - No 3CX” mode.
46
+ * Fixed issue with flickering screen when switching between conversations
47
+ * Adjusted UI to hide the arrow from consecutive conversations when they are coming from the same end.
48
+ * Fixed issue with offline form not shown on “Standard - No 3CX” mode when specific times are set on Chat Operating Hours options.
49
+ * Fixed issue with hanging in case that offline form failed to submit.
50
+ * Fixed issue with agent faulty refresh on “Standard - No 3CX” mode.
51
  * Fixed issue with file attachment send remains hanging on “Standard - No 3CX” mode.
52
+ * Fixed issue with chat ended message not being configurable.
53
  * Improved the handling of chats in case of inactivity or missed chats on “Standard - No 3CX” mode.
54
+ * Fixed issue of not hiding the minimized bubble in case of Phone Only mode when configuration is not valid or offline.
55
+ * Fixed issue with animation repetition on each user action.
56
+ * Fixed issue of not properly wrapping date/time inside the chat message box.
57
+ * Fixed issue of not resizing properly the chat window on iOS and Safari browser.
58
+ * Fixed issue with default visitor name configuration.
59
+ * Fixed issue with scrolling on Android devices.
60
+ * Fixed issue with chat window in caset that is configured using the percentage.
61
+ * Updated incoming chat sound notification.
62
+ * Fixed issue with avatar background color not respecting the chat color configuration.
63
+ * Fixed issue on plugin editor with "number of chat rings" validation.
64
+ * Fixed issues with “is typing” indicator flickering.
65
  * Fixed styling issue on department selection.
66
  * Adjusted status indicator on agents chat conversions for “Standard - No 3CX” mode.
67
+ * Added the option to “Ignore Queue ownership” on “3CX” mode.
68
+ * Added the ability to configure the profile picture prior taking ownership.
69
+ * Improved “Chat Operating Hours” configuration page.
70
+ * Fixed drop-downs to be of the same width.
71
  * Added support for Automated first response for “3CX” mode.
72
 
73
  = 9.1.2 - 2020-11-18 =
config.php CHANGED
@@ -9,7 +9,7 @@ if ( ! defined( 'ABSPATH' ) ) {
9
 
10
  define('WPLC_MIN_WP_VERSION', "5.3");
11
  define('WPLC_MIN_PHP_VERSION', "5.4");
12
- define('WPLC_PLUGIN_VERSION', "9.3.0");
13
  define('WPLC_PLUGIN_DIR', dirname(__FILE__));
14
  define('WPLC_PLUGIN_URL', wplc_plugins_url( '/', __FILE__ ) );
15
  define('WPLC_PLUGIN', plugin_basename( __FILE__ ) );
9
 
10
  define('WPLC_MIN_WP_VERSION', "5.3");
11
  define('WPLC_MIN_PHP_VERSION', "5.4");
12
+ define('WPLC_PLUGIN_VERSION', "9.3.1");
13
  define('WPLC_PLUGIN_DIR', dirname(__FILE__));
14
  define('WPLC_PLUGIN_URL', wplc_plugins_url( '/', __FILE__ ) );
15
  define('WPLC_PLUGIN', plugin_basename( __FILE__ ) );
css/vendor/bootstrap/{wplc_bootstrap_9_3_0.css → wplc_bootstrap_9_3_1.css} RENAMED
File without changes
modules/agent_chat/js/mcu_websocket.js CHANGED
@@ -77,7 +77,7 @@ function wplc_socketEventsSetup() {
77
  if (connectionTriesCount < 5 && event.code != 1000 && (socketTimeout === null || typeof socketTimeout === 'undefined')) {
78
  socketTimeout = setTimeout(wplc_setupSocket, 5000);
79
  connectionTriesCount++;
80
- } else if (connectionTriesCount >= 5 && localization_data.wplc_is_chat_page) {
81
  wplc_force_reload_mcu_data();
82
  }
83
  };
@@ -151,7 +151,7 @@ function wplc_socketEventsSetup() {
151
  })
152
 
153
  }
154
- } else if (data.notification == 'InvalidLogin' && localization_data.wplc_is_chat_page) {
155
  wplc_force_reload_mcu_data();
156
  } else if (data.notification == 'AgentAlreadyJoined') {
157
  alert("Another agent already joined this chat session.")
@@ -297,13 +297,15 @@ function wplc_closeConnection() {
297
  }
298
 
299
  function wplc_force_reload_mcu_data() {
300
- var url = window.location.href;
301
- if (url.indexOf('?') > -1) {
302
- url += '&wplc_action=invalid_login'
303
- } else {
304
- url += '?wplc_action=invalid_login'
 
 
 
305
  }
306
- window.location.href = url;
307
  }
308
 
309
  var IdGenerator = (function () {
77
  if (connectionTriesCount < 5 && event.code != 1000 && (socketTimeout === null || typeof socketTimeout === 'undefined')) {
78
  socketTimeout = setTimeout(wplc_setupSocket, 5000);
79
  connectionTriesCount++;
80
+ } else if (connectionTriesCount >= 5) {
81
  wplc_force_reload_mcu_data();
82
  }
83
  };
151
  })
152
 
153
  }
154
+ } else if (data.notification == 'InvalidLogin') {
155
  wplc_force_reload_mcu_data();
156
  } else if (data.notification == 'AgentAlreadyJoined') {
157
  alert("Another agent already joined this chat session.")
297
  }
298
 
299
  function wplc_force_reload_mcu_data() {
300
+ if(localization_data.wplc_is_chat_page) {
301
+ var url = window.location.href;
302
+ if (url.indexOf('?') > -1) {
303
+ url += '&wplc_action=invalid_login'
304
+ } else {
305
+ url += '?wplc_action=invalid_login'
306
+ }
307
+ window.location.href = url;
308
  }
 
309
  }
310
 
311
  var IdGenerator = (function () {
readme.txt CHANGED
@@ -4,7 +4,7 @@ Tags: chat plugin, live chat, live help, live support, wordpress live chat
4
  Requires at least: 5.3
5
  Tested up to: 5.6
6
  Requires PHP: 5.4
7
- Stable tag: 9.3.0
8
  License: GPLv2
9
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
10
  Text Domain: wp-live-chat-support
@@ -94,7 +94,9 @@ We use UI Avatars to generate user and agent avatars within the live chat enviro
94
  * Korean (taehwilee)
95
 
96
  == Installation ==
 
97
 
 
98
  * [Setting up your Live Chat box](https://www.3cx.com/docs/manual/live-chat-configuration/)
99
  * [Getting started with 3CX Live Chat (Standalone mode)](https://www.3cx.com/docs/wordpress-live-chat-guide/)
100
  * [Troubleshooting](https://www.3cx.com/docs/troubleshooting-wordpress-plugin/)
@@ -137,7 +139,10 @@ Huge update with over 300 changes that include: Bugfixes, Vulnerability Fixes &
137
 
138
  == Changelog ==
139
 
140
- = 9.3.0 - 2020-02-12 =
 
 
 
141
  * Styling improvements on mobile mode.
142
  * Added the functionality of theme picker on Code-Generator and WordPress plugin.
143
  * Added the option to set the system language.
4
  Requires at least: 5.3
5
  Tested up to: 5.6
6
  Requires PHP: 5.4
7
+ Stable tag: 9.3.1
8
  License: GPLv2
9
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
10
  Text Domain: wp-live-chat-support
94
  * Korean (taehwilee)
95
 
96
  == Installation ==
97
+ With 3CX Live Chat you can add Live Call functionality too. This allows you to elevate a chat to a phone call for faster resolution or more effective selling. You can add 3CX in the cloud free of charge for a whole year. You can even use it as your phone system and save on your communication bill. Get 3CX Free for one year [here](https://www.3cx.com/phone-system/download-phone-system/).
98
 
99
+ * [Configure with 3CX Phone System](https://www.3cx.com/docs/manual/live-chat/)
100
  * [Setting up your Live Chat box](https://www.3cx.com/docs/manual/live-chat-configuration/)
101
  * [Getting started with 3CX Live Chat (Standalone mode)](https://www.3cx.com/docs/wordpress-live-chat-guide/)
102
  * [Troubleshooting](https://www.3cx.com/docs/troubleshooting-wordpress-plugin/)
139
 
140
  == Changelog ==
141
 
142
+ = 9.3.1 - 2021-03-03 =
143
+ * Fixed issue with periodically redirections to chat page when in admin.
144
+
145
+ = 9.3.0 - 2021-02-12 =
146
  * Styling improvements on mobile mode.
147
  * Added the functionality of theme picker on Code-Generator and WordPress plugin.
148
  * Added the option to set the system language.
wp-live-chat-support.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: 3CX Live Chat
4
  Plugin URI: https://www.3cx.com/wp-live-chat/
5
  Description: The easiest to use website live chat plugin. Let your visitors chat with you and increase sales conversion rates with 3CX Live Chat.
6
- Version: 9.3.0
7
  Author: 3CX
8
  Author URI: https://www.3cx.com/wp-live-chat/
9
  Domain Path: /languages
3
  Plugin Name: 3CX Live Chat
4
  Plugin URI: https://www.3cx.com/wp-live-chat/
5
  Description: The easiest to use website live chat plugin. Let your visitors chat with you and increase sales conversion rates with 3CX Live Chat.
6
+ Version: 9.3.1
7
  Author: 3CX
8
  Author URI: https://www.3cx.com/wp-live-chat/
9
  Domain Path: /languages