這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

WP User Activity

描述

WP User Activity is the best way to log activity in WordPress. Activity can be sorted, filtered, and viewed per-user, along with session data for logged in users and IP addresses & user-agents for others.

Activity is broken down into object “Types” and “Actions.” Types are the objects being acted upon, and actions are what is being done to them. If you’re familiar with BuddyPress, this should feel pretty comfortable.

Examples

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.

Available Actions

  • Attachments (Upload, Edit, Delete)
  • Comments (Create, Pending, Approve, Unaprove, Trash, Untrash, Spam, Unspam, Delete)
  • Core (Update, Auto-update)
  • Exports (Download)
  • Menus (Create, Update, Delete)
  • Plugins (Install, Update, Activate, Deactivate, Edit, Delete)
  • Posts (Create, Update, Delete, Trash, Untrash, Spam, Unspam, Future)
  • Settings (Update)
  • Terms (Create, Update, Delete)
  • Themes (Customize, Install, Update, Activate, Edit, Delete)
  • Users (Login, Login Failure, Logout, Register, Update, Delete)
  • Widgets (Update, Delete)

Also checkout

螢幕截圖

  • The log
  • Edit activity

安裝

  • Download and install using the built in WordPress plugin installer.
  • Activate in the “Plugins” area of your admin by clicking the “Activate” link.
  • No further setup or configuration is necessary.

常見問題

Does this work with custom post types & taxonomies?

Yes. It will work perfectly with all post-types & taxonomies that define their own labels. Ones that don’t are mocked using the post type ID.

Can I create custom activity types & actions?

Yes. The autoloader can be filtered, so adding new object types is as simple as:

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

The WP_User_Activity_Type_Taxonomy class is a good example to start with, if you’d like to create your own actions. It registers simple create/update/delete methods, with easy to understand messages & integrations.

Does this create new database tables?

No. It uses the WordPress custom post-type and metadata APIs.

Does this modify existing database tables?

No. All of the WordPress core database tables remain untouched.

Where can I get support?

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

Where can I find documentation?

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
閱讀全部8個評價

貢獻者及開發者

“WP User Activity” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

WP User Activity 外掛目前已有 5 個本地化語言版本。 感謝所有譯者為這個外掛做出的貢獻。

將 WP User Activity 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

修改日誌

2.2.0

  • Fix filtering by user
  • Fix compatibility with WP User Profiles
  • Fix untrashing individual items
  • Fix an incompatibility with ACF

2.1.0

  • Fix user not being linked to “Logout” action

2.0.2

  • Add escaping to admin area row output
  • Return IDs in useful places for easier extending

1.1.0

  • Remove all actions from transition_post_status to avoid infinite loops

1.0.0

  • Official public release
  • Add support for “pending” comments
  • Improved mu-plugins location support

0.2.0

  • Support for User Profiles 0.2.0

0.1.10

  • Add missing action for ‘plugin delete’

0.1.9

  • Support for WP User Profiles 0.1.9

0.1.8

  • Fix conflict causing widgets not to save

0.1.7

  • Fix list-table issue causing fatal errors

0.1.6

  • Prevent user profile activity from leaking out

0.1.5

  • Update column names
  • Add support for WP User Profiles

0.1.4

  • Improve compatibility with other plugins

0.1.3

  • Add menu humility filter
  • Improve capability checks

0.1.2

  • Improve admin styling
  • Add metadata callbacks

0.1.1

  • Improve admin styling

0.1.0

  • Initial release