• Hello,

    For context, I currently use this plugin to restrict specific pages on a website for all logged-in members only, and it works great.

    However, I have a use case where I only want a specific user Role to access certain pages. For instance, all logged-in members would be able access the ‘standard’ restriced pages, however, members with a specific Role would be able further access pages that a ‘standard’ member cannot.

    I guess what I am describing is a tiered membership, with access to specific pages.

    I could not see an addon for WP-Members that would solve this, but I am not sure whether this is actually a Role configuration problem or something WP-Members controls.

    Any help would appreciated – Thanks, Jon

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Chad Butler

    (@cbutlerjr)

    What you can use for that is “memberships” which you can enable in the plugin’s main options and then configure in the “Memberships” menu item it adds to the WP admin menu.

    See documentation here: https://rocketgeek.com/plugins/wp-members/docs/membership-products/

    Another possibility would be the plugin’s premium Advanced Options extension. This has a setting that lets you add restriction by user role (along with a number of other features and options). See: https://rocketgeek.com/plugins/wp-members-advanced-options/

    Thread Starter lbbjon

    (@lbbjon)

    Wow, I’ve spent playing around with Memberships and this is exactly what I was looking for. The Advanced Options looks like a great option for User Roles.

    Lastly, similar to my original comment, does the WP-Members Download Protect addon allow you to configure the specific ‘User roles’ or ‘members’ that can download files in the protected directory?

    I.e. if links to files were placed on a page which is restriced to Gold members, can I restrict Silver members from downloading those files, if they happened to have the link to these files.

    Thanks!

    Plugin Author Chad Butler

    (@cbutlerjr)

    The Download Protect does restrict by memberships, but not by roles. However, there is an action hook for custom validation, so it might be able to be done as a custom code snippet (it hasn’t come up before, so there isn’t anything prewritten on this).

    To address the last part of your example – yes, if a download were restricted by membership and someone without the correct (or valid) membership tried to access the link, they would not be able to download the file.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Page restriction based on user role?’ is closed to new replies.