turner2f Posted January 19, 2017 Report Posted January 19, 2017 Is there a way restrict the "Login Username" to be ONLY by Email Address ? We only want people to register their email address as their username . ========= Or would it be as easy as just UN-commenting the code from within the " signup.pdt " file If yes, which folder(s) would the " signup.pdt " file(s) be in ? And which lines of code should we UN-comment ? ========= Look forward to your reply. Quote
0 turner2f Posted January 19, 2017 Author Report Posted January 19, 2017 10 minutes ago, turner2f said: Is there a way restrict the "Login Username" to be ONLY by Email Address ? We only want people to register their email address as their username . ========= Or would it be as easy as just UN-commenting the code from within the " signup.pdt " file If yes, which folder would the " signup.pdt " file be in ? And which lines of code should we UN-comment ? ========= Look forward to your reply. Quote
0 Michael Posted January 19, 2017 Report Posted January 19, 2017 There's a search button for a reason: Quote
0 turner2f Posted January 19, 2017 Author Report Posted January 19, 2017 Yes. Because we know people like you can use it for us. Quote
0 Michael Posted January 19, 2017 Report Posted January 19, 2017 47 minutes ago, turner2f said: Yes. Because we know people like you can use it for us. Fair enough but you'll end up getting no help if you can't help yourself. It's called being lazy. Quote
0 turner2f Posted January 19, 2017 Author Report Posted January 19, 2017 Not really. It's called " maybe-not-using-the-correct-combination-of-keywords-for-what-you-are-looking-for " . ========== But if you do not want to graciously assist in the future, that is fine too. ========== Just try not to be so quick-witted, sarcastic, petulant, cantankerous, and judgmental of other people. There is no need for that on this forum, and none of us on this forum appreciate it. We just tolerate it, just to be nice. Nothing more to say here. Thanks. Quote
0 Michael Posted January 19, 2017 Report Posted January 19, 2017 All I searched was two words you wanted "Force Email" and it was right there. Quote
0 turner2f Posted January 19, 2017 Author Report Posted January 19, 2017 We tried doing the following suggested modification found at...https://www.blesta.com/forums/index.php?/topic/5303-how-i-force-email-address-only-at-registration-time/#comment-38959 But it did not work for what we need to do. ============ On the Registration page, how do we make this disappear ? We want clients to ONLY register using their Email address. Quote
0 Paul Posted January 19, 2017 Report Posted January 19, 2017 I don't have an example for you, but if you hide this and someone tries to sign up using the same username for an account that already exists they will be unable to register and either have to select a different email address, or login. We have some customers who have multiple accounts for legitimate reasons, so we wouldn't want to restrict this. A feature request has been made for a setting to force email address as username, so it's something we're considering implementing system wide. The approach I would take is assign a class to the div for the form element, and in CSS set it to display: none; ariq01 1 Quote
0 turner2f Posted January 19, 2017 Author Report Posted January 19, 2017 @Paul Ok. Since this is a new launch of the system, and we already manually added the "existing" accounts and clients to the system... ...what I was meaning to say was to "force" new users to register with an email address. ============= 1) - I am in the process of trying to find the specific div for the form element to apply the CSS to, but currently cannot find it. Do you happen to know off-hand ? Quote
0 turner2f Posted January 19, 2017 Author Report Posted January 19, 2017 Half-way there. /*This gets rid of the optional radio button on the Registration page for Signing up with a Username */ #username_type_username{ display: none !important; } 1) - BUT it does not get rid of the label that says, " Specify a username ". For now, we had to make changes within plugins/order/language/en_us/signup.php to get rid of the label. But would much rather use CSS . Any suggestions ? Quote
0 Paul Posted January 19, 2017 Report Posted January 19, 2017 Assigning a class to the outer div, and setting it to display: none; would be preferable. Still a change that would have to be re-added when upgrading. Quote
Question
turner2f
Is there a way restrict the "Login Username" to be ONLY by Email Address ?
We only want people to register their email address as their username .
=========
Or would it be as easy as just UN-commenting the code from within the " signup.pdt " file
If yes, which folder(s) would the " signup.pdt " file(s) be in ?
And which lines of code should we UN-comment ?
=========
Look forward to your reply.
12 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.