× Joomla Facebook Connect support forum

Topic-icon Login: Replace username field with email like on cb login?

Active Subscriptions:

None
Hi!

Im trying out JFB Connect, and although it's good, I have a problem:

Im using Community Builder, and have selected that people should log in using email/password.

In the JFB login there seems to be only Username/password.

Is it possible to select to login via email instead of username? If not, I will have to do it manually somehow.

It is an option in the community builder login module, so with CB integration it should be(come) an option in JFB login as well :)

You see, as far as my users know, they dont even *have* usernames.. I call it URL name instead.
The topic has been locked.
Support Specialist
Yes, right now we only use username and password. If you'd help me walk through how it should work with CB and JFBC, hopefully we can come up with something.

Ideally, I'm assuming you'd like it like this:

- New user comes to site and clicks on Facebook connect button
- On registration page, they enter email address, full name, and password (no username field)
- Account is created
- On return, they use their email and password to log in


Let me know and we'll look into it further. There's a few issues with CB that we're looking to clear up in the future. It works in about 90%+ of people's needs now (from feedback we've received), but would obviously like to increase that.

Thanks
The topic has been locked.
Active Subscriptions:

None
Thank you for the quick reply! :)

Sorry if this post is long, but I think its better to describe it too much than too vaguely. The focus of this post is the email instead of username feature request.

I've modified the code slightly to make it almost work. My temporary workaround is to hide everything but the Connect with facebook button, and then place the Community Builder login module above that. This leaves 2 things that the workaround leaves hanging: 1. Two logout buttons once logged in. 2. Have to enter username to connect existing account. But for now, I am using it like that, because its just such a good component. :D

What I think would work with Community Builder is (in order of importance):

1. Quick documentation fix: Add a passage about removing required field settings in CB that arent always filled out via facebook joining - in the tutorial section on CB. This took some time and searching on the forum here to figure out. Spelling it out can prevent alot of customer frustration.

2. Making a parameter in CB integration that allows you to use email instead of username in:
a. The login module
b. When connecting an existing account to a facebook account.

The background is that in CB, you can select to login using username/password, or email/password. I chose email because it seems more professional and suitable for my particular site. This is done in the CB login module settings, and creates a habitin the user to write the email and password to log in. I myself didnt even see that the login said "username" when I tried to login, and I couldnĀ“t at first understand what was wrong.

Ideally, I'm assuming you'd like it like this:

* New user comes to site and clicks on Facebook connect button
* On registration page, they enter email address, full name, and password (no username field)
* Account is created
* On return, they use their email and password to log in


That is correct, with this addition:
5. Existing user comes to site and wants to connect facebook account, clicks facebook connect button
6. On registration page, they enter their existing email/password login combination
7. Account is linked to facebook account.
8. On return, they can use either email and password to log in, or facebook.

Summary: It would be great to be able to set a parameter, when using Community Builder, so that username is replaced with email (in the form and functionally) in two places:
1. The JFB login module.
2. The connect existing user to facebook account part of the loginregistration page.




Off topic:

Something I would also love to see in a new release, would be a more advanced new account registration form when connecting with Facebook. Getting the email from someone and a password is not the most important aspect - it even sort of goes against the vision of single sign ins, but I guess some webmasters like the emails. I would like instead the page to be customizable - like, you can select community builder fields to show up there, and the data to enter the newly created CB account as well, together with the facebook info. I would also like to be able to remove the password thing as part of the customization, to honor the original vision of this type of semi-open login. For me, the greatest benefit is to let users remember only their facebook login, and still log in to my site + getting more users since its fun and easy to join with facebook. Especially if they can enter some Community Builder information even though they join via facebook. As it is now, I am redirecting them to the edit profile page after they create a new account with facebook.

And, a strange problem (not sure if its my site or the component)


A persisting problem that I havent been able to solve (not as important as the email instead of username thing for CB):
I cannot get the "create new user" set to "no" to work for me. I got it to work once, but then my name was set to "unknown unknown" when it should have been the Facebook name. I also end up on some strange URL that isnt the one I have set in the redirect. Also, now that I have erased that user in joomla, CB and user mapping, I cannot rejoin with the option set to know. I get the error message "please enter a valid email address" - really strange. Maybe its something I do wrong, but I feel this feature might benefit from more polishing.
The topic has been locked.
Support Specialist
We're working now to get a new release out next week to clean up some bugs and add some minor features. While I don't think your requests will make it to this release, we definitely are trying for better CB integration and have this logged in a project manager. We'll let you know, and certainly would love for you to test when we have something!
The topic has been locked.
Active Subscriptions:

None
Cool! :)

Its an awesome addon. If I can help with testing or feedback when needed that would be cool.

Keep up the good work!
The topic has been locked.