This topic has 10 replies, 3 voices, and was last updated 8 years by Laura.

  • Author

    Tagged: , ,

  • #133293
     milena
    Participant

    Hello Laura,

    I need to understand how the code in “Free Females Males Only Only or Free Membership Paid Memberships Pro”

    I copied the code, modified code below with the number 6 (because it is the level that I would free)

     

    // Membership level id

    $ Membership_level = 1;

    After I did some tests as a man, but it does not change anything, I always arrive at the page level and asks me to select the level (in my case the man pays the woman’s free), you should not address myself directly to the man pay?

    Another thing I do not understand it came to levels I have the chance to return to home and do not pay, how can I “force” to pay?

     

    I followed https://archived.seventhqueen.com/forums/topic/profile-with-payment

    but I would not have displayed the Worpress login, there is another solution?

    If I can put a string of code when the user accepts the registration? But possibly by paying only x man?

    Thank you!

    #133373
     milena
    Participant

    Hello Laura, I found this link that I solves the problem of users accessing without selecting the level:

    COPY CODE
    https://archived.seventhqueen.com/forums/topic/new-users-automatically-free-member-level-bypass-membership-level-page

    I wanted to know if there’s a way to make sure that the administrator is excluded from this function, I tried this:

    $ Excluded_user = ‘1,2,3’; // comma separated ids of users-whom you want to exclude

    but it does not work..

    Thank you!

    #133630
     Laura
    Moderator

    Hello, it does not exclude the user from where? member list, widget? or all?

    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 🙂

    #133631
     milena
    Participant

    I wanted to exclude the administrator of their function must have an entry level to move on the site.

    I inserted this code:

    add_action (‘template_redirect’, ‘my_membersip_restrict’);
     
    my_membersip_restrict function () {
         global $ pmpro_pages, $ post;
     
         if (is_user_logged_in () &&! pmpro_hasMembershipLevel ()) {
             if (isset ($ post-> ID) &&! in_array ($ post-> ID, $ pmpro_pages)) {
                 wp_redirect (pmpro_url ());
             }
         }
    }

    and it works perfectly!
    I wanted to understand if there is a way to exclude the administrator of this or simply have to assign an even level for the administrator.

    Thank you!

    #133820
     Laura
    Moderator

    Hello, the admin role doesnt affect the membership restrictions, so an admin can be restricted too

    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 🙂

    #133847
     milena
    Participant

    Yes you are right!

    Can you explain how the code in this link:

    https://archived.seventhqueen.com/sweetdate/article/free-females-free-males-membership-paid-memberships-pro

    I entered the site, but when one is logged after the module allows you to select the level that I created (man or woman), you can not set the level based on whether man or woman automatically? (Depending on your choice are a man or a woman are)

    THANK YOU!

    #134140
     Laura
    Moderator

    Hello, i see you want to automatically assign those roles depending if they choose i am a male/female
    Try: https://archived.seventhqueen.com/forums/topic/membership-auto-in-registration/#post-5411

    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 🙂

    #134787
     love2playgames
    Participant

    Hi Laura,

    I’m not sure its only my site or what? Every time I updated to the latest version, this “Paid Memberships Pro” plugin has been crashing the site? Seems like they are messing up?

    I would like to try other plugin has “membership level” that is compatible with
    “Paid Memberships Pro – bbPress Add On” and the theme? Can you recommend which 2nd best I can use?

    Please advise, thanks

    #134893
     Laura
    Moderator

    Hello, the second would be s2member but i would just go to the previous version of pmpro until they fix the issue

    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 🙂

    #135188
     love2playgames
    Participant

    Hi Laura,

    I checked out the s2member plugin reviews, hmmm, many users having big time issue for this plugin and even confusion for set up.

    You right, I going to download to see which previous pmpro version at least it will not breaking my site.

    Thanks for pointing out and your great help as always! 🙂

    #135412
     Laura
    Moderator

    Hope it works 🙂

    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)

You must be logged in to reply to this topic.

Log in with your credentials

Forgot your details?