This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

P2 Check In

Description

This plugin adds the ability for users to “check in” to the P2 theme when they’re active. Once activated you’ll find a new “Who is Checked In” widget that you can add to your sidebar, and a “Log In/I’m here!/I’m leaving!” button will automatically be added to your P2 theme’s header.

The sidebar will list the users who are currently checked in, along with how long they have been checked in. By default users will be bumped to the bottom of the list and be shown as checked out for 30 minutes after they have left.

The language in this plugin is purposefully left a big vague so you can use it for your own purposes. Checking in could mean literally checking into a building to show you’re there (the purpose I developed the plugin for) or it could mean that you are simply available, and actively watching the P2.

In addition, the total amount of time someone has logged when “checked in” is displayed underneath a user’s name in the sidebar.

If a user ever forgets to check out, admin users (or those that can manage_options) can click the x button next to their name and check them out for them.

Kudos

Props to the Who’s Online plugin for P2, since I cribbed a number of the elements from that plugin to make the development of mine go a bit faster.

Also, the button styles are based on the Twitter Bootstrap button’s styles.

Screenshots

  • The "Log In" button that displays before you've signed into the site.
  • The "I'm here!" button that will check you in. Also notice the recently checked out user faded out in the sidebar.
  • Once you are checked in the "I'm leaving!" button displays and will check you out.

Installation

Upload the P2 Check In plugin to your blog, Activate it, then drop the P2 Check In widget into the sidebar where you want it to appear.

Reviews

There are no reviews for this plugin.

Contributors & Developers

“P2 Check In” is open source software. The following people have contributed to this plugin.

Contributors

Translate “P2 Check In” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

0.4.1

  • Bug fix: Spaces were killed in the last update in the sidebar widget. Oversight when making files translation-ready. Added spaces back.

0.4

  • Feature: Made the plugin translation ready, kudos to David Decker for the reminder in the forums (https://wordpress.org/support/topic/plugin-p2-check-in-plugin-is-not-translateable?replies=2). Additional translations welcome!
  • Released: June 3, 2012

0.3.1

  • Feature: Logged in admins can now check out users. Ideally this should only be done when someone forgets to check out or something. Use with caution.
  • Fix: closed the cheating loophole on login.
  • Removed the cheating messages, since they’re confusing and unneeded for folks on the front end.
  • Updated the stylesheet to support the new subtle x buttons for checking folks out.

0.3

  • Feature: Total checked in time is now logged and displayed, by default, with the user list in the sidebar. Get competitive!
  • Also removed some more unused CSS.
  • Note: Unfortunately this release my end up checking users out if they’re in at the time you upgrade. This is due to this release making the meta values uniform (with proper namespacing across the board). Ideally this will be the only release that resets anyone.

0.2.1

  • Added kudos to the end of the description.
  • Tweaked the short description a little bit.

0.2

  • Cleared out the extraneous code leftover from the fork from Who’s Online.
  • Added some code comments that I slacked on the first time.
  • Moved the check in button logic/markup into a function that outputs into the widget itself, rather than muddying up the widget code.
  • Refreshed the CSS entirely.
  • Separated the list of users into two groups: checked in and checked out. This way the two won’t get mixed up and out of order.
  • Added a log in button, in place of the check in/out button, just in case the person isn’t logged in yet.
  • Fixed bug where opacity would mess up the alignment.

0.1

  • First working version, implemented on a P2 blog I’m active on.