This topic has 7 replies, 3 voices, and was last updated 9 years by gigidesign.
-
Author
Tagged: level, force, registration, membership, pmpro
-
December 7, 2014 at 23:47 #38087beansmcguillicuttyParticipant
Right now registering for the site is completely separate from creating a membership. So users have to enter their info twice…and it may not match…
Is there anyway to get these two systems integrated? SO that when someone registers they are also taken through the membership system?
Thanks in advance,
a
December 9, 2014 at 04:51 #38271beansmcguillicuttyParticipanthi @gigidesign, no, there hasn’t been a response yet from support…but Im sure its on the way.
December 10, 2014 at 02:27 #38399AbeKeymasterHi,
it is a bit tricky to integrate the payment process with Buddypress but you can do something like forcing the users to apply for a membership level after registration. They won’t he able to do anything on your site until they do that.
Add the following code to your kleo-child/functions.phpCOPY CODE/* Redirect user to levels page until he subscribes for a membership */ add_action( 'template_redirect', 'my_membersip_restrict' ); function my_membersip_restrict() { 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() ); } } }
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Ticket solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.December 16, 2014 at 19:32 #39337beansmcguillicuttyParticipantCool! thank you, I’ll look into how this would affect UX and may apply that code. I really appreciate your help as usual Abe.
a
January 12, 2015 at 23:55 #41816gigidesignParticipantWhat if you just assign a default membership level upon registration? Can this be done? If so, please advise on how to do it.
January 15, 2015 at 15:31 #42194AbeKeymasterSee this code that applies to KLEO also https://archived.seventhqueen.com/forums/topic/membership-auto-in-registration#post-2727
Hi 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.January 16, 2015 at 01:24 #42290gigidesignParticipantYes, I wrote the code before your reply. Thanks.
-
AuthorPosts
The topic ‘Integrate Registration and Membership creation’ is closed to new replies.