-
Author
Tagged: only free for women, men pay, free women
-
April 24, 2014 at 21:56 #15990StevenParticipant
I know there is code and this has been mentioned, but when I add the code to the functions.php page, I still get the following behavior:
1. Signup for membership
2. Verify email.
3. Sent to membership page.Is it now possible for women seeking men for instance to verify email, then be sent to their profile page with a premium membership already? I thought this is what the code was created to do. Surely this has to be possible because most women do not pay on any date site. Can you please help me sort this out, a step by step procedure on how I can make it so when women sign up, choose that they are a women seeking a man, to verify email and be automatically put into a membership group??/ Right now like I say, the code below does not allow the women to be free and they must choose a membership package.
`/**
* When registering, add the member to a specific membership level
* based on the field value he has selected
*
* @global object $wpdb
* @global object $bp
* @param integer $user_id
*/
function kleo_pmpro_default_level($user_id) {
global $wpdb, $bp;//Change this with your field name
$field_name= “I am a”;//Change the field value
$value_to_match = “Woman”;//Membership level id
$membership_level = 1;//Done editing
$field_id = $wpdb->get_var( $wpdb->prepare( “SELECT id FROM {$bp->profile->table_name_fields} WHERE name = %s”, $field_name ) );if ($_POST[‘field_’.$field_id] == $value_to_match) {
pmpro_changeMembershipLevel($membership_level, $user_id);
}
}
add_action(‘user_register’, ‘kleo_pmpro_default_level’);IS THERE ANY WAY TO GET THIS TO WORK PLEASE AS THIS IS DRIVING ME CRAZY…
THANK YOU SO MUCH FOR YOUR HELP AND CONSIDERATION. I JUST WOULD LOVE TO HAVE MY SITE ABSOLUTELY FREE FOR WOMEN AND ONLY MEN HAVE TO PURCHASE A MEMBERSHIP LEVEL.
STEVE
April 25, 2014 at 00:28 #15998AbeKeymasterSteve please you already have a topic with the exact question.
https://archived.seventhqueen.com/forums/topic/charge-men-onlyHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer. -
AuthorPosts
The topic ‘Please help me – Having issues with women for FREE – Men Pay’ is closed to new replies.