WordPress.org

Ready to get started?Download WordPress

Forums

Simple Login Log
[resolved] doesn't log all entries (20 posts)

  1. elettra09
    Member
    Posted 2 years ago #

    Hi! very nice plugin. Just what I needed but... it does not log all logins. Any idea? Thanks!

    http://wordpress.org/extend/plugins/simple-login-log/

  2. Max Chirkov
    Member
    Plugin Author

    Posted 2 years ago #

    @elettra09 - could you please elaborate on your issue? Which logins it doesn't record? Any specific users or user roles? Are you using the native login page and form at /wp-admin/ ?

  3. frymi
    Member
    Posted 2 years ago #

    You have, the same problem. it does not log all logins.

  4. frymi
    Member
    Posted 2 years ago #

  5. Max Chirkov
    Member
    Plugin Author

    Posted 2 years ago #

    @frymi - have you tried using native login form? Deactivate your third party login plugin and try that.

    The problem with custom login forms is that might be lacking hooks that the native form is using - therefore missing on logging actions triggered by my plugin. I'll take a look at the Theme My Login though.

  6. frymi
    Member
    Posted 2 years ago #

    Used in website:
    http://www.nasebatole.cz

  7. Max Chirkov
    Member
    Plugin Author

    Posted 2 years ago #

    @frymi - well, I just installed the Theme My Login plugin and I see administrators and subscribers are being logged with my plugin just fine. If you need me to look any further, I need more details from you, otherwise I can't help you.

  8. frymi
    Member
    Posted 2 years ago #

    For example: One of the editors - not at all written.
    ... but 100% log on several times and published posts.

    What information do you need?
    Thanx

  9. Max Chirkov
    Member
    Plugin Author

    Posted 2 years ago #

    1. WP version
    2. PHP version
    3. Is the user in question is a native user created under users menu in the dashboard?
    4. What's user's role?

  10. frymi
    Member
    Posted 2 years ago #

    1) WP v3.2.1
    2) PHP Version : 5.2.17 / 64Bit OS (MySQL Server version: 5.0.92)
    3) User is registered as others users.
    4) role EDITOR

  11. Max Chirkov
    Member
    Plugin Author

    Posted 2 years ago #

    in 3) you said user is registered as others user - what do you mean by that? Are these types of users under Users menu in the dashboard? Are they registered in the users table as the admin of the site?

  12. frymi
    Member
    Posted 2 years ago #

    3) User with role EDITOR are 3, but only one is not in LOGs.

    page:
    http://www.nasebatole.cz/wp-admin/users.php?role=editor
    shows 3 EDITORS.

  13. Max Chirkov
    Member
    Plugin Author

    Posted 2 years ago #

    I just tested ALL user roles on a brand new install, even "No Role" (which gives no access to the back end) - all logins are being logged. This makes me believe that the issue is in one of the other plugins you're using to register or login users.

  14. frymi
    Member
    Posted 2 years ago #

    OK.
    Strange is that only some users it does not record.

  15. Max Chirkov
    Member
    Plugin Author

    Posted 2 years ago #

    Have you tried to login under different user names and see if each time its recorded in the log?

    Create a few test users: test1, test2, test3 and see if it records each of them on login.

  16. frymi
    Member
    Posted 2 years ago #

    What I tested (admin, editor, contributor, subsciber) - it was OK, but some are still existing.

  17. Max Chirkov
    Member
    Plugin Author

    Posted 2 years ago #

    Ok, I think I know how to make it work. Edit the simple-login-log.php file - comment out lines #139 and #140. It should look like this:

    //Stop if login form wasn't submitted
    //if( !$_REQUEST['wp-submit'] )
        //  return;

    Test it out and see if it works. I was making sure that the login form was submitted, but in your case your third party plugin doesn't have the "wp-submit" parameter.

  18. frymi
    Member
    Posted 2 years ago #

    I'll try and write the result.

  19. frymi
    Member
    Posted 2 years ago #

    After testing - Everything was working fine.
    Thanx!

  20. Max Chirkov
    Member
    Plugin Author

    Posted 2 years ago #

    Great, thanks! I committed the change + another feature in the new version 0.3

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic