Zendesk Chat - Version 1.3.1

Version Description

  • Added admin_print_styles to custom css
  • Changed button css name to a non-generic name
Download this release

Release Info

Developer bencxr
Plugin Icon 128x128 Zendesk Chat
Version 1.3.1
Comparing to
See all releases

Code changes from version 1.3.0 to 1.3.1

Files changed (4) hide show
  1. accountconfig.php +6 -4
  2. readme.txt +6 -2
  3. screenshot-5.png +0 -0
  4. zopim.php +1 -1
accountconfig.php CHANGED
@@ -1,10 +1,11 @@
 
1
  <style type="text/css">
2
- .btn_orange {
3
  display: inline-block;
4
  width: 150px;
5
  padding: 10px 0px;
6
  background: #F38313;
7
- color: #fff !important;
8
  border-radius: 5px;
9
  font-weight: 700;
10
  font-style: normal;
@@ -14,9 +15,10 @@
14
  text-decoration: none;
15
  text-align: center;
16
  border: 1px solid #E37A13;
17
- box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.2);
18
  }
19
  </style>
 
20
  <?php
21
  // Settings page in the admin panel
22
  function zopim_account_config() {
@@ -138,7 +140,7 @@ function zopim_account_config() {
138
  Currently Activated Account &rarr; <b><?php echo get_option('zopimUsername'); ?></b> <div style="display:inline-block;background:#444;color:#fff;font-size:10px;text-transform:uppercase;padding:3px 8px;-moz-border-radius:5px;-webkit-border-radius:5px;"><?php echo ucwords($accountDetails->package_id); ?></div>
139
  <!--<br><p><br>You can <a href="admin.php?page=zopim_customize_widget">customize</a> the chat widget, or <a href="admin.php?page=zopim_dashboard">launch the dashboard</a> for advanced features.-->
140
  <br><br>To start using Zopim chat, launch our dashboard for access to all features, including widget customization!
141
- <br><br><a href="<?php echo ZOPIM_DASHBOARD_LINK."&username=".get_option('zopimUsername'); ?>" style="text-decoration:none;" target="_blank" data-popup="true"><div class="btn_orange">Launch Dashboard</div></a>&nbsp;&nbsp;(This will open up a new browser tab)
142
 
143
 
144
  <form method="post" action="admin.php?page=zopim_account_config">
1
+ <?php add_action('admin_print_styles', function() { ?>
2
  <style type="text/css">
3
+ .zopim_btn_orange {
4
  display: inline-block;
5
  width: 150px;
6
  padding: 10px 0px;
7
  background: #F38313;
8
+ color: #fff;
9
  border-radius: 5px;
10
  font-weight: 700;
11
  font-style: normal;
15
  text-decoration: none;
16
  text-align: center;
17
  border: 1px solid #E37A13;
18
+ box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.2);
19
  }
20
  </style>
21
+ <?php }); ?>
22
  <?php
23
  // Settings page in the admin panel
24
  function zopim_account_config() {
140
  Currently Activated Account &rarr; <b><?php echo get_option('zopimUsername'); ?></b> <div style="display:inline-block;background:#444;color:#fff;font-size:10px;text-transform:uppercase;padding:3px 8px;-moz-border-radius:5px;-webkit-border-radius:5px;"><?php echo ucwords($accountDetails->package_id); ?></div>
141
  <!--<br><p><br>You can <a href="admin.php?page=zopim_customize_widget">customize</a> the chat widget, or <a href="admin.php?page=zopim_dashboard">launch the dashboard</a> for advanced features.-->
142
  <br><br>To start using Zopim chat, launch our dashboard for access to all features, including widget customization!
143
+ <br><br><a href="<?php echo ZOPIM_DASHBOARD_LINK."&username=".get_option('zopimUsername'); ?>" style="text-decoration:none;" target="_blank" data-popup="true"><div class="zopim_btn_orange">Launch Dashboard</div></a>&nbsp;&nbsp;(This will open up a new browser tab)
144
 
145
 
146
  <form method="post" action="admin.php?page=zopim_account_config">
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: bencxr
3
  Tags: chat, chat online, contact plugin, contact us, 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, Zopim, zendesk, Zopim live chat, banckle, clickdesk, click desk
4
  Requires at least: 3.1
5
  Tested up to: 3.8.1
6
- Stable tag: 1.3.0
7
 
8
  Zopim lets you monitor and chat with visitors surfing your store in real-time. Impress them personally and ease them into their purchase.
9
 
@@ -48,6 +48,10 @@ What are you waiting for? Download Zopim Live Chat plugin now and <a href="https
48
  * Arabic | Bulgarian | Chinese | Croatian | Czech | Danish | Dutch; Flemish | Estonian | Faroese | Finnish | French | Georgian | German | Greek | Hebrew | Hungarian | Icelandic | Indonesian | Italian | Japanese | Korean | Kurdish | Latvian | Lithuanian | Macedonian | Malay | Norwegian Bokmal | Persian | Polish | Portuguese | Romanian | Russian | Serbian | Slovak | Slovenian | Spanish; Castilian | Swedish | Thai | Turkish | Ukranian | Urdu | Vietnamese
49
 
50
  == Changelog ==
 
 
 
 
51
  = 1.3.0 =
52
  * Removed iframe Capability from plugin
53
  * Removed Account Configuration, Customize and Dashboard sub-menu pages
@@ -209,7 +213,7 @@ The plugin comes with a free plan specially tailored for Wordpress users. Power
209
 
210
  = How can I chat with more visitors at the same time? =
211
 
212
- You can easily do so by upgrade to a better plan. To find out more about the plans and features we offer, please visit https://www.zopim.com/pricing
213
 
214
  = Its just not working for me! HELP! =
215
 
3
  Tags: chat, chat online, contact plugin, contact us, 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, Zopim, zendesk, Zopim live chat, banckle, clickdesk, click desk
4
  Requires at least: 3.1
5
  Tested up to: 3.8.1
6
+ Stable tag: 1.3.1
7
 
8
  Zopim lets you monitor and chat with visitors surfing your store in real-time. Impress them personally and ease them into their purchase.
9
 
48
  * Arabic | Bulgarian | Chinese | Croatian | Czech | Danish | Dutch; Flemish | Estonian | Faroese | Finnish | French | Georgian | German | Greek | Hebrew | Hungarian | Icelandic | Indonesian | Italian | Japanese | Korean | Kurdish | Latvian | Lithuanian | Macedonian | Malay | Norwegian Bokmal | Persian | Polish | Portuguese | Romanian | Russian | Serbian | Slovak | Slovenian | Spanish; Castilian | Swedish | Thai | Turkish | Ukranian | Urdu | Vietnamese
49
 
50
  == Changelog ==
51
+ = 1.3.1 =
52
+ * Added admin_print_styles to custom css
53
+ * Changed button css name to a non-generic name
54
+
55
  = 1.3.0 =
56
  * Removed iframe Capability from plugin
57
  * Removed Account Configuration, Customize and Dashboard sub-menu pages
213
 
214
  = How can I chat with more visitors at the same time? =
215
 
216
+ You can easily do so by upgrading to a better plan. To find out more about the plans and features we offer, please visit https://www.zopim.com/pricing
217
 
218
  = Its just not working for me! HELP! =
219
 
screenshot-5.png ADDED
Binary file
zopim.php CHANGED
@@ -5,7 +5,7 @@ Plugin Name: Zopim Widget
5
  Plugin URI: http://www.zopim.com/?iref=wp_plugin
6
  Description: Zopim is an award winning chat solution that helps website owners to engage their visitors and convert customers into fans!
7
  Author: Zopim
8
- Version: 1.3.0
9
  Author URI: http://www.zopim.com/?iref=wp_plugin
10
  */
11
 
5
  Plugin URI: http://www.zopim.com/?iref=wp_plugin
6
  Description: Zopim is an award winning chat solution that helps website owners to engage their visitors and convert customers into fans!
7
  Author: Zopim
8
+ Version: 1.3.1
9
  Author URI: http://www.zopim.com/?iref=wp_plugin
10
  */
11