Category Access 0.6.0 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 an option to reveal the title and links for a hidden post in the feeds.
Download it on my code page.
September 1st, 2006 at 9:20 am
I met a problem, but I’m Chinese and my English is a little poor, maybe I could not express myself clearly, so I’ll give a example.
For example, If I have two gategories, one is called “Public posts” to which all users have access and the other one is called “Private posts” to which anonymous users haven’t access but subscribers have.
Suppose there are 17 posts in “Public posts” and 13 posts in “Private posts”, and if I logged in, I’ll see 7 public posts and 3 private posts on page 1, 10 private posts on page 2, 10 public posts on page 3.
Now, if I log out, I’ll see 7 public posts on page 1 and when I click the link “Previous page”, I’ll get nothing, and I even won’t get the link “Previous page” to page 3.
I hope when I log out, I’ll see only 2 pages, 10 public posts on page 1 and 7 public posts on page 2.
Could you please fix this problem? Thanks.
September 1st, 2006 at 9:28 am
By the way, the same problem also occur when I make a search in my site.
September 1st, 2006 at 2:41 pm
This is a known bug with Wordpress. I have filed a bug report, so hopefully it will be fixed soon.
September 1st, 2006 at 3:04 pm
I did a search on trac.wordpress.org and got to Ticket #3062 “the_posts filtering should be done earlier”.
But it was closed by ryan, so could you please use the posts_where hook? Thanks!
–Bebow is what ryan said–
08/30/06 01:44:57: Modified by ryan
status changed from new to closed.
resolution set to wontfix.
Moving the hook will break existing expectations. posts_where is a good hook to try.
October 6th, 2006 at 9:07 pm
Okay, I’ll be releasing a new version that fixes this tonight.