45 thoughts on “Private Suite

  1. However i removed the extra ” on line 110 in private-suite.php and now it looks good!
    Didn’t understand why you added them though. So maybe I broke something else?

  2. Hi, i just intalled it and let you know for infos, that at first i’d a conflict with WP-CUMULUS, that, as i’m not using it, i’ve desinstalled to avoid the common message about a “fatal error on line 305″, after that it works!

    Cheers

  3. Jim, got a similar issue.
    Seems to be a conflict with other plugins.
    Did you look at your webservers errorlog to se what causes the error?

  4. Stephanie, the plugin looks interesting, but it conflicts with Twitter Tools. I get a PHP error in Twitter Tools with Private Suite installed that says that “aktt() widget is being redeclared by Twitter Tools”

  5. Seth, it’s not Twitter Tools, but something is going on with this plugin that’s creating conflicts with everything under the sun. I’m looking into it.

  6. Just a tip you may want to add in your directions (in case others are WP n00bs like me): You need to set the page visibility AND add the “Private:” tag.

    • Amanda, I’m not sure what you mean. Setting the visibility on the post/page edit screen is all you have to do in order to limit who sees the page. WordPress automatically adds the “Private:” prefix to those post/page titles, and this plugin allows you to change the wording.

  7. Okoth

    Just updated to Wp 2.9.2 from 2.9.
    I am using nl_NL.

    The plugin used to work in version 2.9, but not anymore after the update to WP 2.9.2.

    I want to remove ‘Private:’ so my setting is blank.

    Language issue?

  8. Tom

    This is maybe a dumb question but how do use the plugin? :s

    I make a page private and i set some user to be able the read it in the plugin setting, but the page stays private.

    Only I, the admin, can still see it.

    Am i doing something wrong or am i forgetting something?

    Please help, i can really use this plugin. :)

  9. belg4mit

    It looks promising, but it’s missing a few features that would really round it out… namely that the tag cloud and category listings include private pages if the user has the rights to see them.

  10. steve

    I’ve got the same issue as Tom

    Maybe I’m missing something really obvious. I have the Private Suite options set so subscribers and above can see them. But even when I do that, any posts set to private status are now only viewable when logged in as admin!

    Tried with users that have author and editor roles and they can’t see the posts either!

    Is there some other WP setting that is conflicting here?

    TIA!

  11. Jens Christian Larsen

    Im using private suite 1.1 on a danish WordPress 3.0.
    My issue is:
    I have a static page for frontpage and a subpage for my blog. The blogpage and another page has to be visible to logged in users only.
    The moment I set the blogpage to private, my frontpage becomes the blog and will no longer accept returning to at static page. AND the blogpage and the other private page becomes visible to not logged in users.
    Only deactivating private suite lets me put things back to order. Only the blogpage cannot be set to private.
    Kind regards.
    JCLarsen

  12. I’m running WordPress 3.0.1 and with yout plugin activated I get errors when I update/save a page/post :

    Warning: Cannot modify header information – headers already sent by (output started at wp-content/plugins/private-suite/private-suite.php:1) in wp-includes/pluggable.php on line 890

    Besides the error, the plugin works fine.
    Any ideas?

  13. Hi Stephanie,

    first of all thanks for the cool plugin !!
    I’ve noticed two things ;).
    There is a problem in the fields for “Privates posts” and “Protected posts” with accented. If i use caracter like é it becomes é. This is perhaps a problem with encoding because there are correctly saved in the option table.
    If i create a sub-category under a category that i have defined as private it is not checked as private too.
    Could you correct and implement that in the future release please ?

    TIA.

    Amicably,

    Pierre.

      • Hi Stephanie,

        there’s a bug when you use a “static” page as frontpage. You can’t change it. WP refuse to update the parameter when the plugin is activated.
        it shows something like “None (no parent page)” I don’t know the exact sentence i use the french “release ;).

        Could you have a look please ?

        TIA.

        Amicably,

        Pierre.

    • Stephanie

      Pierre, I think I’ve fixed the problem with accented characters in 1.2, which will be available in just a few minutes.

  14. I installed this plug in, because it is exactly what I am looking for. However even upon setting the lowest setting to Contributor to be able to read it, Only The Admin is able to see these private pages and postings. I’ve looked over everything that I could think of to be sure that I didn’t end up missing something, but alas I found nothing.

  15. As Paper (above) mentionned. The admin see all privates posts, all the time. But if I set post setting to subscriber, only subscriber can see privates posts. And a contributor can’t see them. If I set post setting to contributor, only contributor can see privates posts. It’s seems the role and above doesn’t working properly.

    Thanks for the plugin. This is an excellent idea. Very simple to use.

  16. Hi,
    I just tried your plugin. It seems to do exactly what I need, but the order of the pages is not repspected… (I use the Order attribute of Pages to define their order). Any chance to fix this “bug” ?

    Thanks,
    Felix

  17. Just as Felix – above post – wrote, I realized that the page order fails to show correctly. I hope it is just a big which can be corrected in the next version. I’d like to use this plugin.

  18. Stephanie

    Felix and Alex — no, the page order won’t be respected when you use the plugin’s version of the page list functions. It can’t be, due to the way WP handles private pages. It’s not something I can fix until the underlying page functions are fixed in WP itself (at which point this plugin might become entirely obsolete).

  19. Angeline

    Hi, I’m impressed by this plug in but am having some problem with it. I’m using version 1.2.2 and WP 3.0.4. I set one of my categories to private and added some post in it. I signed in as admin but I cannot find the post in the categories? Is there an option I should choose to show them when I’m logon as admin?

    Please advise.

    Thanks!

  20. Hello,
    I have a problem since I update WD 3,0 TO 3,1,1 in my sidebare.
    The exact message is :

    Warning: extract() [function.extract]: First argument should be an array in /srv/d_GT1533-GANDI/www/www.creche-lesgardons.fr/htdocs/wp-content/plugins/private-suite/private-suite.php on line 119

    HELP ME PLEASE !

  21. I’m using version 1.2.2 for private page using widget.
    the private page displayed nice when we made 1 private page only. when more than 1 private page should be displayed, the strange behaviour (i think from logical ) occurs.
    The first page tittle comes out with dot.
    The secound page title have no dot and align left.
    The third page title have dot again.
    The rest of widget after this widget will become dotted.
    Please find out and correct this in the next version.
    Thanks.

    • AtlantaRhem

      I am having the same issue.
      I get a dot on the privacy menu items.
      I get this dot whether I use IE8 or Firefox 4.0.1.
      If I turn on compatibility view in IE8 the problem goes away.

      This is not a major issue, considering the AWESOME price! ;)

      If anything could be done to resolve it, great…if not, it is still a very useful plugin for my needs and the implementation is super easy!

      additional notes:
      Wordpress: Version 3.1.3
      Template: Weaver 2.0 by Bruce Wampler

  22. Awesome mod! Works very well for posts on my install, but actually ended up hiding private pages even from other administrators. (I have the most recent versions of both this plugin and WordPress; 1.2.2 for this, and 3.1.2 for WordPress.) The private posts were more important to me, though, so I’m finding this plugin to be extremely helpful.

  23. when I made a single category private, all my images vanished from all posts in all categories, as well as the media library itself. Embedded images still displayed but links to attachments got 404 errors. Media uploader still displayed an image count for galleries and the library but showed no images. Upon deactivation all was good again.

  24. Jerrad

    I recently upgraded from version 1.2.2 to 2.0 on WordPress 3.3.2, and now when the plugin is enabled post titles are not shown on archive pages or single post pages :-(

    Also, would you consider adding this patch to prevent the previously mentioned issues with occasional auto-privatization of pages?

    --- private-suite.php~ 2012-06-05 14:08:44.000000000 -0500
    +++ private-suite.php 2012-06-05 14:23:11.000000000 -0500
    @@ -3,7 +3,7 @@
    Plugin Name: Private Suite
    Plugin URI: http://stephanieleary.com/code/wordpress/private-suite/
    Description: Allows admins to add private pages to
    wp_list_pages(), wp_page_menu(), and the Pages widget or use a separate wp_list_private_pages() tag; specify the prefix on private and password-protected titles; create private categories; and choose which user roles may read private pages and posts.
    -Version: 2.0
    +Version: 2.0 !CUSTOM! exclude pages from auto-privatization
    Author: Stephanie Leary
    Author URI: http://stephanieleary.com/
    License: GPL2
    @@ -83,7 +83,7 @@
    if ($parent_id = wp_is_post_revision($postid))
    $postid = $parent_id;
    $options = get_option('private_suite');
    - if (in_category($options['categories'], $postid)) {
    + if (get_post_type($postid) != 'page' && in_category($options['categories'], $postid)) {
    // unhook this function so it doesn't loop infinitely, update the post, then re-hook
    remove_action('save_post', 'set_private_categories', 10, 1);
    wp_update_post(array('ID' => $postid, 'post_status' => 'private'));

    • Jerrad

      Here’s the fix for the missing titles, you forgot to prepend rather than replace:

      --- private-suite.php~ 2012-06-05 14:23:11.000000000 -0500
      +++ private-suite.php 2012-06-05 14:53:00.000000000 -0500
      @@ -64,16 +64,16 @@
      /*------------------------ Set Prefixes ------------------------*/
      add_filter('private_title_format', 'private_suite_custom_private_title');

      -function private_suite_custom_private_title() {
      +function private_suite_custom_private_title($title) {
      $options = private_suite_get_options();
      - return $options['private_title_prefix'];
      + return $options['private_title_prefix'] . $title;
      }

      add_filter('protected_title_format', 'private_suite_custom_protected_title');

      -function private_suite_custom_protected_title() {
      +function private_suite_custom_protected_title($title) {
      $options = private_suite_get_options();
      - return $options['protected_title_prefix'];
      + return $options['protected_title_prefix'] . $title;
      }

      /*---------------------- Private Categories -----------------------*/

      • Jerrad

        And it seems with newer versions of WordPress the prepend results in: “CustomLabel Private: Title”
        To fix this instead use

        return $options['private_title_prefix'] . '%s';

Comments are closed.