该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

用户活动

描述

WP User Activity 在 WordPress 中记录活动的最佳方式。可以对每个用户的活动进行排序、过滤和查看,以及登录用户的会话数据和其他人的 IP 地址和用户代理。

动态分为对象“类型”和“操作”。类型是被操作的对象,而动作是对它们执行的操作。如果您熟悉 BuddyPress,这应该会感觉很舒服。

比如

Admin logged in 2 minutes ago.

Admin created the post "Hello World" 33 seconds ago.

Admin created the topic "I need help!" 5 days ago.

可进行的操作

  • 附件(上传、编辑、删除)
  • 评论(创建、待处理、批准、取消批准、垃圾邮件、取消垃圾邮件、垃圾邮件、取消垃圾邮件、删除)
  • 核心 (更新,自动更新)
  • 导出 (下载)
  • 菜单(创建、更新、删除)
  • 插件(安装,更新,激活,停用,编辑,删除)
  • 文章 (创建, 更新, 删除, Trash, Untrash, Spam, Unspam, Future)
  • 设置 (Update)
  • Terms (创建, 更新, 删除)
  • 主题(自定义、安装、更新、激活、编辑、删除)
  • 用户(登录、登录失败、注销、注册、更新、删除)
  • Widgets(更新、删除)

同样查看

屏幕截图

  • 日志
  • 编辑动态

安装

  • 使用内置的 WordPress 插件安装程序下载并安装。
  • 通过单击“激活”链接在管理员的“插件”区域中激活。
  • 无需进一步设置或配置.

常见问题

这是否适用于自定义帖子类型和分类法?

是的。它将与定义自己标签的所有帖子类型和分类法完美配合。不使用帖子类型 ID 模拟的那些。

我可以创建自定义活动类型和操作吗?

是的。可以过滤自动加载器,因此添加新对象类型非常简单:

add_filter( 'wp_get_default_user_activity_types', function( $types = array() ) {
    $types[] = 'Your_New_Type'; // class that extends WP_User_Activity_Type
    return $types;
} );

如果您想创建自己的操作,WP_User_Activity_Type_Taxonomy 类是一个很好的开始示例。它注册了简单的创建/更新/删除方法,具有易于理解的消息和集成。

这会创建新的数据库表吗?

不。它使用 WordPress 自定义帖子类型和元数据 API。

这会修改现有的数据库表吗?

不会。所有 WordPress 核心数据库表都保持不变。

我可以从哪里获得支持?

  • 论坛:https://wordpress.org/support/plugin/wp-user-activity/

我在哪里可以找到文档?

http://github.com/stuttter/wp-user-activity/

评价

2021 年 9 月 15 日
as @pavelword says on August 30, 2021 I don´t write reviews often, and almost never negative ones. But this plugin is coded in such a way that it logs the user activity into the wp_posts table. The same table, that you want to have as clean as possible will end up absolutely taken over by this plugin. Question to the developer: why doesn´t your plugin use separate table? To understand: I inherited a wordpress instance, where the wp_posts database grew to be over 250 MB, of the 575.652 entries were 560.000 entries generated by this plugin! This will of course affect the overall speed. It has taken me hours to find why my wp_posts table is so bloated. for anyone searching: this plugin adds new rows into the following table: wp_posts column: post-type entry: activity my review: After installing that plugin and I write a .httpdocs to block ousite logins at wp-admin folder it cant works. everyday hundreds of activity I think the developer use th secret user names to show us activity works fine.. I THINK NO
2021 年 8 月 30 日
I don´t write reviews often, and almost never negative ones. But this plugin is coded in such a way that it logs the user activity into the wp_posts table. The same table, that you want to have as clean as possible will end up absolutely taken over by this plugin. Question to the developer: why doesn´t your plugin use separate table? To understand: I inherited a wordpress instance, where the wp_posts database grew to be over 250 MB, of the 575.652 entries were 560.000 entries generated by this plugin! This will of course affect the overall speed. It has taken me hours to find why my wp_posts table is so bloated. for anyone searching: this plugin adds new rows into the following table: wp_posts column: post-type entry: activity
2017 年 4 月 25 日
often than not i forget the activity that i did especially when working on a multisite. this helps a lot and also very very fast and uses wp's native UI and even language where in my boss can actually understand. so this one i think is a must use
2017 年 4 月 5 日
According to my Plugin Performance Profiler tests it's the fastest log plugin.
阅读所有8条评价

贡献者及开发者

“用户活动” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

「用户活动」插件已被翻译至 5 种本地化语言。 感谢所有译者为本插件所做的贡献。

将“用户活动”翻译成您的语言。

对开发感兴趣吗?

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

更新日志

2.2.0

  • 修复用户过滤
  • 修复与 WP 用户配置文件的兼容性
  • 修复 untrashing 单个项目
  • 修复与 ACF 的不兼容问题

2.1.0

  • 修复用户未链接到“登出”操作

2.0.2

  • 将转义添加到管理区域行输出
  • 在有用的地方返回 ID 以便于扩展

1.1.0

  • 从 transition_post_status 中删除所有操作以避免无限循环

1.0.0

  • 官方公共版本
  • 添加支持用于”pending” 评论
  • 改进的 mu 插件位置支持

0.2.0

  • 支持用户资料 0.2.0

0.1.10

  • 为“插件删除”添加缺失的操作

0.1.9

  • 支持WP User Profiles 0.1.9

0.1.8

  • 修复冲突导致小部件无法保存

0.1.7

  • 修复导致致命错误的列表问题

0.1.6

  • 防止用户个人资料活动泄露

0.1.5

  • 更新 column 名称
  • 添加对 WP 用户配置文件的支持

0.1.4

  • 提高与其他插件的兼容性

0.1.3

  • 添加菜 humility 虚过滤器
  • 改进能力检查

0.1.2

  • 提升用户风格
  • 添加metadata 回调

0.1.1

  • 提升用户风格

0.1.0

  • 初始化发布