Tips and Tricks HQ Support Portal › Forums › WP eMember › WP eMember Tweaks › Change login fields to email/ password
- This topic has 10 replies, 4 voices, and was last updated 11 years, 7 months ago by admin.
-
AuthorPosts
-
November 5, 2010 at 1:11 pm #2171membermemberParticipant
The default login box uses Username/ password
What I need is email/ password
I’ve spent 2 days trying to get this to work and would appreciate a nudge in the right direction!
Many thanks.
November 6, 2010 at 1:31 am #26148amin007ParticipantYou shouldn’t try to change the “username” field into an “email” field in the core code (this will be a lot of core code tweaking that we won’t be able to help you with).
What you can do is change the label of the “username” field to “email” (a username can be anything so there is nothing wrong with telling the customers to use their email as the username).
You can change the label of the “actual” email field to something like “contact email” this way you don’t have two fields with the same name.
How to you customize the labels of each field? This post will explain it:
November 6, 2010 at 12:46 pm #26149membermemberParticipantI understand how to change field labels, that’s fine, but I need to carry the field content over to aweber, hence using the email field instead of username.
November 6, 2010 at 11:50 pm #26150amin007ParticipantIf you are using the AWeber integration of eMember it will send the email address and the name to AWeber when a member signs up.
November 7, 2010 at 5:11 pm #26151membermemberParticipantLet’s assume we change the username field to simply say ’email address’ – how will this get transfered over to aweber as an email address?
The only way I can see is if people add their email twice –
once in the renamed username field and once in the email field.
Do you understand what I am trying to do – only use email/ password as the login and not the current username/ password.
November 8, 2010 at 12:05 am #26152amin007ParticipantI understand that the true username field (which is an email address too in your case) will not get transported but there is another email field (which is a mandatory field) in the registration form and it will transport that details. So in your case you need to change the label so it makes sense for the user to enter the email address in both fields.
Remember, this is not a feature of eMember that you can change username to an email field. We are just trying to hack it to suit your need with not coding change.
November 8, 2010 at 1:46 am #26153membermemberParticipantmaybe a simple option would be to change ‘username’ to ’email’ and ’email’ to ‘confirm email’
That way you capture the email, but twice.
It does seem strange that you can’t simply change a field, or maybe I don’t understand the plugin.
April 11, 2013 at 12:55 am #26154funkymonk63MemberHi there
I’ve just tried to achieve the same thing and have changed the Username to Username (email address) in the registration form and username to email on the login form but emember in the registration form says it only letter, number and underscore allowed. How do i change the registration field so that it will accept an email address?
Cheers
April 11, 2013 at 7:23 am #26155adminKeymasterThe tweaks in this post should help:
https://support.tipsandtricks-hq.com/forums/topic/want-to-use-email-as-username
April 11, 2013 at 7:56 am #26156funkymonk63MemberHi Admin
I tried all of them tweaks and yet the registration form still came up with the red warning message about characters etc and it wouldn’t work.
Very very frustrating
Cheers
April 11, 2013 at 11:38 pm #26157adminKeymasterYeah doing code tweaks can be a little frustrating if it doesn’t go in the right direction. It is better to not do any tweaks to the plugin. We show exactly how our plugins work via our demo, documentation and video tutorials. So if you check those out before you purchase the product you should never have to do tweaks (because you will only buy it if you like the way it works). Sometimes developers just want to do a tweak and we try to help as much as we can but it is not something we support.
Anyway, I think it will be best if I take a look at your site and see what you have modified so I know where things are going wrong. Please fill in the contact form on our site to get in touch.
-
AuthorPosts
- You must be logged in to reply to this topic.