Version Description
- updated the UI
=
Download this release
Release Info
Developer | revechat |
Plugin | REVE Chat – WP Live Chat Support plugin |
Version | 2.0.3 |
Comparing to | |
See all releases |
Code changes from version 2.0.1 to 2.0.3
- css/admin-styles.css +13 -10
- includes/choose-form.php +2 -2
- includes/login-form.php +6 -3
- includes/remove-form.php +15 -1
- includes/signup-form.php +39 -10
- index.html +1 -1
- js/revechat-admin.js +78 -47
- readme.txt +8 -2
- revechat.php +28 -26
- screenshot-1.jpg +0 -0
- screenshot-1.png +0 -0
- screenshot-2.jpg +0 -0
- screenshot-2.png +0 -0
- screenshot-3.jpg +0 -0
- screenshot-3.png +0 -0
- screenshot-4.jpg +0 -0
- screenshot-4.png +0 -0
css/admin-styles.css
CHANGED
@@ -1,8 +1,3 @@
|
|
1 |
-
#revechat #edit-choose-form h3,
|
2 |
-
#revechat #revechat_already_have h3,
|
3 |
-
#revechat #revechat_new_account h3{
|
4 |
-
color: coral;
|
5 |
-
}
|
6 |
#revechat ul#revechat_choose_form{}
|
7 |
#revechat ul#revechat_choose_form li{
|
8 |
list-style: none;
|
@@ -43,6 +38,12 @@
|
|
43 |
color: #a94442;
|
44 |
padding: 20px;
|
45 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
46 |
#revechat .revechat_success_message{
|
47 |
background: #ffffff;
|
48 |
padding: 50px;
|
@@ -76,7 +77,12 @@
|
|
76 |
text-decoration: none;
|
77 |
text-shadow: 0 -1px 1px #ab3c02,1px 0 1px #ab3c02,0 1px 1px #ab3c02,-1px 0 1px #ab3c02;
|
78 |
}
|
79 |
-
|
|
|
|
|
|
|
|
|
|
|
80 |
#revechat #revechat-admin-settings-form {
|
81 |
padding: 18px;
|
82 |
}
|
@@ -92,10 +98,7 @@
|
|
92 |
list-style: outside none none;
|
93 |
padding-left: 20px;
|
94 |
}
|
95 |
-
|
96 |
-
padding: 16px;
|
97 |
-
padding-bottom: 31px;
|
98 |
-
}
|
99 |
#revechat .form-item > label {
|
100 |
display: table;
|
101 |
margin-bottom: 11px;
|
|
|
|
|
|
|
|
|
|
|
1 |
#revechat ul#revechat_choose_form{}
|
2 |
#revechat ul#revechat_choose_form li{
|
3 |
list-style: none;
|
38 |
color: #a94442;
|
39 |
padding: 20px;
|
40 |
}
|
41 |
+
#revechat .ajax_message.message.success{
|
42 |
+
background-color: #dff0d8;
|
43 |
+
border: 1px solid #dff0d8;
|
44 |
+
color: #3c763d;
|
45 |
+
padding: 20px;
|
46 |
+
}
|
47 |
#revechat .revechat_success_message{
|
48 |
background: #ffffff;
|
49 |
padding: 50px;
|
77 |
text-decoration: none;
|
78 |
text-shadow: 0 -1px 1px #ab3c02,1px 0 1px #ab3c02,0 1px 1px #ab3c02,-1px 0 1px #ab3c02;
|
79 |
}
|
80 |
+
#revechat .box {
|
81 |
+
background: #ffffff;
|
82 |
+
border: 1px solid #e5e5e5;
|
83 |
+
padding: 20px;
|
84 |
+
margin-bottom: 50px;
|
85 |
+
}
|
86 |
#revechat #revechat-admin-settings-form {
|
87 |
padding: 18px;
|
88 |
}
|
98 |
list-style: outside none none;
|
99 |
padding-left: 20px;
|
100 |
}
|
101 |
+
|
|
|
|
|
|
|
102 |
#revechat .form-item > label {
|
103 |
display: table;
|
104 |
margin-bottom: 11px;
|
includes/choose-form.php
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
-
<div id="edit-choose-form">
|
2 |
-
<h3>
|
3 |
<ul id="revechat_choose_form">
|
4 |
<li>
|
5 |
<input type="radio" checked="checked" id="has_revechat_account" name="revechat_choose_form">
|
1 |
+
<div id="edit-choose-form" class="box">
|
2 |
+
<h3>Do you already have a REVE Chat account?</h3>
|
3 |
<ul id="revechat_choose_form">
|
4 |
<li>
|
5 |
<input type="radio" checked="checked" id="has_revechat_account" name="revechat_choose_form">
|
includes/login-form.php
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
<div id="revechat_already_have">
|
2 |
<h3>Account Details</h3>
|
3 |
<table class="form-table">
|
4 |
<tbody>
|
@@ -6,15 +6,18 @@
|
|
6 |
<th>
|
7 |
<label for="edit-revechat-account-email">
|
8 |
<?php
|
9 |
-
_e("REVE Chat
|
10 |
?>
|
11 |
</label>
|
12 |
</th>
|
13 |
<td>
|
14 |
-
<input type="email" class="revechat_account_email regular-text" name="revechat_account_email" id="edit-revechat-account-email">
|
15 |
<input type="hidden" name="<?php echo $accountId; ?>" value="<?php echo $val_accountId; ?>" id="revechat_aid">
|
16 |
</td>
|
17 |
</tr>
|
18 |
</tbody>
|
19 |
</table>
|
|
|
|
|
|
|
20 |
</div><!-- revechat_already_have -->
|
1 |
+
<div id="revechat_already_have" class="box">
|
2 |
<h3>Account Details</h3>
|
3 |
<table class="form-table">
|
4 |
<tbody>
|
6 |
<th>
|
7 |
<label for="edit-revechat-account-email">
|
8 |
<?php
|
9 |
+
_e("REVE Chat login email");
|
10 |
?>
|
11 |
</label>
|
12 |
</th>
|
13 |
<td>
|
14 |
+
<input type="email" class="revechat_account_email regular-text" name="revechat_account_email" id="edit-revechat-account-email" placeholder="Enter your email address">
|
15 |
<input type="hidden" name="<?php echo $accountId; ?>" value="<?php echo $val_accountId; ?>" id="revechat_aid">
|
16 |
</td>
|
17 |
</tr>
|
18 |
</tbody>
|
19 |
</table>
|
20 |
+
<p class="submit">
|
21 |
+
<input type="submit" name="Submit" class="button-primary" value="<?php esc_attr_e('Save Changes') ?>" />
|
22 |
+
</p>
|
23 |
</div><!-- revechat_already_have -->
|
includes/remove-form.php
CHANGED
@@ -1,3 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
<div>
|
2 |
<div class="messages revechat_success">REVE Chat
|
3 |
is already installed.</div>
|
@@ -6,4 +20,4 @@
|
|
6 |
<input type="hidden" name="<?php echo $accountId; ?>" value="0" id="revechat_aid">
|
7 |
<input type="submit" class="form-submit button-primary" value="Remove" name="revechat_remove" id="edit-submit">
|
8 |
</div>
|
9 |
-
</div>
|
1 |
+
<div class="box">
|
2 |
+
<h3>REVE Chat has been installed.</h3>
|
3 |
+
<p>Sign in to REVE Chat Dashboard and start chatting with your customers.</p>
|
4 |
+
<p><a href="https://dashboard.revechat.com" class="form-submit button-primary" target="_blank">Go to Dashboard</a></p>
|
5 |
+
|
6 |
+
<div id="edit-actions" class="form-actions form-wrapper">
|
7 |
+
<input type="hidden" name="<?php echo $accountId; ?>" value="0" id="revechat_aid">
|
8 |
+
<p><small>Something went wrong? <input type="submit" style="background: transparent; border: 0; text-decoration: underline;text-transform: lowercase; font-size: 10px; cursor: pointer;" value="Disconnect" name="revechat_remove" id="edit-submit"></small></p>
|
9 |
+
</div>
|
10 |
+
</div>
|
11 |
+
|
12 |
+
|
13 |
+
|
14 |
+
<!--
|
15 |
<div>
|
16 |
<div class="messages revechat_success">REVE Chat
|
17 |
is already installed.</div>
|
20 |
<input type="hidden" name="<?php echo $accountId; ?>" value="0" id="revechat_aid">
|
21 |
<input type="submit" class="form-submit button-primary" value="Remove" name="revechat_remove" id="edit-submit">
|
22 |
</div>
|
23 |
+
</div> -->
|
includes/signup-form.php
CHANGED
@@ -1,17 +1,31 @@
|
|
1 |
-
<div id="revechat_new_account">
|
2 |
|
3 |
<h3>Create a new REVE Chat account</h3>
|
4 |
<table class="form-table">
|
5 |
<tr>
|
6 |
<th>
|
7 |
-
<label for="edit-
|
8 |
<?php
|
9 |
-
_e("Name")
|
10 |
?>
|
11 |
</label>
|
12 |
</th>
|
13 |
<td>
|
14 |
-
<input type="text" class="regular-text" name="
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
15 |
</td>
|
16 |
</tr>
|
17 |
|
@@ -19,28 +33,43 @@
|
|
19 |
<th>
|
20 |
<label for="edit-email">
|
21 |
<?php
|
22 |
-
_e('Email')
|
23 |
?>
|
24 |
</label>
|
25 |
|
26 |
</th>
|
27 |
<td>
|
28 |
-
<input type="text" class="regular-text" name="email" id="edit-email">
|
29 |
</td>
|
30 |
</tr>
|
31 |
|
32 |
<tr>
|
33 |
<th>
|
34 |
-
<label for="edit-
|
35 |
<?php
|
36 |
-
_e('
|
37 |
?>
|
38 |
</label>
|
39 |
</th>
|
40 |
<td>
|
41 |
-
<input type="
|
42 |
</td>
|
43 |
</tr>
|
44 |
-
</table>
|
45 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
46 |
</div>
|
1 |
+
<div id="revechat_new_account" class="box">
|
2 |
|
3 |
<h3>Create a new REVE Chat account</h3>
|
4 |
<table class="form-table">
|
5 |
<tr>
|
6 |
<th>
|
7 |
+
<label for="edit-firstname">
|
8 |
<?php
|
9 |
+
_e("First Name")
|
10 |
?>
|
11 |
</label>
|
12 |
</th>
|
13 |
<td>
|
14 |
+
<input type="text" class="regular-text" name="firstName" id="edit-firstname" placeholder="First Name">
|
15 |
+
</td>
|
16 |
+
</tr>
|
17 |
+
|
18 |
+
|
19 |
+
<tr>
|
20 |
+
<th>
|
21 |
+
<label for="edit-lastname">
|
22 |
+
<?php
|
23 |
+
_e("Last Name")
|
24 |
+
?>
|
25 |
+
</label>
|
26 |
+
</th>
|
27 |
+
<td>
|
28 |
+
<input type="text" class="regular-text" name="firstName" id="edit-lastname" placeholder="Last Name">
|
29 |
</td>
|
30 |
</tr>
|
31 |
|
33 |
<th>
|
34 |
<label for="edit-email">
|
35 |
<?php
|
36 |
+
_e('Email Address')
|
37 |
?>
|
38 |
</label>
|
39 |
|
40 |
</th>
|
41 |
<td>
|
42 |
+
<input type="text" class="regular-text" name="email" id="edit-email" placeholder="Email address">
|
43 |
</td>
|
44 |
</tr>
|
45 |
|
46 |
<tr>
|
47 |
<th>
|
48 |
+
<label for="edit-accountpassword">
|
49 |
<?php
|
50 |
+
_e('Password')
|
51 |
?>
|
52 |
</label>
|
53 |
</th>
|
54 |
<td>
|
55 |
+
<input type="password" class="regular-text" name="edit-accountpassword" id="edit-accountpassword" placeholder="Password">
|
56 |
</td>
|
57 |
</tr>
|
|
|
58 |
|
59 |
+
<tr>
|
60 |
+
<th>
|
61 |
+
<label for="edit-retypepassword">
|
62 |
+
<?php
|
63 |
+
_e('Confirm your password')
|
64 |
+
?>
|
65 |
+
</label>
|
66 |
+
</th>
|
67 |
+
<td>
|
68 |
+
<input type="password" class="regular-text" name="edit-retypepassword" id="edit-retypepassword" placeholder="Confirm your password">
|
69 |
+
</td>
|
70 |
+
</tr>
|
71 |
+
</table>
|
72 |
+
<p class="submit">
|
73 |
+
<input type="submit" name="Submit" class="button-primary" value="<?php esc_attr_e('Create Account') ?>" />
|
74 |
+
</p>
|
75 |
</div>
|
index.html
CHANGED
@@ -1 +1 @@
|
|
1 |
-
<!DOCTYPE html><title></title>
|
1 |
+
<!DOCTYPE html><title></title>
|
js/revechat-admin.js
CHANGED
@@ -32,9 +32,8 @@ jQuery.noConflict();
|
|
32 |
bindFormSubmit: function () {
|
33 |
$('#revechat-admin-settings-form').submit(function(e)
|
34 |
{
|
35 |
-
//e.preventDefault();
|
36 |
|
37 |
-
if($('#edit-submit').val() == '
|
38 |
$('#revechat_aid').val(0);
|
39 |
$('#revechat-admin-settings-form').submit();
|
40 |
}
|
@@ -64,34 +63,36 @@ jQuery.noConflict();
|
|
64 |
return false;
|
65 |
}
|
66 |
$('.ajax_message').removeClass('message').addClass('wait').html('Please wait…');
|
67 |
-
|
68 |
-
|
69 |
-
function(response)
|
70 |
-
{
|
71 |
-
if (response.error)
|
72 |
-
{
|
73 |
-
$('.ajax_message').removeClass('wait').addClass('message alert').html('Incorrect REVE Chat login.');
|
74 |
-
$('#edit-revechat-account-email').focus();
|
75 |
-
return false;
|
76 |
-
}
|
77 |
-
else
|
78 |
-
{
|
79 |
-
$('#revechat_aid').val(response.data.account_id);
|
80 |
-
$('#revechat-admin-settings-form').submit();
|
81 |
-
}
|
82 |
-
});
|
83 |
return false;
|
84 |
}
|
85 |
}
|
86 |
else
|
87 |
{
|
88 |
-
$('.ajax_message').removeClass('wait').addClass('message alert').html('Invalid Email.');
|
89 |
$('#edit-revechat-account-email').focus();
|
90 |
return false;
|
91 |
}
|
92 |
return true;
|
93 |
},
|
94 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
95 |
newLicenseForm: function()
|
96 |
{
|
97 |
if (parseInt(($('#revechat_aid').val()) > 0))
|
@@ -102,7 +103,6 @@ jQuery.noConflict();
|
|
102 |
if(this.validateNewLicenseForm())
|
103 |
{
|
104 |
$('.ajax_message').removeClass('message').addClass('wait').html('Please wait...');
|
105 |
-
|
106 |
ReveChat.createLicense();
|
107 |
}
|
108 |
return false;
|
@@ -112,31 +112,31 @@ jQuery.noConflict();
|
|
112 |
|
113 |
$('.ajax_message').removeClass('message').addClass('wait').html('Creating new account…');
|
114 |
|
115 |
-
var
|
|
|
|
|
|
|
|
|
|
|
|
|
116 |
|
117 |
$.ajax({
|
118 |
-
|
119 |
type:'POST',
|
120 |
url:signUpUrl,
|
121 |
dataType: 'json',
|
122 |
cache:false,
|
123 |
success: function(response) {
|
124 |
-
if(response.error)
|
125 |
{
|
126 |
-
$('.ajax_message').
|
|
|
127 |
return false;
|
128 |
}
|
129 |
-
else if(response.success)
|
130 |
{
|
131 |
-
$('#revechat-
|
132 |
-
|
133 |
-
message += '<h3>Thank you for sigining up with REVE Chat</h3>';
|
134 |
-
message += '<p>A verification link has been sent to your registered email address from <strong><a href="#">support@revechat.com</a></strong>. Kindly verify your email to complete the signup process</p>';
|
135 |
-
message += '<p>Then come backe again to integrate REVE Chat in your website.</p>';
|
136 |
-
message += '</div>';
|
137 |
-
$(message).appendTo('#revechat-admin-settings-form');
|
138 |
-
$('p.submit').remove();
|
139 |
-
$('.ajax_message').removeClass('wait');
|
140 |
return false;
|
141 |
}
|
142 |
}
|
@@ -144,11 +144,11 @@ jQuery.noConflict();
|
|
144 |
},
|
145 |
validEmail: function()
|
146 |
{
|
147 |
-
if($('#edit-submit').val() != '
|
148 |
{
|
149 |
if (/^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,6}$/i.test($('#edit-revechat-account-email').val()) == false)
|
150 |
{
|
151 |
-
|
152 |
$('#edit-email').focus();
|
153 |
return false;
|
154 |
}
|
@@ -158,29 +158,60 @@ jQuery.noConflict();
|
|
158 |
|
159 |
validateNewLicenseForm: function()
|
160 |
{
|
161 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
162 |
{
|
163 |
-
alert
|
164 |
-
$('#edit-
|
165 |
return false;
|
166 |
}
|
167 |
|
168 |
-
if (
|
169 |
{
|
170 |
-
alert
|
171 |
-
$('#edit-
|
172 |
return false;
|
173 |
}
|
174 |
|
175 |
-
if (
|
176 |
{
|
177 |
-
alert
|
178 |
-
$('#edit-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
179 |
return false;
|
180 |
}
|
181 |
|
|
|
|
|
|
|
|
|
|
|
|
|
182 |
return true;
|
183 |
-
}
|
|
|
|
|
|
|
|
|
184 |
}
|
185 |
$(document).ready(function()
|
186 |
{
|
32 |
bindFormSubmit: function () {
|
33 |
$('#revechat-admin-settings-form').submit(function(e)
|
34 |
{
|
|
|
35 |
|
36 |
+
if($('#edit-submit').val() == 'Disconnect'){
|
37 |
$('#revechat_aid').val(0);
|
38 |
$('#revechat-admin-settings-form').submit();
|
39 |
}
|
63 |
return false;
|
64 |
}
|
65 |
$('.ajax_message').removeClass('message').addClass('wait').html('Please wait…');
|
66 |
+
|
67 |
+
ReveChat.signIn($('#edit-revechat-account-email').val());
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
68 |
return false;
|
69 |
}
|
70 |
}
|
71 |
else
|
72 |
{
|
|
|
73 |
$('#edit-revechat-account-email').focus();
|
74 |
return false;
|
75 |
}
|
76 |
return true;
|
77 |
},
|
78 |
+
signIn: function (email) {
|
79 |
+
var signInUrl = baseUrl +'/license/adminId/'+email+'/?callback=?';
|
80 |
+
$.getJSON(signInUrl,
|
81 |
+
function(response)
|
82 |
+
{
|
83 |
+
if (response.error)
|
84 |
+
{
|
85 |
+
alert('Incorrect REVE Chat login');
|
86 |
+
$('#edit-revechat-account-email').focus();
|
87 |
+
return false;
|
88 |
+
}
|
89 |
+
else
|
90 |
+
{
|
91 |
+
$('#revechat_aid').val(response.data.account_id);
|
92 |
+
$('#revechat-admin-settings-form').submit();
|
93 |
+
}
|
94 |
+
});
|
95 |
+
},
|
96 |
newLicenseForm: function()
|
97 |
{
|
98 |
if (parseInt(($('#revechat_aid').val()) > 0))
|
103 |
if(this.validateNewLicenseForm())
|
104 |
{
|
105 |
$('.ajax_message').removeClass('message').addClass('wait').html('Please wait...');
|
|
|
106 |
ReveChat.createLicense();
|
107 |
}
|
108 |
return false;
|
112 |
|
113 |
$('.ajax_message').removeClass('message').addClass('wait').html('Creating new account…');
|
114 |
|
115 |
+
var firstName = $.trim($('#edit-firstname').val());
|
116 |
+
var lastName = $.trim($('#edit-lastname').val());
|
117 |
+
var email = $.trim($('#edit-email').val());
|
118 |
+
var password = $.trim($('#edit-accountpassword').val());
|
119 |
+
var rePassword = $.trim($('#edit-retypepassword').val());
|
120 |
+
|
121 |
+
var signUpUrl = baseUrl + 'revechat/cms/api/signup.do';
|
122 |
|
123 |
$.ajax({
|
124 |
+
data: { 'firstname':firstName, 'lastname':lastName, 'mailAddr':email, 'password':password },
|
125 |
type:'POST',
|
126 |
url:signUpUrl,
|
127 |
dataType: 'json',
|
128 |
cache:false,
|
129 |
success: function(response) {
|
130 |
+
if(response.status == 'error')
|
131 |
{
|
132 |
+
$('.ajax_message').removeClass('wait');
|
133 |
+
alert(response.message);
|
134 |
return false;
|
135 |
}
|
136 |
+
else if(response.status == 'success')
|
137 |
{
|
138 |
+
$('#edit-revechat-account-email').val(email);
|
139 |
+
ReveChat.signIn(email);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
140 |
return false;
|
141 |
}
|
142 |
}
|
144 |
},
|
145 |
validEmail: function()
|
146 |
{
|
147 |
+
if($('#edit-submit').val() != 'Disconnect')
|
148 |
{
|
149 |
if (/^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,6}$/i.test($('#edit-revechat-account-email').val()) == false)
|
150 |
{
|
151 |
+
alert ('Please enter a valid email address.');
|
152 |
$('#edit-email').focus();
|
153 |
return false;
|
154 |
}
|
158 |
|
159 |
validateNewLicenseForm: function()
|
160 |
{
|
161 |
+
|
162 |
+
var firstName = $.trim($('#edit-firstname').val());
|
163 |
+
var lastName = $.trim($('#edit-lastname').val());
|
164 |
+
var email = $.trim($('#edit-email').val());
|
165 |
+
var password = $.trim($('#edit-accountpassword').val());
|
166 |
+
var rePassword = $.trim($('#edit-retypepassword').val());
|
167 |
+
|
168 |
+
|
169 |
+
|
170 |
+
if (!firstName.length)
|
171 |
{
|
172 |
+
alert('Please provide your first name.');
|
173 |
+
$('#edit-firstname').focus();
|
174 |
return false;
|
175 |
}
|
176 |
|
177 |
+
if (!lastName.length)
|
178 |
{
|
179 |
+
alert('Please provide your last name.');
|
180 |
+
$('#edit-lastname').focus();
|
181 |
return false;
|
182 |
}
|
183 |
|
184 |
+
if (!ReveChat.isValidEmailAddress(email))
|
185 |
{
|
186 |
+
alert('Please provide your valid email address.');
|
187 |
+
$('#edit-email').focus();
|
188 |
+
return false;
|
189 |
+
}
|
190 |
+
|
191 |
+
if(password.length < 6){
|
192 |
+
alert('Please provide your password. The password must be at least 6 characters long.')
|
193 |
+
$('#edit-accountpassword').focus();
|
194 |
+
return false;
|
195 |
+
}
|
196 |
+
|
197 |
+
if(!rePassword.length || password.length < 6){
|
198 |
+
alert('Please retype your password.');
|
199 |
+
$('#edit-retypepassword').focus();
|
200 |
return false;
|
201 |
}
|
202 |
|
203 |
+
if(password != rePassword){
|
204 |
+
alert('Password does not match the confirm password.')
|
205 |
+
return false;
|
206 |
+
}
|
207 |
+
|
208 |
+
|
209 |
return true;
|
210 |
+
},
|
211 |
+
isValidEmailAddress: function (emailAddress) {
|
212 |
+
var pattern = /^([a-z\d!#$%&'*+\-\/=?^_`{|}~\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+(\.[a-z\d!#$%&'*+\-\/=?^_`{|}~\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+)*|"((([ \t]*\r\n)?[ \t]+)?([\x01-\x08\x0b\x0c\x0e-\x1f\x7f\x21\x23-\x5b\x5d-\x7e\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]|\\[\x01-\x09\x0b\x0c\x0d-\x7f\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))*(([ \t]*\r\n)?[ \t]+)?")@(([a-z\d\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]|[a-z\d\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF][a-z\d\-._~\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]*[a-z\d\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])\.)+([a-z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]|[a-z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF][a-z\d\-._~\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]*[a-z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])\.?$/i;
|
213 |
+
return pattern.test(emailAddress);
|
214 |
+
},
|
215 |
}
|
216 |
$(document).ready(function()
|
217 |
{
|
readme.txt
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
=== Reve Chat ===
|
2 |
Contributors: revechat_official
|
3 |
-
Tags: chat
|
4 |
|
5 |
-
Stable tag: 2.0.
|
6 |
|
7 |
|
8 |
REVE Chat is powerful and intuitive real-time customer engagement software.
|
@@ -10,6 +10,8 @@ REVE Chat is powerful and intuitive real-time customer engagement software.
|
|
10 |
== Description ==
|
11 |
REVE Chat is powerful and intuitive real-time customer engagement software. It 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.
|
12 |
|
|
|
|
|
13 |
In the fast paced ambience of live customer support, the efficient usage of valuable time is the main key to both happy customers and professional management. Traditionally interactions between support agents and customers have been restricted to one-on-one supports over phones or emails. Live chat for customer support has now become the alternative that today's multitasking and net savvy generation is looking for. It offers quick response in real time and higher customer satisfaction which can generate more conversions. In the era of automated customer assistance systems, the chance to chat with a person in real time through your website is a distinct feature. Now just like a sales person in the shop, talk to the visitors of your website in real-time.
|
14 |
REVE Chat is powerful and intuitive real-time customer engagement software. It 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 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. So place this customizable REVE Chat widget to your business and start getting sales conversion and higher customer satisfaction.
|
15 |
|
@@ -59,6 +61,10 @@ Should you need any assistance, feel free to chat with our customer advocates on
|
|
59 |
= 2.0.1 =
|
60 |
* Updated chat script
|
61 |
|
|
|
|
|
|
|
|
|
62 |
== Screenshots ==
|
63 |
|
64 |
1. Chat window on your website - active chat
|
1 |
=== Reve Chat ===
|
2 |
Contributors: revechat_official
|
3 |
+
Tags: chat online, contact plugin, customer support, free chat, chat software, IM chat, live chat, live chat inc, live chat services, live chat software, live chatting, live help, live support, live web chat, livechat, live help, live support, olark, online chat, online support, php live chat, snapengage, support software, website chat, wordpress chat, wordpress live chat, wordpress live chat plugin, ReveChat, REVE Chat, zendesk, Zopim live chat, clickdesk, olark, click desk, visitor analytics, web analytics, lead generation, online leads
|
4 |
|
5 |
+
Stable tag: 2.0.2
|
6 |
|
7 |
|
8 |
REVE Chat is powerful and intuitive real-time customer engagement software.
|
10 |
== Description ==
|
11 |
REVE Chat is powerful and intuitive real-time customer engagement software. It 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.
|
12 |
|
13 |
+
https://youtu.be/t1dykZ9Tg8U
|
14 |
+
|
15 |
In the fast paced ambience of live customer support, the efficient usage of valuable time is the main key to both happy customers and professional management. Traditionally interactions between support agents and customers have been restricted to one-on-one supports over phones or emails. Live chat for customer support has now become the alternative that today's multitasking and net savvy generation is looking for. It offers quick response in real time and higher customer satisfaction which can generate more conversions. In the era of automated customer assistance systems, the chance to chat with a person in real time through your website is a distinct feature. Now just like a sales person in the shop, talk to the visitors of your website in real-time.
|
16 |
REVE Chat is powerful and intuitive real-time customer engagement software. It 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 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. So place this customizable REVE Chat widget to your business and start getting sales conversion and higher customer satisfaction.
|
17 |
|
61 |
= 2.0.1 =
|
62 |
* Updated chat script
|
63 |
|
64 |
+
|
65 |
+
= 2.0.3 =
|
66 |
+
* updated the UI
|
67 |
+
|
68 |
== Screenshots ==
|
69 |
|
70 |
1. Chat window on your website - active chat
|
revechat.php
CHANGED
@@ -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: 2.0.
|
6 |
Author: ReveChat
|
7 |
Author URI: www.revechat.com
|
8 |
License: GPL2
|
@@ -98,32 +98,34 @@ if(!class_exists('WP_Plugin_Revechat'))
|
|
98 |
?>
|
99 |
<div class="wrap" id="revechat">
|
100 |
|
101 |
-
<div
|
102 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
103 |
</div>
|
104 |
-
<div class="form-item form-type-item" id="edit-ajax-message">
|
105 |
-
<p class="ajax_message"></p>
|
106 |
-
</div>
|
107 |
-
|
108 |
-
<form name="form1" id="revechat-admin-settings-form" method="post" action="">
|
109 |
-
|
110 |
-
<?php
|
111 |
-
if(isset($val_accountId) && $val_accountId != 0){
|
112 |
-
require (plugin_dir_path( __FILE__ )."includes/remove-form.php");
|
113 |
-
return;
|
114 |
-
}
|
115 |
-
|
116 |
-
require (plugin_dir_path( __FILE__ )."includes/choose-form.php");
|
117 |
-
require (plugin_dir_path( __FILE__ )."includes/login-form.php");
|
118 |
-
require (plugin_dir_path( __FILE__ )."includes/signup-form.php");
|
119 |
-
?>
|
120 |
-
|
121 |
-
<p class="submit">
|
122 |
-
<input type="submit" name="Submit" class="button-primary" value="<?php esc_attr_e('Save Changes') ?>" />
|
123 |
-
</p>
|
124 |
-
|
125 |
-
</form>
|
126 |
-
</div>
|
127 |
|
128 |
<?php
|
129 |
}
|
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: 2.0.3
|
6 |
Author: ReveChat
|
7 |
Author URI: www.revechat.com
|
8 |
License: GPL2
|
98 |
?>
|
99 |
<div class="wrap" id="revechat">
|
100 |
|
101 |
+
<div>
|
102 |
+
<div class="reve-chat-logo">
|
103 |
+
<img src="<?php echo plugin_dir_url( __FILE__ )."images/logo.png";?>" alt="REVE Chat">
|
104 |
+
</div>
|
105 |
+
|
106 |
+
<form name="form1" id="revechat-admin-settings-form" method="post" action="">
|
107 |
+
|
108 |
+
<?php
|
109 |
+
if(isset($val_accountId) && $val_accountId != 0){
|
110 |
+
require (plugin_dir_path( __FILE__ )."includes/remove-form.php");
|
111 |
+
return;
|
112 |
+
}
|
113 |
+
|
114 |
+
require (plugin_dir_path( __FILE__ )."includes/choose-form.php");
|
115 |
+
?>
|
116 |
+
<div class="form-item form-type-item" id="edit-ajax-message">
|
117 |
+
<p class="ajax_message"></p>
|
118 |
+
</div>
|
119 |
+
<?php
|
120 |
+
require (plugin_dir_path( __FILE__ )."includes/login-form.php");
|
121 |
+
require (plugin_dir_path( __FILE__ )."includes/signup-form.php");
|
122 |
+
?>
|
123 |
+
|
124 |
+
|
125 |
+
|
126 |
+
</form>
|
127 |
+
</div>
|
128 |
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
129 |
|
130 |
<?php
|
131 |
}
|
screenshot-1.jpg
ADDED
Binary file
|
screenshot-1.png
DELETED
Binary file
|
screenshot-2.jpg
ADDED
Binary file
|
screenshot-2.png
DELETED
Binary file
|
screenshot-3.jpg
ADDED
Binary file
|
screenshot-3.png
DELETED
Binary file
|
screenshot-4.jpg
ADDED
Binary file
|
screenshot-4.png
DELETED
Binary file
|