ThreeWP Activity Monitor

Description

Logged activities with icons

Logged activities with icons

Displays a multitude of user actions to keep the site administrator informed that all is well and that the blog or network is not being abused. Displays:

  • Logins (successful and failed)
  • Retrieved and reset passwords
  • Posts/pages created, updated, trashed, untrashed and deleted
  • Comments approved, trashed, spammed, unspammed, trashed, untrashed and deleted
  • Changed passwords
  • Changed user info
  • User registrations
  • User deletions
  • Custom activities from other plugins

Keeps track of latest login times and displays a column in the user overview(s).

Since this plugin allows you to monitor all activity sitewide, it will be very easy to quickly locate spam blogs and their activities.

Unlike the wpmu.org ”premium” plugins, Blog Activity and User Activity, this plugin displays information about what is happening, not just that there is something happening.

Has an uninstall option to completely remove itself from the database.

Since v1.2 other plugins can add new activities.

Available in English and Swedish.

Download

Download ThreeWP Activity Monitor from the official WordPress site.

Custom activities

If you’re the author of a plugin and want a custom action added to the list, use the following code.

	do_action('threewp_activity_monitor_new_activity', array(
		'tr_class' => 'first_action_class second_action_class',
		'activity' => array(
			"" => "%user_display_name_with_link% removed a category on %blog_name_with_panel_link%",
			"Action key 1" => "The key is displayed as small, grey text in front of the other text. Something interesting happened and user # %user_id% caused it!",
			"  " => "%user_login% didnt want any header here so %user_login_with_link% left it blank with two spaces",
			"Another key!" => "This time I wanted a key on %blog_name% (%blog_id%).",
		),
	));
tr_class is an optional value that signifies which extra css classes to give the action’s row.
activity is the activity itself, that is an array of header => text.
The key is the small, gray text. It can be left empty. If you want several empty keys, use a different amount of spaces for each one. The spaces are trimmed off.
The value is the black text to be displayed to the right of the key or by itself on a line.
Both the key and value can be normal HTML and are both capable of keywords.
The following keywords are automatically replaced by Activity Monitor.
  • %user_id% ID of user.
  • %user_login% User’s login name.
  • %user_login_with_link% User’s login name in link format (link goes to the user edit page).
  • %user_display_name% User’s display name.
  • %user_display_name_with_link% User’s display name in link format (link goes to the user edit page).
  • %user_display_name% User’s login name.
  • %user_display_name_with_link% User’s login name in link format (link goes to the user edit page).
  • %blog_id% ID of blog.
  • %blog_name% Name of blog.
  • %blog_link% Link to front page of blog.
  • %blog_panel_link% Link to blog’s admin panel.
  • %blog_name_with_link% Blog’s name with link to front page.
  • %blog_name_with_panel_link% Blog’s name with link to admin panel.

Premium plugins?

There are so-called ”premium” plugins that display the blog and user activity over a 30 day period. The plugins (two of them) don’t display exactly what’s happening, leaving the site admin to guess what’s going on.

My plugin displays what comments are being approved/posted, what posts are being made and which user has logged in / posted. Paywalling activity plugins that only collect statistics is a bit much, in my opinion.

You can download all the WordPress MU Premium Plugins if you’re interested in seeing what they have to offer (and how my plugin is better).

36 Responses to ThreeWP Activity Monitor

  1. Ipstenu says:

    Excellent plugin!

    It picks up new posts perfectly, but on WP 3.0-alpha running MultiSites (i.e. the ‘new’ WPMU) it’s not picking up any comments, be they logged in or not.

    • admin says:

      Hm. I think that would be best fixed when WP3 becomes RC.
      I’m sure you can survive without that functionality until them, right?

  2. Ipstenu says:

    I think you’re replying to my question about the WP 3 no-comments. And yes, I can totally survive. Just thought you should know :)

  3. Oriolus says:

    It generates the following error message on the Overview page (v1.2):

    Warning: Invalid argument supplied for foreach() in /web/adand/adand.hu/wp-content/plugins/threewp-activity-monitor/ThreeWP_Activity_Monitor.php on line 979

  4. Rajesh says:

    Hi,

    I am using your plugin in my site. Thanks for the great plugin. but i have one doubt. If i broadcast the same post to main site from child site with permalinks overidden. Will my adsense account get banned????

  5. Victoria says:

    Hi Edward, my client is hoping to keep track of their users (which pages they’ve visited, how often they’ve logged in, etc) so I’m hoping your plugin will do the trick. My question is how long does it take before it starts showing statistics? And how often does this get updated?
    Thanks and kind regards, Victoria

  6. Rich says:

    I installed this plugin and had an unexpected side effect. My site uses s2Member and has a number of custom registration fields that appear on the Users panel. When this plugin is installed, it shows ”No login data available” in every custom column on the screen (overwriting all the values entered by the registered users), not just in the new Login Statistics column. When I tested logging in a user, it then showed the value ”1 min ago” for that user in every custom column. I had to deactivate the plugin, and then the custom registration data reappears on the Users display.

  7. Ed says:

    Nice plugin! I’m using it on a client’s site, and it does most of what we need it to do, but although it logs new posts published, it doesn’t seem to report new posts that are only saved as drafts. Is there a hack to accomplish this, or would you consider adding that feature in a future update?

    Thanks,

    Ed

  8. Beachbum says:

    I am not seeing any settings/menu links in WP3.1+ multisite.

  9. André says:

    This is a very usefull plugin which I use with several sites. I have a question though: When I go to a certain user and check the option ‘Clear the user’s activity list’ It does not actually clear the list. I use WordPress 3.1.1 and the plugin version is 1.3. Is there a solution to this problem?

  10. wpStoreCart says:

    I’ve added support for ThreeWP Activity Monitor to our WordPress ecommerce plugin: wpStoreCart.

    As of wpStoreCart 2.2.7, the following information is tracked within the ThreeWP Activity Monitor plugin for logged in users:
    – Product views
    – Downloads
    – Checkouts
    – Affiliate page views
    – Orders page views

    Thanks for the excellent plugin! We recommend all wpStoreCart users add this plugin to their site.

  11. I have installed the plugin on my primary domain and activated it on a WordPress 3.1.2 Multi-site. I don’t see it anywhere. If I go to the Network Admin section I can see the settings in the ”Settings” tab. Am I missing something?

    Blessings,
    Wendy Merritt

  12. Adam says:

    I have ThreeWP Activity Monitor V1.3 installed and it doesn’t display anything when clicking on the link ‘Activity Monitor’ on the Dashboard menu.

    All it displays is the ‘Overview, Settings and Uninstall options and the two headers (Time & Activity) but no results.

    Under each individual user account, all it displays are failed login attempts but no IP address info or attempted passwords etc.

    I am running the latest version of WordPress. Are there any known conflicts between this plug-in and others?

    Thanks,

  13. Karl Erik Jessen says:

    Have installed ThreeWP Activity Monitor on a 3.1.3 network site, and nothing happens:

    * no ”Activity Monitor” item in the Dashboard menu
    * only a ”Login activity” column in my users table, where nothing is written (although I know users have been logged in/out since activation of this plugin

    What am I missing

  14. Epicentrum says:

    ”Clear the user’s activity list” does not work on WP 3.1.3 and plugin version 1.4 (even 1.3)

  15. Pascal says:

    Hi, very nice plugin. Thanks.

    I’ve a quition regarding the Login statistics. On the Userlist there is a column Login Statistics but the column stays emty. For the rest al data is shown every were except there. On another site with the samen WP version 3.1.1 it’s working well. Do you know if there could be a conflict or something? I’ve deactivated and re-activate it again but didn’t help unfotunately.

    Thanks for your help and your really nice plugin.

    Pascal

  16. Webmasta says:

    Please add tracking of these activities: Update of WordPress, Update of Plugins, Update of Themes

    Thank you very much!

  17. Webmasta says:

    In-place update from 1.4 to 2.0 within wp 3.2.1 does not really work. It seems to update, but then actually does not work. After explicit plugin deletion and re-install 2.0 works but tells after install ”there have been unexpected chars”.

  18. Webmasta says:

    With 2.0 if admin views his own profile, this appears right after the password-fields:

    Fatal error: Call to a member function make_input() on a non-object in /var/www/xxx/htdocs/wordpress/wp-content/plugins/threewp-activity-monitor/ThreeWP_Activity_Monitor.php on line 1471

  19. Mia says:

    I am having the same problem as the previous poster ‘Webmasta’… is there a way to repair/fix this?

    Other then that..the plugin is great!

  20. M. Young says:

    Hi – is it possible to add the ability to send a user activity report via email or get it via an rss feed? I’d like to have the user activity information either emailed to me in digest form daily or have an on-demand rss feed that I can view.

    Great plugin, thanks!

  21. Becky says:

    Hello – thanks for developing this plugin.

    Question – I notice notices WordPress tried to log in to Pine Forest PTA School Of The Arts
    Password tried
    IP 109.230.244.120

    However, I have no such user. This user has now deleted 2 posts. Any idea what is happening?

  22. Dan says:

    For the ‘profile_update’ activity, if a user changes their password, all that is shown in the activity log is ”Password Password changed” – there is no way of telling which user it was that changed their password. Using the latest version of plugin (v2.1) and WP 3.2.1.

  23. Dan says:

    The ‘Other Notes’ section on the plugin page @ WP.com has 2 error in the first line of the code example re. displaying activity.

    It shows:

    add_filter( ‘threewp_activity_monitor_display_custom_activity’, array(&$this, ‘display_custom_activity’) 10, 1);

    Error 1: Missing comma before number 10
    Error 2: Filter should not have the word ‘custom’ in it.

  24. Jen says:

    Hi,

    Why can’t I see the ThreeWP Activity Monitor plugin from the official WP plugins page?
    Needed for my clients site to keep track of who changes what so that it will be easier to fix any site issue next time..

    Thanks.

  25. Oliver says:

    Hello,

    I’ve noticed that this plugin disappeared from the wordpress.org plugins list, I’m curious, is there a reason for this ?

  26. Hi, it is a great plugin. I´m just wondering if it is possible to track people´s presence on the site when they are logged but dont do anything? And moreover if they are logged automatically as they saved it in their settings. It means that when I close the browser and come again, I dont need to login. I tested it but it didnt logged any activity.

  27. Oliver says:

    Hello,

    I just updated to the latest version of the plugin, and it won’t let me update an existing post (I didn’t test yet to create a new post)

    Here’s the php error message :

    Warning: in_array() [function.in-array]: Wrong datatype for second argument in /homez.70/hentairu/www/wp-content/plugins/threewp-activity-monitor/ThreeWP_Activity_Monitor.php on line 1643

    Warning: Cannot modify header information – headers already sent by (output started at /homez.70/hentairu/www/wp-content/plugins/threewp-activity-monitor/ThreeWP_Activity_Monitor.php:1643) in /homez.70/hentairu/www/wp-includes/pluggable.php on line 866

    Straight bug ?
    Possible incompatibility with supercache or another complicated plugin ?

    Well, at least I made the report :)

  28. DavyB says:

    I’m getting some records purporting to be admin logging in successfully from an ip address that is not expected to have any valid users – its in another country (probably) – I’m at a UK ip address – the attacker is at/or proxied via ”unn-46-234-118-229.cloudee.eu | 46.234.118.229″ they are coming in blocks of 5 – last is only showing as 2 hours ago but an earlier batch were all at the same time down to seconds resolution.

    I think you are storing file activities with the pretty permalink rather than the raw ?p=123 type of permalink, so that when a page/post has its name and/or slug altered, the older records links are broken so they no longer point to a valid page/post, should not the name change be logged properly with links still working.

    There also seems to be a fault in the display of records, i have about 123 activities in the database if I delete say 4, 100 records are still displayed with no hint of links to the second page of activities that should be displayed.

    Also I would like to suggest that theme and plugin installs/activations/deletions be logged or can that be setup via a custom activity definition which sadly I cannot work out the details for at present.

    other than that the plugin does a very useful job.

  29. Sebastien Gissinger says:

    Hello,
    I use WPMU LDAP Plugin for authentication and I encountered a little problem of priority. Not sure if it’s a conflict with WPMU LDAP Plugin but i did the following

    threewp-activity-monitor/ThreeWP_Activity_Monitor.php replace line 47 with :
    add_filter( ‘wp_login’, array(&$this, ‘wp_login’), 9, 3 );

    It was initially 10 but it does not log any login, with 9 it does the job.

    • admin says:

      This should be fixed now that Activity Monitor returns the user after it’s done with him (function wp_login).

Kommentera

E-postadressen publiceras inte. Obligatoriska fält är märkta *

*

Följande HTML-taggar och attribut är tillåtna: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>