Giter Site home page Giter Site logo

wir / wp-user-activity Goto Github PK

View Code? Open in Web Editor NEW

This project forked from stuttter/wp-user-activity

0.0 2.0 0.0 97 KB

The best way to log activity in WordPress

Home Page: https://wordpress.org/plugins/wp-user-activity/

License: GNU General Public License v2.0

PHP 99.45% CSS 0.55%

wp-user-activity's Introduction

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.

Available actions

  • Attachments (Upload, Edit, Delete)
  • Comments (Create, 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)

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.

Installation

  • 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.

FAQ

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' // extends `WP_User_Activity_Type`
} );

The WP_User_Activity_Type_Taxonomy 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 WordPress's custom post-type and metadata APIs.

Does this modify existing database tables?

No. All of WordPress's core database tables remain untouched.

Where can I get support?

The WordPress support forums: https://wordpress.org/plugin/support/wp-user-activity/

Can I contribute?

Yes, please! The number of users needing activity logging in WordPress is always growing. Having an easy-to-use API and powerful set of functions is critical to managing complex WordPress installations. If this is your thing, please help us out!

wp-user-activity's People

Contributors

jjj avatar

Watchers

James Cloos avatar Sasha Beg avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.