Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)
  • try to reach https://your-site/wp-admin/index.php login page will apear
    then go to your menu setting to reactivate your login menu

    Forum: Plugins
    In reply to: [User Login Log] bug
    Thread Starter xenod

    (@xenod)

    sorry but you missed this corection in the new version (v1.7)

    manually added:

    L880: global $wpdb, $ull;
    L881: $ull = new UserLoginLog(); //add this line

    Forum: Plugins
    In reply to: [User Login Log] bug
    Thread Starter xenod

    (@xenod)

    thanks for your help
    now it’s work fine

    Forum: Plugins
    In reply to: [User Login Log] bug
    Thread Starter xenod

    (@xenod)

    $ull is setup here ->
    start line 694

    if( class_exists( 'UserLoginLog' ) )
    {
        $ull = new UserLoginLog;
        //Register for activation
        register_activation_hook( __FILE__, array(&$ull, 'install') );
    
    }

    end line 700
    $ull = new UserLoginLog(); is not defined in other place

    near line 887 in the prepare_item() function i already have global $wpdb, $ull;

    start line 877

    function prepare_items()
        {
            global $wpdb, $ull;
    
            //get number of successful and failed logins so we can display them in parentheces for each view
    
            //building a WHERE SQL query for each view
    ....
    
    $this->set_pagination_args( array(
                'total_items' => $total_items,                  //WE have to calculate the total number of items
                'per_page'    => $per_page,                     //WE have to determine how many items to show on a page
                'total_pages' => ceil($total_items/$per_page)   //WE have to calculate the total number of pages
            ) );
    
        }
    }

    //eof line 991

    but it still dont work

    Forum: Plugins
    In reply to: [User Login Log] bug
    Thread Starter xenod

    (@xenod)

    thanks for your reponse

    in db informations are writed but not visible in admin page thats’s strange

Viewing 5 replies - 1 through 5 (of 5 total)