BuddyDev

Search

Restrict page access by member types

  • Participant
    Level: Guru
    Posts: 701
    Tosin on #31723

    Hello,

    I was wondering if you can create a plugin that can enable admins to restrict page access by member types. Maybe by adding a setting option in the admin post editor to restrict pages access to only selected member types.

    This plugin would work effectively with the If menu plugin which now has support to restrict menu access to member types. https://wordpress.org/plugins/if-menu/

    It would be pointless to restrict menu access by member type if the page can still be accessed directly through url or google search.

    Thanks

  • Participant
    Level: Guru
    Posts: 701
    Tosin on #31725

    I think adding this feature to the member types pro plugin would be a much cleaner approach. This will make the member types pro much more extensive.

  • Participant
    Level: Guru
    Posts: 701
    Tosin on #31726

    If a user who does not have member type access should try to access a member type restricted page, that user should either be shown a custom error message or be redirected to another page added in the member type setting.

    I think the redirection approach would be better.

    What are your thoughts

    thanks

  • Keymaster
    (BuddyDev Team)
    Posts: 21769
    Brajesh Singh on #31737

    Hi Tosin,
    Thank you for the suggestion.

    I do like it. At the moment, we don’t have sufficient time available due to previously planned releases.

    I will add it to our future list and will hope to coincide it with BuddyPress 7.0 release.

    Thank you
    Brajesh

  • Participant
    Level: Guru
    Posts: 701
    Tosin on #31768

    Hello,

    I thought I might add more suggestions like:

    Restrict access by member type for

    1. Post
    2. Pages
    3. Categories
    4. Custom post types

    For more ideas check out this plugin https://codecanyon.net/item/pages-by-user-role-for-wordpress/136020

  • Keymaster
    (BuddyDev Team)
    Posts: 21769
    Brajesh Singh on #31786

    Thank you for the suggestion. I appreciate it.

    Regards
    Brajesh

You must be logged in to reply to this topic.

This topic is: not resolved