Tips and Tricks HQ Support Portal › Forums › WP eMember › eMember – Disable “Registration Complete! Please Login” when acct inactive
- This topic has 4 replies, 3 voices, and was last updated 11 years, 9 months ago by admin.
-
AuthorPosts
-
January 27, 2013 at 7:40 am #8430terrysMember
I have setup free membership but I need to approve registrations and I have set “Manually Approve Member Registration”.
However, after the user clicks on the confirmation registration link in the email, then goes and completes the registration form, they are immediately presented with the message:
“Registration Complete! Please Login”
..and when they try to login, they get a red error msg saying ‘account inactive’ – which of course it is ..but it’s confusing for the user.
Is there any way to have this message changed to “Account pending approval by administrator” if it is being set to manual approval?
Thanks,
Terry.
January 27, 2013 at 12:42 pm #53379PeterMemberyes you can easily change the wording of the message.
Please see this link:
January 27, 2013 at 11:35 pm #53380terrysMemberHi Peter, I did notice that, however eng.php doesn’t contain the complete line, i.e. it only has:
define(“EMEMBER_REG_COMPLETE”, “Registration Complete! “);
I can’t find where the “Please Login” comes from.
i.e. if I change EMEMBER_REG_COMPLETE to “Thank you, your account is pending approval by an administrator.” then I still get:
“Thank you, your account is pending approval by an administrator. Please Login”
I would like to drop the “Please Login” if the account is ‘inactive’.
I think it would be really great if the developers could define another variable such as EMEMBER_REG_PENDING so that if memberships need manual approval there’d be a more appropriate messages as appropriate ‘out of the box’.
Thanks, great plugin!
January 30, 2013 at 10:52 pm #53381terrysMemberFollowing on from my first comment above – Can you please tell me:
==> What is PHP code, and where do I insert it, such that:
the “Please Login” portion (of the message “Registration Complete! Please Login”) will be displayed only if the account status is ‘active’?
I’m sure (i.e. I hope) that this can be achieved with a simple ‘if’ test.
January 31, 2013 at 2:56 am #53382adminKeymasterHi, You can use the “After Registration Page” feature to redirect your user to a page of your choosing immediately after a user completes the registration. You can then put whatever message you like on that page.
We also added a new language definition for sites that are using the “Manually Approve Member Registration” feature. This will get shown to the users when they complete the registration.
-
AuthorPosts
- You must be logged in to reply to this topic.