跳至内容
WordPress.org

China 简体中文

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

Plugin Directory

Block User Account

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

Block User Account

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

描述

Block User Account gives administrators complete control over user account management. Block users temporarily or permanently, set custom block messages, send email notifications, and monitor all blocking activities with detailed logs.

Features:

  • Easy User Blocking: Block any user with one click from the users list or their profile page
  • Temporary Blocks: Set expiry dates for automatic unblocking after hours, days, or months
  • Custom Messages: Show personalized messages to blocked users when they try to login
  • Bulk Actions: Block or unblock multiple users at once with duration options
  • Email Notifications: Automatically notify users and admins about blocking activities
  • Activity Logs: Track all blocking and unblocking actions with detailed logs
  • Dashboard Widget: Quick overview of blocked users and recent activities
  • Admin Bar Menu: See blocked user count at a glance
  • Export Logs: Download activity logs as CSV files
  • Statistics Page: View blocking statistics and trends
  • RTL Support: Fully compatible with right-to-left languages
  • Translation Ready: Includes Persian translation

Credits

Developed by DangoWeb

屏幕截图

Users list with status columns and quick actions
Users list with status columns and quick actions
User profile block settings with toggle switch
User profile block settings with toggle switch
Wordpress login Permanent blockage error
Wordpress login Permanent blockage error
Wordpress login Custom time blockage error
Wordpress login Custom time blockage error
Dashboard widget
Dashboard widget
Settings page
Settings page
Settings page
Settings page
Settings page
Settings page

安装

  1. Upload block-user-account folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Go to Users page to see block options
  4. Configure settings in Settings > Block User Account

常见问题

Can I block users temporarily?

Yes, you can set an expiry date for each block. The user will be automatically unblocked when the time expires.

Will blocked users receive notifications?

Yes, you can enable email notifications to inform users when their account is blocked or unblocked.

Can I customize the block message?

Yes, you can set a default message in settings or customize it per user in their profile page.

Is there a log of all blocking activities?

Yes, the plugin maintains a detailed activity log with timestamps, admin users, and reasons.

Can I block multiple users at once?

Yes, use the bulk actions dropdown in the users list to block or unblock multiple users simultaneously.

评价

Nice! Please add do_shortcode

dlx 2023 年 3 月 5 日
Thanks for that plugin – works great! I added do_shortcode in line 211 of block-user-account.php so the message can have a shortcode included then: $user_message = do_shortcode( get_user_meta($userinfo->ID, 'user_status_message', true) );

It would be great if it could be improved a little more.

aga2442 2022 年 9 月 26 日
I tested 2 more plugins with this feature. This plugin gave the best results. It would be great if it could be improved a little more. e.g; It would be great to see all blocked users on 1 page.

افزونه ساده و کارآمد

Tara 2022 年 8 月 3 日
در عین سادگی بسیار کارآمد است. ممنون

Active/Disactive in bluk action

ahmadegbaria000 2021 年 3 月 5 日 2 回复
Hi Very good plugin How can i active or disacrive user by bluk action? Without enter to user profile.. Thanks

افزونه عالی

mahdirabiee 2021 年 1 月 8 日
کاربردی است

Needs to some null checks

proximity2008 2020 年 10 月 5 日 1 回复
You can't just blindly hope that $_POST['user_status'] and $_POST['user_status_message'] are going to be there when you call bua_save_user_status It's causing notices in my dev environments.
阅读所有7条评价

贡献者及开发者

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

贡献者
  • Dango Web

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

帮助将「Block User Account」翻译成简体中文。

对开发感兴趣吗?

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

更新日志

=2.0.0=
* Fixed REST API authentication bypass for blocked users (security fix)

2.0.0

  • Complete plugin rewrite with OOP architecture
  • Added temporary block functionality with expiry dates
  • Added activity logging system with CSV export
  • Added email notifications for users and admins
  • Added bulk actions with duration options
  • Added statistics page with charts and trends
  • Added admin bar menu with blocked user count
  • Added dashboard widget with expiring blocks overview
  • Added settings page with professional UI
  • Added user profile block history
  • Added auto-unblock via cron jobs
  • Added tools section (check expired, clean logs, export)
  • Improved security with nonce verification

1.4

  • Added Persian translation
  • Fixed login authentication issues
  • Improved toggle switch design

1.3

  • Added bulk actions
  • Added user status columns

1.0

  • Initial release

额外信息

  • 版本 2.0.1
  • 最后更新:2 月前
  • 活跃安装数量 1,000+
  • WordPress 版本 5.0 或更高版本
  • 已测试的最高版本为 7.0.7
  • PHP 版本 7.2 或更高版本
  • 语言

    English (US) 、 German 和 Persian.

    翻译成简体中文

  • 标签
    ban userblock userdisable accountuser management
  • 高级视图

评级

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

您的评价

查看全部评论

贡献者

  • Dango Web

支持

最近两个月解决的问题:

总计 1,已解决 0

查看支持论坛

捐助

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

捐助此插件

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

China 简体中文

The WordPress® trademark is the intellectual property of the WordPress Foundation.

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