Category Access 0.8.1 Released
I’ve released a new version of the Category Access Wordpress 2 plugin. This plugin allows the blog maintainer to restrict access to posts belonging to particular categories on a user-by-user basis.
New changes:
- Added “Check all categories” and “Uncheck all categories” buttons to the options and user pages. (Suggested by David Katz)
- Fixed a bug where category filtering would sometimes fail, especially for things like RSS fields. (Thanks to Tim Lockwood for the patch.)
- Fixed a problem where post titles would be protected in situations where they shouldn’t be, such as in the dashboard comment list. (Thanks to Joe Church for the bug report.)
- Updated the wp-commentsrss2.php modification in the README for WP 2.2 or newer. (Thanks to Aniesh Joseph for the bug report.)
- I also fixed a problem in the comments RSS modification documentation where posts would be entirely removed, even if you had enabled “Show the title and links (but not the summary or content) instead of hiding posts.”
- Changed the options page so that it uses Javascript and CSS to show only the visibility options for only the selected class of users. This cleans up the interface and allows for possible future support of roles.
- When surfing to the permalink for a protected post, the user will now be redirected to the login page if they cannot view the post and are not logged in. Note that after logging in, they may still see an Error 404 if they do not have permissions to view the post. (Thanks for the feature suggestion by Jason Holtslander.)
- CSS styles are now used for protected titles, posts, categories, and padlock icons. (Thanks to Tyler Gore for the suggestion.)
- Fixed a bug where the padlock icon HTML was being inserted into the category link title.
- Fixed a bug where the previous and next post links would always be protected if the post for the current page was protected.
Download it on my code page.
August 16th, 2007 at 11:30 am
Hi,
i use this version and i seem to be unable to change the default categories for the anonymous user, if i set a default category a guest still can’t see it.
Maybe i’m doing something wrong?!
August 17th, 2007 at 2:26 am
HI David,
I’m using the latest german Version of wordpress, mysql 5.0 and php 5.2.3 on a Windows XP System.
Best regards,
Hauke
August 20th, 2007 at 10:09 am
Did you press the “update options” button at the bottom of the config screen? What are your other options set to? Did you try disabling any other plugins?
August 24th, 2007 at 4:04 pm
Hi!
I had the same problem as hauke and I do use the german wordpress version too. I did search for more than one hour in the code, to find the flaw and I found none. The only way to solve the problem is to delete the german translation files, because everything works perfect, if the english words are shown.
The only difference seems to be, that the english version calls the submit-button ‘value=”Update Options”‘ and in german it says ‘value=”Einstellungen übernehmen”‘. I guess the “ü” in “übernehmen” might be the problem. Most other Plugins call it “aktualisieren” to avoid the Umlaut.
By the way, thank you for the plugin
August 27th, 2007 at 3:23 am
Thanks Marnem and David,
That did the trick.
Yes, thank you for the plugin David.
September 4th, 2007 at 2:06 am
Thanks. This plugin is really usefull, and finding it made me happy. I used to use Category Visibility, but it ceased to work and luckily I found this little gem
Together with Group Restriction plugin this provides me with good access control tools.
The only thing I am really missing would be access rules based on roles (such as anonymous, subscriber, author, administrator and possibly custom roles generated by Role Manager).
September 4th, 2007 at 2:10 am
Oh, have you noticed this: http://boren.nu/archives/2007/08/27/wordpress-23-beta-1/
September 18th, 2007 at 9:25 am
I just noticed, that your Plugin has one serious flaw:
All Pingbacks to all categories became blocked and didn’t show up in my Blog or in Akismet.
I don’t know if category access will work in Wordpress 2.3, but I think it’s a very handy Plugin and would appreciate it, if you could fix this Pingback Bug.
Thank you for your work anyways
November 8th, 2007 at 6:59 pm
Hi Marnem,
Is there an easy way for me to test pingbacks and trackbacks? Would you allow me to post from your site to debug it? Also, try the latest version and see if you still have the problem.
David
November 10th, 2007 at 7:08 am
David, I’m sorry, that I didn’t reply yet. I’ve got my Master Degree Exams these weeks, so I had no time to test it yet. I’ll test it this weekend, so you’ll have an answer before sunday evening.