EZP Maintenance Mode - Version 0.6.1

Version Description

  • A couple small bug fixes
Download this release

Release Info

Developer bobriley
Plugin Icon 128x128 EZP Maintenance Mode
Version 0.6.1
Comparing to
See all releases

Code changes from version 0.6.0 to 0.6.1

classes/class-easy-pie-mm-constants.php CHANGED
@@ -35,7 +35,7 @@ if (!class_exists('Easy_Pie_MM_Constants')) {
35
  const OPTION_NAME = 'easy-pie-mm-options';
36
  const MAIN_PAGE_KEY = 'easy-pie-mm-main-page';
37
  const PLUGIN_SLUG = 'easy-pie-maintenance-mode';
38
- const PLUGIN_VERSION = "0.6.0"; // RSR Version
39
 
40
  /* Pseudo constants */
41
 
35
  const OPTION_NAME = 'easy-pie-mm-options';
36
  const MAIN_PAGE_KEY = 'easy-pie-mm-main-page';
37
  const PLUGIN_SLUG = 'easy-pie-maintenance-mode';
38
+ const PLUGIN_VERSION = "0.6.1"; // RSR Version
39
 
40
  /* Pseudo constants */
41
 
classes/class-easy-pie-mm.php CHANGED
@@ -164,10 +164,13 @@ if (!class_exists('Easy_Pie_MM')) {
164
  public static function activate() {
165
 
166
  Easy_Pie_MM_Utility::debug("activate");
167
-
168
- $dirCreate = mkdir(Easy_Pie_MM_Utility::$MINI_THEMES_USER_DIRECTORY, 0755, true);
169
-
170
- Easy_Pie_MM_Utility::debug(Easy_Pie_MM_Utility::__("Tried to create ") . Easy_Pie_MM_Utility::$MINI_THEMES_USER_DIRECTORY . "=" . $dirCreate);
 
 
 
171
  }
172
 
173
  public static function deactivate() {
@@ -463,7 +466,7 @@ if (!class_exists('Easy_Pie_MM')) {
463
  }
464
  ?>
465
  <li>
466
- <img idx="<?php echo $displayIndex; ?>" src="<?php echo $slidePath ?>" title="<?php echo $caption_text; ?>" onclick="jQuery('#<?php echo $id; ?>').attr('value', '<?php echo $manifest->key; ?>');" />
467
  </li>
468
  <?php
469
  $displayIndex++;
@@ -498,7 +501,7 @@ if (!class_exists('Easy_Pie_MM')) {
498
  }
499
  ?>
500
  <li>
501
- <img idx="<?php echo $displayIndex; ?>" src="<?php echo $slidePath ?>" onclick="jQuery('#<?php echo $id; ?>').attr('value', '<?php echo $manifest->key; ?>');" />
502
  </li>
503
  <?php
504
  $displayIndex++;
164
  public static function activate() {
165
 
166
  Easy_Pie_MM_Utility::debug("activate");
167
+
168
+ if(file_exists(Easy_Pie_MM_Utility::$MINI_THEMES_USER_DIRECTORY) == FALSE) {
169
+
170
+ $dirCreate = mkdir(Easy_Pie_MM_Utility::$MINI_THEMES_USER_DIRECTORY, 0755, true);
171
+
172
+ Easy_Pie_MM_Utility::debug(Easy_Pie_MM_Utility::__("Tried to create ") . Easy_Pie_MM_Utility::$MINI_THEMES_USER_DIRECTORY . "=" . $dirCreate);
173
+ }
174
  }
175
 
176
  public static function deactivate() {
466
  }
467
  ?>
468
  <li>
469
+ <img style="display:none" idx="<?php echo $displayIndex; ?>" src="<?php echo $slidePath ?>" title="<?php echo $caption_text; ?>" onclick="jQuery('#<?php echo $id; ?>').attr('value', '<?php echo $manifest->key; ?>');" />
470
  </li>
471
  <?php
472
  $displayIndex++;
501
  }
502
  ?>
503
  <li>
504
+ <img style="display:none" idx="<?php echo $displayIndex; ?>" src="<?php echo $slidePath ?>" onclick="jQuery('#<?php echo $id; ?>').attr('value', '<?php echo $manifest->key; ?>');" />
505
  </li>
506
  <?php
507
  $displayIndex++;
easy-pie-maintenance-mode.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Easy Pie Maintenance Mode
4
  Plugin URI: http://easypiewp.com/easy-pie-maintenance-mode-faq/
5
  Description: Lets people know that your site is temporarily down.
6
- Version: 0.6.0
7
  Author: Bob Riley
8
  Author URI: http://www.easypiewp.com
9
  Text Domain: easy-pie-maintenance-mode
3
  Plugin Name: Easy Pie Maintenance Mode
4
  Plugin URI: http://easypiewp.com/easy-pie-maintenance-mode-faq/
5
  Description: Lets people know that your site is temporarily down.
6
+ Version: 0.6.1
7
  Author: Bob Riley
8
  Author URI: http://www.easypiewp.com
9
  Text Domain: easy-pie-maintenance-mode
js/functions.js CHANGED
@@ -67,11 +67,12 @@ easyPie.MM.getCookie = function(c_name)
67
 
68
 
69
  jQuery(document).ready(function($) {
70
- var displayIndex = $("#easy-pie-mm-theme").attr("displayIndex");
71
-
72
 
 
 
73
  var easyPieMMScrubSlides = function() {
74
-
75
  var displayIndex = $("#easy-pie-mm-theme").attr("displayIndex");
76
 
77
  // $("#easy-pie-mm-bxslider-pager img").css("border-right", "1px solid #CCC").css("border-left", "1px solid #CCC").css("margin-top", "-10px").css("margin-left", "-2px");
@@ -119,6 +120,8 @@ jQuery(document).ready(function($) {
119
  onSlideNext: easyPieMMScrubSlides,
120
  onSlidePrev: easyPieMMScrubSlides
121
  });
 
 
122
 
123
  easyPieMMScrubSlides();
124
 
67
 
68
 
69
  jQuery(document).ready(function($) {
70
+ $(".form-table img").css({"display":"block"});
 
71
 
72
+ var displayIndex = $("#easy-pie-mm-theme").attr("displayIndex");
73
+
74
  var easyPieMMScrubSlides = function() {
75
+
76
  var displayIndex = $("#easy-pie-mm-theme").attr("displayIndex");
77
 
78
  // $("#easy-pie-mm-bxslider-pager img").css("border-right", "1px solid #CCC").css("border-left", "1px solid #CCC").css("margin-top", "-10px").css("margin-left", "-2px");
120
  onSlideNext: easyPieMMScrubSlides,
121
  onSlidePrev: easyPieMMScrubSlides
122
  });
123
+
124
+
125
 
126
  easyPieMMScrubSlides();
127
 
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://easypiewp.com/donate/
4
  Tags: maintenance, admin, administration, construction, under construction, maintenance mode, offline, unavailable, launch
5
  Requires at least: 3.5
6
  Tested up to: 3.7.1
7
- Stable tag: 0.6.0
8
  License: GPLv3
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
@@ -38,18 +38,24 @@ Thanks to the developers of [bxSlider](http://bxslider.com) for their cool image
38
 
39
  == Frequently Asked Questions ==
40
 
41
- = Why is my site is still viewable even though I've turned on maintenance mode? =
 
 
 
 
42
  Maintenance mode is only shown to visitors who are not logged in. The easiest way to check things yourself is view your site with a different browser type than the one you're logged in with (i.e. if you're logged in with Chrome, view the site in Firefox or Internet Explorer or vice versa).
43
 
44
- Alternatively, you can log our or view the site in incognito/private mode with an instance of the same browser type.
45
 
46
- = What happens if a search engine hits my site while it's in maintenance mode? =
47
 
48
- The plugin returns a '503' status with 'retry later' HTTP header when in maintenance mode. This lets search engines know that your site is temporarily down and to come back 24 hours later.
49
 
50
- = How can I create a new mini-theme? =
51
 
52
- The page ['How to create a Maintenance Mode Theme'](http://easypiewp.com/how-to-create-maintenance-mode-theme) describes the process.
 
 
53
 
54
  = I can't get out of maintenance mode. Help! =
55
 
@@ -63,7 +69,7 @@ Afterward either uninstall or reconfigure the conflicting plugins.
63
 
64
  If you aren't comfortable doing this or are unsure how to do this, [please contact me](mailto:bob@easypiewp.com) and I'll be happy to walk you through the process.
65
 
66
- = I found a bug or have seen other plugins interfere with Maintenance Mode. What should I do? =
67
 
68
  Please capture as much information you can about your system, specifically use the error log to gather new information if you are comfortable. The [Easy Pie Error Log Guide](http://easypiewp.com/quickly-diagnose-wordpress-problems-using-error-log/) outlines how to do this.
69
  Then, please [let me know](mailto:bob@easypiewp.com) what's going on, with as much detail as you have.
@@ -75,6 +81,9 @@ Then, please [let me know](mailto:bob@easypiewp.com) what's going on, with as mu
75
 
76
  == Changelog ==
77
 
 
 
 
78
  = 0.6.0 =
79
  * Added ability to create custom mini themes
80
  * Added ability to add custom styling to existing mini themes
@@ -91,6 +100,9 @@ Then, please [let me know](mailto:bob@easypiewp.com) what's going on, with as mu
91
 
92
  == Upgrade Notice ==
93
 
 
 
 
94
  = 0.6.0 =
95
  * This version adds custom themes, custom CSS, a notification that your site is in maintenance mode, PHP 5.2 compatibility and small bug fixes. Note: If you have hacked an existing theme please back it up before update because the v0.5 plugin directory is completely wiped on update.
96
 
4
  Tags: maintenance, admin, administration, construction, under construction, maintenance mode, offline, unavailable, launch
5
  Requires at least: 3.5
6
  Tested up to: 3.7.1
7
+ Stable tag: 0.6.1
8
  License: GPLv3
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
38
 
39
  == Frequently Asked Questions ==
40
 
41
+ = How can I create a new mini-theme? =
42
+
43
+ The page ['How to create a Maintenance Mode Theme'](http://easypiewp.com/how-to-create-maintenance-mode-theme) describes the process.
44
+
45
+ = Why is my site is still viewable? =
46
  Maintenance mode is only shown to visitors who are not logged in. The easiest way to check things yourself is view your site with a different browser type than the one you're logged in with (i.e. if you're logged in with Chrome, view the site in Firefox or Internet Explorer or vice versa).
47
 
48
+ Alternatively, you can log out or view the site in incognito/private mode with an instance of the same browser type.
49
 
50
+ = My custom theme changed after plugin upgrade!? =
51
 
52
+ Make sure your theme is in the user theme directory and not in the plugins directory where the built-in themes are. Maintenance Mode pulls themes from both the plugins directory AND the user theme directory, however only the user theme directory is preserved between updates.
53
 
54
+ Therefore, if you want to doctor a theme you'll need to first copy it from the plugins directory into the user theme directory, as explained in ['How to create a Maintenance Mode Theme'](http://easypiewp.com/how-to-create-maintenance-mode-theme).
55
 
56
+ = What happens if a search engine hits my site while it's in maintenance mode? =
57
+
58
+ The plugin returns a '503' status with 'retry later' HTTP header when in maintenance mode. This lets search engines know that your site is temporarily down and to come back 24 hours later.
59
 
60
  = I can't get out of maintenance mode. Help! =
61
 
69
 
70
  If you aren't comfortable doing this or are unsure how to do this, [please contact me](mailto:bob@easypiewp.com) and I'll be happy to walk you through the process.
71
 
72
+ = How do I report a bug? =
73
 
74
  Please capture as much information you can about your system, specifically use the error log to gather new information if you are comfortable. The [Easy Pie Error Log Guide](http://easypiewp.com/quickly-diagnose-wordpress-problems-using-error-log/) outlines how to do this.
75
  Then, please [let me know](mailto:bob@easypiewp.com) what's going on, with as much detail as you have.
81
 
82
  == Changelog ==
83
 
84
+ = 0.6.1 =
85
+ * A couple small bug fixes
86
+
87
  = 0.6.0 =
88
  * Added ability to create custom mini themes
89
  * Added ability to add custom styling to existing mini themes
100
 
101
  == Upgrade Notice ==
102
 
103
+ = 0.6.1 =
104
+ * Made screen draw smoother, small bug fixes
105
+
106
  = 0.6.0 =
107
  * This version adds custom themes, custom CSS, a notification that your site is in maintenance mode, PHP 5.2 compatibility and small bug fixes. Note: If you have hacked an existing theme please back it up before update because the v0.5 plugin directory is completely wiped on update.
108