Title: Last Login
Author: dkukral
Published: <strong>22 janvāris, 2012</strong>
Last modified: 10 septembris, 2014

---

Meklēt spraudņus

Šī spraudnis **nav atjaunināts vairāk kā divus gadus**. Varbūt, tas vairs netiek
uzturēts, nesaņemt atbalstu un tam var būt saderības problēmas ar jaunākām WordPress
versijām.

![](https://s.w.org/plugins/geopattern-icon/last-login.svg)

# Last Login

 Autors [dkukral](https://profiles.wordpress.org/dkukral/)

[Lejupielādēt](https://downloads.wordpress.org/plugin/last-login.1.2.zip)

 * [Sīkāka informācija](https://lv.wordpress.org/plugins/last-login/#description)
 * [Atsauksmes](https://lv.wordpress.org/plugins/last-login/#reviews)
 *  [Uzstādīšana](https://lv.wordpress.org/plugins/last-login/#installation)
 * [Attīstība](https://lv.wordpress.org/plugins/last-login/#developers)

 [Atbalsts](https://wordpress.org/support/plugin/last-login/)

## Apraksts

Records logins and provides a function to display the timestamp.

### License

Copyright 2010 – 2014 Joe Boydston, Don Kukral

This program is free software; you can redistribute it and/or modify
 it under the
terms of the GNU General Public License as published by the Free Software Foundation;
either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful,
 but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A 
PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License
 along with this
program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite
330, Boston, MA 02111-1307 USANone.

## Ekrānuzņēmumi

 * [[

## Uzstādīšana

Copy “last-login” folder to your WordPress Plugins Directory.
 Activate plugin via
WordPress settings.

## BUJ

  How do I display the last login of the current user?

<php echo get_last_login_current_user(); %gt;

  How do I display the last login of a specific user?

<php echo get_last_login($user_id); %gt;

  How do I change the date format of the last login time?

You can pass the format to either last_login_time_current_user() or last_login_time()
functions.

Use standard PHP strftime format parameters.
 (http://php.net/manual/en/function.
strftime.php)

<php echo get_last_login_current_user($format); %gt;
 <php echo get_last_login($
user_id, $format); %gt;

  How can I see if the user has a recorded timestamp? (has logged in since plugin
activated)

You can call check_last_login($user_id) or check_last_login_current_user().

It will return true if a login has been recorded and false if not.

## Atsauksmes

Par šo spraudni nav atsauksmju.

## Autori un izstrādātāji

“Last Login” ir atvērtā pirmkoda programmatūra. Šo spraudni ir veidojuši šādi cilvēki.

Līdzdalībnieki

 *   [ dkukral ](https://profiles.wordpress.org/dkukral/)
 *   [ Joe Boydston ](https://profiles.wordpress.org/jboydston/)

[Tulkot “Last Login&#8221 savā valodā.](https://translate.wordpress.org/projects/wp-plugins/last-login)

### Vai jūs interesē attīstība?

[Pārlūkojiet kodu](https://plugins.trac.wordpress.org/browser/last-login/), apmeklējiet
[ SVN krātuvi ](https://plugins.svn.wordpress.org/last-login/)vai abonējiet[ attīstības žurnālu](https://plugins.trac.wordpress.org/log/last-login/),
ko izveidojis [RSS](https://plugins.trac.wordpress.org/log/last-login/?limit=100&mode=stop_on_copy&format=rss).

## Izmaiņu žurnāls

#### 1.2

Verified compatibility with WP 4.0 – fixed call to get_last_login()

#### 1.1

Verified compatibility with WP 3.9.1

#### 1.0

Initial Version

## Meta

 *  Versija **1.2**
 *  Pēdējo reizi atjaunots: **pirms 12 gadiem**
 *  Aktīvās instalācijas: **10+**
 *  WordPress versija ** 3.0 vai jaunāka **
 *  Pārbaudīts līdz: **4.0.38**
 *  Valoda
 * [English (US)](https://wordpress.org/plugins/last-login/)
 * Birka:
 * [login](https://lv.wordpress.org/plugins/tags/login/)
 *  [Papildu skats](https://lv.wordpress.org/plugins/last-login/advanced/)

## Vērtējumi

 1 no 5 zvaigznēm.

 *  [  0 5-star reviews     ](https://wordpress.org/support/plugin/last-login/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/last-login/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/last-login/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/last-login/reviews/?filter=2)
 *  [  1 1-star review     ](https://wordpress.org/support/plugin/last-login/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/last-login/reviews/#new-post)

[Skatīt visas atsauksmes](https://wordpress.org/support/plugin/last-login/reviews/)

## Līdzdalībnieki

 *   [ dkukral ](https://profiles.wordpress.org/dkukral/)
 *   [ Joe Boydston ](https://profiles.wordpress.org/jboydston/)

## Atbalsts

Jums ir kaut kas ko teikt? Vajadzīga palīdzība?

 [Skatīt atbalsta forumu](https://wordpress.org/support/plugin/last-login/)