WP-Matomo (WP-Piwik) - Version 0.9.5

Version Description

Messed up stats page (WordPress 3.4) fixed

=

Download this release

Release Info

Developer Braekling
Plugin Icon 128x128 WP-Matomo (WP-Piwik)
Version 0.9.5
Comparing to
See all releases

Code changes from version 0.9.4 to 0.9.5

Files changed (3) hide show
  1. css/wp-piwik.css +5 -1
  2. readme.txt +12 -4
  3. wp-piwik.php +6 -6
css/wp-piwik.css CHANGED
@@ -115,4 +115,8 @@ strong.wp-piwik-error {color:#f00}
115
  .wp-list-table .column-siteurl {width:30%}
116
  .wp-list-table .column-piwikid {width:20%}
117
 
118
- .wp-piwik_dynbar canvas {padding-top:5px !important}
 
 
 
 
115
  .wp-list-table .column-siteurl {width:30%}
116
  .wp-list-table .column-piwikid {width:20%}
117
 
118
+ .wp-piwik_dynbar canvas {padding-top:5px !important}
119
+
120
+ .wp-piwik-wide-content {
121
+ width:512px !important;
122
+ }
readme.txt CHANGED
@@ -2,8 +2,8 @@
2
 
3
  Contributors: Braekling
4
  Requires at least: 3.3
5
- Tested up to: 3.3.2
6
- Stable tag: 0.9.4
7
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=6046779
8
  Tags: statistics, stats, analytics, piwik, wpmu
9
 
@@ -73,11 +73,11 @@ There are two differents methods to use WP-Piwik in a multisite environment:
73
  * As a Site Specific Plugin it behaves like a plugin installed on a simple WordPress blog. Each user can enable, configure and use WP-Piwik on his own. Users can even use their own Piwik instances (and accordingly they have to).
74
  * Using WP-Piwik as a Network Plugin equates to a central approach. A single Piwik instance is used and the site admin configures the plugin completely. Users are just allowed to see their own statistics, site admins can see each blog's stats.
75
 
76
- ** Site Specific Plugin **
77
 
78
  Just add WP-Piwik to your /wp-content/plugins folder and enable the Plugins page for individual site administrators. Each user has to enable and configure WP-Piwik on his own if he want to use the plugin.
79
 
80
- ** Network Plugin **
81
 
82
  The Network Plugin support is still experimental. Please test it on your own (e.g. using a local copy of your WP multisite) before you use it in an user context.
83
 
@@ -90,8 +90,16 @@ Add WP-Piwik to your /wp-content/plugins folder and enable it as [Network Plugin
90
  3. Closer look to a pie chart.
91
  4. WordPress toolbar graph.
92
 
 
 
 
 
 
93
  == Changelog ==
94
 
 
 
 
95
  = 0.9.4 =
96
  * Requires at least Piwik 1.8.2!
97
  * Choose between HTTP API or PHP API
2
 
3
  Contributors: Braekling
4
  Requires at least: 3.3
5
+ Tested up to: 3.4
6
+ Stable tag: 0.9.5
7
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=6046779
8
  Tags: statistics, stats, analytics, piwik, wpmu
9
 
73
  * As a Site Specific Plugin it behaves like a plugin installed on a simple WordPress blog. Each user can enable, configure and use WP-Piwik on his own. Users can even use their own Piwik instances (and accordingly they have to).
74
  * Using WP-Piwik as a Network Plugin equates to a central approach. A single Piwik instance is used and the site admin configures the plugin completely. Users are just allowed to see their own statistics, site admins can see each blog's stats.
75
 
76
+ *Site Specific Plugin*
77
 
78
  Just add WP-Piwik to your /wp-content/plugins folder and enable the Plugins page for individual site administrators. Each user has to enable and configure WP-Piwik on his own if he want to use the plugin.
79
 
80
+ *Network Plugin*
81
 
82
  The Network Plugin support is still experimental. Please test it on your own (e.g. using a local copy of your WP multisite) before you use it in an user context.
83
 
90
  3. Closer look to a pie chart.
91
  4. WordPress toolbar graph.
92
 
93
+ == Upgrade Notice ==
94
+
95
+ = 0.9.5 =
96
+ Messed up stats page (WordPress 3.4) fixed
97
+
98
  == Changelog ==
99
 
100
+ = 0.9.5 =
101
+ * WordPress 3.4 compatible (workaround)
102
+
103
  = 0.9.4 =
104
  * Requires at least Piwik 1.8.2!
105
  * Choose between HTTP API or PHP API
wp-piwik.php CHANGED
@@ -6,7 +6,7 @@ Plugin URI: http://wordpress.org/extend/plugins/wp-piwik/
6
 
7
  Description: Adds Piwik stats to your dashboard menu and Piwik code to your wordpress footer.
8
 
9
- Version: 0.9.4
10
  Author: André Bräkling
11
  Author URI: http://www.braekling.de
12
 
@@ -60,13 +60,13 @@ if (!function_exists('is_plugin_active_for_network'))
60
  class wp_piwik {
61
 
62
  private static
63
- $intRevisionId = 90405,
64
- $strVersion = '0.9.4',
65
  $intDashboardID = 30,
66
  $strPluginBasename = NULL,
67
  $bolJustActivated = false,
68
  $aryGlobalSettings = array(
69
- 'revision' => 90405,
70
  'add_tracking_code' => false,
71
  'last_settings_update' => 0,
72
  'piwik_token' => '',
@@ -558,7 +558,7 @@ class wp_piwik {
558
  */
559
  function addAdminStyle() {
560
  // Load WP-Piwik styles
561
- wp_enqueue_style('wp-piwik', $this->getPluginURL().'css/wp-piwik.css');
562
  }
563
 
564
  /**
@@ -902,7 +902,7 @@ class wp_piwik {
902
  <?php do_meta_boxes($this->intStatsPage, 'side', ''); ?>
903
  </div>
904
  <div id="post-body" class="has-sidebar">
905
- <div id="post-body-content" class="postbox-container has-sidebar-content">
906
  <?php $meta_boxes = do_meta_boxes($this->intStatsPage, 'normal', ''); ?>
907
  </div>
908
  </div>
6
 
7
  Description: Adds Piwik stats to your dashboard menu and Piwik code to your wordpress footer.
8
 
9
+ Version: 0.9.5
10
  Author: Andr&eacute; Br&auml;kling
11
  Author URI: http://www.braekling.de
12
 
60
  class wp_piwik {
61
 
62
  private static
63
+ $intRevisionId = 90500,
64
+ $strVersion = '0.9.5',
65
  $intDashboardID = 30,
66
  $strPluginBasename = NULL,
67
  $bolJustActivated = false,
68
  $aryGlobalSettings = array(
69
+ 'revision' => 90500,
70
  'add_tracking_code' => false,
71
  'last_settings_update' => 0,
72
  'piwik_token' => '',
558
  */
559
  function addAdminStyle() {
560
  // Load WP-Piwik styles
561
+ wp_enqueue_style('wp-piwik', $this->getPluginURL().'css/wp-piwik.css',array(),self::$strVersion);
562
  }
563
 
564
  /**
902
  <?php do_meta_boxes($this->intStatsPage, 'side', ''); ?>
903
  </div>
904
  <div id="post-body" class="has-sidebar">
905
+ <div id="post-body-content" class="postbox-container has-sidebar-content wp-piwik-wide-content">
906
  <?php $meta_boxes = do_meta_boxes($this->intStatsPage, 'normal', ''); ?>
907
  </div>
908
  </div>