Title: Inactivity Auto Sign Out Plugin
Author: NipponMonkey
Published: <strong>01. rujna 2010.</strong>
Last modified: 01. rujna 2010.

---

Pretraga dodataka

Dodatak **nije testiran s zadnje 3 glavna izdanja WordPressa**. Možda ga se više
ne održava ili pruža podršku i možda ima probleme sa kompatibilnošću s novijim inačicama
WordPressa.

![](https://s.w.org/plugins/geopattern-icon/inactivity-auto-sign-out-plugin.svg)

# Inactivity Auto Sign Out Plugin

 Od [NipponMonkey](https://profiles.wordpress.org/nipponmonkey/)

[Preuzmi](https://downloads.wordpress.org/plugin/inactivity-auto-sign-out-plugin.0.2.zip)

 * [Detalji](https://hr.wordpress.org/plugins/inactivity-auto-sign-out-plugin/#description)
 * [Recenzije](https://hr.wordpress.org/plugins/inactivity-auto-sign-out-plugin/#reviews)
 *  [Instalacija](https://hr.wordpress.org/plugins/inactivity-auto-sign-out-plugin/#installation)
 * [Razvoj](https://hr.wordpress.org/plugins/inactivity-auto-sign-out-plugin/#developers)

 [Podrška](https://wordpress.org/support/plugin/inactivity-auto-sign-out-plugin/)

## Opis

This plugin automatically logs a user out after a certain period of time of inactivity.

It creates new meta data for each WP user and checks that the user hasn’t been inactive
for too long. If the user has been inactive for too long, then the user is automatically
logged out and redirected to a URL of your choice. It tracks the users activity 
in both the main site and admin area.

You can set the maximum inactivity time and redirect URL by changing the defined
constants in the plugin’s PHP page – no admin menus are available yet see FAQs.

It’s only a single PHP page, so it’s easy to alter to work however you’d like it
to work.

It works with BuddyPress too.

Let me know if you find a better way of doing this, and I’ll update the plugin.

### Installation Bug

[FIXED!] Currently, when you activate the plugin, you are automatically logged out!

## Instalacija

 1. Upload the plugin’s folder to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. That’s it! You can test it is working correctly by changing the
     MM_INACTIVITY_AUTO_LOG_OUT_MAX_INACTIVITY_TIME
    definition to a few seconds and seeing if you get automatically logged out or not.

## Pitanja i odgovori

  How do I change the inactivity time period?

Change this code in the plugin’s main php file. Set the time period to whatever 
you like.
 It’s in seconds, so 3x60x60 is equal to 3 hours of inactivity.

    ```
    define('MM_INACTIVITY_AUTO_LOG_OUT_MAX_INACTIVITY_TIME', 3*60*60);
    ```

  How do I set the redirect URL on auto log out?

You can change this definition to any URL you like. The default is site_url(), which
is your home page.
 You could set it to:

    ```
    define('MM_INACTIVITY_AUTO_LOG_OUT_REDIRECT_URL', site_url());

    define('MM_INACTIVITY_AUTO_LOG_OUT_REDIRECT_URL', 'http://www.example.com');

    define('MM_INACTIVITY_AUTO_LOG_OUT_REDIRECT_URL', site_url() . '/auto-logged-out.html');
    ```

## Recenzije

Nema recenzija za ovaj dodatak.

## Suradnici i Programeri

“Inactivity Auto Sign Out Plugin” je softver otvorenog koda. Sljedeće osobe su doprinijele
ovom dodatku.

Suradnici

 *   [ NipponMonkey ](https://profiles.wordpress.org/nipponmonkey/)

[Prevedite “Inactivity Auto Sign Out Plugin” na svoj jezik.](https://translate.wordpress.org/projects/wp-plugins/inactivity-auto-sign-out-plugin)

### Zainteresirani ste za razvoj?

[Pregledajte kôd](https://plugins.trac.wordpress.org/browser/inactivity-auto-sign-out-plugin/),
pogledajte [SVN spremište](https://plugins.svn.wordpress.org/inactivity-auto-sign-out-plugin/)
ili se pretplatite na [dnevnik razvoja](https://plugins.trac.wordpress.org/log/inactivity-auto-sign-out-plugin/)
od [RSS](https://plugins.trac.wordpress.org/log/inactivity-auto-sign-out-plugin/?limit=100&mode=stop_on_copy&format=rss).

## Dnevnik promjena

#### 0.2

 * Added an activation call to stop you from being logged out when you first activate
   the plugin!

#### 0.1

 * The first version – design for simple installation!

#### 0.0

 * This version never actually existed!

## Meta

 *  Version **0.2**
 *  Zadnje ažuriranje **prije 16 godina**
 *  Aktivnih instalacija **10+**
 *  Testirano do **3.0.5**
 *  Language
 * [English (US)](https://wordpress.org/plugins/inactivity-auto-sign-out-plugin/)
 * Oznaka
 * [auto](https://hr.wordpress.org/plugins/tags/auto/)[inactivity](https://hr.wordpress.org/plugins/tags/inactivity/)
   [out](https://hr.wordpress.org/plugins/tags/out/)[sign](https://hr.wordpress.org/plugins/tags/sign/)
   [signout](https://hr.wordpress.org/plugins/tags/signout/)
 *  [Napredni pogled](https://hr.wordpress.org/plugins/inactivity-auto-sign-out-plugin/advanced/)

## Ocjena

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/inactivity-auto-sign-out-plugin/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/inactivity-auto-sign-out-plugin/reviews/)

## Suradnici

 *   [ NipponMonkey ](https://profiles.wordpress.org/nipponmonkey/)

## Podrška

Želite nešto reći? Potrebna vam je pomoć?

 [Pregledaj forum za podršku](https://wordpress.org/support/plugin/inactivity-auto-sign-out-plugin/)