Email address for username

14 years 9 months ago #1377 by micakron
Email address for username was created by micakron
Allow quicker registration and less chance of forgetting username by allowing email address to be the login.

Please Log in to join the conversation.

14 years 9 months ago #1382 by nant
Replied by nant on topic Re:Email address for username
micakron wrote:

Allow quicker registration and less chance of forgetting username by allowing email address to be the login.


sure - why not.
If you want you can submit this against Joomla - its not a CB feature.

Please Log in to join the conversation.

14 years 6 months ago #7515 by gsbe
Replied by gsbe on topic Re:Email address for username
I agree - this would be a great feature. I have added it to the J!Forge Feature Request tracker.

forge.joomla.org/sf/go/artf3753?nav=1

Post edited by: gsbe, at: 2006/03/03 09:08

Open Source Matters to us @ http://nuthinwerked.com
http://gigcalendar.net : the world's first free solution for maintaining a touring calendar for Joomla!

Please Log in to join the conversation.

14 years 4 months ago #11061 by ben_emo
Replied by ben_emo on topic Re:Email address for username
I did this with CB only - if you're using the CB login module it doesn't need to touch Joomla ( I think - not heavily tested! ;) ).

Diff of comprofiler.php:
[code:1]572c572
< $checkusername = trim( mosGetParam( $_POST, 'checkusername', '') );
---
> $checkusername = 1;
576c576
< . "\nWHERE username='$checkusername' AND email='$confirmEmail'"
---
> . "\nWHERE email='$confirmEmail'"
877c877
< . "\nWHERE u.username='".$username."' AND u.password='".$passwd."' AND u.id = ue.id"
---
> . "\nWHERE u.email='".$username."' AND u.password='".$passwd."' AND u.id = ue.id"
880a881
> $username = $row->username;
[/code:1]

Diff of comprofiler.html.php:
[code:1]783,786d782
< <td><?php echo _PROMPT_UNAME; ?></td>
< <td><input type="text" name="checkusername" class="inputbox" size="40" maxlength="25" /></td>
< </tr>
< <tr>
[/code:1]

Please Log in to join the conversation.

14 years 3 months ago #13834 by chac416
Replied by chac416 on topic Re:Email address for username
tried those, i got lost. nothing worked out....

Please Log in to join the conversation.

14 years 1 month ago #18053 by ydl
Replied by ydl on topic Re:Email address for username
I used another approach to solved this issue.
In - comprofiler.html.php:
1. Comment the 'username' entry in the registration form.
2. Add a hidden input 'username'
3. In the Java script - before starting 'username' checkes I added an assignment:
[code:1]me.value = me.value;[/code:1]

and it seams to work.

Any comment?

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.439 seconds

Facebook Twitter LinkedIn