Zendesk Chat - Version 1.3.4

Version Description

  • Fix menu icon image
Download this release

Release Info

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

Code changes from version 1.3.3 to 1.3.4

Files changed (4) hide show
  1. accountconfig.php +1 -1
  2. readme.txt +5 -2
  3. screenshot-1.png +0 -0
  4. zopim.php +5 -6
accountconfig.php CHANGED
@@ -116,7 +116,7 @@ function zopim_account_config() {
116
  <br/>
117
  <div style="background:#FFFEEB;padding:25px;border:1px solid #eee;">
118
  <span style="float:right;"><a href="admin.php?page=zopim_account_config&action=deactivate">Deactivate</a></span>
119
- 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>
120
  <!--<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.-->
121
  <br><br>To start using Zopim chat, launch our dashboard for access to all features, including widget customization!
122
  <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)
116
  <br/>
117
  <div style="background:#FFFEEB;padding:25px;border:1px solid #eee;">
118
  <span style="float:right;"><a href="admin.php?page=zopim_account_config&action=deactivate">Deactivate</a></span>
119
+ Currently Activated Account &rarr; <b><?php echo get_option('zopimUsername'); ?></b> <div style="display:inline-block;margin-left:5px;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>
120
  <!--<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.-->
121
  <br><br>To start using Zopim chat, launch our dashboard for access to all features, including widget customization!
122
  <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)
readme.txt CHANGED
@@ -2,8 +2,8 @@
2
  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.3
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,9 @@ 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.3 =
52
  * Fix bug where account deactivates linking but widget still shows up
53
 
2
  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: 4.0.0
6
+ Stable tag: 1.3.4
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.4 =
52
+ * Fix menu icon image
53
+
54
  = 1.3.3 =
55
  * Fix bug where account deactivates linking but widget still shows up
56
 
screenshot-1.png CHANGED
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.3
9
  Author URI: http://www.zopim.com/?iref=wp_plugin
10
  */
11
 
@@ -18,7 +18,7 @@ define('ZOPIM_SETEDITOR_URL', ZOPIM_BASE_URL."plugins/setEditor");
18
  define('ZOPIM_LOGIN_URL', ZOPIM_BASE_URL."plugins/login");
19
  define('ZOPIM_SIGNUP_URL', ZOPIM_BASE_URL."plugins/createTrialAccount");
20
  define('ZOPIM_DASHBOARD_LINK', "https://dashboard.zopim.com/?utm_source=wp&utm_medium=link&utm_campaign=wp%2Bdashboard");
21
- define('ZOPIM_SMALL_LOGO', "http://zopim.com/assets/branding/zopim.com/chatman/online.png");
22
 
23
  require_once dirname( __FILE__ ) . '/accountconfig.php';
24
 
@@ -41,14 +41,13 @@ function zopimme() {
41
  global $current_user, $zopimshown;
42
  get_currentuserinfo();
43
 
44
- $code = get_option('zopimCode');
45
-
46
- if ( ( $code == "" || $code == "zopim" ) || ( isset( $_GET['page'] ) && ! preg_match( "/zopim/", $_GET['page'] ) ) && ( isset( $_GET['page'] ) && ! preg_match( "/zopim/", $_SERVER["SERVER_NAME"] ) ) ) { return; }
47
 
48
  // dont show this more than once
49
  if (isset($zopimshown) && $zopimshown == 1) { return; }
50
  $zopimshown = 1;
51
-
52
  echo "<!--Start of Zopim Live Chat Script-->
53
  <script type=\"text/javascript\">
54
  window.\$zopim||(function(d,s){var z=\$zopim=function(c){z._.push(c)},$=z.s=
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.4
9
  Author URI: http://www.zopim.com/?iref=wp_plugin
10
  */
11
 
18
  define('ZOPIM_LOGIN_URL', ZOPIM_BASE_URL."plugins/login");
19
  define('ZOPIM_SIGNUP_URL', ZOPIM_BASE_URL."plugins/createTrialAccount");
20
  define('ZOPIM_DASHBOARD_LINK', "https://dashboard.zopim.com/?utm_source=wp&utm_medium=link&utm_campaign=wp%2Bdashboard");
21
+ define('ZOPIM_SMALL_LOGO', "https://dashboard.zopim.com/assets/branding/zopim.com/chatman/online.png");
22
 
23
  require_once dirname( __FILE__ ) . '/accountconfig.php';
24
 
41
  global $current_user, $zopimshown;
42
  get_currentuserinfo();
43
 
44
+ $code = get_option('zopimCode');
45
+
46
+ if ( ( $code == "" || $code == "zopim" ) && ( !preg_match( "/zopim/", $_GET['page'] ) ) && ( !preg_match( "/zopim/", $_SERVER["SERVER_NAME"] ) ) ) { return; }
47
 
48
  // dont show this more than once
49
  if (isset($zopimshown) && $zopimshown == 1) { return; }
50
  $zopimshown = 1;
 
51
  echo "<!--Start of Zopim Live Chat Script-->
52
  <script type=\"text/javascript\">
53
  window.\$zopim||(function(d,s){var z=\$zopim=function(c){z._.push(c)},$=z.s=