reGenerate Thumbnails Advanced - Version 0.8.2.2

Version Description

No issuse with this version that require attention. Small update change. It's basically a feature, so unless you want it, the older version works great.

Download this release

Release Info

Developer turcuciprian
Plugin Icon 128x128 reGenerate Thumbnails Advanced
Version 0.8.2.2
Comparing to
See all releases

Code changes from version 0.8.2.1 to 0.8.2.2

readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_i
4
  Tags: regenerate, thumbnails, advanced, easy, day, weeek, month
5
  Requires at least: 4.0
6
  Tested up to: 4.2.4
7
- Stable tag: 0.8.2.1
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -47,6 +47,7 @@ The script stops, it does not run in the background
47
 
48
  1. The plugin page where it all happens
49
  2. View of the dropdown options
 
50
 
51
  == Changelog ==
52
 
@@ -70,6 +71,9 @@ The script stops, it does not run in the background
70
  *Images processed gets updated on regenerate request (it was frozen before if no images where available to be processed)
71
  *Added a extra image
72
 
 
 
 
73
  == Upgrade Notice ==
74
 
75
  = 0.7 =
@@ -85,5 +89,7 @@ This is a very minor change . Practically fixing the previous change incomplete
85
  No issuse with this version that require attention
86
 
87
  = 0.8.2.1 =
 
88
 
89
- No issuse with this version that require attention. Small update change
 
4
  Tags: regenerate, thumbnails, advanced, easy, day, weeek, month
5
  Requires at least: 4.0
6
  Tested up to: 4.2.4
7
+ Stable tag: 0.8.2.2
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
47
 
48
  1. The plugin page where it all happens
49
  2. View of the dropdown options
50
+ 3. Where you find everything
51
 
52
  == Changelog ==
53
 
71
  *Images processed gets updated on regenerate request (it was frozen before if no images where available to be processed)
72
  *Added a extra image
73
 
74
+ = 0.8.2.1 =
75
+ *Added a "no js or js error" message to the page if it's the case
76
+
77
  == Upgrade Notice ==
78
 
79
  = 0.7 =
89
  No issuse with this version that require attention
90
 
91
  = 0.8.2.1 =
92
+ No issuse with this version that require attention. Small update change
93
 
94
+ = 0.8.2.2 =
95
+ No issuse with this version that require attention. Small update change. It's basically a feature, so unless you want it, the older version works great.
regenerate-thumbnails-advanced.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: reGenerate Thumbnails - advanced
4
  Plugin URI: http://turcuciprian.com
5
  Description: A plugin that makes regenerating thumbnails even easier than before and more flexible.
6
- Version: 0.8.2.1
7
  Author: turcuciprian
8
  Author URI: http://turcuciprian.com
9
  License: GPLv2 or later
@@ -212,7 +212,12 @@ class cc {
212
  $offset = 0;
213
 
214
  $content .= sprintf('<!--GTA wrap START -->'
215
- . '<div id="rta">');
 
 
 
 
 
216
  $content .= sprintf("<h2>%s</h2>", 'reGenerate Thumbnails Advanced');
217
  // Progress bar
218
  $content .= sprintf('<div id="progressbar">'
@@ -246,6 +251,8 @@ class cc {
246
  . '</p>');
247
 
248
  $content .= sprintf('</div>'
 
 
249
  . '<!--GTA wrap END -->');
250
 
251
  echo $content;
3
  Plugin Name: reGenerate Thumbnails - advanced
4
  Plugin URI: http://turcuciprian.com
5
  Description: A plugin that makes regenerating thumbnails even easier than before and more flexible.
6
+ Version: 0.8.2.2
7
  Author: turcuciprian
8
  Author URI: http://turcuciprian.com
9
  License: GPLv2 or later
212
  $offset = 0;
213
 
214
  $content .= sprintf('<!--GTA wrap START -->'
215
+ . '<div id="rta">'
216
+ . '<div id="no-js">'
217
+ . '<h1>Javascript is not enabled or it has a error!</h1>'
218
+ . '<p>If there is a error in the page (most likely caused by another plugin or even the theme, the regenerate thumbnails advanced plugin will not work properly. Please fix this issue and come back here. YOU WILL NOT SEE THIS WARNING IF EVERYTHING IS WORKING FINE</p>'
219
+ . '</div>'
220
+ . '<div id="js-works" class="hidden">');
221
  $content .= sprintf("<h2>%s</h2>", 'reGenerate Thumbnails Advanced');
222
  // Progress bar
223
  $content .= sprintf('<div id="progressbar">'
251
  . '</p>');
252
 
253
  $content .= sprintf('</div>'
254
+ . '</div>'
255
+ . '<!-- Js Works End -->'
256
  . '<!--GTA wrap END -->');
257
 
258
  echo $content;
screenshot-3.png ADDED
Binary file
script.js CHANGED
@@ -1,4 +1,9 @@
1
  jQuery(document).ready(function ($) {
 
 
 
 
 
2
  var err_arr = [];
3
  var errors_obj = $('#rta .errors');
4
  var pbar = $("#rta #progressbar");
1
  jQuery(document).ready(function ($) {
2
+ //no js error
3
+ $('#no-js').addClass('hidden');
4
+ $('#js-works').removeClass('hidden');
5
+
6
+ //the main script
7
  var err_arr = [];
8
  var errors_obj = $('#rta .errors');
9
  var pbar = $("#rta #progressbar");
style.css CHANGED
@@ -41,4 +41,12 @@
41
  }
42
  #rta .errors div.ui-state-error{
43
  background:#cd0a0a;
 
 
 
 
 
 
 
 
44
  }
41
  }
42
  #rta .errors div.ui-state-error{
43
  background:#cd0a0a;
44
+ }
45
+ #rta .hidden{
46
+ display:none;
47
+ }
48
+ #rta #no-js h1{
49
+ color:red;
50
+ text-align: center;
51
+ margin:140px 0 100px 0;
52
  }