-
Notifications
You must be signed in to change notification settings - Fork 16
/
readme.txt
198 lines (141 loc) · 6.23 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
=== Expire Users ===
Contributors: husobj
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=MW3TJNHM283LU
Tags: users, password, expire, login, roles
Requires at least: 5.4
Tested up to: 6.2
Stable tag: 1.2.1
Requires PHP: 7.4
License: GPLv2 or later
Set expiry dates for user logins.
== Description ==
> Important security update - if you are using version 0.2 or earlier please upgrade
This plugin allows you to set expiry dates for user logins. You can set a user to:
* Never expire (default)
* Expire in X days, weeks, moths or years
* Expire on a specific date
When a user expires you can:
* Change the role of that user
* Replace the user's password with a randomly generated one
* Send an email notification to the user
* Send an email notification to the site administrator
* Remove expiry details and allow user to continue to login
* Perform you own actions using an [`expire_users_expired`](https://github.com/benhuson/expire-users/wiki/expire_users_expired) hook
You can automatically assign expiry details to users who sign up via the register form.
The email notification messages can be configured in the admin settings.
Please post in the [support forum](http://wordpress.org/support/plugin/expire-users) if you have any questions, or refer to the [documentation](https://github.com/benhuson/expire-users/wiki), [report bugs](https://github.com/benhuson/expire-users/issues) and [submit translations](https://github.com/benhuson/expire-users/issues) at the plugin's [GitHub page](https://github.com/benhuson/expire-users/).
== Installation ==
To install and configure this plugin...
1. Upload or install the plugin through your WordPress admin.
2. Activate the plugin via the 'Plugins' admin menu.
3. Edit a user to set password expiry options.
= Upgrading =
If you are upgrading manually via FTP rather that through the WordPress automatic upgrade link, please de-activate and re-activate the plugin to ensure the plugin upgrades correctly.
== Frequently Asked Questions ==
None at present.
== Screenshots ==
1. Expire Date column in users admin.
2. Edit a user's expiry date and expiry actions.
3. Edit email notification messages.
4. User login expired error.
== Changelog ==
= 1.2.1 =
* Tested up to WordPress 6.2
* Tested up to PHP 8.2
= 1.2 =
* Tested up to WordPress 5.6
* Added `expire_users_current_user_expire_countdown` shortcode.
* Fix `expire_users_email_notification_{string}` and `expire_users_email_admin_notification_{string}` being applied in the inverse contexts. Props [@Chaddles23](https://github.com/Chaddles23/)
= 1.1 =
* Make Expire Date column sortable in admin panel. Props @loreboldo.
* Fix error when user tries to reset password.
* Fix issue when expiry check on login happens too early.
* Fix translation of "ERROR:".
= 1.0.4 =
* On expiry, remove expiry date and continue to allow login if set. Props @loreboldo.
= 1.0.3 =
* If user logged in, check expiration while browsing.
* Prepare for translation.
= 1.0.2 =
* Rollback changes causing multiple emails to be sent!
= 1.0.1 =
* Fix PHP7 class constructor warnings.
* Check and expire users if needed when displaying in the admin.
* Check if cron needs setting up when in admin.
= 1.0 =
* Add expiry fields to new user admin page.
* Add 'expire_users_admin_email' filter to allow admin notifications to be sent to a different email address.
* Add French translation. Props ateruel.
* Add Italian translation. Props Marco Chiesi.
* Tested up to WordPress 4.2
= 0.9 =
* Expired dates are displayed as red in admin.
* Dates are correctly internationalized.
* JavaScript and CSS files are only loaded on the required pages in admin.
* Email notifications checkboxes grouped together under new heading.
* Improved expired users database query.
* Added Expire_User->is_expired() method.
* Added version constants.
= 0.8 =
* Added [expire_users_current_user_expire_date] shortcode.
* Force check if user expired on login.
* Fix static method warnings.
= 0.7 =
* Fix expiry dates to work with site's timezone.
* Use date formats from WordPress settings.
* Use user's real name in notification emails if available.
* Ensure custom roles are listed in drop down menu.
* Add option to remove user expiry details and continue to allow user to login when they expire.
* Add admin help.
= 0.6 =
* Added support for translations. Submissions welcome.
= 0.5 =
* Added option to automatically set expiry details for users who register via the register form.
= 0.4 =
* Enables email notifications to users and administrators.
* Add a settings page where you can configure email notification messages.
* Perform you own actions on user expiry using an `expire_users_expired` hook.
* Only allow users with user editing capabilities (administrators) to edit expiration dates.
= 0.3 =
**Important Security Update!**
* Fix authenticate() and login issue.
= 0.2 =
* Prepare for translation.
* Fix 'Expire Date In…' settings.
= 0.1 =
* First Release. If you spot any bugs or issues please [log them here](https://github.com/benhuson/expire-users/issues).
== Upgrade Notice ==
= 1.2.1 =
Tested up to WordPress 6.2 and PHP 8.2
= 1.2 =
Added `expire_users_current_user_expire_countdown` shortcode.
= 1.1 =
Sort users by expiry date in admin and fix some login issues.
= 1.0.4 =
On expiry, remove expiry date and continue to allow login if set.
= 1.0.3 =
If user logged in, check expiration while browsing.
= 1.0.2 =
Rollback changes causing multiple emails to be sent!
= 1.0.1 =
Fix PHP7 class constructor warnings and beter checking for expire users when displaying them in the admin.
= 1.0 =
Added expiry fields to new user admin page and 'expire_users_admin_email' filter.
= 0.9 =
Expired dates are displayed as red. Dates are internationalized and JavaScript/CSS files are only loaded on the required admin pages.
= 0.8 =
Added [expire_users_current_user_expire_date] shortcode and force check if user expired on login.
= 0.7 =
Fix expiry dates to work with site's timezone.
= 0.6 =
Added support for translations.
= 0.5 =
Assign expiry details to users when they register via the register form.
= 0.4 =
Option to enable email notifications and perform custom actions on user expiry.
= 0.3 =
Important security update!
= 0.2 =
Ready for translation. Fixed "Expire Date In..." settings.
= 0.1 =
First release.