• Resolved FadeToZach

    (@fadetozach)


    Hey,

    I’ve run into some problems. I want to allow not logged in users to only access some of the pages on my site. I clicked the pages I wanted them to be able to view and added them to my conditional group. I synchronized the role of this group with my not logged-in users. The plan is to redirect them to my home page. However, when I go through my site as a not logged-in user, I can still access all pages and I don’t get redirected.

    What am I doing wrong?

    https://wordpress.org/plugins/restrict-user-access/

Viewing 9 replies - 1 through 9 (of 9 total)
  • Thread Starter FadeToZach

    (@fadetozach)

    Also,

    It seems the synchronized role isn’t applying to my users. I set my roles as an admin and the access level didn’t appear on my profile and doesn’t allow me to select any access level when I try to edit my profile.

    Plugin Author Joachim Jensen

    (@intoxstudio)

    When you create an Access Level (1) for some content, that content will be available only to users with that level.
    I.e. in your case, the logged-out users will still be able to see all content including that in level 1. But all other users will not be able to see the content in level 1.

    What you could do is to create an Access Level for e.g. Admins, select the content you want to limit to logged-out users, and then in your condition group, you check the “Negate” checkbox.
    This means that only admins will have access to all content but the selected.

    Let me know if that helps.

    For your second post, do you mean that the “Access Level” section is not displayed on the edit profile screen, or that the list of (level) options is empty?

    Thread Starter FadeToZach

    (@fadetozach)

    How would I set it up if I want to have more than two access levels then? I want to have Admins access everything, logged in users to access a little bit less, and non logged in users access a lot less.

    For my second post, I mean that when I check my list of users, they don’t have an Access Level next to their name even though I synchronized the Access Level to affect that specific role. When I click Edit on a user and scroll down to the Access Levels section, the only option to click on is “No Access Level.”

    Plugin Author Joachim Jensen

    (@intoxstudio)

    If you want Level B to inherit/extend Level A, you simply choose Level A as a parent for Level B.

    If you have synchronized the levels to a user role, they will not show up in the user overview nor on the profile page, I apologize for the confusion.
    The reason is that because the level is already synchronized to a specific role, it is seen as a “part” of that role and thus you should not be able to add it to each user individually.
    I will think about adding it to the user overview to avoid confusion.

    Let me know if this solves your problem.

    Hi Intox Studio

    I want to start by saying this looks like a fine piece of kit.

    My issue is that I cannot seem to get it to work for me (!)

    I have read the above and I figure I am confused by double negatives, so please excuse me if you have already explained this but please help:

    I (say) a four page website – home, login, join us, content.
    I want everyone to see the home and login page.
    I want only members to see the content, and when not logged in persons try this to get a teaser and the Join us page.

    I have made a group of home and login. I checked the Negate group.
    Named this “Members”
    I have not synched profiles yet but would synch this to the member profile. I have selected teaser with Join us page redirect.

    I would expect when a not logged in person hits the home page they see the home page, when a not logged in person hits the login page they see the login page, and when they hit the content page they get a teaser and the join us page.

    Instead when a not logged in member hits any/all pages they get the teaser and join us page.

    When I uncheck Negate group then not logged in members see every page.

    What do I need to do to get this to work for me?

    Thanks in advance for your patience.

    D1

    I would like to add:

    Regardless of anything I do, I cannot seem to hide the BuddyPress pages (activity, groups/message board, member information) from anyone (negated, not negated, logged in, not logged in) – what am I doing wrong?

    Plugin Author Joachim Jensen

    (@intoxstudio)

    @asikhatali

    For your use case, I would suggest this set up:

    Access Level – Members
    Add the content page to a condition group. Do not negate this group.

    Sync this Access Level with a Role or assign it to individual users.

    Access Level – Admins
    Sync with Administrator role
    Select Access Level – Members as a parent and save.
    This will make sure that Administrators can see the content as well (they “inherit” the Members level)

    Let me know if this works for you.

    For your BuddyPress question, did you add the content to its own condition group, or did you mix it with pages?

    gents i have to say.

    I have been looking for weeks for a plugin that can do the following, but honestly i am quite shocked it is difficult to find. yours is the closest if i could get it to work. This plugin appears fantastic, but it is so confusing i think i need to go on a university course to understand it.

    Objective:

    Be able to block my whole site from Guests (those not logged in)

    However be able to choose say Events page and its events as they are open to guests

    or 2 login pages, one is wordpress login with invidation codes another is anothe login page that is based on domains

    so basically i need it to block my whole site to guests apart from

    1. Events Page and its children
    2. Login Page1
    3. Login page2
    4. Possibly all the registeration pages and password reset pages in association with 2 and 3 above.

    I am pulling my hair out trying to find something that works. This seems close, I really hope i am just making a mistake. but it is soooo confusing how to use this plugin

    HELP!

    Plugin Author Joachim Jensen

    (@intoxstudio)

    @dave05

    Your use case should be possible with this plugin.

    To “lock down” your site for guests, you need to create 2 Access Levels:

    1. Guests:
    Synchronize with User Role: Logged-out users
    Under the Restriction tab, add all the content you want guests to have access to.
    E.g. 1 condition group with Events Pages, Login Pages.
    Registration and password reset is currently done by the built-in WordPress pages, so you cannot restrict those (yet).

    2. Subscribers:
    Synchronize this with your logged in users or add users to it manually. Under Settings you can choose this Level as default for new users.
    Extend: Guests
    Under the Restriction tab, create a condition group with “Static Pages” and add “404 Page”. Negate this group and save it.

    Let me know if this works for you.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Not Logged In Users Still Able To View’ is closed to new replies.