Accent Image
Pete on July 8th, 2008

I really liked Filipe Fortes’ excellent Post Levels plugin, but I wanted a little more granular access controls, and this plugin was born. See below for more detailed information, check it out on WP Extend, or get right to the goods:

Current Version: WP Sentry 0.8b (Updated: September 3, 2009)

Installation:

  1. Upload the ‘wp-sentry’ folder to your WordPress plugins directory (/wp-content/plugins/)
  2. activate it from the plugin control panel.
  3. There is no #3!

Upgrade:

  1. Deactivate the plugin from the WordPress plugins control panel.
  2. Upload the new files to the plugins directory (/wp-content/plugins/)
  3. Reactivate the plugin from the WordPress plugins control panel.

Help Pages

Contact:
Questions, comments, bug reports, feature requests, and hate mail may be sent to pete.holiday@gmail.com.



Revision History:

  • Version 0.8b:
    • Checked compatibility with WP version 2.8.4
    • Fixed a warning issued when using in_array with a null variable.
    • wp_get_archives now displays private posts.
    • Mass-edit screen now uses permalink URLs.
    • Pages and Recent Comments replacement widgets updated
    • Added: ability to export a list of users
    • Added: Sentry column to user admin screen
    • Added: Catalan localization (Thanks to Mr. Robert Antoni)
  • Version 0.7.2:
    • Fixed a bug that kept child groups from working properly.
  • Version 0.7.1:
    • Fixed a bug which would expose comments on private posts in the Comments RSS feed if certain preview settings were enabled.
    • Added a Russian translation, courtesy of Denis.
  • Version 0.7:
    • Modified user-listing drop-downs for WordPress MU compatibility.
    • Added a German translation of WP Sentry. Thanks, Franz.
    • Added filtering to private page permalinks.
    • Added a column to the posts and pages edit screen to show Sentry permissions.
    • Patched in a change by MrPete fixing the issues with future-dated private posts.
    • Adopted recommendations from Alexey to replace feed URLs with Feed Key URLs and to enable private comments rss feeds.
    • This version is compatible with WordPress 2.71 beta-1
  • Version 0.6.92: Fixed an issue where feedkey sometimes did not work properly.
  • Version 0.6.91: Fixed a security hole which showed entire private posts in RSS under some circumstances.
  • Version 0.6.9:
    • Fixed a typo on the post deletion screen.
    • Changed the groups database table to allow for more users per group.
    • Added a hook to user deletion so that deleted users are also deleted from their respective groups.
    • A few changes were submitted by MrPete:
      • Display users given access (count and ‘all’) even if user-update form is disabled when editing page.
      • Some text changed for clarity
      • Users may now be set in the default access screen.
  • Version 0.6.8:
    • Fixed a bug in Feed Key which caused syntax errors when resetting keys. For real, this time.
    • Changed the method used to authenticate a user’s private feeds. Should resolve several issues with this functionality. (Thanks, Alexey)
  • Version 0.6.7:
    • Fixed a bug in Feed Key which caused syntax errors when resetting the keys.
    • Disabled Magpie RSS caching for private feeds.
    • Added a setting to disable the user list on the post/page edit screen.
  • Version 0.6.6:
    • Fixed a problem with group creation on some systems.
    • Added error checking to group creation that I thought I had added in 0.6.0.
  • Version 0.6.5:
    • Fixed a bug where setting the permissions on a sub-page didn’t work.
    • Patched in a number of changes made by Pierre de La Morinerie (KemenAran):
      • Added a replacement Tag Cloud widget
      • Comments no longer visible for previewed posts
      • Made a few back-end improvements to the code
  • Version 0.6.1:
    • Now contains a Dutch localization thanks to a helpful user. (Added 12/18)
    • Fixed problem where access controls weren’t showing up on the page add and edit screens.
  • Version 0.6:
    • Now compatible with WordPress 2.7 (RC2).
    • Implemented private RSS feeds using Feed Key.
    • WP Sentry is now available in French (Thanks, Regis!)
    • Replacement widgets may now be disabled
    • Added a new menu section for general Sentry options
    • ASM Select has been implemented for all multiple select boxes used by the plugin.
    • Private post title modification has been moved to the ‘General Options’ menu
    • Fixed an issue with ordering in the page list widget
    • Added CSS classes to replacement widget lists
    • Fixed issue with private post title renaming for German WP users
    • Changed the way boxes are added to the post and page edit screens.
    • Fixed a problem with errors not being reported correctly in the group management section.
    • Post listing replacement widget disabled as it appears that WP 2.7’s version functions properly.
  • Version 0.5.1: Fixed a bug which was displaying titles inappropriately.
  • Version 0.5:
    • Uploaded to WordPress Extend for easy maintenance
    • Added the ability to assign permissions to posts en masse.
  • Version 0.4:
    • Added support for private pages.
    • Added a sentry-aware replacement for the Pages widget.
  • Version 0.3:
    • Default groups for new users added.
    • Default groups for new posts added.
    • Ability to change the private post title prefix and postfix added.
    • Ability to delete groups added.
    • Reorganized the administration screens.
    • Major preview functionality added.
    • Changed syntax so the plugin is compatible with PHP 4.x systems.
    • Tested for WP 2.6
  • Version 0.2: Fixed a bug that prevented the creation of new users.
  • Version 0.2: Added the ability to allow all registered users to view a post.
  • Version 0.1: Initial release.

If you are looking for a way to to give back to WP Sentry, feel free to show your gratitude via paypal.

This website uses IntenseDebate comments, but they are not currently loaded because either your browser doesn't support JavaScript, or they didn't load fast enough.

11 Responses to “WP Sentry”

  1. charmian says:

    This is a great plugin. It gets rid of the weaknesses of many previous types of plugins, and is very userfriendly and easy to use!

  2. Kathy says:

    Hi Pete,
    Thank you for creating this great plugin! I looked for days trying to find just the right plugin for the site I am working on.
    I am having one issue. I have set the permalink page to the home page if an unauthorized user tries to access a protected post. Here’s the problem – if a user is logged in and logs out while on the protected post, it returns the page not found error message instead of redirecting them to the home page.
    Is there a fix for this?
    Thanks,
    Kathy

  3. Pete says:

    Unfortunately, because of the way WP handles access to private posts, there’s really no easy fix for it that I’m aware of. I’ll add that to my list of things to look into, though.

  4. Kathy says:

    Thanks, Pete. Oh well, I can live with that. Your plugin has solved many issues for me that others did not. I’ll just make my 404 page a bit nicer!

  5. Trinity says:

    Thank you, thank you, thank you so much for this plug in. It’s simple, it’s easy to use, and it gets the job done. Just like Kathy said above, I just need to spruce up my 404 page.

  6. Josh says:

    Are the user groups WP-Sentry creates self-contained to the plugin? I have used the Role Manager plugin ( http://www.im-web-gefunden.de/.....e-manager/ ) to add my own user groups for different access levels, and I am implementing a payment/membership plugin that will assign & remove users from these groups according to their payment status. Just wondering if the groups WP-Sentry uses could be in these user roles that I have created with Role Manager, or conversely if there is any Paypal/Membership management plugin which will automatically assign paid members to a WP-Sentry group, and remove them from it when they end their paid subscription.

    Thanks!

  7. Christine says:

    GREAT plugin you’ve created. Just what I needed. It was a bit of a pain to figure out the flow of things when someone wasn’t logged in, but I’ve re-created my 404 (including adding a login widget) to account for all instances why someone may have landed there and seems to be working well.

    I have, though, come across what seems to be a glitch. If I go into a Page to make changes, I always double check that Allow Registered Users is still selected for Sentry before hitting Save. But many times, I’ve soon received notice from a user that he/she cannot access the Page. And sure enough, I’ll go back in and it’s unchecked. Any suggestions? I can’t purposefully uncheck it unless I hold down control key, so I don’t think I could be doing anything that’s causing it to become unchecked.

    Thanks so much for the great plugin!

  8. Gargron says:

    Great plugin, thank you!

  9. Augusto says:

    Thank you, thank you, thank you so much for this plug in. It’s simple, it’s easy to use, and it gets the job done.

  10. Augusto says:

    I have one bug:
    When i active the plugin, my page list change order

  11. Pete says:

    Please send an email to pete.holiday@gmail.com if you have questions or have found a bug. Thanks!