Version Description
- Fixed Text Area CSS Bug
Download this release
Release Info
Developer | WP-LiveChat |
Plugin | WP Live Chat Support |
Version | 3.03 |
Comparing to | |
See all releases |
Code changes from version 3.02 to 3.03
- css/wplcstyle.css +3 -0
- functions.php +1 -1
- readme.txt +4 -0
- screenshot-1.jpg +0 -0
- screenshot-2.jpg +0 -0
- screenshot-3.jpg +0 -0
- wp-live-chat-support.php +10 -4
css/wplcstyle.css
CHANGED
@@ -1,6 +1,9 @@
|
|
1 |
#wp-live-chat textarea {
|
2 |
width: 100%;
|
3 |
height: 100px;
|
|
|
|
|
|
|
4 |
}
|
5 |
|
6 |
#wplc_chatbox {
|
1 |
#wp-live-chat textarea {
|
2 |
width: 100%;
|
3 |
height: 100px;
|
4 |
+
-webkit-box-sizing: border-box;
|
5 |
+
-moz-box-sizing: border-box;
|
6 |
+
box-sizing: border-box;
|
7 |
}
|
8 |
|
9 |
#wplc_chatbox {
|
functions.php
CHANGED
@@ -328,7 +328,7 @@ function wplc_return_admin_chat_messages($cid) {
|
|
328 |
$msg = stripslashes($result->msg);
|
329 |
//$timestamp = strtotime($result->timestamp);
|
330 |
//$timeshow = date("H:i",$timestamp);
|
331 |
-
$msg_hist .= "<strong>$from</strong
|
332 |
|
333 |
}
|
334 |
|
328 |
$msg = stripslashes($result->msg);
|
329 |
//$timestamp = strtotime($result->timestamp);
|
330 |
//$timeshow = date("H:i",$timestamp);
|
331 |
+
$msg_hist .= "<span class='wplc-user-message'><strong>$from</strong>:<hr/> $msg</span><br /><div class='wplc-clear-float-message'></div>";
|
332 |
|
333 |
}
|
334 |
|
readme.txt
CHANGED
@@ -84,6 +84,10 @@ Please review the live chat documentation on [our website](http://wp-livechat.co
|
|
84 |
|
85 |
== Changelog ==
|
86 |
|
|
|
|
|
|
|
|
|
87 |
= 3.02 =
|
88 |
|
89 |
* Fixed CSS Box Border Issue
|
84 |
|
85 |
== Changelog ==
|
86 |
|
87 |
+
= 3.03 =
|
88 |
+
|
89 |
+
* Fixed Text Area CSS Bug
|
90 |
+
|
91 |
= 3.02 =
|
92 |
|
93 |
* Fixed CSS Box Border Issue
|
screenshot-1.jpg
CHANGED
Binary file
|
screenshot-2.jpg
CHANGED
Binary file
|
screenshot-3.jpg
CHANGED
File without changes
|
wp-live-chat-support.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: WP Live Chat Support
|
4 |
Plugin URI: http://www.wp-livechat.com
|
5 |
Description: The easiest to use website live chat plugin. Let your visitors chat with you and increase sales conversion rates with WP Live Chat Support. No third party connection required!
|
6 |
-
Version: 3.
|
7 |
Author: WP-LiveChat
|
8 |
Author URI: http://www.wp-livechat.com
|
9 |
*/
|
@@ -17,7 +17,7 @@ global $wplc_tblname_chats;
|
|
17 |
global $wplc_tblname_msgs;
|
18 |
$wplc_tblname_chats = $wpdb->prefix . "wplc_chat_sessions";
|
19 |
$wplc_tblname_msgs = $wpdb->prefix . "wplc_chat_msgs";
|
20 |
-
$wplc_version = "3.
|
21 |
|
22 |
require_once (plugin_dir_path( __FILE__ )."functions.php");
|
23 |
add_action('wp_ajax_wplc_admin_set_transient', 'wplc_action_callback');
|
@@ -488,11 +488,17 @@ function wplc_draw_chat_area($cid) {
|
|
488 |
|
489 |
function wplc_return_admin_chat_javascript($cid) {
|
490 |
$ajax_nonce = wp_create_nonce("wplc");
|
|
|
|
|
|
|
|
|
|
|
|
|
491 |
?>
|
492 |
<script type="text/javascript">
|
493 |
jQuery(document).ready(function() {
|
494 |
|
495 |
-
|
496 |
var wplc_ajaxurl = '<?php echo plugins_url('/ajax.php', __FILE__); ?>';
|
497 |
var wplc_nonce = '<?php echo $ajax_nonce; ?>';
|
498 |
var wplc_gcid = '<?php echo $cid; ?>';
|
@@ -546,7 +552,7 @@ function wplc_return_admin_chat_javascript($cid) {
|
|
546 |
jQuery("#wplc_admin_chatmsg").val('');
|
547 |
|
548 |
|
549 |
-
jQuery("#admin_chat_box_area_"+wplc_cid).append("<strong>"+wplc_name+"</strong
|
550 |
var height = jQuery('#admin_chat_box_area_'+wplc_cid)[0].scrollHeight;
|
551 |
jQuery('#admin_chat_box_area_'+wplc_cid).scrollTop(height);
|
552 |
|
3 |
Plugin Name: WP Live Chat Support
|
4 |
Plugin URI: http://www.wp-livechat.com
|
5 |
Description: The easiest to use website live chat plugin. Let your visitors chat with you and increase sales conversion rates with WP Live Chat Support. No third party connection required!
|
6 |
+
Version: 3.03
|
7 |
Author: WP-LiveChat
|
8 |
Author URI: http://www.wp-livechat.com
|
9 |
*/
|
17 |
global $wplc_tblname_msgs;
|
18 |
$wplc_tblname_chats = $wpdb->prefix . "wplc_chat_sessions";
|
19 |
$wplc_tblname_msgs = $wpdb->prefix . "wplc_chat_msgs";
|
20 |
+
$wplc_version = "3.03";
|
21 |
|
22 |
require_once (plugin_dir_path( __FILE__ )."functions.php");
|
23 |
add_action('wp_ajax_wplc_admin_set_transient', 'wplc_action_callback');
|
488 |
|
489 |
function wplc_return_admin_chat_javascript($cid) {
|
490 |
$ajax_nonce = wp_create_nonce("wplc");
|
491 |
+
if(function_exists("wplc_pro_get_admin_picture")){
|
492 |
+
$src = wplc_pro_get_admin_picture();
|
493 |
+
if($src){
|
494 |
+
$image = "<img src=".$src." width='20px' id='wp-live-chat-2-img'/>";
|
495 |
+
}
|
496 |
+
}
|
497 |
?>
|
498 |
<script type="text/javascript">
|
499 |
jQuery(document).ready(function() {
|
500 |
|
501 |
+
var wplc_image = "<?php echo $image ?>";
|
502 |
var wplc_ajaxurl = '<?php echo plugins_url('/ajax.php', __FILE__); ?>';
|
503 |
var wplc_nonce = '<?php echo $ajax_nonce; ?>';
|
504 |
var wplc_gcid = '<?php echo $cid; ?>';
|
552 |
jQuery("#wplc_admin_chatmsg").val('');
|
553 |
|
554 |
|
555 |
+
jQuery("#admin_chat_box_area_"+wplc_cid).append("<span class='wplc-admin-message'>"+wplc_image+" <strong>"+wplc_name+"</strong>:<hr/>"+wplc_chat+"</span><br /><div class='wplc-clear-float-message'></div>");
|
556 |
var height = jQuery('#admin_chat_box_area_'+wplc_cid)[0].scrollHeight;
|
557 |
jQuery('#admin_chat_box_area_'+wplc_cid).scrollTop(height);
|
558 |
|