This repository has been archived by the owner on Jun 2, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 15
/
readme.txt
353 lines (269 loc) · 13.5 KB
/
readme.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
=== Inactive Logout ===
Contributors: j__3rk
Tags: logout, inactive user, idle, idle logout, idle user, auto logout, autologout, inactive, inactive, automatic logout, multisite autologout, multisite inactive logout, multisite inactive user, multisite, concurrent logout, multiple sessions, multiple user logout, concurrent login
Donate link: https://www.paypal.com/donate?hosted_button_id=2UCQKR868M9WE
Requires at least: 4.6.0
Tested up to: 5.8
Stable tag: 2.0.2
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Logs out users within defined time when inactive. Modify to show only wake up message and not log out as well. Supported for multisites as well.
== Description ==
Protect your WordPress users' sessions from shoulder surfers and snoopers!
Use the Inactive Logout plugin to automatically terminate idle user sessions, thus protecting the site if the users leave unattended sessions.
The plugin is very easy to configure and use. Once you install and activate the plugin simply configure the idle timeout from the plugin settings. So now any unattended idle WordPress user sessions will be terminated automatically. You can also display a custom message to idle user sessions, alerting them that the session is about to end.
**Please check [changelog](https://wordpress.org/plugins/inactive-logout/#developers "Change Log") to see what is added from version 1.3.0**
**FEATURES:**.
* 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](https://wordpress.org/plugins/prevent-concurrent-logins/ "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.
**EXTEND OTHER FEATURES:**
Upgrade to **[Inactive Logout Pro](https://www.codemanas.com/downloads/inactive-logout-pro/ "Inactive Logout Pro")** for:
* Auto browser close logout after 2 minute of active session.
* Override Multiple Login priority
* Disable inactive logout for specified pages according to your need. Check this **[Documentation](https://gist.github.com/techies23/6d2852eedd6ae56c486056e021e4ee48 "documentation")** for additional post type support.
* Multi-User configurations ( Coming Soon )
> NOTE: Premium plan users will always be given highest priority over free plan users.
**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: [See here](https://gist.github.com/techies23/9046a82671b994c20237a177838b70a2 "See here")
2. add_filter('ina__logout_message', 'callback' );
For changing "You have been logged out because of inactivity."
Reference: [See here](https://gist.github.com/techies23/9046a82671b994c20237a177838b70a2 "See here")
3. External Page Redirect For Custom post type pages.
For allow of support of custom post type in page redirections use.
Reference: [See here](https://gist.github.com/techies23/91c3144e5273ac00e51df292c4b434ac "See here")
**See the [Inactive Logout](https://deepenbajracharya.com.np/wp-inactive-logout/ "Inactive Logout") homepage for further information. Contact Developer for those who need to write plugins.**
**There's a [GIT repository](https://github.com/techies23/Inactive-Logout.git "Github Inactive Repository") too if you want to contribute a patch. Please check issues. Pull requests are welcomed.**
**Please consider giving a [5 star thumbs up](https://wordpress.org/support/plugin/inactive-logout/reviews/#new-post "5 star thumbs up") if you found this useful.**
== Installation ==
1. Upload Inactive logout or download inactive logout
2. Activate the inactive logout from the plugins menu in WordPress
3. Goto "Inactive Logout" settings menu inside settings menu to configure.
== Frequently Asked Questions ==
= Auto logut when browser close version ( in beta ) =
This feature has been moved to PRO version of the plugin.
= Mailpoet page not loading in wp-admin mailpoet pages after inactive logout install =
Filter "ina_logout_mailpoet_conflict_fix" incase conflict happens because of inactive logout scripts on mailpoet page use this filter to disable and avoid conflict. Add filter to your functions.php file and return false.
**Tested on:**
**From file:** plugins/mailpoet/lib/Util/ConflictResolver.php version 3.46.1
**Function:** scope public resolveStylesConflict()
**Line: 83**
= Plugin Conflicts =
Slim Stat Analytics: Users using "Slimstat Analytics" plugin version upto 4.6.2 might find conflict issue with colorpicker javascript library. This conflict was identified by [psn](https://wordpress.org/support/users/psn/ "PSN") and has been fixed in later versions of slim stat analytics.
= Popup Modal Customization HTML Render Elements =
* For Default popup customization: [Code](https://gist.github.com/techies23/e9b54467b05f25f189ed5ff52375ef41 "Default popup code")
* For Wakeup popup customization: [Code](https://gist.github.com/techies23/546b9a85eda645207704cb9cf1cf8a9a "Wakeup popup code")
== Screenshots ==
1. Showing Inactive Logout Settings Page.
2. Wakeup functionality message box.
3. Session going to logout if continue is clicked then session will not end.
4. Multi User Role Screen
== Changelog ==
= 2.0.2 =
* Bug fixes that relates with "Session Timeout" showing undefined message randomly.
= 2.0.1 =
* Added: Option to disable login fields on popup and revert back to old style.
= 2.0.0 =
* Added: Support for login form pop up ( contributed by MuhammadShabbarAbbas )
* Changed: Main script for the countdown of idle activity to be non cachable for more robust results.
* Added: Ability to change countdown timer after the intial time for idle threshold has reached.
* Changed: Inactive idle time tracker is now set to 5 seconds.
* Added: Debugger functionality added in settings page.
* Fixes: Minor bug fixes.
= 1.9.9 =
* Fixed: Deprecated "onReady" event warning.
= 1.9.8 =
* Fixed: Inactive logout helper functions modified and made compatible for multisite when used alongside addon version.
* Fixed: Major Bug Fixes
= 1.9.7 =
* Removed: HTML output for popup modal in all pages.
* Added: Ajax implementation for timeout popup.
* Bug Fix: Multiple Browser tab support sometimes not working.
* Bug Fix: 400 ajax call request after user has been logged out.
* Refactored: JS scripts
* Added: Continue without refresh button after logout to login again if users were logged out in the middle of editing a page or something. Only works in wp-admin section since adding this to frontend does not make sense.
* Major bug fixes.
= 1.9.6 =
* WP 5.5 support
* Updated: Static resources to be cache friendly.
* Updated: Select2 JS library.
= 1.9.5 =
* Fixed: Mailpoet conflict resolver issue fixed. Inactive logout scripts and css not loading in mailpoet edit page backend.
* Added: Filter "ina_logout_mailpoet_conflict_fix" incase conflict happens because of inactive logout scripts on mailpoet page use this filter to disable and avoid conflict.
= 1.9.4 =
* Fixed: Constant issue where defined constant is showing errors.
= 1.9.3 =
* Fixed: Minor JS bug fixes.
* Added: Filter for applying custom post type pages for redirection "ina_free_get_custom_post_types".
* Admin notice fix.
* Language Fix.
* Updated: Select2 Library to 4.0.12
= 1.9.2 =
* Fixed: Condition check for modal popup if inactive logout feature is disabled.
* Fixed: Error https://wordpress.org/support/topic/fatal-error-uncaught-error-34/
* Fixed: https://wordpress.org/support/topic/setting-message-text/
* Added: Hooks
* Changes: Minor bug fixes
= 1.9.1 =
* Fixed: issue with multiple browser tab
* Fixed: JS frontend builder issue for Divi - Not tracking when on frontend builder
* Fixed: resetTimer method not being found and js crash
* Fixed: (Active element) When editing in wp editor or iframe countdown is not implemented.
* Changed: Javascript code refactored
* Removed: goActive method which was unnecessary
= 1.9.0 =
* Changed: Javascript methods changed to modular.
* Added: Pro Tab added in settings page
* Added: Hook priorities for ending conflicts
* Changed: Helper function now into singleton
* Added: SASS compilation
* Removed: INA_VERSION constant
* Bug Fix: Multi-Role fixes
* Bug Fixes
= 1.8.0/1.8.2 =
* Added: Auto logout when browser is closed - follow link in the description to download beta plugin.
* Major bug fixes
* Code refactor
= 1.7.9 =
* Minor fixes
= 1.7.8 =
* Minor fix where scripts are prioritized.
= 1.7.7 =
* Filter Added: Two filters added for changing text when logout.
* Removed debugger code from JS file.
* Minor Bug Fixes
= 1.7.6 =
* Bug Fix: Advanced Management Tab not showing save changes button.
= 1.7.5 =
* Fix on minor conflict issues
* Code Refactor
* Text hint changes
= 1.7.4 =
* Minor Changes
* Code Refactor
= 1.7.3 =
* Added: Works on IFRAME content now
* Minor Changes
* Code Refactor
= 1.7.2 =
* Bug Fixes
* Bug Fix: Showing HTML output in gravity forms custom post type page.
* Code Refactor
= 1.7.1 =
* Fixed a minor bug when saving settings in WP multisite network admin page.
* Inactive setting menu hides when override option is checked for WP multisite network.
= 1.7.0 =
* Major Bug Fixes
* Added Full Support for Multisite: Users can override one setting for all sites
* Added Finnish Translation. Thanks to daniel
* Changed Translation text domain
= 1.6.3 =
* Changes: Code Optimization
* Major Bug Fixes
* Locale Update
= 1.6.1 =
* Fixed: Activation Error Feeds
= 1.6.0 =
* Added "Disable Concurrent Logins For Certain Roles" in advanced management settings.
* Bug Fix: Major fix that happened to update unselected user roles when trying to check a box.
* Bug Fix: Custom URL redirect fields showing UI
* 3 Major bug fixes
* 5 Minor bug fixes
= 1.5.1 =
* Minor Changes.
= 1.5.0 =
* Added External Page Redirect. Select from "Redirect Page" and choose option "External Page redirect". Available only for Basic settings.
* Major Bug Fixes
= 1.4.7 =
* WordPress 4.8 compatible
= 1.4.4 - 1.4.5 =
* Removed Functionality: Removed auto logout added in v1.4.1 - 1.4.3 due to logout bug.
* Minor Bug Fixes
= 1.4.3 =
* Bug Fix: Fixed logout caused when plugin is activated.
= 1.4.2 =
* Bug Fix: Fixed logout when plugin is deactivated.
= 1.4.1 =
* Added: Logout session even after the browser is closed.
= 1.4.0 =
* Change: Added constant login functionality for all browser tabs which means even if the user has multiple browser tabs opened. Until the user is active plugin will not show any popups or logout the user. The timeout will only show in the last active tab window.
= 1.3.5 =
* Updated: Updated Sweedish translation.
* Change: Small fix regarding php version compatibility.
* Removed: Beta Version for advanced management
= 1.3.4 =
* Security: Fixed a non-security though a security issue. Where a variable named system is changed because virustotal was showing it was a threat.
= 1.3.3 =
* Updated: Spanish translation. Compatible to version 1.3. Thanx to Miguel Arroyo.
= 1.3.2 =
* Updated: German translation. Compatible to version 1.3 Thanks to Roland Dietz
= 1.3.1 =
* Updated: Swedish translation. Compatible to version 1.3 Thanks to @nijen
= 1.3.0 =
* Added: Basic and Advanced configuration features
* Minor Bug Fixes
* Added: Multi Role based configuration
* Added: Multi Role based redirection
* Added: Multi Role based feature disable
* Added: Multi Role based timeout limit
* Added: Tab Layout for settings section
= 1.2.1 =
* Changes: Classes changes in order to avoid any conflict with JS issues.
* Added: Spanish translation. Thanx to Miguel Arroyo.
* Updated: Swedish translation. Thanx to Björn Granberg.
* Minor bug fixes.
= 1.2.0 =
* Feature: Added Redirection to different page after logout functionality.
* Bug: Minor bug fixes.
= 1.1.3 =
* Bug: Activation Bug Fix
= 1.1.2 =
* Corrected Swedish Translation. Thanks to @nijen
= 1.1.1 =
* Corrected German Translation. Thanx to Roland Dietz.
* Corrected Localization String in Helper Class.
= 1.1.0 =
* Added Concurrent Login Functionality referencing from prevent concurrent logins by Frankie Jarrett
* Fixed Translation Errors
* Added Swedish Translation thanks to @nijen
* Added Popup Solid Background Feature
* Few Bug Fixes
= 1.0 =
* Initial Release
== Upgrade Notice ==
= 1.7.7 =
Upgrade to get latest stable version.
= 1.7.2 =
Upgrade to get latest stable version.
= 1.7.1 =
Upgrade to get latest stable version.
= 1.7.0 =
Upgrade to get latest stable version.
= 1.6.1 - 1.6.2 =
* Fixed activation error, upgrade to get latest stable version.
= 1.6.0 =
* Major improvements and fix updates, upgrade to get latest stable version.
= 1.5.0 =
* Major improvements and fix updates, verify change log for upgrade.
= 1.4.5 =
Please read FAQ section for old users.
= 1.4.3 =
Please read FAQ section for old users.
= 1.4.0 =
Please upgrade to get new feature.
= 1.3.0 =
Please upgrade to get latest features.
= 1.2.0 =
Added Redirect to Custom Page functionality.
= 1.1.3 =
Crucial Upgrade. Contains fix for activation Error. Please upgrade.