WordPress.org

Forums

SB Login
[resolved] Date of last login (5 posts)

  1. dimarkus
    Member
    Posted 1 year ago #

    Hi there,

    As per request from http://wordpress.org/support/topic/date-of-last-login?replies=4#post-5163689 this request.

    When I use the SB login widget the date of last login, is actually the date of this login. So it always displays the date of the login of this session.

    I did create a custom (dutch) translation, I do not know if that affects the workings of the widget.

    http://wordpress.org/plugins/sb-login/

    [Moderator Note: No bumping, thank you.]

  2. dimarkus
    Member
    Posted 1 year ago #

    Looking at the code for sb-login.php it seems that at login, the function nd_update_user_meta takes care of entering the latest login date into the database.
    After that the form logged-in.php is loaded.

    From my logic it should be the other way around. Only when logged in and dispayed the last login date, should the new date be updated.

    I guess the same goes for the new comments and new posts. Right now they always show up as 0. If you are logged in and someone publishes a new post, the counter will go to 1. But if you login, the counter will always be 0.

  3. dimarkus
    Member
    Posted 1 year ago #

    Any news on this. This is kind of a nuisance as it is not something that you can disable in the settings. Now it just displays wrong information.

    Thanks

  4. Fida Al Hasan
    Member
    Plugin Author

    Posted 1 year ago #

    Hello,
    Please think about this: Date of last loging. Not date of last logout. If you login today thats mean your last login is today. What you wanted is this date of last logout.

  5. Fida Al Hasan
    Member
    Plugin Author

    Posted 1 year ago #

    Hello,

    Please upgrade to the new version 2.5 . I hope all problems will be gone.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • SB Login
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags