This topic has 8 replies, 3 voices, and was last updated 11 years by SQadmin.

  • Author
  • #5071
     kiko46
    Participant

    Hi,
    Let’s say I want to charge only men but not women using paidmembershipPRO – possible?
    Using default setup of paidmembershipPRO and theme settings the same memberships are applied to all users, but we want user type X to be free and for user Y to pay. Thanks for the great support.

    #5077
     JohnDoe
    Participant

    Looks like a bad idea, since alot of fake female accounts will be made.

    #5124
     kiko46
    Participant

    It is actually something I think lots of users would benefit from. It doesn’t apply to only dating sites.
    I have seen this question elsewhere but I can’t find it anymore and don’t remember the answer.

    Just to be clear:
    when the user signs up their membership would be different if they are user X or user Y. User X would have a free membership or different pricing, and User Y would have a paid account or different choices from user X.

    Thanks!

    #5126
     kiko46
    Participant

    Hi, I found this answer you gave from a previous question and it can work for me ONLY if it can be applied specifically to User X (only women). Upon registration User X gets a free account but not User Y – possible?:

    —————
    Hi,
    This is the function you need to add in order to assign a specific membership level to a newly registered user. Add it into your sweetdate-child/functions.php

    add_action(‘user_register’, ‘kleo_pmpro_default_level’);
    function kleo_pmpro_default_level($user_id) {
    pmpro_changeMembershipLevel(1,$user_id);
    }

    This one assigns level with ID 1
    ———————

    #5127
     JohnDoe
    Participant

    pmpro is from paid memebrships pro , nothing to do with user x or user y

    #5128
     kiko46
    Participant

    i know that – that’s my question – how to integrate pmp based on user x & user y.
    Unless you have an answer please stop replying, I don’t need your opinion if it’s a good idea or not. thanks.

    #5148
     SQadmin
    Keymaster

    Hi,
    JohnDoe was just trying to help.

    That code will work but you need to adjust it to check the if the user registered is a female and then add it to your level for females only.

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

    Hi – Thanks – I’ve been trying to add it but just confused where to add the user type (female, male) in the code so that when females register they get the free plan to choose, but when males register they get the monthly charge plan.

    add_action(‘user_register’, ‘kleo_pmpro_default_level’);
    function kleo_pmpro_default_level($user_id) {
    pmpro_changeMembershipLevel(1,$user_id);
    }

    Thanks again!

    #5413
     SQadmin
    Keymaster

    See here my answer:
    https://archived.seventhqueen.com/forums/topic/membership-auto-in-registration#reply-5411

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

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

Log in with your credentials

Forgot your details?