跳至内容
WordPress.org

China 简体中文

  • 主题
  • 插件
  • 新闻
  • 支持
    • 文档
    • 论坛
  • 关于
  • 获取 WordPress
获取 WordPress
WordPress.org

Plugin Directory

Expire Users

  • 提交插件
  • 我的收藏
  • 登录
  • 提交插件
  • 我的收藏
  • 登录

Expire Users

作者:Ben Huson
下载
  • 详情
  • 评价
  • 安装
  • 开发进展
支持

描述

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 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 if you have any questions, or refer to the documentation, report bugs and submit translations at the plugin’s GitHub page.

屏幕截图

  • Expire Date column in users admin.
  • Edit a user’s expiry date and expiry actions.
  • Edit email notification messages.
  • User login expired error.

安装

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.

常见问题

None at present.

评价

Need to update

sooshiant89 2021 年 9 月 1 日
Please enable this feature when it expires, user delete from database

exelent

aliking1991 2020 年 8 月 31 日
good & exelent

Excellent

allandore 2019 年 4 月 30 日
M’a permis de créer des abonnements sur-mesure avec renouvellement automatique mais également en le combinant avec un autre plugin, d’insérer massivement des utilisateurs via une feuille excel et de leur attribuer une date d’expiration de manière dynamique. Super plugin, beaucoup de personnalisation, je recommande à 100%

This plugin is dead now

cercoedo 2018 年 12 月 14 日
Version: 1.0.3 tested on WordPress 4.9 and 5.0. Plugin doesn’t work any more. Users expire as you create them. Also if you check that a user never expire it does, its role change to plugin settings default and you can’t manage to rollback changes until disable plugin. Also, and if you check to send an email alert when a user expire it send an alert daily to every users. DANGER!!! You need to disable the plugin to let users (also administrators!!!) log into your site again! Hope it will soon be update… Thank’s

Great and simple!

Gustav 2018 年 5 月 24 日
Simple and great plugin!

Unique Plugin

alkerprivate 2018 年 1 月 22 日
Дорогой Бен Хьюсон, после того, как пользователь регистрируется по истечении (месяц, полгода, год), плагин не возвращает предыдущую роль пользователя. Возможно, плагин не поддерживает новые версии Wordpress, или проблема может заключаться в использовании сторонних плагинов для оптимизации сайта. В течение короткого времени плагин работает хорошо. У вашего плагина нет аналогов, и будет жаль, если решение этой проблемы не будет найдено. Спасибо за ценную работу! ================================================ Dear Ben Hewson, after the user logs on expiration (month, half year, year), the plugin does not return the previous user role. Perhaps the plugin does not support new versions of Wordpress, or the problem may be using third-party plug-ins to optimize the site. Within a short time the plugin works well. Your plugin has no analogues, and it will be a pity if a solution to this problem is not found. Thanks for the valuable work!
阅读所有26条评价

贡献者及开发者

「Expire Users」是开源软件。 以下人员对此插件做出了贡献。

贡献者
  • Ben Huson

「Expire Users」插件已被翻译至 2 种本地化语言。 感谢所有译者为本插件所做的贡献。

帮助将「Expire Users」翻译成简体中文。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志。

更新日志

1.2.2

  • Fix checking of role when saving expiry data.
  • Tested up to WordPress 6.8.2

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

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.

额外信息

  • 版本 1.2.2
  • 最后更新:5 月前
  • 活跃安装数量 4,000+
  • WordPress 版本 5.4 或更高版本
  • 已测试的最高版本为 6.8.3
  • PHP 版本 7.4 或更高版本
  • 语言

    English (US) 、 German 和 Italian.

    翻译成简体中文

  • 标签
    expireloginpasswordrolesusers
  • 高级视图

评级

4.8 星(最高 5 星)。
  • 24 条 5 星评价 5 星 24
  • 0 条 4 星评价 4 星 0
  • 0 条 3 星评价 3 星 0
  • 0 条 2 星评价 2 星 0
  • 1 条 1 星评价 1 星 1

添加我的评价

查看全部评论

贡献者

  • Ben Huson

支持

最近两个月解决的问题:

总计 1,已解决 0

查看支持论坛

捐助

您愿意支持这个插件的发展吗?

捐助此插件

  • 关于
  • 新闻
  • 主机
  • 隐私
  • 陈列窗
  • 主题
  • 插件
  • 区块样板
  • 学习
  • 支持
  • 开发者
  • WordPress.tv ↗︎
  • 参与
  • 活动
  • 捐赠 ↗
  • 未来五分计划
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org
WordPress.org

China 简体中文

  • 关注我们的 X(原 Twitter)账号
  • 访问我们的 Bluesky 账号
  • 关注我们的 Mastodon 账号
  • 访问我们的 Threads 账号
  • 访问我们的 Facebook 公共主页
  • 关注我们的 Instagram 账号
  • 关注我们的 LinkedIn 主页
  • 访问我们的 TikTok 账号
  • 访问我们的 YouTube 频道
  • 访问我们的 Tumblr 账号
代码如诗