Hoppa till innehåll
WordPress.org

Svenska

  • Teman
  • Tillägg
  • Nytt
  • Support
  • Om…
  • Mönster
  • Engagera dig!
  • Skaffa WordPress
Skaffa WordPress
WordPress.org

Plugin Directory

Last Login

  • Skicka in ett tillägg
  • Mina favoriter
  • Logga in
  • Skicka in ett tillägg
  • Mina favoriter
  • Logga in

Det här tillägget har inte testats med någon av de 3 senaste huvudversionerna av WordPress. Det kanske inte längre underhålls och kan ha kompatibilitetsproblem när det används tillsammans med nyare versioner av WordPress.

Last Login

Av dkukral
Ladda ner
  • Detaljer
  • Recensioner
  • Installation
  • Utveckling
Support

Beskrivning

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.

Skärmdumpar

Installation

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

Vanliga frågor

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.

Recensioner

Detta tillägg har inga recensioner.

Bidragsgivare och utvecklare

”Last Login” är programvara med öppen källkod. Följande personer har bidragit till detta tillägg.

Bidragande personer
  • dkukral
  • Joe Boydston

Översätt ”Last Login” till ditt språk.

Intresserad av programutveckling?

Läs programkoden, kika på SVN-filförvaret eller prenumerera på utvecklarloggen via RSS.

Ändringslogg

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

  • Version 1.2
  • Senast uppdaterat 12 år sedan
  • Aktiva installationer 10+
  • WordPress-version 3.0 eller senare
  • Testat upp till 4.0.38
  • Språk
    English (US)
  • Etikett
    login
  • Avancerad vy

Betyg

1 av 5 stjärnor.
  • 0 5-stjärniga recensioner 5 stjärnor 0
  • 0 4-stjärniga recensioner 4 stjärnor 0
  • 0 3-stjärniga recensioner 3 stjärnor 0
  • 0 2-stjärniga recensioner 2 stjärnor 0
  • 1 1-stjärnig recension 1 stjärna 1

Your review

Se alla recensioner

Bidragande personer

  • dkukral
  • Joe Boydston

Support

Har du något att säga? Behöver du hjälp?

Visa supportforum

  • Om
  • Nyheter
  • Webbhotell (hosting)
  • Integritet
  • Showcase
  • Teman
  • Tillägg
  • Mönster
  • Lär dig
  • Support
  • Utvecklare
  • WordPress.tv ↗
  • Engagera dig
  • Evenemang
  • Donera ↗
  • Five for the Future
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org
WordPress.org

Svenska

  • Besök vår X-konto (f.d. Twitter)
  • Besök vårt Bluesky-konto
  • Besök vårt Mastodon-konto
  • Besök vårt Thread-konto
  • Besök vår Facebook-sida
  • Besök vårt Instagram-konto
  • Besök vårt LinkedIn-konto
  • Besök vårt TikTok-konto
  • Besök vår YouTube-kanal
  • Besök vårt Tumblr-konto
Kod är poesi.
The WordPress® trademark is the intellectual property of the WordPress Foundation.