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

  • Author
  • #91325
     graphite
    Participant

    Hi,

    Is possible to have a membership level that allows users view and join groups but NOT create a group?
    Thanks.

    #91378
     graphite
    Participant
    #91431
     Laura
    Moderator

    Hello, its not available right now, but i could add a code that hides the create a group section fo specific level but this would require some php adjustments, i can do this for you if you share more details like:
    – What level is restircted
    – Admin credentials
    – FTP credentials

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

    Laura Solanes - Graphic Designer and Web Designer

    Please be patient as I try to answer each topic as fast as i can.

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Always happy to help you 🙂

    #91444
     graphite
    Participant
    This reply has been set as private.
    #91445
     graphite
    Participant
    This reply has been set as private.
    #91573
     Laura
    Moderator

    Hello, logged in to ftp but didnt see any file.
    If you can copy the header.php of main theme to child theme, then i can work using the theme editor of wordpress

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

    Laura Solanes - Graphic Designer and Web Designer

    Please be patient as I try to answer each topic as fast as i can.

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Always happy to help you 🙂

    #91580
     graphite
    Participant

    Hi Laura,
    I copied the header.php to child theme folder. Thanks.

    #91968
     Laura
    Moderator

    Hello, done, moneypack users will see the create group button, done by adding this to header.php

    COPY CODE
    
    <?php if ( pmpro_hasMembershipLevel(array(3))) { ?>
    <style>
    form#groups-directory-form .button:nth-child(2n) {
            display: initial !important;
    }
    </style>
    <?php } ?>
    

    And this to style.css

    COPY CODE
    
    form#groups-directory-form .button:nth-child(2n) {
        display: none !important;
    }
    
    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    Laura Solanes - Graphic Designer and Web Designer

    Please be patient as I try to answer each topic as fast as i can.

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Always happy to help you 🙂

    #91992
     graphite
    Participant

    Thank you Laura!
    Problem solved.

    #91995
     graphite
    Participant

    May I ask if I want to create the membership levels later, should I just chane x?
    array(x)
    and leave other coding the same?

    #92312
     Laura
    Moderator

    Hello, yes, exactly 🙂

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

    Laura Solanes - Graphic Designer and Web Designer

    Please be patient as I try to answer each topic as fast as i can.

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Always happy to help you 🙂

Viewing 11 posts - 1 through 11 (of 11 total)

The forum ‘Sweetdate – WordPress’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?