• Resolved Manish

    (@nims)


    I have a classifieds website where each registered user has by default a “Contributor” role.
    These users can post their classifieds on the website.
    I need to show few Pages to only the Contributors who have an active published listing on the website.
    How can I do that using this plugin ?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support mark l chaves

    (@mlchaves)

    Hello @nims,

    Thanks for posting.

    Just so we understand. Do you have 2 types of contributors such as the following?

    1) Contributors who do NOT have an active classified listing

    2) Contributors who have an active classified listing

    Then for type #2, do you want them to have access to a set of pages that only published listing contributors (#2s) can see?

    For example:

    Page A: Everyone can see.

    Page B: Only active listing contributors can see.

    Is that right?

    If so, you can create a custom role like “Lister” and create a Content Control Restriction for Listers to see a certain group of pages. See the screengrabs below.

    Lister role: https://share.wppopupmaker.com/yAuyrr8P

    List of pages: https://share.wppopupmaker.com/Wnu0xxze

    Here’s a list of plugins that can help you create custom roles.

    https://wordpress.org/support/article/roles-and-capabilities/#plugins

    We hope that helps. Let us know if you have any questions.

    Have a great day 🙂

    Mark

    Thread Starter Manish

    (@nims)

    No the classified theme makes every registered user as “Contributor”.
    Many of them post ads but do not pay so their ads are not published. None the less their role is same as of those with published ad owners. We can’t change that.

    Plugin Support mark l chaves

    (@mlchaves)

    Hello @nims,

    Just to confirm, you cannot add a plugin to create a custom role for your “Lister” type of Contributor?

    If you cannot add a plugin, then you’ll probably have to write custom code to figure out programmatically who are your active listers and give them access to the pages you want.

    If you can install a plugin and create a custom “Lister” role, then the solution we outlined above should work for you.

    We wish you the best with that.

    Cheers 🙂

    Mark

    FYI, you should be able to change the default new user role under your general settings https://www.dreamhost.com/blog/wp-content/uploads/2016/06/10-important-wp-settings-website-11.jpeg

    • This reply was modified 2 years, 7 months ago by mark l chaves. Reason: Formatting
    • This reply was modified 2 years, 7 months ago by mark l chaves. Reason: Typo
    Thread Starter Manish

    (@nims)

    Hi,

    Thanks for the quick revert.
    Do you know of any such plugin that can automatically add the users to the role “Lister” who have their listings published ?

    Plugin Support mark l chaves

    (@mlchaves)

    Hey @nims,

    Sorry. We don’t know of any.

    You might want to ask the authors of the plugins listed here though (see Resources > Plugins).

    https://wordpress.org/support/article/roles-and-capabilities/#plugins

    Good luck! 🙂

    Mark

    • This reply was modified 2 years, 7 months ago by mark l chaves. Reason: Preview not linking to anchor. Added a note to look in the Resources section
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Grant access to contributors with published posts’ is closed to new replies.