In a CMS, this is possible, but becomes a nightmare to control over time…I suggest against it…you’ll be glad you took a different road…
one more simple way to control it is to define an extra field on the page with the username that has access to it, then in the page (might be single) template put an if statement testing against that extra variable and the user logged in.. if they match, show the page, if they don’t, redirect or show something else.
10,000 users…add that code…my suggestion stands…
it doesn’t sound like his blog/idea is that large, and that there are only specific pages that would fall into this scenario. I agree that in a large environment, doing what he wants to do is madness, but people ask questions to get answers, so I offered an answer as opposed to “don’t do it”, if he’s running a private blog and he’s got some posts made for specific people, then doing it wouldn’t be so bad.
also, josh, you said you found things to do it in groups, why couldn’t you just put each user into their own group, and then filter by groups?
Again, to much work for the worth.
Is there something wrong with using an access group?
You’d be able to define the group to use for access once, then modify the members of the group to add or remove access to the page or pages.
It’s like using a variable in place of a static. You may think today that you’ll rarely, if ever change the value but invariably it becomes something that changes more often that you ever thought possible. Using the variable allows you to change one line and affect possibly hundreds. The alternative is having to possibly make hundreds of changes. (Not that a little scripting couldn’t solve that, but why put yourself in that position?)
My $.05
(inflation)
Hello,
Sorry i should have been more specific. Maybe i’ve just looked at this wrong and maybe Dbyington is right.
What i have is a website for my mothers learning centre and the actives are specific to different children so i want the mother to be able to create an account so i can assign certain pages that contain videos to watch to each user (about 50 max).
this way they can only see the pages with the videos or articles that relate to them.
Does anyone have a solid way of implementing this?
They way i interpret Dbyington is make an access group for each page and change the members of that access group? But how could they belong to more then one access group? Is that possible? Some people will need to have access to lets say 5 video pages out of the 30.
Hope this is some better info on the problem. 🙂
If I hear you correctly there are many ways to do access control to accomplish this.
The actual access control may need to be built, with some tables added to manage the custom ACL groups and their members.
I didn’t say it would be easy. 🙂
There may be a plugin available to do custom page ACLs. It may take a bit of digging to find one, else you could ask or have someone build it for you. Unless you feel like digging into WP plugins and widgets. If you don’t get any takers I may be interested.
Enjoy,
Don
Hey Don,
I think i’ve found a paid for plugin that does what i want it to do…
http://codecanyon.net/item/privatecontent-multilevel-content-plugin/1467885?WT.ac=category_item&WT.seg_1=category_item&WT.z_author=LCweb
Do you think this would cover everything i need?
I’m emailing the developer now to see if it hits the nail on the head but some other opinions would be great.
Thanks
Josh
Hi Josh,
It definitely looks like it will do what you need.
My only gripe with it would be that it doesn’t look like it uses the WP users table. Not a big deal, you just end up with two different lists of users.
The price is not bad either, especially considering the effort they put into it.
Enjoy,
Don
Hey,
Thanks for the info.
I’ve emailed him to find out if it does exactly what i want.
Thanks for all info, its defiantly solved a dilemma for me 🙂