• I have a members area on my website which is locked/hidden using User Access Manager setup for “members”, fine.

    I use this page for my News articles/posts and if I type in the URL straight to the page when logged out, the post still appears even though the page is removed from the menu. I have checked the “Lock recursive” option, “Selecting “Yes” will lock all child posts/pages of a post/page if a user has no access to the parent page”, this doesn’t work.

    Any suggestions?

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author GM_Alex

    (@gm_alex)

    Could you contact me by mail again, because I need a admin access an an detailed error description to see what’s going on.

    Thread Starter marklanham

    (@marklanham)

    Basically, I set a group up called “members” and then applied “contributor” status to the group. I then created a page called “Members Area” and set this as the default page for posts.

    The page does not appear in the menu when logged out (viewing as public user) which is fine, however if I create a post (logging in as admin) then go to that ID in the browser (logged out) it displays the post, however, if I check the “members” box in the admin section for that particular post it shows the 404 page which is fine.

    The problem is that I understand from the plugin that if the page is locked for “members” only, then all sub pages/posts will also not be displayed but this isn’t the case.

    Plugin Author GM_Alex

    (@gm_alex)

    I don’t understand how pages can contain post? Is the “page” you set up a custom menu entry of WordPress? Recursive locking works the following way:

    page (has group) -> childpages = page and all childpages are locked
    category (has group) -> childcategory = category all, childcategories and all Posts which are assigned to the category or a childcategories are logged
    post or page (has group) -> attachment = post/page and all attachments are logged

    It would be nice if you give feedback if this solve your problem.

    Thread Starter marklanham

    (@marklanham)

    Under the WordPress settings (reading settings), you can set “A static page” and set your “Posts page” to a specified page from your website, in this case, “Members Area” which I have applied then “members” user access to the actual page.

    Does the page not lock anyone from viewing the posts on that page unless logged in as a “member”?

    Plugin Author GM_Alex

    (@gm_alex)

    I understand. I don’t know that a option like this exist. I will see if I can solve your problem for the next release. Thank for the report.

    Plugin Author GM_Alex

    (@gm_alex)

    I would let you know that this functionality comes with the next release.

    Just at below the header call

    <?php if (is_user_logged_in()) { ?>

    Than the content ….

    and just above the footer call

    <?php } else {
    
    <p><h3 align="center">I'm sorry, but you must be a logged in  to view this page.</h3></p>
    
      <?php	} ?>
Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘[Plugin: User Access Manager] Lock recursive issues’ is closed to new replies.