WordPress.org

Ready to get started?Download WordPress

Forums

Can i make pages specific to certain users? (12 posts)

  1. joshnathan
    Member
    Posted 1 year ago #

    Maybe i've just been looking in the wrong place but i cant find a plugin that allows me to set page permissions for specific users.
    I want to be able to set which pages can be viewed by each user instead of by group etc. If they arnt assigned to view a page i want to to come up as restricted etc.

    Is there a plugin that does this?
    The only ones i can find define people by groups where as i need to be a bit more specific.

    All in all i want something that will allow me to allow only specific users (not groups) to a specific page so they can view an individual page or view an individual video

    Any help would be great.

    Thanks

  2. Pioneer Valley Web Design
    Member
    Posted 1 year ago #

    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...

  3. luckdragon
    Member
    Posted 1 year ago #

    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.

  4. Pioneer Valley Web Design
    Member
    Posted 1 year ago #

    10,000 users...add that code...my suggestion stands...

  5. luckdragon
    Member
    Posted 1 year ago #

    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?

  6. Pioneer Valley Web Design
    Member
    Posted 1 year ago #

    Again, to much work for the worth.

  7. dbyington
    Member
    Posted 1 year ago #

    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)

  8. joshnathan
    Member
    Posted 1 year ago #

    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. :)

  9. dbyington
    Member
    Posted 1 year ago #

    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

  10. joshnathan
    Member
    Posted 1 year ago #

    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

  11. dbyington
    Member
    Posted 1 year ago #

    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

  12. joshnathan
    Member
    Posted 1 year ago #

    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 :)

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.