Topic-icon Sign in w FB not working as expected

Active Subscriptions:

None
12 years 10 months ago #34627 by petgal
hi,
I expected that a signup (new user registration) would immediately log a new user in because it was using Facebook login info. I'm pretty sure it used to work that way. Now I'm testing it and I find that a user is forced to enter a username and password and must go to his email to validate the email address. This makes no sense if you are using Facebook to signup.

See this screencast
screencast.com/t/vUqT8sl763

You can also try signing up using facebook at goodtalktnt.com

Thanks for the help.
The topic has been locked.
Support Specialist
12 years 10 months ago #34640 by alzander
Peter,
In your JFBConnect configuration settings, check that:
* The Registration Mode is set to "Automatic". That's what's necessary to automatically create the user without any forms to fill out.
* The "Skip Activation" setting is enabled. That will make it so the user doesn't need to activate their account, even if Joomla is configured to activate users that register normally.

I hope that helps, but if not, let us know.

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

None
12 years 10 months ago #34662 by petgal
That helps Alex, but I'm concerned that the user is not being forced to check the terms of service agreement when they are going through the process. I'm not sure where the setting is for that. I have deleted you as a user so you can try yourself. Thanks for your help.
The topic has been locked.
Support Specialist
12 years 10 months ago #34667 by alzander
If you need to have the user check the Terms of Service box, then you won't be able to use the "Automatic" registration setting. You'd have to use "Normal" so that the user is brought to a registration page where they can fill out the additional fields you need (like ToS). You can hide pretty much every other field that can be shown though so that the ToS is the only field. Things like username, password and other profile data can be automatically imported from Facebook or generated by JFBConnect.

Once configured like that, the user would:
* Click the Login with Facebook button
* Be brought to the registration page which would only ask for the ToS
* After accepting and hitting register, their account will be created and they will be automatically logged in.

Let me know if that helps explain another option if you want a very quick registration process (no additional fields) while still asking for ToS.

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

None
12 years 10 months ago #34673 by petgal
Hey Alex,
thanks very much for helping me with this. Unfortunately I still have some questions:

(1) Where do I hide all of the other fields and show only the TOS field? Is that within Jomsocial custom profiles? See screencast.com/t/LPvWy6Jm5bZT
If so I'm sure I can create a new custome field with a checkbox for "I accept the terms of service", but
(2) how do I create a link for them to read the Terms of Service if they wish. AND not take them out of the registration flow. In the non FB registration the actual TOS comes up in a pop-up.

(3) Would these then be the correct JFBConnect settings? See screencast.com/t/pVsGZJOHfNSm

Also, before I set the JFBconnect to automatic I believe I had 'Automatically link facebook users by email' and 'Skip Joomla User Activation' set to "No".
(4) Is one of those fields responsible for this page (screencast.com/t/aYIPcUNC) appearing after users clicked on 'login w Facebook' in the signup window?

(5) Last question: Is it possible to tell which users have used Facebook to signup or login vs. which ones do not use Facebook to login or register?

Thanks again.
The topic has been locked.
Active Subscriptions:

None
12 years 10 months ago #34674 by petgal
By the way. I just noticed that the only good thing about this page screencast.com/t/aYIPcUNC
is that the TOS checkbox is at the bottom and you are forced to check it.
I shared this screencast earlier in this thread but I paste it here again for your convenience
screencast.com/t/vUqT8sl763
It shows how the registration with facebook worked before you instructed me to use the automatic registration.
The topic has been locked.
Support Specialist
12 years 10 months ago #34690 by alzander
1) To hide all the other fields, you should do the following in JFBConnect:
* In the Profiles area, set "Show Registration Fields" to "None"
* Set "Show Terms of Service" to "Yes"
In the JFBConnect configuration -> User area,
* Set "Email Field on Registration", "Username Field on Registration" and "Password Field on Registration" to "Hide".
* Set "Registration Display Mode (Normal Registration Only):" to "Register Only". That will hide the left-hand side of the form.

With those settings, you'll be hiding all JomSocial and Joomla fields and the login area on the left side of the page. The only thing that should be showing is the Terms of Service agreement checkbox and a "Register" button.

2) The checkbox for the Terms of Service will have a link next to it for the terms and should popup like you expect.

3) See above for hiding the username and email field, if you want even less fields to appear on the form. That's your choice though.
You can still use the "Automatically Link by Email" setting. That just means if a user previously registered using Joomla/JomSocial and that account has the same email address of the Facebook user that just tried to login, their accounts will be immediately 'connected' together.
Activation is your choice. Facebook has already checked their email address though, so I'd recommend disabling activation as it's one less step in the process.

4) Your screencast link didn't work, so I'm not sure what you're seeing.

5) In the JFBConnect -> Usermap area, you can see a list of all users that have connected using Facebook.

The settings above will greatly modify the page you linked to so that it only shows the intro text, which can be changed in the language file, and the ToS checkbox.

I hope that helps,
Alex
The topic has been locked.
Active Subscriptions:

None
12 years 10 months ago #34700 by petgal
Thanks Alex. The major difficulty I'm having is that when I go into JFBConnect and click on "Profiles" I do not see
"Show Registration fields"
"Show terms of service" although I do see a "skip JS Terms of Service"
this is what I see when I click on JFBConnect "Profiles" screencast.com/t/pVsGZJOHfNSm
The topic has been locked.
Support Specialist
12 years 10 months ago #34710 by alzander
Sorry for the confusion. The link you posted above was not of the Profiles area. I'm assuming that was just the wrong image.

When you click into "Profiles", there should be a JomSocial tab. In there are the following settings:
* Show Profile Fields - Set this to "None" (I mistakenly called this "Show Registration Fields" above)
* Skip JS Terms of Service" - Set this to "Show" if you want them to display.

The other settings I mentioned above on the page that you included an image to should be set as I described before. That will hide a lot of the fields on the registration page.

I hope that helps,
Alex
The topic has been locked.
Active Subscriptions:

None
12 years 10 months ago #34712 by petgal
Immense help. Thanks. i just have to test it on someone else's computer and confirm that it works. Thanks.
The topic has been locked.