WP Inactive Logout
BUY PRO Version and unlock more features
WP Inactive Logout makes your WP account secure from snoopers, friends to protect your data by assuring auto log out system within a certain defined time. This will help you keep safe from any users using same machine to access your account in case you are away and forgot to logout and kept your site logged open.
Updated: May 21, 2019
Simple but works efficiently. Nothing much to explain on plugin use. As its simple to use. You can find inactive settings under settings menu in admin dashboard.
Some Feature Highlights of WP Inactive Logout
- Change idle timeout time.
- Count down of 10 seconds before actual logout. You can remove this feature if you dont want it.
- Add only Wake Up! message where user will not logout but instead a wakeup message will be shown upon inactive.
- Custom Popup Message.
- Choose to use concurrent logout functionality derived from prevent concurrent logins by Frankie Jarrett. Thumbs up here too !
- Redirect to a Different Page instead of Popup box. Create a page such as timeout page and add your content there by creating a blank template or style it as you wish according to your theme.
- Multiple User Role Configurations for individual timeout and redirects.
- Clean UI
- Simple to use
- Multi browser tab support: Means that logout will not happen even if the user has multiple browser tabs opened and is active in certain browser tab.
- Multisite Support: Override all sites with one setting.
- Auto browser close logout after 2 minute of active session. ( PRO )
- Override Multiple Login priority ( PRO )
- Disable for mobile users ( PRO )
In order to style dialog boxes you can use css classes. Also, works in frontend view as well.
Using WP Inactive Logout
Filter Hooks
1. add_filter(‘ina__redirect_message’, ‘callback’ );
– For changing “You have been logged out because of inactivity. Please wait while we redirect you to a certain page…” this message.
Reference: GIST FILE
add_filter(‘ina__logout_message’, ‘callback’ );
– For changing “You have been logged out because of inactivity.”
Reference: GIST FILE
After you have installed this plugin browse through settings > inactive logout.
- Idle Timeout – This option lets you choose when to log out after inactivity.
- Idle Message Content – Message to show when you are inactive and logged out. Modify according to your needs.
- Popup Background – Customize popup background according to need in order to hide your data even after logout.
- Disable Timeout Countdown – There is a timeout countdown after you are inactive. System will give you a 10 seconds countdown before logging you out. If you have checked this option then you will be directly logged out.
- Show Warn Message – This feature will allow you to only show warn message that you are inactive for certain defined minutes.
- Concurrent Logins – This feature will let you only login at one place at a time. If you have logged in from another location then automatically previous location is logged out.
Please note that timeout is to be defined in minutes.
This plugin also works for multisite.
Hello,
So far this has been a nice plugin, so thank you very much for all your work on it. I am experiencing one issue though… I am using the latest version (1.9.1) and while the timeout seems to work fine on desktop browsers, it is not working for me on iOS Safari browser. I have tried on iPhone and iPad with same result; user is never logged out.
Any ideas why this would be happening? Is anyone else experiencing this issue?
Thanks,
Scott
How can stop a logout if a video is playing. If user watches the video in full screen the warning pop up doesn’t show up.
Hi, i haven’t considered this one yet. I will look into this and try to fix the issue if possible.
Hi there!
Thanks for this awesome pluggin.
One simple issue : I have WP setup with MSSQL. When I try to save, I get multiple errors about not the field “Option_Value” not allowing NULL values.
Is it possible to force an empty string instead of a null value?
Just asking – I know my setup isn’t the “normal” setup.
Thanks!
Can the countdown time of 10 seconds be made user settable? It would be a nice feature to add to the plugin, so we can select something else than 10 seconds.
Can the countdown of 10 secs be changed to a user selectable amount of time, say 30 seconds? 10 seconds seems awful fast, if a person isn’t near the screen, but in the room. This would be a feature added to the plugin.
This is a great plugin! One issue I’ve seen though is with a pc that has gone to sleep? When I wake the PC (much longer than the inactive time setting), it does not show the modal box. The site just appears as it did, although I think the session data may be destroyed. Previous Nonces are invalid as well. The page has to be refreshed manually. Is it possible to make the plugin check “on wake” and show the modal box? Thanks!
Hi there,
First of all great job creating this plugin. I have been testing a few others and this one seems to work as I intended for my platform.
However, I would like to be able to disable the timer for each user individually.
Is there an easy way to tweak the plugin-code so that timer can be disabled not only for ‘User Role’ but also for ‘User Name’?
That would be a great addition for me!
Hi Guys,
Indeed it is a nice plugin and I was using it with comfort but…
I use themeco pro theme for my website and realized that inactive logout contradicts with my theme.
When I try to edit my page I cant see any content on the page just the upper and lower menu althouth the rest of the configuration parameters are there.
If you have any clue what may cause this problem I appreciate otherwise I cant activate this plugin.
This issue should be fixed in the new version of Inactive logout plugin. Please try that out.
Thanks for your work, and this looks promising for our site. I wonder if it is possible to have the timeout apply to, or not apply to, specific accounts. For example, if I am working away taking photos and writing posts, I could easily hit the timeout and so I could extend it; i’m working in a relatively secure location. But on the other hand, there’s an account used on the sales floor, a public location, that really needs a short lockout time. Thanks!
Hi Patrick,
So do you mean functionality that could extend users to extend time ? But for disabling timeout setting for certain user roles is only possible at the moment. However, i am exactly not sure on what you exactly need. Could you summarize it and send me an email via support section. Thanks.
Ha bro, update your plugin. You have really awesome plugin. But try to update it most features are not working now
Hello Roshan,
Please let me know on which features are not working ? I’ll quick fix those ASAP.
How can I change the background color of the timeout button? I assume this requires accessing a php file, but which one and where?
Hello Jason,
No you do not need to modify any php file for this. Simply add a rule in your css from by tracking classes from following gist https://gist.github.com/techies23/546b9a85eda645207704cb9cf1cf8a9a and https://gist.github.com/techies23/e9b54467b05f25f189ed5ff52375ef41. Please send me an email if this does not help you. Thanks
WP Inactive Logout Currently isn’t Working in WordPress 4.9.1, Please Repair it as soon as Possible
Hi DpEN,
We have Installed this Plugin which looks promising for Idle User log out.
We have ‘Network Activated it’ But we have noticed that we are unable to save changes in one of our Sub-Site.
In fact, there is no option to Save Changes under Settung-> Inactive Logout.
Can you please provide a solution to fix this Issue.
Please let me know if any other Info is required.
Regards
Siva Teja
HI DpEN,
With your modification “5.4” to “5.2” your plugin work very fine, a great thanks to you, inactives users are going to have a new surprise 😉
Do not sorry for late reply, i was on hollydays for 2 weeks.
Best regards and thanks again. Danielle
🙂
Hi Dp,
Thank for your reply.
My boss dont want to upgrade our old server (php 5.3.8). I try few plugin for logout after inactivity. Only your (inactive-logout) do exacty what i expect ! others are very approximative and not usefull. I’m not able to transform php code in way that your plugin work on php 5.3.8. I just want to logout users on WP multisite after 3 minutes of inactivity. If you can help me. Thanks. Danielle
Hi Danielle,
Again sorry for late reply. Please send me an email from https://deepenbajracharya.com.np/say-hello/ if i dont get back to you soon. Because in comments its likely to go into spam if special characters are written.
Its bad that you cannot upgrade your server. Like i said recommend using php version 5.6 equivalent or above. For you a temporary solution is to edit plugin source code file.
Edit file inactive-logout/src/inactive-logout-main.php on line 198. Edit “5.4” to “5.2”. Save and it should work for you. Lemme knw through mail from https://deepenbajracharya.com.np/say-hello/ if it works for you. Thanx.
Hi,
Your plugin work powerfull. But i have a problem, on my test server with php 5.5.38 work fine, but on my job server with php 5.3.8 (older) i can’t activate your plugin who require a higher versus of php. I cannot ugrade to php 5.5.8 my job server.
Have you a solution ? Best regards. Danielle
Hi Danielle,
My site has blocked your comment as spam so i did not see your comment in my mailbox so i did not reach out to you sooner.. Sorry for that.. Is there anyway you can upgrade your server to atleast php version 5.6 ? You should not use php less that since its going to be deprecated soon. If any problems you can contact me via contact me section.. Thanx
Me again. First let me say great work on the many additions and changes to this wonderful plugin. Is there a way to redirect to a specific URL instead of having to choose from a list of pages/posts?
Hi Moe,
Sorry.. Did not add that feature since i thought that wont be necessary… Will take this into consideration.. Please create an issue and tag it as “enhancement” in github repository https://github.com/techies23/Inactive-Logout/issues/new so that i can track and not forget 🙂
Outstanding plugin! Is there a way to redirect to a particular url after logout?
Hi there,
Not at the moment. Will be adding this in the next update.