Topic-icon Joomla 3 + Seblod 3 + JFBConnect 5=Email instead of Username login

Active Subscriptions:

None
On my Joomla 3.x + Seblod 3.x + JFBConnect 5.x + HikaShop... etc. I'm looking for login with Email instead of Username.

At the begin I thought on use Email as Username plugin , but with last Seblod 3.x release i'm thinking on a Seblod + JFBConnect trip to do that.
If I understood well how Joomla + Extensions + trip work, In this last case, Is there a way to have the Email field instead of Username field in the SCLogin ?

Many Thanks for Support :)
The topic has been locked.
Support Specialist
Joomleb,
The SCLogin module doesn't do the actual authentication. Our module simply shows the fields and then submits the form to Joomla itself.

So, if you have an extra plugin for "Email as username" or another extension with the purpose of authenticating a user by their email instead of their username, that should work just fine with our module.

Hope that explains, but if you have any questions, just let me know.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
But I need a way to have "Email" & "password" fields instead of "Username" & "password" into SCLogin module...
Please, Is there a way to have it?
The topic has been locked.
Support Specialist
I'm assuming you just need to update the text labels for the module. If that's the case, you can find those strings in our language file at /language/en_GB/en_GB.mod_sclogin.ini . I can't imagine you'd want to actually change the field names that are submitted with the form, as that would likely cause other issues.

Hope that makes sense, but if not, let us know more specifically about how you're implementing the email as username functionality so we can understand better.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
10 years 11 months ago - 10 years 11 months ago #33315 by joomleb
Well, my think was to have "Email" field instead of "Username" field, not to change the word "Username" to "Email", in this case the field still refer to the Username joomla field.
But, my be, also if not "standard", your solution is more "simple/quick)... ... ... ?!?

I'm asking before to begin with a new clean project...
Last edit: 10 years 11 months ago by joomleb.
The topic has been locked.
Support Specialist
Joomla's underlying architecture is completely reliant on username for authentication. However, authentication plugins can do whatever they want to instead lookup what someone has entered as their 'username' to instead check for their email address.

I'm pretty confident you don't want to alter the form submission names or variables in anyway and leave them as 'username' and 'password'. Underneath, you'll just need to have a plugin that knows to also look at the username as an email instead of a username. In that case, all you want to do is change the labels of "Username" to "Email address", but that's a cosmetic change, not a functional one.

Hope that helps explain,
Alex
The topic has been locked.
Active Subscriptions:

None
Hi Alex,
really many thanks for your explanation, but don't understand.
Consider English is not my language and I'm not a programmer...
If is not a big work for you, Could you explain me again ? (I'm too interested on understand it)

Many Thanks
The topic has been locked.
Support Specialist
Basically, the Authentication plugins in Joomla are passed the "Username" and "Password" fields that are entered in the login form. The standard Authentication - Joomla plugin expects that the username field is actually a username stored in the database. You could have an Authentication plugin that takes the "username" that is entered, and look in the User Manager table for an email address instead.

In that case, you still need to have the login form submit the email address with a 'name' of "username" because that's what Joomla expects that field to be called. The Authentication plugin you're using will know to look up an email address instead.

So, you don't want to change the actual hidden pieces of the form. You just want to change the SCLogin language strings to change the word "Username" to "Email Address". Then, you need an Authentication plugin that's going to actually log the user in by using their email address instead of their username.

Hope that explains a bit more,
Alex
The topic has been locked.