Version Description
Download this release
Release Info
Developer | revechat |
Plugin | REVE Chat – WP Live Chat Support plugin |
Version | 1.2.3 |
Comparing to | |
See all releases |
Code changes from version 1.2.2 to 1.2.3
- assets/banner-772x250.png +0 -0
- assets/icon-128x128.png +0 -0
- assets/icon-256x256.png +0 -0
- trunk/index.html → index.html +0 -0
- trunk/readme.txt → readme.txt +1 -1
- trunk/revechat.php → revechat.php +5 -26
- assets/screenshot-1.png → screenshot-1.png +0 -0
- assets/screenshot-2.png → screenshot-2.png +0 -0
- assets/screenshot-3.png → screenshot-3.png +0 -0
- assets/screenshot-4.png → screenshot-4.png +0 -0
- trunk/screenshot-1.png +0 -0
- trunk/screenshot-2.png +0 -0
- trunk/screenshot-3.png +0 -0
- trunk/screenshot-4.png +0 -0
assets/banner-772x250.png
DELETED
Binary file
|
assets/icon-128x128.png
DELETED
Binary file
|
assets/icon-256x256.png
DELETED
Binary file
|
trunk/index.html → index.html
RENAMED
File without changes
|
trunk/readme.txt → readme.txt
RENAMED
@@ -1 +1 @@
|
|
1 |
-
=== Reve Chat ===
|
2 |
|
3 |
|
|
|
4 |
|
5 |
|
|
|
1 |
|
2 |
|
3 |
+
=== Reve Chat ===
|
4 |
|
5 |
|
trunk/revechat.php → revechat.php
RENAMED
@@ -2,7 +2,7 @@
|
|
2 |
/*
|
3 |
Plugin Name: Reve Chat
|
4 |
Description: REVE Chat is a powerful and intuitive real-time customer engagement software. As a customer support software, REVE Chat puts a live person on your website to personally guide and help your visitors, while they go through the various sections of your digital display. This live chat service helps them to get the most out of your web presence, while allowing you to understand their diverse needs on a one-to-one basis. REVE Chat is easy to install and use.
|
5 |
-
Version: 1.2.
|
6 |
Author: ReveChat
|
7 |
Author URI: www.revechat.com
|
8 |
License: GPL2
|
@@ -34,34 +34,13 @@ if(!class_exists('WP_Plugin_Revechat'))
|
|
34 |
*/
|
35 |
public static function frontendHeader()
|
36 |
{
|
37 |
-
$
|
38 |
-
|
39 |
|
40 |
-
if( (isset($
|
41 |
|
42 |
$script = "<script type='text/javascript'>";
|
43 |
-
$script .= '
|
44 |
-
var trackingID ="'.$trackingID.'"
|
45 |
-
function initializeWidget(){
|
46 |
-
var aid="'.$aid.'";
|
47 |
-
new ReveChatWidget(aid);
|
48 |
-
var trackingID ="'.$trackingID.'";}
|
49 |
-
(function loadSrc(src_url, onload_callback){
|
50 |
-
var script = document.createElement("script");
|
51 |
-
if(script.readyState){
|
52 |
-
script.onreadystatechange = function (){
|
53 |
-
if(script.readyState === "loaded" || script.readyState === "complete"){
|
54 |
-
script.onreadystatechange = null
|
55 |
-
onload_callback();}}
|
56 |
-
} else {
|
57 |
-
script.onload = function(){
|
58 |
-
onload_callback();
|
59 |
-
} }
|
60 |
-
script.src = src_url;
|
61 |
-
var first_script = document.getElementsByTagName("script")[0];
|
62 |
-
first_script.parentNode.insertBefore(script, first_script);
|
63 |
-
})(url, initializeWidget);
|
64 |
-
<!-- Add textArea code at every page in your website -->';
|
65 |
|
66 |
$script .='</script>';
|
67 |
|
2 |
/*
|
3 |
Plugin Name: Reve Chat
|
4 |
Description: REVE Chat is a powerful and intuitive real-time customer engagement software. As a customer support software, REVE Chat puts a live person on your website to personally guide and help your visitors, while they go through the various sections of your digital display. This live chat service helps them to get the most out of your web presence, while allowing you to understand their diverse needs on a one-to-one basis. REVE Chat is easy to install and use.
|
5 |
+
Version: 1.2.3
|
6 |
Author: ReveChat
|
7 |
Author URI: www.revechat.com
|
8 |
License: GPL2
|
34 |
*/
|
35 |
public static function frontendHeader()
|
36 |
{
|
37 |
+
$accountId = get_option('revechat_accountid' , '');
|
38 |
+
//$trackingID = get_option('revechat_trackingid' , '');
|
39 |
|
40 |
+
if( (isset($accountId) && !empty($accountId)) ) {
|
41 |
|
42 |
$script = "<script type='text/javascript'>";
|
43 |
+
$script .= ';!function(){function e(){var e="'.$accountId.'";new ReveChatWidget(e)}var t=document.createElement("script");t.readyState?t.onreadystatechange=function(){("loaded"===t.readyState||"complete"===t.readyState)&&(t.onreadystatechange=null,e())}:t.onload=function(){e()},t.src="https://static.revechat.com/client/scripts/configuration.js";var a=document.getElementsByTagName("script")[0];a.parentNode.insertBefore(t,a)}();';
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
44 |
|
45 |
$script .='</script>';
|
46 |
|
assets/screenshot-1.png → screenshot-1.png
RENAMED
File without changes
|
assets/screenshot-2.png → screenshot-2.png
RENAMED
File without changes
|
assets/screenshot-3.png → screenshot-3.png
RENAMED
File without changes
|
assets/screenshot-4.png → screenshot-4.png
RENAMED
File without changes
|
trunk/screenshot-1.png
DELETED
Binary file
|
trunk/screenshot-2.png
DELETED
Binary file
|
trunk/screenshot-3.png
DELETED
Binary file
|
trunk/screenshot-4.png
DELETED
Binary file
|