Login With Ajax - Version 3.0b2

Version Description

Download this release

Release Info

Developer netweblogic
Plugin Icon 128x128 Login With Ajax
Version 3.0b2
Comparing to
See all releases

Code changes from version 3.0b1 to 3.0b2

Files changed (3) hide show
  1. login-with-ajax-admin.php +2 -1
  2. login-with-ajax.php +1 -1
  3. readme.txt +1 -1
login-with-ajax-admin.php CHANGED
@@ -20,10 +20,11 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
20
  class LoginWithAjaxAdmin{
21
  // action function for above hook
22
  function LoginWithAjaxAdmin() {
 
23
  add_action ( 'admin_menu', array (&$this, 'menus') );
24
  if( $_GET['lwa_dismiss_notice'] == '1' ){
25
  update_option('lwa_notice', 1);
26
- }elseif( get_option('lwa_notice') != 1 ){
27
  add_action('admin_notices', array(&$this, 'admin_notices') );
28
  }
29
  }
20
  class LoginWithAjaxAdmin{
21
  // action function for above hook
22
  function LoginWithAjaxAdmin() {
23
+ global $user_level;
24
  add_action ( 'admin_menu', array (&$this, 'menus') );
25
  if( $_GET['lwa_dismiss_notice'] == '1' ){
26
  update_option('lwa_notice', 1);
27
+ }elseif( get_option('lwa_notice') != 1 && $user_level == 10 ){
28
  add_action('admin_notices', array(&$this, 'admin_notices') );
29
  }
30
  }
login-with-ajax.php CHANGED
@@ -4,7 +4,7 @@ Plugin Name: Login With Ajax
4
  Plugin URI: http://netweblogic.com/wordpress/plugins/login-with-ajax/
5
  Description: Ajax driven login widget. Customisable from within your template folder, and advanced settings from the admin area.
6
  Author: NetWebLogic
7
- Version: 3.0b1
8
  Author URI: http://netweblogic.com/
9
  Tags: Login, Ajax, Redirect, BuddyPress, MU, WPMU, sidebar, admin, widget
10
 
4
  Plugin URI: http://netweblogic.com/wordpress/plugins/login-with-ajax/
5
  Description: Ajax driven login widget. Customisable from within your template folder, and advanced settings from the admin area.
6
  Author: NetWebLogic
7
+ Version: 3.0b2
8
  Author URI: http://netweblogic.com/
9
  Tags: Login, Ajax, Redirect, BuddyPress, MU, WPMU, sidebar, admin, widget
10
 
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: netweblogic
3
  Tags: Login, Ajax, Redirect, BuddyPress, MU, WPMU, sidebar, admin, widget
4
  Requires at least: 2.8
5
  Tested up to: 3.0
6
- Stable tag: 3.0b1
7
 
8
  Add smooth ajax login and registration effects to your blog and choose where users get redirected upon login/logout. Supports SSL, MU, and BuddyPress.
9
 
3
  Tags: Login, Ajax, Redirect, BuddyPress, MU, WPMU, sidebar, admin, widget
4
  Requires at least: 2.8
5
  Tested up to: 3.0
6
+ Stable tag: 3.0b2
7
 
8
  Add smooth ajax login and registration effects to your blog and choose where users get redirected upon login/logout. Supports SSL, MU, and BuddyPress.
9