Title: User Last Visit
Author: CNHK SYSTEMS
Published: <strong>اپریل 14, 2015</strong>
Last modified: دسمبر 11, 2016

---

پلگ انز تلاش کریں

یہ پلگ ان **ورڈپریس کے تازہ ترین 3 ریلیزوں کے ساتھ ٹیسٹ نہیں کیا گیا ہے**۔ اب یہ
برقرار نہیں رکھا جا سکتا یا معاونت نہیں کی جا سکتی اور اس کو ورڈپریس کے تازہ ترین
ورژنز کے ساتھ استعمال کیے جانے پر مطابقت کے مسائل ہو سکتے ہیں۔

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

# User Last Visit

 منجانب [CNHK SYSTEMS](https://profiles.wordpress.org/cnhk_systems/)

[ڈاؤن لوڈ کریں](https://downloads.wordpress.org/plugin/user-last-visit.1.0.zip)

 * [تفصیلات](https://ur.wordpress.org/plugins/user-last-visit/#description)
 * [جائزے](https://ur.wordpress.org/plugins/user-last-visit/#reviews)
 *  [انسٹالیشن](https://ur.wordpress.org/plugins/user-last-visit/#installation)
 * [ڈیولپمنٹ](https://ur.wordpress.org/plugins/user-last-visit/#developers)

 [معاونت](https://wordpress.org/support/plugin/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

## عمومی سوالات

  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).

## جائزے

![](https://secure.gravatar.com/avatar/62e31dcb0bd03b8575130f7d8ef3775dd26b7079ae011f68e0fbed9fa3dc01e8?
s=60&d=retro&r=g)

### 󠀁[Works Perfect](https://wordpress.org/support/topic/works-perfect-543/)󠁿

 [Knud](https://profiles.wordpress.org/knud/) جنوری 8, 2018

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.

![](https://secure.gravatar.com/avatar/ec27d65de6b4f2227a75b09e3f978857d364eda480e6723e7d36efc23b9943ff?
s=60&d=retro&r=g)

### 󠀁[Works great!](https://wordpress.org/support/topic/works-great-3465/)󠁿

 [pcpro178](https://profiles.wordpress.org/pcpro178/) جنوری 11, 2017

Only one minor little bug where it has some trouble catching active users who just
logged in within the last few seconds.

 [ تمام 2 جائزے پڑھیں ](https://wordpress.org/support/plugin/user-last-visit/reviews/)

## شراکت دار اور ڈیویلپرز

“User Last Visit” اوپن سورس سافٹ ویئر ہے۔ مندرجہ ذیل لوگوں نے اس پلگ ان میں حصہ 
لیا:

شراکت دار

 *   [ CNHK SYSTEMS ](https://profiles.wordpress.org/cnhk_systems/)

[“User Last Visit” کا اپنی زبان میں ترجمہ کریں۔](https://translate.wordpress.org/projects/wp-plugins/user-last-visit)

### ڈویلپمینٹ میں دلچسپی ہے؟

[کوڈ براؤز کریں](https://plugins.trac.wordpress.org/browser/user-last-visit/)، [ایس این وی ریپوزیٹری](https://plugins.svn.wordpress.org/user-last-visit/)
کو چیک کریں یا [ڈویلپمینٹ لاگ](https://plugins.trac.wordpress.org/log/user-last-visit/)
کو سبسکرائب کریں بذریعہ [آر ایس ایس](https://plugins.trac.wordpress.org/log/user-last-visit/?limit=100&mode=stop_on_copy&format=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

## میٹا

 *  Version **1.0**
 *  Last updated **9 سال پہلے**
 *  Active installations **30+**
 *  WordPress version ** 3.8 یا اس سے جدید **
 *  Tested up to **4.2.39**
 *  Language
 * [English (US)](https://wordpress.org/plugins/user-last-visit/)
 * Tags
 * [logged in](https://ur.wordpress.org/plugins/tags/logged-in/)[multisite](https://ur.wordpress.org/plugins/tags/multisite/)
   [record](https://ur.wordpress.org/plugins/tags/record/)[user](https://ur.wordpress.org/plugins/tags/user/)
   [Visit](https://ur.wordpress.org/plugins/tags/visit/)
 *  [اعلی درجے کا منظر](https://ur.wordpress.org/plugins/user-last-visit/advanced/)

## درجہ بندیاں

 4.5 out of 5 stars.

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

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

[See all reviews](https://wordpress.org/support/plugin/user-last-visit/reviews/)

## شراکت دار

 *   [ CNHK SYSTEMS ](https://profiles.wordpress.org/cnhk_systems/)

## معاونت

کچھ کہنا ہے؟ مدد چاہیے؟

 [معاونتی فورم دیکھیں](https://wordpress.org/support/plugin/user-last-visit/)