This will prompt your users to log in with their email address instead of their Nick Name Open your inc/design.inc.php file and look for:
$aAuthTypes,
'nickname' => array(
'type' => 'text',
'name' => 'ID',
'caption' => _t('_NickName'),
),
Change 'nickname' to 'email' and the caption _NickName to _Email It should look like this
$aAuthTypes,
'email' => array(
'type' => 'text',
'name' => 'ID',
'caption' => _t('_Email'),
),
If by some chance you want your users to log in with both email and nickname and well of course the password than you can just add the above in, instead of changing the NickName.
Be a dolphin, be creative in you own way and you will attract a audience |
These lines do not change anything except the header, dolphin by default supports dual login - by mail and nick PS: If possible do not write me personally, please try to ask on the forum first |
If you wanted your users to login with both "nicke_name" & "e-mail" then you'd have to provide an additional line.
As Sashsa stated, D already supports this and has since D6. All your doing is changing what it says the name of the field is on the screen, not actually what the field is.
|
Thank's 4 this
sometime people forget the username will be better to change this to email
These lines do not change anything except the header, dolphin by default supports dual login - by mail and nick
Post Reply - if you going to help - No for - bla bla bla bla |
can i revive this topic and ask how do i do this ? im trying to find any option in the admin panel about this but nothing.
Thanks in advance
|
I've done this exact thing on my site. I went into the language and did a search on nickname and clicked on _NickName (System) there I changed it to email address and thats what a person sees when they sign in. the email address will work to sign in instead of nickname. |
I've done this exact thing on my site. I went into the language and did a search on nickname and clicked on _NickName (System) there I changed it to email address and thats what a person sees when they sign in. the email address will work to sign in instead of nickname.
I just followed sybersolutions excellent advice and changed the language settings for _NickName (System)but nothing changed in the Login block on the home page. Any suggestions where I'm going wrong?
A mistake is simply another way of doing things. |
did you clear your cache folders and refresh page may also need to clear temp on pc as well,
I have did this also and works i am using 7.0.3 as sybersoloutions says in admin/settings/language settings search for language string _NickName change to email then clear cache and refresh page should work.
But this does create another problem btw! in profile account dashboard /Account control you now have 2 descriptions for Email 1 is true Email the other is NickName what you have just change to Email in language settings, I dont know if this can have a seperate language file generated for it or will have to be hard coded on file to reflect change from NickName to Email.
|
What a great site - thanks for the effort. |
All sorted it was the cache!! Thank you A mistake is simply another way of doing things. |
Is there a simple way to to change login Username to Email
I've gone through D7's builder and can't find anything to change to that preference it would be a great help if anyone can help.
Common sense is usually on common! |
Does it work with Dolphin 7.1.4 |
Does it work with Dolphin 7.1.4
What are you trying to do?
Dolphin supports logging in with the username, user ID, and email address. The login box's label is "Username", but it will still accept any of those three values. You can have the login box ask for the email address by following the information in this post: http://www.boonex.com/forums/topic/Connection-with-Pseudo-or-email.htm#219475
BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin |
I tried it and a data base error occured
when I reviewed the issue to return it to nickname the same error went on
i CLEARED THE CACHE TWICE STILL THE SAME PROBLEM WHAT DO I DO?
error Database query error
|
Works in 7.3.3 - at or about line 330 add only this part of the code
'email' => array(
'type' => 'text',
'name' => 'ID',
'caption' => _t('_Email'),
|