REVE Chat – WP Live Chat Support plugin - Version 2.0.4

Version Description

Download this release

Release Info

Developer revechat
Plugin Icon 128x128 REVE Chat – WP Live Chat Support plugin
Version 2.0.4
Comparing to
See all releases

Code changes from version 2.0.2 to 2.0.4

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;
@@ -86,6 +81,7 @@
86
  background: #ffffff;
87
  border: 1px solid #e5e5e5;
88
  padding: 20px;
 
89
  }
90
  #revechat #revechat-admin-settings-form {
91
  padding: 18px;
 
 
 
 
 
1
  #revechat ul#revechat_choose_form{}
2
  #revechat ul#revechat_choose_form li{
3
  list-style: none;
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;
includes/choose-form.php CHANGED
@@ -1,5 +1,5 @@
1
- <div id="edit-choose-form">
2
- <h3>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">
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 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">
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
@@ -3,14 +3,14 @@
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
-
7
- </div>
8
- <div id="edit-actions" class="form-actions form-wrapper">
9
- <input type="hidden" name="<?php echo $accountId; ?>" value="0" id="revechat_aid">
10
- <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="Remove" name="revechat_remove" id="edit-submit"></small></p>
11
  </div>
12
 
13
 
 
14
  <!--
15
  <div>
16
  <div class="messages revechat_success">REVE Chat
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
includes/signup-form.php CHANGED
@@ -1,4 +1,4 @@
1
- <div id="revechat_new_account">
2
 
3
  <h3>Create a new REVE Chat account</h3>
4
  <table class="form-table">
@@ -11,7 +11,7 @@
11
  </label>
12
  </th>
13
  <td>
14
- <input type="text" class="regular-text" name="firstName" id="edit-firstname">
15
  </td>
16
  </tr>
17
 
@@ -25,7 +25,7 @@
25
  </label>
26
  </th>
27
  <td>
28
- <input type="text" class="regular-text" name="firstName" id="edit-lastname">
29
  </td>
30
  </tr>
31
 
@@ -33,13 +33,13 @@
33
  <th>
34
  <label for="edit-email">
35
  <?php
36
- _e('Email')
37
  ?>
38
  </label>
39
 
40
  </th>
41
  <td>
42
- <input type="text" class="regular-text" name="email" id="edit-email">
43
  </td>
44
  </tr>
45
 
@@ -47,12 +47,12 @@
47
  <th>
48
  <label for="edit-accountpassword">
49
  <?php
50
- _e('Create Password')
51
  ?>
52
  </label>
53
  </th>
54
  <td>
55
- <input type="password" class="regular-text" name="edit-accountpassword" id="edit-accountpassword">
56
  </td>
57
  </tr>
58
 
@@ -60,14 +60,16 @@
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">
69
  </td>
70
  </tr>
71
  </table>
72
-
 
 
73
  </div>
1
+ <div id="revechat_new_account" class="box">
2
 
3
  <h3>Create a new REVE Chat account</h3>
4
  <table class="form-table">
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
 
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
 
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
 
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>
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() == 'Remove'){
38
  $('#revechat_aid').val(0);
39
  $('#revechat-admin-settings-form').submit();
40
  }
@@ -71,7 +70,6 @@ jQuery.noConflict();
71
  }
72
  else
73
  {
74
- $('.ajax_message').removeClass('wait').addClass('message alert').html('Invalid Email.');
75
  $('#edit-revechat-account-email').focus();
76
  return false;
77
  }
@@ -84,7 +82,7 @@ jQuery.noConflict();
84
  {
85
  if (response.error)
86
  {
87
- $('.ajax_message').removeClass('wait').addClass('message alert').html('Incorrect REVE Chat login.');
88
  $('#edit-revechat-account-email').focus();
89
  return false;
90
  }
@@ -105,7 +103,6 @@ jQuery.noConflict();
105
  if(this.validateNewLicenseForm())
106
  {
107
  $('.ajax_message').removeClass('message').addClass('wait').html('Please wait...');
108
-
109
  ReveChat.createLicense();
110
  }
111
  return false;
@@ -124,7 +121,7 @@ jQuery.noConflict();
124
  var signUpUrl = baseUrl + 'revechat/cms/api/signup.do';
125
 
126
  $.ajax({
127
- data: { 'firstname':firstName, 'lastname':lastName, 'mailAddr':email, 'password':password },
128
  type:'POST',
129
  url:signUpUrl,
130
  dataType: 'json',
@@ -132,7 +129,8 @@ jQuery.noConflict();
132
  success: function(response) {
133
  if(response.status == 'error')
134
  {
135
- $('.ajax_message').html(response.message).addClass('message alert').removeClass('wait');
 
136
  return false;
137
  }
138
  else if(response.status == 'success')
@@ -146,11 +144,11 @@ jQuery.noConflict();
146
  },
147
  validEmail: function()
148
  {
149
- if($('#edit-submit').val() != 'Remove')
150
  {
151
  if (/^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,6}$/i.test($('#edit-revechat-account-email').val()) == false)
152
  {
153
- //alert ('Please enter a valid email address.');
154
  $('#edit-email').focus();
155
  return false;
156
  }
@@ -171,39 +169,39 @@ jQuery.noConflict();
171
 
172
  if (!firstName.length)
173
  {
174
- $('.ajax_message').removeClass('wait').addClass('message alert').html('Please provide your first name.');
175
  $('#edit-firstname').focus();
176
  return false;
177
  }
178
 
179
  if (!lastName.length)
180
  {
181
- $('.ajax_message').removeClass('wait').addClass('message alert').html('Please provide your last name.');
182
  $('#edit-lastname').focus();
183
  return false;
184
  }
185
 
186
  if (!ReveChat.isValidEmailAddress(email))
187
  {
188
- $('.ajax_message').removeClass('wait').addClass('message alert').html('Please provide valid email address.');
189
  $('#edit-email').focus();
190
  return false;
191
  }
192
 
193
  if(password.length < 6){
194
- $('.ajax_message').removeClass('wait').addClass('message alert').html('Please provide your password. The password must be at least 6 characters long.');
195
  $('#edit-accountpassword').focus();
196
  return false;
197
  }
198
 
199
  if(!rePassword.length || password.length < 6){
200
- $('.ajax_message').removeClass('wait').addClass('message alert').html('Please retype your password.');
201
  $('#edit-retypepassword').focus();
202
  return false;
203
  }
204
 
205
  if(password != rePassword){
206
- $('.ajax_message').removeClass('wait').addClass('message alert').html('Please retype your password.');
207
  return false;
208
  }
209
 
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
  }
70
  }
71
  else
72
  {
 
73
  $('#edit-revechat-account-email').focus();
74
  return false;
75
  }
82
  {
83
  if (response.error)
84
  {
85
+ alert('Incorrect REVE Chat login');
86
  $('#edit-revechat-account-email').focus();
87
  return false;
88
  }
103
  if(this.validateNewLicenseForm())
104
  {
105
  $('.ajax_message').removeClass('message').addClass('wait').html('Please wait...');
 
106
  ReveChat.createLicense();
107
  }
108
  return false;
121
  var signUpUrl = baseUrl + 'revechat/cms/api/signup.do';
122
 
123
  $.ajax({
124
+ data: { 'firstname':firstName, 'lastname':lastName, 'mailAddr':email, 'password':password, 'utm_source':'cms', 'utm_content':'wordpress', 'referrer':'https://wordpress.org/plugins/' },
125
  type:'POST',
126
  url:signUpUrl,
127
  dataType: 'json',
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')
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
  }
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
 
readme.txt CHANGED
@@ -1,8 +1,8 @@
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.1
6
 
7
 
8
  REVE Chat is powerful and intuitive real-time customer engagement software.
@@ -24,6 +24,7 @@ REVE Chat is powerful and intuitive real-time customer engagement software. It p
24
  * **Queuing:** With this chat software handle chat requests efficiently when all your agents are busy. REVE live chat software gives information to website visitors regarding their waiting time in the chat queue
25
  * **Facebook Integration:** REVE Chat allows you to engage with your potential customers through your company Facebook page. Facebook is very effective tool for business. Smart use of social media increases sales, retention and customer satisfaction. REVE Chat Facebook app makes it easier than ever to engage online visitors. Facebook integration lets customers reach you directly on your Facebook fan page, whether or not you are online, increasing customer happiness and organic marketing and outreach.
26
 
 
27
  **What makes Reve Chat the best choice for live chat?**
28
 
29
  * A simple and highly customizable Live chat solution
@@ -33,6 +34,10 @@ REVE Chat is powerful and intuitive real-time customer engagement software. It p
33
  * 24x7 hour live chat support from our trained experts on any weekday (visit revechat.com)
34
 
35
 
 
 
 
 
36
 
37
  **Some Geeky Facts**
38
 
@@ -61,6 +66,10 @@ Should you need any assistance, feel free to chat with our customer advocates on
61
  = 2.0.1 =
62
  * Updated chat script
63
 
 
 
 
 
64
  == Screenshots ==
65
 
66
  1. Chat window on your website - active chat
@@ -186,6 +195,7 @@ Queued Visitor list will show who is the visitors is waiting for Live Chat. It g
186
  Admin can monitor which agents are chatting and the detailed chat conversations between your website visitors and agents in real-time. Admin can also whisper the agent if they give any wrong information. Here you can monitor the chat conversation between agents and website visitors and among your agents.
187
 
188
 
 
189
 
190
  == Installation ==
191
 
1
+ === REVE Chat - WP live chat plugin for WordPress ===
2
+ Contributors: revechat
3
+ Tags: free chat, tawk.to, live chat, live chat software, live support, chat plugin, chat, video chat, voice chat
4
+ Requires at least: 2.7
5
+ Tested up to: 4.9.1
6
 
7
 
8
  REVE Chat is powerful and intuitive real-time customer engagement software.
24
  * **Queuing:** With this chat software handle chat requests efficiently when all your agents are busy. REVE live chat software gives information to website visitors regarding their waiting time in the chat queue
25
  * **Facebook Integration:** REVE Chat allows you to engage with your potential customers through your company Facebook page. Facebook is very effective tool for business. Smart use of social media increases sales, retention and customer satisfaction. REVE Chat Facebook app makes it easier than ever to engage online visitors. Facebook integration lets customers reach you directly on your Facebook fan page, whether or not you are online, increasing customer happiness and organic marketing and outreach.
26
 
27
+
28
  **What makes Reve Chat the best choice for live chat?**
29
 
30
  * A simple and highly customizable Live chat solution
34
  * 24x7 hour live chat support from our trained experts on any weekday (visit revechat.com)
35
 
36
 
37
+ **Supported Language**
38
+
39
+ * Arabic | Bangla | Chinese | Dutch | English | French| German | Hindi | Italian | Japanese | Korean | Malay | Polish | Portuguese | Romanian | Russian | Spanish | Swedish | Tagalog | Turkish | Vietnamese
40
+
41
 
42
  **Some Geeky Facts**
43
 
66
  = 2.0.1 =
67
  * Updated chat script
68
 
69
+ = 2.0.3 =
70
+ * updated the UI
71
+
72
+
73
  == Screenshots ==
74
 
75
  1. Chat window on your website - active chat
195
  Admin can monitor which agents are chatting and the detailed chat conversations between your website visitors and agents in real-time. Admin can also whisper the agent if they give any wrong information. Here you can monitor the chat conversation between agents and website visitors and among your agents.
196
 
197
 
198
+ <a href="https://www.revechat.com/signup/?utm_source=wordpress.org&utm_medium=integration&utm_campaign=WordpressIntegration" target="_blank">Signup for our Live Chat here</a>
199
 
200
  == Installation ==
201
 
revechat.php CHANGED
@@ -2,8 +2,8 @@
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.2
6
- Author: ReveChat
7
  Author URI: www.revechat.com
8
  License: GPL2
9
  */
@@ -98,13 +98,10 @@ if(!class_exists('WP_Plugin_Revechat'))
98
  ?>
99
  <div class="wrap" id="revechat">
100
 
101
- <div class="box">
102
  <div class="reve-chat-logo">
103
  <img src="<?php echo plugin_dir_url( __FILE__ )."images/logo.png";?>" alt="REVE Chat">
104
  </div>
105
- <div class="form-item form-type-item" id="edit-ajax-message">
106
- <p class="ajax_message"></p>
107
- </div>
108
 
109
  <form name="form1" id="revechat-admin-settings-form" method="post" action="">
110
 
@@ -115,13 +112,16 @@ if(!class_exists('WP_Plugin_Revechat'))
115
  }
116
 
117
  require (plugin_dir_path( __FILE__ )."includes/choose-form.php");
 
 
 
 
 
118
  require (plugin_dir_path( __FILE__ )."includes/login-form.php");
119
  require (plugin_dir_path( __FILE__ )."includes/signup-form.php");
120
  ?>
121
 
122
- <p class="submit">
123
- <input type="submit" name="Submit" class="button-primary" value="<?php esc_attr_e('Save Changes') ?>" />
124
- </p>
125
 
126
  </form>
127
  </div>
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.4
6
+ Author: REVE Chat
7
  Author URI: www.revechat.com
8
  License: GPL2
9
  */
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
 
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>
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