-
Author
-
September 10, 2013 at 06:42 #2564YoudoMediaParticipant
Hi there, I love this theme and wish to not hack it too much. I want the default layout and everything to be as is, however once someone registers, instead of heading straight to the “Register” section they need to buy a membership first. Any idea of how this can be done? If I refer to register- I mean all of the register buttons and even the register block in Home Page must direct to membership level first.
Please assist.
H
September 10, 2013 at 18:00 #2609SQadminKeymasterHello,
That could be done but to choose a membership level you need to be registered first..Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSeptember 11, 2013 at 08:15 #2629YoudoMediaParticipantCan you give me more detail regarding “that can be done” please. I am sure others have this question too and it can benefit them.
I have installed the membership plugin and latest version of the theme. Now I need to understand the process of getting everything to tie in nicely.Many thanks
H
September 11, 2013 at 23:20 #2678SQadminKeymasterI am working on something like this when user goes and chooses the level, then it needs to register. After the user registers he will be redirected to the checkout page for the level he already chosen. Will keep you posted.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSeptember 12, 2013 at 05:31 #2686YoudoMediaParticipantAwesome stuff. Please do keep me posted. Appreciated. Thanks for your great service yet again. Regards. H
October 8, 2013 at 19:52 #4023getyler2ParticipantI have the same question (or maybe the opposite question)… I just noticed that after I tested a signup from the Sign Up | Login button (top-right of homepage) then looked at WordPress’ Edit User and see Membership’s Current Level is –None– (User is not paying.) and Expires is No. For a dating site, you want everyone on the Free 30-Day membership that expires in 30 days, just like when they have to choose on the Membership Levels page.
So how can I force that Sign Up link in the top right corner to go to the Membership Levels page? That should fix the issue. Thanks!
October 9, 2013 at 01:36 #4043SQadminKeymasterTo modify the link, you can modify line 136 from header.php. Copy the file from sweetdate theme to sweetdate-child theme and edit it there. Here is the new line:
This will go to levels page but a user has to be registered before picking a level.
Also, a better way is to assign users a default level at registration: https://archived.seventhqueen.com/forums/topic/membership-auto-in-registration
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionNovember 28, 2013 at 23:16 #7436vanailaParticipantI’m interested by the original point. Have you something new about it ?
November 30, 2013 at 13:56 #7489SQadminKeymasterMy answer above will change the link for the registration button to the levels page. The thing is you have to be registered to choose a membership.
You can redirect users of their first login to the membership levels page with the codes bellow added to sweetdate-child/functions.phpCOPY CODE//Whenever a new user is created, this function will add a custom field with value 1. function function_new_user($user_id) { add_user_meta( $user_id, '_new_user', '1' ); } add_action( 'user_register', 'function_new_user'); //The next function will check if it's the first login and redirect the user. function function_check_login_redirect($user_login, $user) { $logincontrol = get_user_meta($user->ID, '_new_user', 'TRUE'); if ( $logincontrol ) { //set the user to old update_user_meta( $user->ID, '_new_user', '0' ); //Do the redirects or whatever you need to do for the first login wp_redirect( pmpro_url("levels"), 302 ); exit; } } add_action('wp_login', 'function_check_login_redirect', 10, 2);
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionNovember 30, 2013 at 18:23 #7504alim.jivrajParticipanthi, so if i’m understanding this correctly, instead of going to the registration page, they go to the membership/levels page. but once they finished selecting the membership/levels page, do they automatically get redirected to the registration page, or do they have to go to it themselves?
is there a way they can register first and then directed to the membership/levels page automatically? so before it directs them to the page that says ‘sign up complete, check your email’, it forces them to select a membership/level.
thanks
December 2, 2013 at 15:16 #7562SQadminKeymasterIt is the other way around. After user registers, at the first login it will be redirected to the levels page. You need to have an active account to go to the levels page
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionJanuary 8, 2014 at 02:13 #9367alim.jivrajParticipantis there any way of having them first pick the level, then register?
or someone have them pick a level during registration?January 9, 2014 at 23:28 #9453AbeKeymasterHi, this is another related topic: https://archived.seventhqueen.com/forums/topic/registration-and-subscription-in-the-same-time
We will think of other solutions but right now something like that is not possible
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. -
AuthorPosts
The forum ‘Sweetdate – WordPress’ is closed to new topics and replies.