Zendesk Chat - Version 1.3.6

Version Description

  • Fix 'Cannot modify header information' PHP error by registering and enequeing script
  • Include js file
Download this release

Release Info

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

Code changes from version 1.3.5 to 1.3.6

Files changed (4) hide show
  1. accountconfig.php +0 -8
  2. readme.txt +5 -1
  3. zopim.js +3 -0
  4. zopim.php +4 -2
accountconfig.php CHANGED
@@ -1,18 +1,10 @@
1
- <script type="text/javascript">
2
- function animateButton() {
3
- document.getElementById("linkup").className += " animate";
4
- }
5
- </script>
6
-
7
  <?php
8
  // Settings page in the admin panel
9
  function zopim_account_config() {
10
  global $usernameToCodeURL, $languagesURL, $current_user;
11
 
12
  ?>
13
-
14
  <div class="wrap">
15
-
16
  <?php
17
  if (isset($_GET["action"]) && $_GET["action"]=="deactivate") {
18
  update_option('zopimSalt', "");
 
 
 
 
 
 
1
  <?php
2
  // Settings page in the admin panel
3
  function zopim_account_config() {
4
  global $usernameToCodeURL, $languagesURL, $current_user;
5
 
6
  ?>
 
7
  <div class="wrap">
 
8
  <?php
9
  if (isset($_GET["action"]) && $_GET["action"]=="deactivate") {
10
  update_option('zopimSalt', "");
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: 4.1.1
6
- Stable tag: 1.3.5
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.5 =
52
  * Update supported version to 4.1.1
53
  * Include Plugin's version number to footer (if Account is linked up)
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.1.1
6
+ Stable tag: 1.3.6
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.6 =
52
+ * Fix 'Cannot modify header information' PHP error by registering and enequeing script
53
+ * Include js file
54
+
55
  = 1.3.5 =
56
  * Update supported version to 4.1.1
57
  * Include Plugin's version number to footer (if Account is linked up)
zopim.js ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ function animateButton() {
2
+ document.getElementById("linkup").className += " animate";
3
+ }
zopim.php CHANGED
@@ -5,11 +5,11 @@ 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.5
9
  Author URI: http://www.zopim.com/?iref=wp_plugin
10
  */
11
 
12
- define('VERSION_NUMBER', "1.3.5");
13
  define('ZOPIM_BASE_URL', "https://www.zopim.com/");
14
  define('ZOPIM_ACCOUNT_URL', "https://account.zopim.com/");
15
  define('ZOPIM_SIGNUP_REDIRECT_URL', ZOPIM_ACCOUNT_URL."?aref=MjUxMjY4:1TeORR:9SP1e-iPTuAVXROJA6UU5seC8x4&visit_id=6ffe00ec3cfc11e2b5ab22000a1db8fa&utm_source=account%2Bsetup%2Bpage&utm_medium=link&utm_campaign=wp%2Bsignup2#signup");
@@ -27,6 +27,8 @@ require_once dirname( __FILE__ ) . '/accountconfig.php';
27
  function load_zopim_style() {
28
  wp_register_style('zopim_style', plugins_url('zopim.css', __FILE__));
29
  wp_enqueue_style('zopim_style');
 
 
30
  }
31
 
32
  function add_zopim_caps() {
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.6
9
  Author URI: http://www.zopim.com/?iref=wp_plugin
10
  */
11
 
12
+ define('VERSION_NUMBER', "1.3.6");
13
  define('ZOPIM_BASE_URL', "https://www.zopim.com/");
14
  define('ZOPIM_ACCOUNT_URL', "https://account.zopim.com/");
15
  define('ZOPIM_SIGNUP_REDIRECT_URL', ZOPIM_ACCOUNT_URL."?aref=MjUxMjY4:1TeORR:9SP1e-iPTuAVXROJA6UU5seC8x4&visit_id=6ffe00ec3cfc11e2b5ab22000a1db8fa&utm_source=account%2Bsetup%2Bpage&utm_medium=link&utm_campaign=wp%2Bsignup2#signup");
27
  function load_zopim_style() {
28
  wp_register_style('zopim_style', plugins_url('zopim.css', __FILE__));
29
  wp_enqueue_style('zopim_style');
30
+ wp_register_script( 'zopim_js', plugins_url( 'zopim.js', __FILE__ ) );
31
+ wp_enqueue_script('zopim_js');
32
  }
33
 
34
  function add_zopim_caps() {