Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author weblizar

    (@weblizar)

    Hello xenod

    I will test it with WP-Obfuscator. I will try my best to found a solution if there any problem is found.

    Thread Starter xenod

    (@xenod)

    thanks for your reponse

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

    Plugin Author weblizar

    (@weblizar)

    Hello Xnod,

    Follow my instruction to resolve this issue-

    Step-1 : Open your admin plugin directory.

    Step-2 : Open plugin user-login-log folder. Here you will see user-login-log.php file, Open it on any editor.

    Step-3 : Now go to near line no. 887 and add below code there

    $ull = new UserLoginLog();

    Note – add this line after below line
    global $wpdb, $ull;

    Step-4 : Save your file and then view login log table.

    Please let us know if there’s anything else we can do for you today. We’ll be glad to help!

    Thanks

    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

    Plugin Author weblizar

    (@weblizar)

    You have to need paste below code at near line no. 887

    $ull = new UserLoginLog();

    So copy above line and then paste at near line no. 887

    Thanks

    Thread Starter xenod

    (@xenod)

    thanks for your help
    now it’s work fine

    Plugin Author weblizar

    (@weblizar)

    You are welcome.

    Please let us know if there’s anything else we can do for you today. We’ll be glad to help!

    Thanks

    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

    Plugin Author weblizar

    (@weblizar)

    Thanks xenod for remind me i am really forgot this.

    Ok i will update it now.

    Plugin Author weblizar

    (@weblizar)

    Code has been added in version 1.8

    Thanks

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘bug’ is closed to new replies.