Email login

Perhaps this has been asked before, but my search results only point to houstonlively´s blog entry, so sorry if I´m duplicating  topic here.

I understand that I may tweak my site to allow email login by editing the lang string for "username". However, this poses one problem: now my member´s profiles´urls will be like mysite.com/xyz@hotmail.com, right? I would not want that, plus the privacy of email addresses is paramount in my site. Is there a work-around for Dolphin 7?

I might be getting confused....

How can I enable email login while preserving my member´s usernames in Dolphin 7?

Thanks!

Quote · 23 Oct 2009

text string Username have nothing directly to do with the Username/Nickname to the member

--------

you can login with email, username or userid, have you tried it!!

All you need to do is edit the text string Username inside the login box,
to prevent change of Username some places, we need to edit text string inside one file and add a new language text string

1)
Open file inc/design.inc.php and find function getMemberLoginFormCode($sID = 'member_login_form', $sParams = '')


and this code

'inputs' => array(
$aAuthTypes,
'nickname' => array(
'type' => 'text',
'name' => 'ID',
'caption' => _t('_NickName'),


Edit last line to:
'caption' => _t('_NickNameLogin'),


2)
Go to Settings/Languages Settings and bellow Manage Keys click on Add Key

Key name: _NickNameLogin
Category: System
String text: Email

Save it

3)
Go to Admin Home and bellow Cache click on Clean All

4)
Log out from Admin

Your site will now ask after Email and Password in the Login box

(you need probably change content in some emails also)

Quote · 23 Oct 2009

Many thanks!

Quote · 24 Oct 2009

yes I agree but the problem is that after it no longer works descktop, Does anyone have a more complete solution?

tanks have nice day

brunno
Quote · 4 May 2010
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.