Version Description
- 2022-04-28 =
- Fixed security issue - Thanks to Moucadel Matthieu
- Fixed issue when migrating from old versions - wplc_upgrade_tables_to_utf8mb4 error
- Improved custom bootstrap.css load
Download this release
Release Info
Developer | dmitry3cx |
Plugin | WP Live Chat Support |
Version | 9.4.3 |
Comparing to | |
See all releases |
Code changes from version 9.4.2 to 9.4.3
- changelog.txt +5 -0
- config.php +1 -1
- includes/helpers/utils_helper.php +2 -1
- includes/wplc_updater.php +3 -0
- modules/activation_wizard/activation_wizard_page.php +1 -1
- modules/agent_chat/agent_chat_page.php +1 -1
- modules/sessions/sessions_page.php +2 -2
- modules/settings/settings_page.php +2 -4
- readme.txt +70 -91
- wp-live-chat-support.php +2 -28
changelog.txt
CHANGED
@@ -1,3 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
1 |
= 9.4.2 - 2022-04-15 =
|
2 |
* Fixed issue with path inclusion
|
3 |
|
1 |
+
= 9.4.3 - 2022-04-28 =
|
2 |
+
* Fixed security issue - Thanks to Moucadel Matthieu
|
3 |
+
* Fixed issue when migrating from old versions - wplc_upgrade_tables_to_utf8mb4 error
|
4 |
+
* Improved custom bootstrap.css load
|
5 |
+
|
6 |
= 9.4.2 - 2022-04-15 =
|
7 |
* Fixed issue with path inclusion
|
8 |
|
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.4.
|
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.4.3");
|
13 |
define('WPLC_PLUGIN_DIR', dirname(__FILE__));
|
14 |
define('WPLC_PLUGIN_URL', wplc_plugins_url( '/', __FILE__ ) );
|
15 |
define('WPLC_PLUGIN', plugin_basename( __FILE__ ) );
|
includes/helpers/utils_helper.php
CHANGED
@@ -263,7 +263,8 @@ class TCXUtilsHelper {
|
|
263 |
|
264 |
public static function evaluate_php_template( $path, $args ) {
|
265 |
foreach ( $args as $key => $value ) {
|
266 |
-
|
|
|
267 |
${$key} = $value;
|
268 |
}
|
269 |
}
|
263 |
|
264 |
public static function evaluate_php_template( $path, $args ) {
|
265 |
foreach ( $args as $key => $value ) {
|
266 |
+
$key=trim($key);
|
267 |
+
if (strtolower($key)!='path' && strtolower($key)!='args'){
|
268 |
${$key} = $value;
|
269 |
}
|
270 |
}
|
includes/wplc_updater.php
CHANGED
@@ -540,6 +540,9 @@ class TCXUpdater {
|
|
540 |
return $wplc_settings;
|
541 |
}
|
542 |
|
|
|
|
|
|
|
543 |
public function wplc_init_files_table_data(){
|
544 |
global $wpdb;
|
545 |
global $wplc_tblname_msgs;
|
540 |
return $wplc_settings;
|
541 |
}
|
542 |
|
543 |
+
public function wplc_upgrade_tables_to_utf8mb4(){
|
544 |
+
}
|
545 |
+
|
546 |
public function wplc_init_files_table_data(){
|
547 |
global $wpdb;
|
548 |
global $wplc_tblname_msgs;
|
modules/activation_wizard/activation_wizard_page.php
CHANGED
@@ -17,7 +17,7 @@ function wplc_add_activation_wizard_page_resources( $hook ) {
|
|
17 |
global $wplc_base_file;
|
18 |
$settings = TCXSettings::getSettings();
|
19 |
|
20 |
-
|
21 |
wp_enqueue_style( "wplc-bootstrap" );
|
22 |
|
23 |
wp_register_style( "wplc-activation-wizard-css", wplc_plugins_url( '/activation_wizard_style.css', __FILE__ ), array( 'wplc-bootstrap' ), WPLC_PLUGIN_VERSION );
|
17 |
global $wplc_base_file;
|
18 |
$settings = TCXSettings::getSettings();
|
19 |
|
20 |
+
wp_register_style( "wplc-bootstrap", WPLC_PLUGIN_URL.'/css/vendor/bootstrap/wplc_bootstrap_9_4_0.css', array(), WPLC_PLUGIN_VERSION );
|
21 |
wp_enqueue_style( "wplc-bootstrap" );
|
22 |
|
23 |
wp_register_style( "wplc-activation-wizard-css", wplc_plugins_url( '/activation_wizard_style.css', __FILE__ ), array( 'wplc-bootstrap' ), WPLC_PLUGIN_VERSION );
|
modules/agent_chat/agent_chat_page.php
CHANGED
@@ -18,7 +18,7 @@ function wplc_add_agent_chat_page_resources( $hook ) {
|
|
18 |
wp_enqueue_script( 'underscore' );
|
19 |
wp_enqueue_script('jquery-ui-menu');
|
20 |
|
21 |
-
|
22 |
wp_enqueue_style( "wplc-bootstrap" );
|
23 |
|
24 |
wp_register_style( 'wplc-agent-chat-style', wplc_plugins_url( '/agent_chat_style.css', __FILE__ ), array(), WPLC_PLUGIN_VERSION );
|
18 |
wp_enqueue_script( 'underscore' );
|
19 |
wp_enqueue_script('jquery-ui-menu');
|
20 |
|
21 |
+
wp_register_style( "wplc-bootstrap", WPLC_PLUGIN_URL.'/css/vendor/bootstrap/wplc_bootstrap_9_4_0.css', array(), WPLC_PLUGIN_VERSION );
|
22 |
wp_enqueue_style( "wplc-bootstrap" );
|
23 |
|
24 |
wp_register_style( 'wplc-agent-chat-style', wplc_plugins_url( '/agent_chat_style.css', __FILE__ ), array(), WPLC_PLUGIN_VERSION );
|
modules/sessions/sessions_page.php
CHANGED
@@ -31,7 +31,7 @@ function wplc_add_sessions_page_resources( $hook ) {
|
|
31 |
wp_register_style( 'wplc-sessions-style', wplc_plugins_url('/sessions_style.css', __FILE__), array(), WPLC_PLUGIN_VERSION);
|
32 |
wp_enqueue_style( 'wplc-sessions-style' );
|
33 |
|
34 |
-
|
35 |
wp_enqueue_style( "wplc-bootstrap" );
|
36 |
}
|
37 |
|
@@ -93,7 +93,7 @@ function wplc_download_session() {
|
|
93 |
'id' => $key->chat_sess_id,
|
94 |
'msgfrom' => $key->msgfrom,
|
95 |
'msg' => TCXChatHelper::decrypt_msg( $key->msg ),
|
96 |
-
'time' => date('Y-m-d H:i:s',strtotime($key->timestamp)+( get_option( 'gmt_offset' ) * 3600 )) ,
|
97 |
'orig' => $user,
|
98 |
);
|
99 |
}
|
31 |
wp_register_style( 'wplc-sessions-style', wplc_plugins_url('/sessions_style.css', __FILE__), array(), WPLC_PLUGIN_VERSION);
|
32 |
wp_enqueue_style( 'wplc-sessions-style' );
|
33 |
|
34 |
+
wp_register_style( "wplc-bootstrap", WPLC_PLUGIN_URL.'/css/vendor/bootstrap/wplc_bootstrap_9_4_0.css', array(), WPLC_PLUGIN_VERSION );
|
35 |
wp_enqueue_style( "wplc-bootstrap" );
|
36 |
}
|
37 |
|
93 |
'id' => $key->chat_sess_id,
|
94 |
'msgfrom' => $key->msgfrom,
|
95 |
'msg' => TCXChatHelper::decrypt_msg( $key->msg ),
|
96 |
+
'time' => date('Y-m-d H:i:s',strtotime($key->timestamp)+( get_option( 'gmt_offset', 0) * 3600 )) ,
|
97 |
'orig' => $user,
|
98 |
);
|
99 |
}
|
modules/settings/settings_page.php
CHANGED
@@ -109,10 +109,8 @@ function wplc_add_settings_page_resources($hook)
|
|
109 |
wp_register_script('wplc-upload', wplc_plugins_url('/js/settings_uploads.js', __FILE__), array('jquery','wplc-settings'), WPLC_PLUGIN_VERSION, true);
|
110 |
wp_enqueue_script('wplc-upload');
|
111 |
|
112 |
-
|
113 |
-
|
114 |
-
wp_enqueue_style( "wplc-bootstrap" );
|
115 |
-
|
116 |
|
117 |
}
|
118 |
|
109 |
wp_register_script('wplc-upload', wplc_plugins_url('/js/settings_uploads.js', __FILE__), array('jquery','wplc-settings'), WPLC_PLUGIN_VERSION, true);
|
110 |
wp_enqueue_script('wplc-upload');
|
111 |
|
112 |
+
wp_register_style( "wplc-bootstrap", WPLC_PLUGIN_URL.'/css/vendor/bootstrap/wplc_bootstrap_9_4_0.css', array(), WPLC_PLUGIN_VERSION );
|
113 |
+
wp_enqueue_style( "wplc-bootstrap" );
|
|
|
|
|
114 |
|
115 |
}
|
116 |
|
readme.txt
CHANGED
@@ -1,10 +1,10 @@
|
|
1 |
-
|
2 |
Contributors: WP-LiveChat, wordpress3cx, wp3cx
|
3 |
Tags: chat plugin, live chat, live help, live support, wordpress live chat
|
4 |
Requires at least: 5.3
|
5 |
Tested up to: 5.8
|
6 |
Requires PHP: 5.4
|
7 |
-
Stable tag: 9.4.
|
8 |
License: GPLv2
|
9 |
License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
10 |
Text Domain: wp-live-chat-support
|
@@ -13,116 +13,88 @@ Chat with your website visitors in real-time for free! Engage with your customer
|
|
13 |
|
14 |
== Description ==
|
15 |
|
16 |
-
|
17 |
|
18 |
-
|
19 |
|
20 |
-
|
21 |
-
* Build rapport with potential customers via live chat
|
22 |
-
* Increase sales
|
23 |
-
* Reduce customer support line costs by using live chat
|
24 |
-
* Learn to understand the pain points of your customers
|
25 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
26 |
|
27 |
-
=
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
28 |
|
29 |
-
* No hidden costs, it’s free
|
30 |
-
* Unlimited agents
|
31 |
-
* Live chat with your website visitors
|
32 |
-
* Transfer chats to other agents
|
33 |
-
* Set up departments
|
34 |
-
* Easy to use interface for both the admin and the visitor
|
35 |
* Fully customizable chat box
|
36 |
-
*
|
37 |
-
*
|
38 |
-
* Apply animations to the chat window
|
39 |
* Access historical live chat records
|
40 |
-
* Use of 3CX Live Chat Servers for sending and receiving chats at lightning fast speeds
|
41 |
-
* 3CX integration for access to advanced features like video and audio chats as well as other enterprise level features
|
42 |
-
* Compatible with translation plugins
|
43 |
-
* Add surveys or polls to your chat box
|
44 |
-
* Anonymity for your visitors
|
45 |
-
* Automatic pop-up of chat box
|
46 |
-
* Ability to only show the chat box to registered users
|
47 |
-
* Compatible with all caching plugins (live chat window loaded via Ajax)
|
48 |
-
* Desktop Notifications when a new live chat comes in
|
49 |
* View missed live chats
|
50 |
-
*
|
51 |
-
*
|
|
|
52 |
* Ban visitors from chatting to you based on IP Address
|
53 |
-
*
|
54 |
-
* Quick Responses (insert a predefined response to your live chat box)
|
55 |
-
* Data triggers (time trigger, scroll trigger, page trigger, on page leave trigger)
|
56 |
-
* Enterprise level chat reports
|
57 |
-
* Elevate chat to Video or Audio call.
|
58 |
-
* Apps for iOS & Android, desktop and web.
|
59 |
* Customer satisfaction ratings for each chat session
|
60 |
* Add your company logo to the live chat window
|
61 |
* Add your photo to the live chat window
|
62 |
* Include/exclude the live chat from appearing on certain pages
|
63 |
* Choose when to accept chats
|
64 |
|
65 |
-
|
66 |
-
|
67 |
-
= 30 seconds live chat installation =
|
68 |
-
Our live chat plugin is free, quick and easy to install and configure, to instantly give you the ability to chat directly with website visitors in real-time.
|
69 |
-
|
70 |
-
= Quick Overview =
|
71 |
-
Agents can initiate a live chat with a visitor or vice versa. Once the live chat plugin is activated, click on “Live Chat” in the left menu navigation. When a visitor lands on your website, their details will be displayed in the live chat control panel. They can start a conversation by entering their details in the live chat box displayed on their screen and clicking “Start chat”. A notification will play in your live chat control panel. Once you accept the chat, you can converse with your visitor. Increase your website conversion rates by providing real time live support and assistance.
|
72 |
-
|
73 |
-
= Chat, video & voice when integrated with 3CX =
|
74 |
-
The 3CX Live Chat plugin runs on our Cloud Servers for a reliable and high performing live chat solution. Alternatively, integrate with 3CX for a multichannel customer service suite complete with chat, video and voice. Don’t have 3CX? Get it [free for one year](https://www.3cx.com/phone-system/download-phone-system/) including hosting!
|
75 |
-
|
76 |
-
|
77 |
-
= External/3rd Party Services =
|
78 |
-
3CX Live Chat makes use of the external services listed below in order to add functionality to the plugin and enrich the user experience.
|
79 |
-
|
80 |
-
= 3CX Live chat activation api & chat server selector (HTTPS://WPLC.3CX.NET) (REQUIRED) =
|
81 |
-
We use a server side generated unique identifier (GUID) in order to guarantee proper identification and secure communication between agents and visitors connected to same website. This is needed because a client side identifier could be spoofed. The only information sent with this API is your website URL, so your personal data is not sent to our servers. We only store website URLs and corresponding GUID. The same server also acts as a chat router that redirects chat sessions to our chat server/s hosted on Google Cloud & OVH. Chat message content is not logged. 3CX Privacy Policy: [https://www.3cx.com/company/privacy/](https://www.3cx.com/company/privacy/)
|
82 |
-
|
83 |
-
= Gravatar (https://en.gravatar.com/) (Required) =
|
84 |
-
We use Gravatars to generate user and agent avatars within the live chat environment. This process is anonymized using the hashed email address of the visitor or agent respectively. Gravatar Privacy Policy: [https://automattic.com/privacy/](https://automattic.com/privacy/)
|
85 |
-
|
86 |
-
= UI Avatars (https://ui-avatars.com/) (Required) =
|
87 |
-
We use UI Avatars to generate user and agent avatars within the live chat environment. This process is anonymized using the hashed email address of the visitor or agent respectively. UI Avatars Privacy Policy: [https://ui-avatars.com/](https://ui-avatars.com/)
|
88 |
-
|
89 |
-
= Translations =
|
90 |
-
|
91 |
-
* English (3CX Team)
|
92 |
-
* Italian (3CX Team)
|
93 |
-
* Hebrew (strelok89)
|
94 |
-
* Korean (taehwilee)
|
95 |
|
96 |
== Installation ==
|
97 |
-
|
98 |
-
|
99 |
-
|
100 |
-
|
101 |
-
|
102 |
-
|
103 |
-
|
104 |
-
|
105 |
|
106 |
-
=
|
107 |
-
|
|
|
108 |
|
109 |
-
|
110 |
-
Please review the live chat [documentation](https://wordpress.org/plugins/wp-live-chat-support/#installation).
|
111 |
|
112 |
-
|
113 |
-
If you select to use Standalone - No 3CX, yes, it will connect to our own proprietary Live Chat Servers to ensure high speed chat delivery & our activation server for automatic license provisioning. Alternatively, if you choose to integrate with your 3CX Phone System, it will be run on your PBX.
|
114 |
-
|
115 |
-
= What are desktop notifications? =
|
116 |
-
Desktop notifications are notifications that will appear on the bottom right of your screen when a new live chat is received.
|
117 |
-
|
118 |
-
= Can my visitors start a live chat without entering their name and email address? =
|
119 |
-
Yes. This option is available on the live chat settings page.
|
120 |
|
121 |
-
= How
|
122 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
123 |
|
124 |
-
=
|
125 |
-
Yes
|
|
|
|
|
126 |
|
127 |
== Screenshots ==
|
128 |
|
@@ -130,7 +102,6 @@ Yes. To view the list of live chats you missed, go to "Live Chat > Chat History"
|
|
130 |
2. 3CX Web Client agent's UI
|
131 |
3. 3CX Live Chat video call on 3CX PBX channel
|
132 |
4. Getting Started configuration wizard
|
133 |
-
5. Settings page in 3CX Live Chat
|
134 |
|
135 |
== Upgrade Notice ==
|
136 |
|
@@ -139,6 +110,14 @@ Huge update with over 300 changes that include: Bugfixes, Vulnerability Fixes &
|
|
139 |
|
140 |
== Changelog ==
|
141 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
142 |
= 9.4.2 - 2022-04-15 =
|
143 |
* Fixed issue with path inclusion
|
144 |
|
1 |
+
=== 3CX Live Chat ===
|
2 |
Contributors: WP-LiveChat, wordpress3cx, wp3cx
|
3 |
Tags: chat plugin, live chat, live help, live support, wordpress live chat
|
4 |
Requires at least: 5.3
|
5 |
Tested up to: 5.8
|
6 |
Requires PHP: 5.4
|
7 |
+
Stable tag: 9.4.3
|
8 |
License: GPLv2
|
9 |
License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
10 |
Text Domain: wp-live-chat-support
|
13 |
|
14 |
== Description ==
|
15 |
|
16 |
+
= Important Announcement =
|
17 |
|
18 |
+
= We have built a new Live Chat solution called 3CX Startup! This will give you completely FREE live chat, voice capability plus a team communication system! =
|
19 |
|
20 |
+
If you did not see our emails to disable auto updating, then your plugin will auto update and the old solution will no longer work. You can download the old plugin [here](https://downloads-global.3cx.com/downloads/misc/wordpresslegacy/wp-live-chat-support.zip) if you like. However, we strongly recommend you switch to 3CX StartUP and get an Amazon voucher in the process! [Email us](mailto:cle@3cx.com) for details (You must have been a user with an active website previous to the latest update).
|
|
|
|
|
|
|
|
|
21 |
|
22 |
+
To switch to StartUp
|
23 |
+
1. Download and install the WordPress Plugin
|
24 |
+
2. Sign up [here](https://www.3cx.com/phone-system/download-phone-system/) for 3CX StartUP
|
25 |
+
3. Choose your 3CX type: Hosted > StartUP
|
26 |
+
4. With the credentials you receive login to the Web Client
|
27 |
+
5. Go to Office Settings > Voice & Chat > Add Live Chat
|
28 |
+
6. Customize your live chat bubble
|
29 |
+
7. Start answering chats or calls from the 3CX Web Client.
|
30 |
|
31 |
+
= 3CX Live Chat Plugin =
|
32 |
+
Connect with your website visitors for free with the 3CX Live Chat plugin which works with 3CX StartUP. With more than 30,000 active installations, 3CX Live Chat is a reliable and tested live chat solution for WordPress. Not just a live chat solution, with 3CX Live Chat you get integrated voice, video & team collaboration features included. [Get 3CX free](https://www.3cx.com/phone-system/download-phone-system/) forever for unlimited users, and benefit from:
|
33 |
+
|
34 |
+
* Increased sales: connect with website visitors & potential leads in real-time as they browse your website.
|
35 |
+
* Quicker resolution: switch from chat to call at any point to resolve issues faster via voice.
|
36 |
+
* Free calls: invite web visitors to contact you via ‘3CX Talk’ links. No dialing of numbers
|
37 |
+
* Increased collaboration: forward chats & discuss customer issues with your team.
|
38 |
+
* Never leave a chat unanswered: assign chats to groups, including queue-based group handling of chats.
|
39 |
+
* Meet over video: connect with visitors over video call or set up video conferences for company wide meetings.
|
40 |
+
* Work remotely: respond to live chats on the go with included iOS & Android apps.
|
41 |
+
* One system for all: answer calls, live chats, SMS and Facebook messages all from the same interface
|
42 |
+
* Know who’s chatting: identify existing customers and bring up their contact records all from same interface
|
43 |
+
* Improved productivity: extensive chat and call reports to evaluate agent performance
|
44 |
+
* Free edition is free forever for up to 10 users. No per user per month licensing
|
45 |
+
|
46 |
+
= Other chat features =
|
47 |
|
|
|
|
|
|
|
|
|
|
|
|
|
48 |
* Fully customizable chat box
|
49 |
+
* Full anonymity for your visitors
|
50 |
+
* Create custom offline message forms & store messages offline
|
|
|
51 |
* Access historical live chat records
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
52 |
* View missed live chats
|
53 |
+
* Chats sent and received at lightning fast speed via 3CX Live Chat Servers
|
54 |
+
* Compatible with all caching plugins (live chat window loaded via Ajax)
|
55 |
+
* Enable/Disable sound when a new live chat message is received
|
56 |
* Ban visitors from chatting to you based on IP Address
|
57 |
+
* Quick responses (insert a predefined response to your live chat box)
|
|
|
|
|
|
|
|
|
|
|
58 |
* Customer satisfaction ratings for each chat session
|
59 |
* Add your company logo to the live chat window
|
60 |
* Add your photo to the live chat window
|
61 |
* Include/exclude the live chat from appearing on certain pages
|
62 |
* Choose when to accept chats
|
63 |
|
64 |
+
= Video: How to Set Up 3CX StartUP and Live Chat =
|
65 |
+
[youtube http://youtube.com/watch?v=Bc2eCsd0eoM]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
66 |
|
67 |
== Installation ==
|
68 |
+
Get 3CX StartUP
|
69 |
+
1. Download and install the WordPress Plugin
|
70 |
+
2. Sign up [here](https://www.3cx.com/phone-system/download-phone-system/) for 3CX StartUP
|
71 |
+
3. Choose your 3CX type: Hosted > StartUP
|
72 |
+
4. With the credentials you receive login to the Web Client
|
73 |
+
5. Go to Office Settings > Voice & Chat > Add Live Chat
|
74 |
+
6. Customize your live chat bubble
|
75 |
+
7. Start answering chats or calls from the 3CX Web Client.
|
76 |
|
77 |
+
= Read our guides on =
|
78 |
+
[Getting started with 3CX StartUP](https://www.3cx.com/docs/startup/)
|
79 |
+
[Setting up Live Chat for 3CX StartUP](https://www.3cx.com/docs/manual/live-chat-configuration/)
|
80 |
|
81 |
+
[youtube http://youtube.com/watch?v=Bc2eCsd0eoM]
|
|
|
82 |
|
83 |
+
== Frequently Asked Questions ==
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
84 |
|
85 |
+
= How do I get 3CX StartUP Free? =
|
86 |
+
3CX StartUP is an easy to setup and manage communications platform that handles live chat as well as calls, video conferencing and team communications. Ideal for small to medium sized businesses. It is available in the cloud and offered for free.
|
87 |
+
1. Sign up for a 3CX account [here](https://www.3cx.com/phone-system/download-phone-system/)
|
88 |
+
2. Choose your 3CX type: Hosted > Startup
|
89 |
+
3. Install the WordPress Plugin on your website
|
90 |
+
4. With the credentials you receive login to the Web Client
|
91 |
+
5. Go to Office Settings > Voice & Chat > Add Live Chat
|
92 |
+
6. Copy and paste the 3CX Live Chat URL
|
93 |
|
94 |
+
= Will 3CX Live Chat plugin remain free forever? =
|
95 |
+
Yes! The 3CX Live Chat plugin will remain free forever.
|
96 |
+
With 3CX StartUP editions you get free live chat limited to 10 users.
|
97 |
+
With 3CX Dedicated (hosted or self-managed) you get live chat included free for unlimited users.
|
98 |
|
99 |
== Screenshots ==
|
100 |
|
102 |
2. 3CX Web Client agent's UI
|
103 |
3. 3CX Live Chat video call on 3CX PBX channel
|
104 |
4. Getting Started configuration wizard
|
|
|
105 |
|
106 |
== Upgrade Notice ==
|
107 |
|
110 |
|
111 |
== Changelog ==
|
112 |
|
113 |
+
= 10.0.0 - 2022-05-16 =
|
114 |
+
* New release with 3CX Start Up support
|
115 |
+
|
116 |
+
= 9.4.3 - 2022-04-28 =
|
117 |
+
* Fixed security issue - Thanks to Moucadel Matthieu
|
118 |
+
* Fixed issue when migrating from old versions - wplc_upgrade_tables_to_utf8mb4 error
|
119 |
+
* Improved custom bootstrap.css load
|
120 |
+
|
121 |
= 9.4.2 - 2022-04-15 =
|
122 |
* Fixed issue with path inclusion
|
123 |
|
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.4.
|
7 |
Author: 3CX
|
8 |
Author URI: https://www.3cx.com/wp-live-chat/
|
9 |
Domain Path: /languages
|
@@ -61,7 +61,6 @@ require_once( plugin_dir_path( __FILE__ ) . "config.php" );
|
|
61 |
require_once( plugin_dir_path( __FILE__ ) . "includes/wplc_loader.php" );
|
62 |
|
63 |
add_action( 'init', 'wplc_init' );
|
64 |
-
add_action( 'admin_init', 'wplc_load_bootstrap' );
|
65 |
add_action( 'admin_init', 'wplc_force_update_chat_server' );
|
66 |
add_action( 'admin_init', 'wplc_check_compatibility' );
|
67 |
add_action( 'admin_init', 'wplc_check_wizard_completed' );
|
@@ -75,7 +74,7 @@ function wplc_check_compatibility() {
|
|
75 |
global $wplc_error;
|
76 |
$compatible = wplc_check_version_compatibility();
|
77 |
if ( ! $compatible->php || ! $compatible->wp || ! $compatible->ie ) {
|
78 |
-
|
79 |
wp_enqueue_style( "wplc-bootstrap" );
|
80 |
$wplc_error = new stdClass();
|
81 |
$wplc_error->Title = __( "Incompatible Environment", "wp-live-chat-support" );
|
@@ -399,31 +398,6 @@ function wplc_check_version_compatibility() {
|
|
399 |
return $result;
|
400 |
}
|
401 |
|
402 |
-
function wplc_load_bootstrap() {
|
403 |
-
if ( ! empty( $_GET['wplc_action'] ) && $_GET['wplc_action'] == 'loadbootstrap' ) {
|
404 |
-
require_once( WPLC_PLUGIN_DIR . "/includes/vendor/scssphp/scss.inc.php" );
|
405 |
-
$bootstrap_css = WPLC_PLUGIN_DIR . '/css/vendor/bootstrap/wplc_bootstrap_' . str_replace( '.', '_', WPLC_PLUGIN_VERSION ) . '.css';
|
406 |
-
$result = '';
|
407 |
-
ob_start();
|
408 |
-
header( 'Content-Type: text/css' );
|
409 |
-
if ( file_exists( $bootstrap_css ) ) {
|
410 |
-
include( $bootstrap_css );
|
411 |
-
$result = ob_get_contents();
|
412 |
-
} else {
|
413 |
-
include( WPLC_PLUGIN_DIR . "/css/vendor/bootstrap/bootstrap.min.css" );
|
414 |
-
$result = '.bootstrap-wplc-content { ' . ob_get_contents() . '}';
|
415 |
-
|
416 |
-
$scss = new Compiler();
|
417 |
-
$result = $scss->compile( $result );
|
418 |
-
$open = fopen( $bootstrap_css, "a" );
|
419 |
-
$write = fputs( $open, $result );
|
420 |
-
fclose( $open );
|
421 |
-
}
|
422 |
-
ob_end_clean();
|
423 |
-
die( $result );
|
424 |
-
}
|
425 |
-
}
|
426 |
-
|
427 |
/**
|
428 |
* Heartbeat integrations
|
429 |
*
|
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.4.3
|
7 |
Author: 3CX
|
8 |
Author URI: https://www.3cx.com/wp-live-chat/
|
9 |
Domain Path: /languages
|
61 |
require_once( plugin_dir_path( __FILE__ ) . "includes/wplc_loader.php" );
|
62 |
|
63 |
add_action( 'init', 'wplc_init' );
|
|
|
64 |
add_action( 'admin_init', 'wplc_force_update_chat_server' );
|
65 |
add_action( 'admin_init', 'wplc_check_compatibility' );
|
66 |
add_action( 'admin_init', 'wplc_check_wizard_completed' );
|
74 |
global $wplc_error;
|
75 |
$compatible = wplc_check_version_compatibility();
|
76 |
if ( ! $compatible->php || ! $compatible->wp || ! $compatible->ie ) {
|
77 |
+
wp_register_style( "wplc-bootstrap", WPLC_PLUGIN_URL.'/css/vendor/bootstrap/wplc_bootstrap_9_4_0.css', array(), WPLC_PLUGIN_VERSION );
|
78 |
wp_enqueue_style( "wplc-bootstrap" );
|
79 |
$wplc_error = new stdClass();
|
80 |
$wplc_error->Title = __( "Incompatible Environment", "wp-live-chat-support" );
|
398 |
return $result;
|
399 |
}
|
400 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
401 |
/**
|
402 |
* Heartbeat integrations
|
403 |
*
|