This topic has 7 replies, 2 voices, and was last updated 7 years by Laura.

  • Author
  • #217161
     crashmaster
    Participant
    COPY CODE
    <span lang="en">Hello, I wish I could hide the list of members to the user who is not connected and who is not a member. I did not find this option in the theme settings.
    
    Thanks for your help</span>
    #217202
     Laura
    Moderator

    Hello, the list of members do you mean the directory or exactly which list? We can do this with css 🙂

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #217216
     crashmaster
    Participant

    hello, I mean the view of the members.
    the user goes to the site and if he is not connected, he sees the member tab but the list of members is replaced by a text or login / registration form for example.

    Thanks for your help,
    cordially

    #217262
     Laura
    Moderator

    Hello, i can test a code to see if it works for what you want, can you share admin credentials?

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #217283
     crashmaster
    Participant

    Hello, yes no problem.
    here are the admin codes:
    http://vegamities.com/wp-admin
    Nom d’utilisateur : dbo754820435
    Mot de passe : Crashmaster06400@

    thank you 🙂

    #217498
     Laura
    Moderator

    Hello, i added this to your style.css of child theme

    COPY CODE
    
    div#members-dir-list {
        display: none;
    }
    li#members-all:after {
        content: 'THIS CONTENT IS RESTRICTED FOR LOGGED IN USERS';
        font-size: 20px !important;
        clear: both !important;
        margin: 30px;
        color: mediumorchid !important;
    }
    div#members-dir-list {
        display: none;
    }
    .logged-in div#members-dir-list {
        display: block !important;
    }
    

    Just change the text for the restriction

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #217633
     crashmaster
    Participant

    Thanks for your help.
    I have a request from the client.

    “For members, you may be able to hide members and search for those who have not paid, and once they have paid, they can do member research.

    To put “members on hold, you must make the payment.”

    Is it possible to do that?
    Thanks for your help

    #217719
     Laura
    Moderator

    Hello, not right now, what you can do is restrict the members directory only for paid members, this can be done at Memberships section of theme options

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
Viewing 8 posts - 1 through 8 (of 8 total)

You must be logged in to reply to this topic.

Log in with your credentials

Forgot your details?