Version Description
- Fixes, up to work with WordPress 4.9.6
Download this release
Release Info
Developer | JivoChat |
Plugin | JivoChat Live Chat [Official] |
Version | 1.3.1 |
Comparing to | |
See all releases |
Code changes from version 1.3 to 1.3.1
- jivosite.php +22 -22
- readme.txt +5 -2
jivosite.php
CHANGED
@@ -4,8 +4,8 @@
|
|
4 |
* Author: JivoChat
|
5 |
* Author URI: www.jivochat.com
|
6 |
* Plugin URI: http://jivochat.com/
|
7 |
-
* Description: With JivoChat you can chat with visitors on your website to increase conversion and sales
|
8 |
-
* Version: 1.
|
9 |
*
|
10 |
* Text Domain: jivosite
|
11 |
* Domain Path: /
|
@@ -17,9 +17,9 @@ if (!defined('ABSPATH')) die("go away!");
|
|
17 |
load_plugin_textdomain('jivosite', false, PLUGINDIR.'/'.dirname(plugin_basename(__FILE__)));
|
18 |
$lang = get_bloginfo("language");
|
19 |
if ($lang=="ru_RU") {
|
20 |
-
|
21 |
} else {
|
22 |
-
|
23 |
}
|
24 |
|
25 |
define ("JIVO_LANG", substr($lang,0,2));
|
@@ -154,9 +154,9 @@ class jivosite {
|
|
154 |
if(!$query['agent_id']){
|
155 |
$query['agent_id'] = 0;
|
156 |
}
|
157 |
-
|
158 |
$content = http_build_query($query);
|
159 |
-
|
160 |
if(ini_get('allow_url_fopen')){
|
161 |
$useCurl = false;
|
162 |
}elseif(!extension_loaded('curl')) {
|
@@ -197,7 +197,7 @@ class jivosite {
|
|
197 |
)
|
198 |
)
|
199 |
);
|
200 |
-
}
|
201 |
if ($responce) {
|
202 |
if(strstr($responce,'Error')){
|
203 |
return array("error"=>$responce);
|
@@ -236,25 +236,25 @@ class jivosite {
|
|
236 |
$widget_id = $this->widget_id;
|
237 |
if (is_array($result)&&isset($result['error'])) {
|
238 |
$error = $result['error'];
|
239 |
-
}
|
240 |
-
|
241 |
-
|
242 |
-
|
243 |
-
|
244 |
-
|
245 |
-
|
246 |
-
} else {
|
247 |
-
$requirementsOk = true;
|
248 |
-
}
|
249 |
} else {
|
250 |
$requirementsOk = true;
|
251 |
}
|
|
|
|
|
|
|
252 |
|
253 |
-
|
254 |
-
|
255 |
-
|
256 |
-
|
257 |
-
|
258 |
}
|
259 |
|
260 |
public function append($widget_id = false){
|
4 |
* Author: JivoChat
|
5 |
* Author URI: www.jivochat.com
|
6 |
* Plugin URI: http://jivochat.com/
|
7 |
+
* Description: With JivoChat you can chat with visitors on your website to increase conversion and sales
|
8 |
+
* Version: 1.3.1
|
9 |
*
|
10 |
* Text Domain: jivosite
|
11 |
* Domain Path: /
|
17 |
load_plugin_textdomain('jivosite', false, PLUGINDIR.'/'.dirname(plugin_basename(__FILE__)));
|
18 |
$lang = get_bloginfo("language");
|
19 |
if ($lang=="ru_RU") {
|
20 |
+
$jivo_addr = 'http://www.jivosite.ru';
|
21 |
} else {
|
22 |
+
$jivo_addr = 'https://www.jivochat.com';
|
23 |
}
|
24 |
|
25 |
define ("JIVO_LANG", substr($lang,0,2));
|
154 |
if(!$query['agent_id']){
|
155 |
$query['agent_id'] = 0;
|
156 |
}
|
157 |
+
$query['lang'] = JIVO_LANG;
|
158 |
$content = http_build_query($query);
|
159 |
+
|
160 |
if(ini_get('allow_url_fopen')){
|
161 |
$useCurl = false;
|
162 |
}elseif(!extension_loaded('curl')) {
|
197 |
)
|
198 |
)
|
199 |
);
|
200 |
+
}
|
201 |
if ($responce) {
|
202 |
if(strstr($responce,'Error')){
|
203 |
return array("error"=>$responce);
|
236 |
$widget_id = $this->widget_id;
|
237 |
if (is_array($result)&&isset($result['error'])) {
|
238 |
$error = $result['error'];
|
239 |
+
}
|
240 |
+
|
241 |
+
if (ini_get('allow_url_fopen')) {
|
242 |
+
$requirementsOk = true;
|
243 |
+
} elseif(!extension_loaded('curl')) {
|
244 |
+
if (!dl('curl.so')) {
|
245 |
+
$requirementsOk = false;
|
|
|
|
|
|
|
246 |
} else {
|
247 |
$requirementsOk = true;
|
248 |
}
|
249 |
+
} else {
|
250 |
+
$requirementsOk = true;
|
251 |
+
}
|
252 |
|
253 |
+
if ($requirementsOk) {
|
254 |
+
require_once "templates/page.php";
|
255 |
+
}else{
|
256 |
+
require_once "templates/error.php";
|
257 |
+
}
|
258 |
}
|
259 |
|
260 |
public function append($widget_id = false){
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: http://jivochat.com/
|
|
4 |
Tags: jivochat, jivo, chat, livechat, chat for website, chat online, chat software, click desk, clickdesk, contact plugin, contact us, customer support, free chat, IM Chat, live chat, live chat services, live chat software, live chatting, live help, live support, live web chat, livechat, online chat, online support, php live chat, snapengage, support software, wordpress chat, wordpress live chat, wordpress live chat plugin, живосайт, живой сайт, дживосайт, jivosite, zendesk, zopim, zopim live chat, zendesk chat, tawk, tawkto, tawk.to, chatra, чатра, pure chat, pureсhat, smartsupp, smart supp, happyfox, happy fox, siteheart, site heart, chatnox, liveagent, live agent, slack, subiz, casengo, chatpirate, tagove, wp live chat support, wise chat, wisechat, wise, chatbro, chat bro, iflychat, tidio, flyzoo, yith, livetex, webisonline, redhelper, red helper, mylivechat, my live chat, live chat inc, livechatinc, olark, userlike, user like, zoho, zoho chat, livezilla, intercom, chatrify, onicon, callbackhunter, callback, callback widget, venyoo, comagic, talk-me, talkme, NetroxSC, boldchat, velaro, bitrix24, bitrix
|
5 |
Requires at least: 3.0.1
|
6 |
Tested up to: 4.9.6
|
7 |
-
Stable tag: 1.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -30,7 +30,7 @@ More than **180k** websites around the world help over **2 million** customers p
|
|
30 |
|
31 |
= KICK-ASS FEATURES! =
|
32 |
|
33 |
-
* **Visitor Monitoring & Triggers:** Track your visitors in real time
|
34 |
* **Instant calls feature for visitors:** Make your visitors can request call from you via our widget and you will be in a call with them less than 27 seconds!
|
35 |
* **Connect your Facebook Page, Viber and Telegram accounts:** Offer 360 degrees support to your customers, be reachable from popular chat apps.
|
36 |
* **Automatic Translator:** Forget the language barriers, Jivo will translate chat in both directions instantly and fluently.
|
@@ -72,6 +72,9 @@ You can choose to install the desktop app, or you can install our JivoChat app o
|
|
72 |
|
73 |
== Changelog ==
|
74 |
|
|
|
|
|
|
|
75 |
= 1.2 =
|
76 |
* Fixes, up to work with WordPress 4.7.5
|
77 |
|
4 |
Tags: jivochat, jivo, chat, livechat, chat for website, chat online, chat software, click desk, clickdesk, contact plugin, contact us, customer support, free chat, IM Chat, live chat, live chat services, live chat software, live chatting, live help, live support, live web chat, livechat, online chat, online support, php live chat, snapengage, support software, wordpress chat, wordpress live chat, wordpress live chat plugin, живосайт, живой сайт, дживосайт, jivosite, zendesk, zopim, zopim live chat, zendesk chat, tawk, tawkto, tawk.to, chatra, чатра, pure chat, pureсhat, smartsupp, smart supp, happyfox, happy fox, siteheart, site heart, chatnox, liveagent, live agent, slack, subiz, casengo, chatpirate, tagove, wp live chat support, wise chat, wisechat, wise, chatbro, chat bro, iflychat, tidio, flyzoo, yith, livetex, webisonline, redhelper, red helper, mylivechat, my live chat, live chat inc, livechatinc, olark, userlike, user like, zoho, zoho chat, livezilla, intercom, chatrify, onicon, callbackhunter, callback, callback widget, venyoo, comagic, talk-me, talkme, NetroxSC, boldchat, velaro, bitrix24, bitrix
|
5 |
Requires at least: 3.0.1
|
6 |
Tested up to: 4.9.6
|
7 |
+
Stable tag: 1.3.1
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
30 |
|
31 |
= KICK-ASS FEATURES! =
|
32 |
|
33 |
+
* **Visitor Monitoring & Triggers:** Track your visitors in real time and proactively initiate chat with them upon conditions you’ve set.
|
34 |
* **Instant calls feature for visitors:** Make your visitors can request call from you via our widget and you will be in a call with them less than 27 seconds!
|
35 |
* **Connect your Facebook Page, Viber and Telegram accounts:** Offer 360 degrees support to your customers, be reachable from popular chat apps.
|
36 |
* **Automatic Translator:** Forget the language barriers, Jivo will translate chat in both directions instantly and fluently.
|
72 |
|
73 |
== Changelog ==
|
74 |
|
75 |
+
= 1.3.1 =
|
76 |
+
* Fixes, up to work with WordPress 4.9.6
|
77 |
+
|
78 |
= 1.2 =
|
79 |
* Fixes, up to work with WordPress 4.7.5
|
80 |
|