Simple Membership Plugin › Forums › Simple Membership Plugin › After registration only a blank page is returned.
Tagged: registration form
- This topic has 6 replies, 2 voices, and was last updated 9 years, 10 months ago by
marie21.
-
AuthorPosts
-
July 10, 2016 at 2:33 pm #7421
VelvetLounger
ParticipantHello. I have only a free account level set up. Everything goes properly when a new user registers. The user receives a confirmation email with a link to login, as well as an opt in email for mailchimp.
But the problem is that after they register the registration form disappears, and the page stays blank. There is no immediate confirmation that things worked.
I am not using the Form Building add on.
Any idea whats going on?
my site is http://pixelbip.comThanks
KeirJuly 12, 2016 at 2:22 pm #7424marie21
ParticipantI have the same problem.
π
July 12, 2016 at 3:11 pm #7425marie21
ParticipantFound something for this case in an older post:
If you are not using the form builder add-on, add the following function to your theme functions.php file.
add_action(‘swpm_front_end_registration_complete’, ‘sam_after_registration_redirection’);
function sam_after_registration_redirection()
{
$url = ‘http://www.yourwebsite.com/thank-you/’;//TODO – Specify the URL that you want to redirect to
wp_redirect($url);
}I will try it tomorrow π if “VelvetLounger” would be faster – please reply if it will work out. Thank you.
July 12, 2016 at 5:00 pm #7428VelvetLounger
ParticipantYes this solution worked for me. Thanks so much!
July 13, 2016 at 9:56 am #7435marie21
ParticipantHi,
π I add it to the end of function.php in the child theme – no reaction. After registration itΒ΄s shown still a blank site and no redirection.
Did you change anything else?
And an other question please – how did you include this captcha-box without the form building addon?
Regards
July 13, 2016 at 10:47 am #7436VelvetLounger
ParticipantI also added mine to the functions.php of my child, but my file was already empty.That shouldn’t make a difference though. i created a landing page and replaced the URL of that page in the code.
As for the captcha I installed the Captcha add-on located here. https://simple-membership-plugin.com/simple-membership-and-google-recaptcha-integration/
July 13, 2016 at 2:42 pm #7438marie21
ParticipantFound the missing point. With ” exit();” in the end it will work finally.
-
AuthorPosts
- You must be logged in to reply to this topic.