Version Description
- 2015-10-12 - Low priority =
- Changes to the live chat extensions page
Download this release
Release Info
Developer | WP-LiveChat |
Plugin | WP Live Chat Support |
Version | 5.0.10 |
Comparing to | |
See all releases |
Code changes from version 5.0.9 to 5.0.10
- css/chat-style.css +9 -1
- images/add-on2.jpg +0 -0
- images/add-on4.jpg +0 -0
- readme.txt +4 -1
- wp-live-chat-support.php +81 -35
css/chat-style.css
CHANGED
@@ -13,6 +13,14 @@
|
|
13 |
|
14 |
|
15 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
16 |
}
|
17 |
.wplc-sub-item-email-string {
|
18 |
white-space: nowrap;
|
@@ -151,7 +159,7 @@
|
|
151 |
border: 1px solid #ccc;
|
152 |
width: 320px;
|
153 |
padding: 14px;
|
154 |
-
height:
|
155 |
position: relative;
|
156 |
|
157 |
}
|
13 |
|
14 |
|
15 |
|
16 |
+
}
|
17 |
+
.wplc-extension-label-box {
|
18 |
+
display:block;
|
19 |
+
overflow:auto;
|
20 |
+
clear:both;
|
21 |
+
}
|
22 |
+
.wplc-extension-label {
|
23 |
+
display:block; float:left; padding:5px; margin-right:5px; font-size:0.8em; background-color:#bbb; color:#FFF; webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px; }
|
24 |
}
|
25 |
.wplc-sub-item-email-string {
|
26 |
white-space: nowrap;
|
159 |
border: 1px solid #ccc;
|
160 |
width: 320px;
|
161 |
padding: 14px;
|
162 |
+
height: 370px;
|
163 |
position: relative;
|
164 |
|
165 |
}
|
images/add-on2.jpg
ADDED
Binary file
|
images/add-on4.jpg
ADDED
Binary file
|
readme.txt
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
=== WP Live Chat Support ===
|
2 |
Contributors: WP-LiveChat, NickDuncan, CodeCabin_, Jarryd Long
|
3 |
Donate link: http://www.wp-livechat.com
|
4 |
-
Tags: live chat, live support, chat plugin, live help, wordpress chat, customer support, chat, live chat plugin, live support plugin, live chat support plugin, chat plugin, support plugin, support, chat software, chat online, visitor chat, chat, free chat, free live chat, customer support, online support, live help, chat widget
|
5 |
Requires at least: 3.8
|
6 |
Tested up to: 4.3
|
7 |
Stable tag: trunk
|
@@ -199,6 +199,9 @@ It is highly recommended that you upgrade to WP Live Chat Support version 4.1.4
|
|
199 |
|
200 |
== Changelog ==
|
201 |
|
|
|
|
|
|
|
202 |
= 5.0.9 - 2015-10-09 - Low priority =
|
203 |
* New hook: wplc_hook_admin_menu_layout - Target the area above the normal menu layout
|
204 |
* Style bug fix with the "DATA" section of the live chat dashboard
|
1 |
=== WP Live Chat Support ===
|
2 |
Contributors: WP-LiveChat, NickDuncan, CodeCabin_, Jarryd Long
|
3 |
Donate link: http://www.wp-livechat.com
|
4 |
+
Tags: live chat, live support, chat plugin, live help, wordpress chat, customer support, chat, chat services, live chat plugin, live support plugin, live chat support plugin, wordpress live chat, wordpress live chat plugin, live chat software, live chat services, chat plugin, support plugin, support, chat software, chat online, visitor chat, chat, free chat, free live chat, customer support, online support, live help, live chat help, chat widget, live chat widget
|
5 |
Requires at least: 3.8
|
6 |
Tested up to: 4.3
|
7 |
Stable tag: trunk
|
199 |
|
200 |
== Changelog ==
|
201 |
|
202 |
+
= 5.0.10 - 2015-10-12 - Low priority =
|
203 |
+
* Changes to the live chat extensions page
|
204 |
+
|
205 |
= 5.0.9 - 2015-10-09 - Low priority =
|
206 |
* New hook: wplc_hook_admin_menu_layout - Target the area above the normal menu layout
|
207 |
* Style bug fix with the "DATA" section of the live chat dashboard
|
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: 5.0.
|
7 |
Author: WP-LiveChat
|
8 |
Author URI: http://www.wp-livechat.com
|
9 |
Text Domain: wplivechat
|
@@ -12,6 +12,9 @@
|
|
12 |
|
13 |
|
14 |
/*
|
|
|
|
|
|
|
15 |
* 5.0.9
|
16 |
* New hook: wplc_hook_admin_menu_layout - Target the area above the normal menu layout
|
17 |
* Style bug fix with the "DATA" section of the live chat dashboard
|
@@ -281,7 +284,7 @@ global $wplc_tblname_chats;
|
|
281 |
global $wplc_tblname_msgs;
|
282 |
$wplc_tblname_chats = $wpdb->prefix . "wplc_chat_sessions";
|
283 |
$wplc_tblname_msgs = $wpdb->prefix . "wplc_chat_msgs";
|
284 |
-
$wplc_version = "5.0.
|
285 |
|
286 |
define('WPLC_BASIC_PLUGIN_DIR', dirname(__FILE__));
|
287 |
define('WPLC_BASIC_PLUGIN_URL', plugins_url() . "/wp-live-chat-support/");
|
@@ -2633,40 +2636,83 @@ function wplc_extensions_menu() {
|
|
2633 |
</div>
|
2634 |
|
2635 |
|
2636 |
-
<?php } else {
|
2637 |
-
|
2638 |
-
|
2639 |
-
|
2640 |
-
|
2641 |
-
|
2642 |
-
|
2643 |
-
|
2644 |
-
|
2645 |
-
|
2646 |
-
|
2647 |
-
|
2648 |
-
|
2649 |
-
|
2650 |
-
|
2651 |
-
|
2652 |
-
|
2653 |
-
|
2654 |
-
|
2655 |
-
|
2656 |
-
|
2657 |
-
|
2658 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2659 |
|
2660 |
-
|
2661 |
-
<h3 class="wplc-extension-title"><?php _e("Sell your add-on","wplivechat"); ?></h3>
|
2662 |
-
<a href="http://wp-livechat.com/contact-us/?utm_source=plugin&utm_medium=link&utm_campaign=addonpage_sell" title="<?php _e("Sell your add-on","wplivechat"); ?>" target="_BLANK">
|
2663 |
-
<img width="320" height="200" src="<?php echo plugins_url('/images/add-on3.jpg', __FILE__); ?>" class="attachment-showcase wp-post-image" alt="<?php _e("Sell your add-on","wplivechat"); ?>" title="<?php _e("Sell your add-on","wplivechat"); ?>">
|
2664 |
-
</a>
|
2665 |
-
<p></p>
|
2666 |
-
<p><?php _e("Have a great idea for a chat add-on that you would like to develop and sell? Get in touch with us.","wplivechat"); ?></p>
|
2667 |
-
<p></p>
|
2668 |
-
<a href="http://wp-livechat.com/contact-us/?utm_source=plugin&utm_medium=link&utm_campaign=addonpage_sell" title="<?php _e("Sell your add-on","wplivechat"); ?>" class="button-secondary" target="_BLANK"><?php _e("Contact Us","wplivechat"); ?></a>
|
2669 |
-
</div>
|
2670 |
|
2671 |
<?php } ?>
|
2672 |
|
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: 5.0.10
|
7 |
Author: WP-LiveChat
|
8 |
Author URI: http://www.wp-livechat.com
|
9 |
Text Domain: wplivechat
|
12 |
|
13 |
|
14 |
/*
|
15 |
+
* 5.0.10 - 2015-10-12 - Low priority
|
16 |
+
* Updates to the extension page
|
17 |
+
*
|
18 |
* 5.0.9
|
19 |
* New hook: wplc_hook_admin_menu_layout - Target the area above the normal menu layout
|
20 |
* Style bug fix with the "DATA" section of the live chat dashboard
|
284 |
global $wplc_tblname_msgs;
|
285 |
$wplc_tblname_chats = $wpdb->prefix . "wplc_chat_sessions";
|
286 |
$wplc_tblname_msgs = $wpdb->prefix . "wplc_chat_msgs";
|
287 |
+
$wplc_version = "5.0.10";
|
288 |
|
289 |
define('WPLC_BASIC_PLUGIN_DIR', dirname(__FILE__));
|
290 |
define('WPLC_BASIC_PLUGIN_URL', plugins_url() . "/wp-live-chat-support/");
|
2636 |
</div>
|
2637 |
|
2638 |
|
2639 |
+
<?php } else {
|
2640 |
+
$filter1 = "all";
|
2641 |
+
$filter2 = "all";
|
2642 |
+
|
2643 |
+
if (isset($_GET['filter1'])) { $filter1 = $_GET['filter1']; }
|
2644 |
+
if (isset($_GET['filter2'])) { $filter2 = $_GET['filter2']; }
|
2645 |
+
|
2646 |
+
$style_strong = 'style="font-weight:bold;"';
|
2647 |
+
$style_normal = 'style="font-weight:normal;"';
|
2648 |
+
|
2649 |
+
$filter1_all_style = $style_normal;
|
2650 |
+
$filter1_free_style = $style_normal;
|
2651 |
+
$filter1_paid_style = $style_normal;
|
2652 |
+
$filter2_both_style = $style_normal;
|
2653 |
+
$filter2_free_style = $style_normal;
|
2654 |
+
$filter2_pro_style = $style_normal;
|
2655 |
+
|
2656 |
+
if ($filter1 == "all") { $filter1_all_style = $style_strong; }
|
2657 |
+
else if ($filter1 == "free") { $filter1_free_style = $style_strong; }
|
2658 |
+
else if ($filter1 == "paid") { $filter1_paid_style = $style_strong; }
|
2659 |
+
else { $filter1_all_style = $style_strong; }
|
2660 |
+
if ($filter2 == "all") { $filter2_both_style = $style_strong; }
|
2661 |
+
else if ($filter2 == "free") { $filter2_free_style = $style_strong; }
|
2662 |
+
else if ($filter2 == "pro") { $filter2_pro_style = $style_strong; }
|
2663 |
+
else { $filter2_both_style = $style_strong; }
|
2664 |
+
|
2665 |
+
|
2666 |
+
echo "<p><div style='display:block; overflow:auto; clear:both;'>";
|
2667 |
+
echo "<strong>".__("Price:","wplivechat")."</strong> ";
|
2668 |
+
echo "<a href='admin.php?page=wplivechat-menu-extensions-page&filter1=all&filter2=".$filter2."' $filter1_all_style>".__("All","wplivechat")."</a> |";
|
2669 |
+
echo "<a href='admin.php?page=wplivechat-menu-extensions-page&filter1=free&filter2=".$filter2."' $filter1_free_style>".__("Free","wplivechat")."</a> |";
|
2670 |
+
echo "<a href='admin.php?page=wplivechat-menu-extensions-page&filter1=paid&filter2=".$filter2."' $filter1_paid_style>".__("Paid","wplivechat")."</a>";
|
2671 |
+
echo "</div></p>";
|
2672 |
+
echo "<p><div style='display:block; overflow:auto; clear:both;'>";
|
2673 |
+
echo "<strong>".__("For:","wplivechat")."</strong> ";
|
2674 |
+
echo "<a href='admin.php?page=wplivechat-menu-extensions-page&filter2=all&filter1=".$filter1."' $filter2_both_style>".__("Both","wplivechat")."</a> |";
|
2675 |
+
echo "<a href='admin.php?page=wplivechat-menu-extensions-page&filter2=free&filter1=".$filter1."' $filter2_free_style>".__("Free version","wplivechat")."</a> |";
|
2676 |
+
echo "<a href='admin.php?page=wplivechat-menu-extensions-page&filter2=pro&filter1=".$filter1."' $filter2_pro_style>".__("Pro version","wplivechat")."</a>";
|
2677 |
+
echo "</div></p>";
|
2678 |
+
|
2679 |
+
|
2680 |
+
$response = wp_remote_post( "http://ccplugins.co/api-wplc-extensions", array(
|
2681 |
+
'method' => 'POST',
|
2682 |
+
'body' => array(
|
2683 |
+
'action' => 'extensions',
|
2684 |
+
'filter1' => $filter1,
|
2685 |
+
'filter2' => $filter2
|
2686 |
+
)
|
2687 |
+
)
|
2688 |
+
);
|
2689 |
+
$data = json_decode($response['body']);
|
2690 |
+
|
2691 |
+
if ($data) {
|
2692 |
+
$output = "";
|
2693 |
+
foreach ($data as $extension) {
|
2694 |
+
$output .= '<div class="wplc-extension">';
|
2695 |
+
$output .= '<h3 class="wplc-extension-title">'.$extension->title.'</h3>';
|
2696 |
+
$output .= '<a href="'.$extension->link.'" title="'.$extension->title.'" target="_BLANK">';
|
2697 |
+
$output .= '<img width="320" height="200" src="'.$extension->image.'" class="attachment-showcase wp-post-image" alt="'.$extension->title.'" title="'.$extension->title.'">';
|
2698 |
+
$output .= '</a>';
|
2699 |
+
$output .= '<p></p>';
|
2700 |
+
$output .= '<p><div class="wplc-extension-label-box">';
|
2701 |
+
$output .= '</div></p>';
|
2702 |
+
$output .= '<p>'.$extension->description.'</p>';
|
2703 |
+
if ($extension->slug != false && is_plugin_active($extension->slug."/".$extension->slug.".php")) {
|
2704 |
+
$button = '<a href="javascriot:void(0);" title="" disabled class="button-secondary">'.__("Already installed","wplivechat").'</a>';
|
2705 |
+
} else {
|
2706 |
+
$button = '<a href="'.$extension->link.'" title="'.$extension->title.'" class="button-secondary" target="_BLANK">'.$extension->button_text.'</a>';
|
2707 |
+
}
|
2708 |
+
$output .= $button;
|
2709 |
+
$output .= '</div>';
|
2710 |
+
}
|
2711 |
+
echo $output;
|
2712 |
+
}
|
2713 |
+
?>
|
2714 |
|
2715 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2716 |
|
2717 |
<?php } ?>
|
2718 |
|