Simple Membership Plugin › Forums › Simple Membership Plugin › How can I edit the "Registration Successful" message?
- This topic has 9 replies, 3 voices, and was last updated 9 years, 5 months ago by
jnystrom.
-
AuthorPosts
-
December 6, 2016 at 1:04 pm #9106
jnystrom
ParticipantHello! I would like to edit the “Registration Successful! Please Login”-message that appears on the registration page once registration is completed. I.e. – NOT the email, but the message that appears on the site. Where can i do this? I can’t find it in the settings. Thank you!
December 6, 2016 at 8:54 pm #9110mbrsolution
ModeratorHi, you can use the following plugin to customize the message.
Thank you
December 7, 2016 at 1:10 pm #9114shup
ParticipantI really want to get to the bottom of this problem too. The reason being: as default the message after completing registration currently implies a new user can log in immediately. This is not the case when I am creating new accounts as “pending” because manual intervention is required to make them “active”. I don’t want users to think they will be able to log in immediately, but instead receive a notification ONLY once their account has been activated.
I have tried the following:
1) The simple membership custom messages plugin: I provided a new text and the default message was NOT overwritten with my message. Why might this not work?
2) The action hook you provided in answer to question 7 on your website MBR (http://mbrsolution.com/wordpress/wordpress-simple-membership-troubleshooting.php) [nice website by the way]: I provided a new URL to a page set up with the message I required. No re-direction occurs and the default message is still shownAny ideas of how to fix this?
December 7, 2016 at 1:16 pm #9115jnystrom
ParticipantThanks for your input, shup! Ultimately, I am in fact trying to accomplish exactly what you refer to, but I haven’t been successful yet 🙁 So the very same problem exists for me – In the “registration successful” message, I want users to fully understand that they can’t log in until their profile is accepted/manually approved.
So I chime in – Any ideas of how to fix this? Thanks!
December 8, 2016 at 5:33 am #9120mbrsolution
Moderator@jnystrom did you try the plugin I suggested above?
@shup and @jnystrom, the other solution you might try is using the Form Builder add-on.
@shup, thank you for your comment about my website 🙂December 8, 2016 at 10:25 am #9123shup
ParticipantI’m using the form builder add-on for my registration form. But how will that help with the “after registration” response message please? It’s just for the form as far as I can see. The response message is still hidden inside the simple membership plugin and that’s what we are trying to override.
December 8, 2016 at 11:03 am #9124mbrsolution
ModeratorHi, I was under the impression that the plugin I mentioned above allowed you to make the changes. If that is not the case then try the following file /wp-content/plugins/simple-membership/classes/class.swpm-front-registration.php, line 100.
Let me know if this helps you.
Regards
December 8, 2016 at 1:34 pm #9129jnystrom
Participant@mbrsolution – BEAUTIFUL 🙂
$after_rego_msg = '<div class="swpm-registration-success-msg">' . SwpmUtils::_('Registration Successful. ') . SwpmUtils::_('Our staff will get back to you once your application has been reviewed.') . ' </div>';Changed the message, removed the link ref. Just what I needed! @shup, will this work for you too?
BUT STILL – another problem remains: The system sends out a welcome, login message with username & password although I have new applications set to “pending” as default. How can I stop this from happening? My quick & dirty fix looks like this – basically just editing the new registration email:
Dear {first_name} {last_name} Your registration will now be reviewed by our support staff and will usually be approved within 24hrs. Once approved, please use your submitted details and below login link. Registration details: Username: {user_name} Password: {password} When approved, please login to the member area at the following URL: {login_link}Thank You!
Cheers guys!
December 8, 2016 at 2:26 pm #9132shup
ParticipantInterestingly line 100 of that class file implies the message will be:
“Registration Successful. Please Login”The message I see in my website on successful completion of the registration form is currently:
“Registration is complete. You can now log into the site”This must be configured elsewhere, but I’m going to try and find it!
BOOM.
Here – in the form builder plugin!wp-content/plugins/swpm-form-builder/classes/class.swpm-fb-registration-formmeta.php
Line 83: $this->success_message = ‘<p id=”form_success”>’ . SwpmUtils::_(“Registration is complete. You can now log into the site.”) . ‘</p>’;
Changed it to “”Registration is complete. You will receive an email when your membership has been activated.”
But I’m still getting “Registration is complete. You can now log into the site.”
Still searching….
December 8, 2016 at 2:41 pm #9133 -
AuthorPosts
- You must be logged in to reply to this topic.