Erident Custom Login and Dashboard - Version 2.0.1

Version Description

  • Bug Fix
Download this release

Release Info

Developer libinvbabu
Plugin Icon 128x128 Erident Custom Login and Dashboard
Version 2.0.1
Comparing to
See all releases

Code changes from version 2.0.0 to 2.0.1

Files changed (4) hide show
  1. er-admin.css +6 -0
  2. er-custom-login.php +7 -15
  3. farbtastic/farbtastic.js +20 -20
  4. readme.txt +13 -8
er-admin.css CHANGED
@@ -95,4 +95,10 @@ font-size: 15px;
95
  }
96
  .er_notice2 li.login-page a {
97
  color:red;
 
 
 
 
 
 
98
  }
95
  }
96
  .er_notice2 li.login-page a {
97
  color:red;
98
+ }
99
+ .settings_page_erident-custom-login-and-dashboard .inside {
100
+ display: none;
101
+ }
102
+ .settings_page_erident-custom-login-and-dashboard .inside.openinside {
103
+ display: block;
104
  }
er-custom-login.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Erident Custom Login and Dashboard
4
  Plugin URI: http://www.eridenttech.com/wp-plugins/erident-custom-login-and-dashboard
5
  Description: Customize completely your WordPress Login Screen and Dashboard. Add your company logo to login screen, change background colors, styles etc. Customize your Dashboard footer text also for complete branding.
6
- Version: 2.0.0
7
  Author: Libin V Babu
8
  Author URI: http://www.libin.in/
9
  License: GPL
@@ -755,7 +755,7 @@ value="<?php echo get_option('wp_erident_login_bg_ypos'); ?>" />
755
  <li class="login-page"><a href="<?php bloginfo( 'wpurl' ); ?>/wp-login.php" target="_blank">Open Your WP Login Page in a New Tab</a></li>
756
  <li><a href="http://wordpress.org/extend/plugins/erident-custom-login-and-dashboard/" target="_blank">Plugin Documentation</a></li>
757
  <li><a href="http://wordpress.org/support/plugin/erident-custom-login-and-dashboard" target="_blank">Plugin Support Page</a></li>
758
- <li><a href="http://www.eridenttech.com/wp-plugins/erident-custom-login-and-dashboard" target="_blank">Plugin Website</a></li>
759
  </ul>
760
  </div><!-- end .er_notice2 -->
761
  <div class="er_notice">
@@ -807,28 +807,20 @@ value="<?php echo get_option('wp_erident_login_bg_ypos'); ?>" />
807
  jQuery("#wp_erident_dashboard_input_text_color").click(function(){jQuery('#ilctabscolorpicker8').slideDown()});
808
  jQuery("#wp_erident_dashboard_input_text_color").blur(function(){jQuery('#ilctabscolorpicker8').slideUp()});
809
 
810
- $( ".postbox .hndle" ).on( "mouseover", function() {
811
- $( this ).css( "cursor", "pointer" );
812
- });
813
 
814
  /* Sliding the panels */
815
  jQuery(".postbox").on('click', '.handlediv', function(){
816
  jQuery(this).siblings(".inside").slideToggle();
817
- });
818
  jQuery(".postbox").on('click', '.hndle', function(){
819
  jQuery(this).siblings(".inside").slideToggle();
820
- });
821
  });
822
 
823
  </script>
824
- <style type="text/css">
825
- .inside {
826
- display: none;
827
- }
828
- .inside.openinside {
829
- display: block;
830
- }
831
- </style>
832
  <?php
833
  }
834
  ?>
3
  Plugin Name: Erident Custom Login and Dashboard
4
  Plugin URI: http://www.eridenttech.com/wp-plugins/erident-custom-login-and-dashboard
5
  Description: Customize completely your WordPress Login Screen and Dashboard. Add your company logo to login screen, change background colors, styles etc. Customize your Dashboard footer text also for complete branding.
6
+ Version: 2.0.1
7
  Author: Libin V Babu
8
  Author URI: http://www.libin.in/
9
  License: GPL
755
  <li class="login-page"><a href="<?php bloginfo( 'wpurl' ); ?>/wp-login.php" target="_blank">Open Your WP Login Page in a New Tab</a></li>
756
  <li><a href="http://wordpress.org/extend/plugins/erident-custom-login-and-dashboard/" target="_blank">Plugin Documentation</a></li>
757
  <li><a href="http://wordpress.org/support/plugin/erident-custom-login-and-dashboard" target="_blank">Plugin Support Page</a></li>
758
+ <li><a href="http://wordpress.org/support/topic/suggestionsrequests-for-future-version-update?replies=1" target="_blank">Feature Request/Suggestions?</a></li>
759
  </ul>
760
  </div><!-- end .er_notice2 -->
761
  <div class="er_notice">
807
  jQuery("#wp_erident_dashboard_input_text_color").click(function(){jQuery('#ilctabscolorpicker8').slideDown()});
808
  jQuery("#wp_erident_dashboard_input_text_color").blur(function(){jQuery('#ilctabscolorpicker8').slideUp()});
809
 
810
+ jQuery( ".postbox .hndle" ).on( "mouseover", function() {
811
+ jQuery( this ).css( "cursor", "pointer" );
812
+ });
813
 
814
  /* Sliding the panels */
815
  jQuery(".postbox").on('click', '.handlediv', function(){
816
  jQuery(this).siblings(".inside").slideToggle();
817
+ });
818
  jQuery(".postbox").on('click', '.hndle', function(){
819
  jQuery(this).siblings(".inside").slideToggle();
820
+ });
821
  });
822
 
823
  </script>
 
 
 
 
 
 
 
 
824
  <?php
825
  }
826
  ?>
farbtastic/farbtastic.js CHANGED
@@ -18,12 +18,12 @@
18
  */
19
 
20
  jQuery.fn.farbtastic = function (callback) {
21
- $.farbtastic(this, callback);
22
  return this;
23
  };
24
 
25
  jQuery.farbtastic = function (container, callback) {
26
- var container = $(container).get(0);
27
  return container.farbtastic || (container.farbtastic = new jQuery._farbtastic(container, callback));
28
  }
29
 
@@ -32,9 +32,9 @@ jQuery._farbtastic = function (container, callback) {
32
  var fb = this;
33
 
34
  // Insert markup
35
- $(container).html('<div class="farbtastic"><div class="color"></div><div class="wheel"></div><div class="overlay"></div><div class="h-marker marker"></div><div class="sl-marker marker"></div></div>');
36
- var e = $('.farbtastic', container);
37
- fb.wheel = $('.wheel', container).get(0);
38
  // Dimensions
39
  fb.radius = 84;
40
  fb.square = 100;
@@ -42,11 +42,11 @@ jQuery._farbtastic = function (container, callback) {
42
 
43
  // Fix background PNGs in IE6
44
  if (navigator.appVersion.match(/MSIE [0-6]\./)) {
45
- $('*', e).each(function () {
46
  if (this.currentStyle.backgroundImage != 'none') {
47
  var image = this.currentStyle.backgroundImage;
48
  image = this.currentStyle.backgroundImage.substring(5, image.length - 2);
49
- $(this).css({
50
  'backgroundImage': 'none',
51
  'filter': "progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true, sizingMethod=crop, src='" + image + "')"
52
  });
@@ -60,7 +60,7 @@ jQuery._farbtastic = function (container, callback) {
60
  fb.linkTo = function (callback) {
61
  // Unbind previous nodes
62
  if (typeof fb.callback == 'object') {
63
- $(fb.callback).unbind('keyup', fb.updateValue);
64
  }
65
 
66
  // Reset color
@@ -71,7 +71,7 @@ jQuery._farbtastic = function (container, callback) {
71
  fb.callback = callback;
72
  }
73
  else if (typeof callback == 'object' || typeof callback == 'string') {
74
- fb.callback = $(callback);
75
  fb.callback.bind('keyup', fb.updateValue);
76
  if (fb.callback.get(0).value) {
77
  fb.setColor(fb.callback.get(0).value);
@@ -160,8 +160,8 @@ jQuery._farbtastic = function (container, callback) {
160
  else {
161
  // Use absolute coordinates
162
  var pos = fb.absolutePosition(reference);
163
- x = (event.pageX || 0*(event.clientX + $('html').get(0).scrollLeft)) - pos.x;
164
- y = (event.pageY || 0*(event.clientY + $('html').get(0).scrollTop)) - pos.y;
165
  }
166
  // Subtract distance to middle
167
  return { x: x - fb.width / 2, y: y - fb.width / 2 };
@@ -173,7 +173,7 @@ jQuery._farbtastic = function (container, callback) {
173
  fb.mousedown = function (event) {
174
  // Capture mouse
175
  if (!document.dragging) {
176
- $(document).bind('mousemove', fb.mousemove).bind('mouseup', fb.mouseup);
177
  document.dragging = true;
178
  }
179
 
@@ -212,8 +212,8 @@ jQuery._farbtastic = function (container, callback) {
212
  */
213
  fb.mouseup = function () {
214
  // Uncapture mouse
215
- $(document).unbind('mousemove', fb.mousemove);
216
- $(document).unbind('mouseup', fb.mouseup);
217
  document.dragging = false;
218
  }
219
 
@@ -223,29 +223,29 @@ jQuery._farbtastic = function (container, callback) {
223
  fb.updateDisplay = function () {
224
  // Markers
225
  var angle = fb.hsl[0] * 6.28;
226
- $('.h-marker', e).css({
227
  left: Math.round(Math.sin(angle) * fb.radius + fb.width / 2) + 'px',
228
  top: Math.round(-Math.cos(angle) * fb.radius + fb.width / 2) + 'px'
229
  });
230
 
231
- $('.sl-marker', e).css({
232
  left: Math.round(fb.square * (.5 - fb.hsl[1]) + fb.width / 2) + 'px',
233
  top: Math.round(fb.square * (.5 - fb.hsl[2]) + fb.width / 2) + 'px'
234
  });
235
 
236
  // Saturation/Luminance gradient
237
- $('.color', e).css('backgroundColor', fb.pack(fb.HSLToRGB([fb.hsl[0], 1, 0.5])));
238
 
239
  // Linked elements or callback
240
  if (typeof fb.callback == 'object') {
241
  // Set background/foreground color
242
- $(fb.callback).css({
243
  backgroundColor: fb.color,
244
  color: fb.hsl[2] > 0.5 ? '#000' : '#fff'
245
  });
246
 
247
  // Change linked value
248
- $(fb.callback).each(function() {
249
  if (this.value && this.value != fb.color) {
250
  this.value = fb.color;
251
  }
@@ -333,7 +333,7 @@ jQuery._farbtastic = function (container, callback) {
333
  }
334
 
335
  // Install mousedown handler (the others are set on the document on-demand)
336
- $('*', e).mousedown(fb.mousedown);
337
 
338
  // Init color
339
  fb.setColor('#000000');
18
  */
19
 
20
  jQuery.fn.farbtastic = function (callback) {
21
+ jQuery.farbtastic(this, callback);
22
  return this;
23
  };
24
 
25
  jQuery.farbtastic = function (container, callback) {
26
+ var container = jQuery(container).get(0);
27
  return container.farbtastic || (container.farbtastic = new jQuery._farbtastic(container, callback));
28
  }
29
 
32
  var fb = this;
33
 
34
  // Insert markup
35
+ jQuery(container).html('<div class="farbtastic"><div class="color"></div><div class="wheel"></div><div class="overlay"></div><div class="h-marker marker"></div><div class="sl-marker marker"></div></div>');
36
+ var e = jQuery('.farbtastic', container);
37
+ fb.wheel = jQuery('.wheel', container).get(0);
38
  // Dimensions
39
  fb.radius = 84;
40
  fb.square = 100;
42
 
43
  // Fix background PNGs in IE6
44
  if (navigator.appVersion.match(/MSIE [0-6]\./)) {
45
+ jQuery('*', e).each(function () {
46
  if (this.currentStyle.backgroundImage != 'none') {
47
  var image = this.currentStyle.backgroundImage;
48
  image = this.currentStyle.backgroundImage.substring(5, image.length - 2);
49
+ jQuery(this).css({
50
  'backgroundImage': 'none',
51
  'filter': "progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true, sizingMethod=crop, src='" + image + "')"
52
  });
60
  fb.linkTo = function (callback) {
61
  // Unbind previous nodes
62
  if (typeof fb.callback == 'object') {
63
+ jQuery(fb.callback).unbind('keyup', fb.updateValue);
64
  }
65
 
66
  // Reset color
71
  fb.callback = callback;
72
  }
73
  else if (typeof callback == 'object' || typeof callback == 'string') {
74
+ fb.callback = jQuery(callback);
75
  fb.callback.bind('keyup', fb.updateValue);
76
  if (fb.callback.get(0).value) {
77
  fb.setColor(fb.callback.get(0).value);
160
  else {
161
  // Use absolute coordinates
162
  var pos = fb.absolutePosition(reference);
163
+ x = (event.pageX || 0*(event.clientX + jQuery('html').get(0).scrollLeft)) - pos.x;
164
+ y = (event.pageY || 0*(event.clientY + jQuery('html').get(0).scrollTop)) - pos.y;
165
  }
166
  // Subtract distance to middle
167
  return { x: x - fb.width / 2, y: y - fb.width / 2 };
173
  fb.mousedown = function (event) {
174
  // Capture mouse
175
  if (!document.dragging) {
176
+ jQuery(document).bind('mousemove', fb.mousemove).bind('mouseup', fb.mouseup);
177
  document.dragging = true;
178
  }
179
 
212
  */
213
  fb.mouseup = function () {
214
  // Uncapture mouse
215
+ jQuery(document).unbind('mousemove', fb.mousemove);
216
+ jQuery(document).unbind('mouseup', fb.mouseup);
217
  document.dragging = false;
218
  }
219
 
223
  fb.updateDisplay = function () {
224
  // Markers
225
  var angle = fb.hsl[0] * 6.28;
226
+ jQuery('.h-marker', e).css({
227
  left: Math.round(Math.sin(angle) * fb.radius + fb.width / 2) + 'px',
228
  top: Math.round(-Math.cos(angle) * fb.radius + fb.width / 2) + 'px'
229
  });
230
 
231
+ jQuery('.sl-marker', e).css({
232
  left: Math.round(fb.square * (.5 - fb.hsl[1]) + fb.width / 2) + 'px',
233
  top: Math.round(fb.square * (.5 - fb.hsl[2]) + fb.width / 2) + 'px'
234
  });
235
 
236
  // Saturation/Luminance gradient
237
+ jQuery('.color', e).css('backgroundColor', fb.pack(fb.HSLToRGB([fb.hsl[0], 1, 0.5])));
238
 
239
  // Linked elements or callback
240
  if (typeof fb.callback == 'object') {
241
  // Set background/foreground color
242
+ jQuery(fb.callback).css({
243
  backgroundColor: fb.color,
244
  color: fb.hsl[2] > 0.5 ? '#000' : '#fff'
245
  });
246
 
247
  // Change linked value
248
+ jQuery(fb.callback).each(function() {
249
  if (this.value && this.value != fb.color) {
250
  this.value = fb.color;
251
  }
333
  }
334
 
335
  // Install mousedown handler (the others are set on the document on-demand)
336
+ jQuery('*', e).mousedown(fb.mousedown);
337
 
338
  // Init color
339
  fb.setColor('#000000');
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://www.libin.in
4
  Tags: login, customisation, admin, dashboard, customise, erident, custom, form, logo, customize, branding
5
  Requires at least: 3.0.0
6
  Tested up to: 3.7.1
7
- Stable tag: 2.0.0
8
  License: GPLv2
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -14,7 +14,11 @@ Dashboard footer etc.
14
 
15
  == Description ==
16
 
17
- TOP RATED PLUGIN for Login Page Customization, celebrating 1 year of success!!! Customize completely your WordPress Login Screen and Dashboard easily. Add your company logo to login screen, change background images, colors, styles etc. Customize your Dashboard footer text also for complete branding.
 
 
 
 
18
 
19
  Fastest support for the plugin. If you have any queries,
20
  visit the WordPress [support forum](http://wordpress.org/support/plugin/erident-custom-login-and-dashboard).
@@ -69,9 +73,7 @@ visit the WordPress [support forum](http://wordpress.org/support/plugin/erident-
69
 
70
  * Delete custom settings upon plugin deactivation or not
71
 
72
- Here's the link to [Plugin Website](http://www.eridenttech.com/wp-plugins/erident-custom-login-and-dashboard).
73
-
74
- Enjoy your completely branded WordPress Version. Don't forget to rate the plugin :)
75
 
76
  == Installation ==
77
 
@@ -102,7 +104,7 @@ By default you will not lose any of your previous settings. Check the Plugin Un-
102
  = I want some custom changes. How can I do that? =
103
  You can edit the plugin's php file through WordPress plugin editor. But once you made an update the changes you made will disappear. So
104
 
105
- make sure to backup your changes before updating.
106
 
107
  == Screenshots ==
108
 
@@ -111,6 +113,9 @@ make sure to backup your changes before updating.
111
 
112
  == Changelog ==
113
 
 
 
 
114
  = 2.0.0 =
115
  * Enhanced UI for easy usage (Added an option to hide/show settings block)
116
  * Added option for Logo Width and Height
@@ -143,5 +148,5 @@ make sure to backup your changes before updating.
143
 
144
  == Upgrade Notice ==
145
 
146
- = 2.0.0 =
147
- This version has enhanced UI for settings page and new options!
4
  Tags: login, customisation, admin, dashboard, customise, erident, custom, form, logo, customize, branding
5
  Requires at least: 3.0.0
6
  Tested up to: 3.7.1
7
+ Stable tag: 2.0.1
8
  License: GPLv2
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
14
 
15
  == Description ==
16
 
17
+ TOP RATED PLUGIN for Login Page Customization, celebrating 1 year of success!!! Customize completely your WordPress Login Screen and
18
+
19
+ Dashboard easily. Add your company logo to login screen, change background images, colors, styles etc. Customize your Dashboard footer
20
+
21
+ text also for complete branding.
22
 
23
  Fastest support for the plugin. If you have any queries,
24
  visit the WordPress [support forum](http://wordpress.org/support/plugin/erident-custom-login-and-dashboard).
73
 
74
  * Delete custom settings upon plugin deactivation or not
75
 
76
+ Enjoy your completely branded WordPress Version. Don't forget to [rate the plugin](http://wordpress.org/support/view/plugin-reviews/erident-custom-login-and-dashboard) :)
 
 
77
 
78
  == Installation ==
79
 
104
  = I want some custom changes. How can I do that? =
105
  You can edit the plugin's php file through WordPress plugin editor. But once you made an update the changes you made will disappear. So
106
 
107
+ make sure to backup your changes before updating. Or inform us [Suggestions/requests](http://wordpress.org/support/topic/suggestionsrequests-for-future-version-update?replies=1) for future version
108
 
109
  == Screenshots ==
110
 
113
 
114
  == Changelog ==
115
 
116
+ = 2.0.1 =
117
+ * Bug Fix
118
+
119
  = 2.0.0 =
120
  * Enhanced UI for easy usage (Added an option to hide/show settings block)
121
  * Added option for Logo Width and Height
148
 
149
  == Upgrade Notice ==
150
 
151
+ = 2.0.1 =
152
+ Bug fix for some conflicts.