이 플러그인은 최근 3개의 주요 워드프레스 출시와 시험 되지 않았습니다. 워드프레스의 좀 더 최근 버전으로 이용할 때 더 이상 관리되지 않고 지원되지 않고 호환성 문제가 있을 수 있습니다.

User Last Visit

설명

The plugin keeps record in UNIX timstamp format of the last time each logged in user visits the site. Record for each user is directly
visible on the users list table in the admin panel. The plugin also provides some utility function and hook.

Function Description

user_last_visit( $user_id = "current", $verbose = TRUE );

  • Parameters :

    • mixed $user_id, the user ID or “current” for the current user (logged in user). default: “current”.
    • bool $verbose, if TRUE the result returned is a literal expression of the last visit time. default: TRUE.
  • Returned value :

If $verbose is TRUE a string is returned. If $verbose is FALSE the UNIX timestamp of last visit is returned. When the user is not logged in, or when there is no record yet, the function return FALSE if $verbose is set to FALSE, a string if $verbose is TRUE.

Filter Hook

"ulv-can-record" : located in "./includes/user-last-visit.class.php" around line #24

Some users or some pages can be excluded for last visit recording. There is an admin page for that. But you can also add some additional filtering via this hook. This filter hook is applied within a wp_loaded action. So you must attach your functions before that (typically on init, once the user is authenticated).
You can eventually use the User_Last_Visit class separately in your theme/plugin.

Available Translations

Français

설치

Requirement

  • Nothing special

Manual Installation

  • Upload the .zip file to wp-content/plugins/
  • Activate the plugin

FAQ

Installation Instructions

Requirement

  • Nothing special

Manual Installation

  • Upload the .zip file to wp-content/plugins/
  • Activate the plugin
The plugin is installed and activated, but still no last visit time

By default, record are disabled for everybody, every pages. Verify the plugin’s settings. The admin page is on a sub-menu of the “Settings” main menu.

It works for some users only

Records are set only once the plugin is installed and set up. The “General record exclusion” is evaluated first, then the “User role” and finally each “user ID” individually.

After the first installation, there is no record yet until the user visit the site (and passes through all exclusion conditions).

후기

2018년 1월 8일
It works fine. But I do have a wish: I would like to sort desc/asc by last visit and I would also like if I could export a list as csv-file.
2017년 1월 11일
Only one minor little bug where it has some trouble catching active users who just logged in within the last few seconds.
모든 2 평가 읽기

기여자 & 개발자

“User Last Visit”(은)는 오픈 소스 소프트웨어입니다. 다음의 사람들이 이 플러그인에 기여하였습니다.

기여자

자국어로 “User Last Visit”(을)를 번역하세요.

개발에 관심이 있으십니까?

코드 탐색하기는, SVN 저장소를 확인하시거나, 개발 기록RSS로 구독하세요.

변경이력

1.0

  • minor UI improvement
  • admin js en css versionning

= 0.8.2
* fix a bug in non-multisite created by precedent version

0.8.1

  • fixed some multisite issues.

0.8

  • initial release