WordPress.org

Forums

category visibility plug-in won't work in 2.3 (17 posts)

  1. thisbejoe7
    Member
    Posted 7 years ago #

    I was running version 2.2.x of WP before upgrading today. I (like a dummy) forgot to backup my database, (got the folder/files) but not the DB. After upgrading I found that all my private data was now exposed to the world, since I was using Category visibility (the plugin) to hide my protected posts/categories. I had to impliment an emergency strategy with the only plugin I could find that actually worked with 2.3 which is Post Levels. I had to edit over 100 posts to set them to protected (after enabling maintenance mode). This was a major pain!!! I don't see any plans to port the Category Visibility plugin to support 2.3. But I desperately hope someone does or writes a new plugin to support the same type of security. I don't want to have to set options on each post, or do any per post configuration, being able to secure whole categories was wonderful. I tried other plugins that were supposed to do the same thing, but none worked with 2.3. So if anyone has any suggestions for plugins that work the same way as Category Visibility, I'd love to check them out. It would also be nice to see WP integrate this same type of security into its core code, so plugins for security of this type would not be needed.

    Thnaks

  2. LostInNetwork
    Member
    Posted 7 years ago #

    I am using members-only categories, too. Hence I cannot upgrade to WordPress 2.3.

    Maybe Coppit's very recent Category Access plugin will get ported. If not, I'll probably be using 2.2.x in 2008.

    I need a plugin that can make whole categories of messages "private" by default, and then assign category read permissions to specific roles. If the plugin then breaks or support for it is lost, the messages would still remain private and secured.

    Eventhough the taxonomy system allows all kinds of interesting things, I would really need to do this to the plain old categories. Obviously, RSS/Atom feeds need to be resricted too.

    Unfortunately I don't have the time required to (learn how to) write such a plugin.

  3. thisbejoe7
    Member
    Posted 7 years ago #

    I was using Copitt's plugin before 2.2.X, but ran into some issues and thought that category visibility was a better plugin, but since neither work in 2.3, I'm stuck using post levels and marking the posts as private. WHile this does accomplish what I need, its cumbersome, slow and requires posting from the WP amin interface. I like to use third party software to post to my blog, so I can't do that anymore either for private posts.

  4. LostInNetwork
    Member
    Posted 7 years ago #

    The development of Category Visibility seem to have been dropped :(

    So my hope lies in "Category access", "Disclose secret", and "Subscribers only".

    The restriction plugins can conveniently be found at: http://codex.wordpress.org/Plugins/Restriction

    Are there any other viewing restriction plugins besides these? None of them is perfect. Subscribers only displays excerpts to all, for example. Disclose secret has NO category based restricting...

  5. peedee
    Member
    Posted 7 years ago #

    This is a bummer. There doesn't seem to be any compatibility index for the list on http://codex.wordpress.org/Plugins/Restriction, and I've gone through the relevant possibilities to rule them out.

    Disclose Secret wants 2.1.

    Angsuman’s Authenticated WordPress last tested on 2.0.

    Subscribers Only "designed for WordPress 2.0 and above", looks hopeful, but "offline while being updated" since March 2006?

    WP Members lacking admin functions? last release May 07

  6. ClaytonJames
    Member
    Posted 7 years ago #

    I had to impliment an emergency strategy with the only plugin I could find that actually worked with 2.3 which is Post Levels.

    I had just the opposite happen. I was using Post Levels in tandem with Role Manager to control user access to private categories and posts, as well as pages. After the upgrade to 2.3, Post Levels gave me sql errors like there was no tomorrow. I did a clean install of 2.3 on my test box and duplicated the sql errors almost immediately with a single private post. My solution, until/if Post Levels is updated (see Post Levels 1.1.1 SQL errors when attempting to view a single post), is Disclose Secret. I had to use the "Forcefully turn on" option in the Disclose-Secret 2.4 Options dialog, but have had no ill effects thus far for doing so. Protected pages work well with Disclose Secret... Protected categories still show up in the category menu; however access is restricted to logged in users with the permissible user levels.

    I don't know if any of this helps, but Disclose Secret seems to be working fine for me on 2.3. As always, if you try it for yourself, create a backup and proceed with caution at your own risk and or discretion.

  7. rotwp
    Member
    Posted 7 years ago #

    category-access patch

    I patched Category Acess and it seems to work. But I don´t know if a category that is not visible to a user should appear in the category list in a widget or on a post (which is possible if you use the "or" option on the restriction settings). also the posting titles seem to show up in the rss.

    was this ever implemented?

    at the moment the following things seem to work with what i changed:

    postings in category with insuffient rights are:
    * not shown in html listings
    * can not be read

    postings edited or created and associated with categories the user hat no rights to use should also be modified but I didn´t test this.

    the patched file can be found under:
    http://granul.at/category-access.php

  8. rotwp
    Member
    Posted 7 years ago #

    another patch

    I did some more changes and i added a wdget that overlays the regular category widget to allow for hiding the private categories.

    still one of coppit's issues is not resolved - the private comments are not hidden without patching the wp source.

    http://granul.at/category-access.zip

  9. moci
    Member
    Posted 7 years ago #

    Thanks a lot for the patch, rotwp! For me this plugin is essential. After having installed the patch, it worked perfectly for a while. But after editing some of the categories last night I cannot access the options anymore. If I click "options" (Kategorie Zugriff) I see a pull-down and I can switch between new users and anonymous users but the part of the page where I used to select the categories for new or anonymous users remains blank. Any ideas what I can do about it? Thanks in advance!

  10. CptDondo
    Member
    Posted 7 years ago #

    Yup, it works - sort of. If I go to the blog as an unregistered user, I get the correct view. But if I click on any of the categories, I get a "not found" error.

    Also, the Meta stuff disappears - so there's no way for people to log in....

    But it's close!

    I can try to look at it but it may be a while; my plate is really full right now and the weather is too nice to be inside.

    --Yan

  11. CptDondo
    Member
    Posted 7 years ago #

    Hmmmmm. Any chance we can offer beer-and-pizza for some guru to work on this?

    Apparently the plugin confuses categories - for example, my posts in my public categories are shown in the wrong category. And clicking on a public category takes you to the login page.

  12. moshu
    Member
    Posted 7 years ago #

  13. CptDondo
    Member
    Posted 7 years ago #

    Unfortunately ACE is completely non-functional on my install.... :-(

    No errors, but no results either.

  14. mdieterich
    Member
    Posted 7 years ago #

    I was had just downloaded a fresh copy of the category access plugin, to see whether I could port it 2.3 and then I found this thread. I tried the patch from rotwp and it almost works. My blog now shows the post date, category, and user for private posts, but it properly hides the title and content. It also seems to affect my public page names, they disappear. I have things configured to "hide" posts in private categories. I'm planning to see if I can debug this, but curious to see whether anyone else is seeing this problem.

  15. jurgenfauth
    Member
    Posted 7 years ago #

    ACE is working for me, and it fits the bill nicely. Thanks moshu.

  16. jurgenfauth
    Member
    Posted 7 years ago #

    Actually, it's messing things up after all. Posts that are supposed to display don't show no matter what I try. Looks like I'll have to look for a different solution.

  17. jurgenfauth
    Member
    Posted 7 years ago #

    Apparently, it's the tags that make it hiccup a little -- I was using a tag that was also a hidden category, and that's what made the post disappear. I might yet have succes with ACE...

Topic Closed

This topic has been closed to new replies.

About this Topic