Topic-icon Facebook isn't activating the users correctly in Joomla

Active Subscriptions:

None
9 years 9 months ago - 9 years 9 months ago #59365 by abbring
Facebook login is only working half way to get the details from Facebook but it isn't activating the users correctly in Joomla. After login in with Facebook, user is brought to this page; www.protecautocare.com/component/jfbconn...book&return=L2NhcnQ= and they are not registered.

That page should not exist, they should be automatically activated and brought to /cart just like what happens when you login with Google on this page: www.protecautocare.com/login-or-register. Screenshot: screencast.com/t/39fse51eHV

I have the registration setup to automatically activate the user. I believe I have all component, module settings correct but I cannot get this to just redirect the user to the page selected in the component configuration.
Last edit: 9 years 9 months ago by abbring.
The topic has been locked.
Support Specialist
9 years 9 months ago #59367 by mel
I see different strange behavior than you're seeing, but I think I found the cause.

There are two inclusions of our jfbconnect script file on the page, which could definitely be causing the problem.

One was added by JFBConnect in the head section and looks like this:
<script src="https://www.protecautocare.com/components/com_jfbconnect/includes/jfbconnect.js?v=6" type="text/javascript"></script>
.

The other is being added to the body (incorrectly) and needs to be removed:
<script src="https://www.protecautocare.com/components/com_jfbconnect/includes/jfbconnect.js" type="text/javascript"></script>

Please turn off whatever extension or plugin is generating this file: d3e5d6vn6uh6dx.cloudfront.net/js/java.js
It’s compressing all the javascript and likely what’s doing whatever it’s doing to our jfbconnect.js file as well

Try that and let us know if this helps fix the problem.

-Melissa
The topic has been locked.
Active Subscriptions:

None
Thank you!!!! I removed that JS from the body and it works perfectly now.

I noticed it is displaying this message:

Message
Facebook profile successfully connected.

Or

Message
Google profile successfully connected.

I do not want these messages but I still need my alert message from the system, how can I remove only these messages from displaying?

Screenshot: screencast.com/t/DZYpSKS7taHV

Thank you!!
The topic has been locked.
Support Specialist
9 years 9 months ago #59374 by mel
Great! Glad that fixed the issue.

Have you already set the JFBConnect backend > Configuration > General tab > 'Debug Mode' setting to Off? I double-checked the code and those messages are being put out by our own logging system, so turning it off will still let you see Joomla system messages.

-Melissa
The topic has been locked.
Active Subscriptions:

None
Hi, thank you for your response.

I did have that setting turned to "off"

I tried it with Logging only and had the same outcome.

I checked system error reporting and it was set to None.
The topic has been locked.
Active Subscriptions:

None
On this page: www.protecautocare.com/login-or-register | Normal user input text registration is bringing me to: www.protecautocare.com/login-or-register?view=registration

But I have it set to go to /cart and these users are not being created in the Joomla system or JFB system.

Other issues:
If I click on "Forgot Password" I'm brought to this URL: www.protecautocare.com/login-or-register?view=reset | which is broken.
If I click on "Forgot Username" I'm brought to this URL: www.protecautocare.com/login-or-register?view=remind | which is also broken.

Big issue:
What's really broken is if I actually login with my admin account, everything is broken; the checkout and every other page rendered by Joomla shows up white except the .html pages which are static and not created by joomla.

Here is a test account to try out:
user: testacct
pass: testacct

System level: Registered User.

The log out URL is: www.protecautocare.com/log-out
The topic has been locked.
Active Subscriptions:

None
One more: this is trying to collect the Username but I have it set everywhere for the system to replace the Username with the Email field. So users should be using their email to login or register.

Screenshot: screencast.com/t/E6QRrW3ybQJ
The topic has been locked.
Active Subscriptions:

None
Last thing from me, how can I add users to (1) Acymailing list when they register on this login/register page?
The topic has been locked.
Support Specialist

On this page: www.protecautocare.com/login-or-register | Normal user input text registration is bringing me to: www.protecautocare.com/login-or … gistration

But I have it set to go to /cart and these users are not being created in the Joomla system or JFB system.

What do you have set to /cart? Can you explain (or attach a screenshot) of exactly what you've configured.

Other issues:
If I click on "Forgot Password" I'm brought to this URL: | which is broken.
If I click on "Forgot Username" I'm brought to this URL: | which is also broken.

Those pages look to work, they just don't have a real template for them. Can you tell me the page you expect the user to go to for those 2 links?

Big issue:
What's really broken is if I actually login with my admin account, everything is broken; the checkout and every other page rendered by Joomla shows up white except the .html pages which are static and not created by joomla.

Here is a test account to try out:
user: testacct
pass: testacct

System level: Registered User.

When I login with those credentials, things seem correct to me. Can you explain further about the .html pages you have created, how they are supposed to show and any other details you can provide?

One more: this is trying to collect the Username but I have it set everywhere for the system to replace the Username with the Email field. So users should be using their email to login or register.

Joomla expects a username. If you have 3rd party plugins that allow a user to login with a email address, you can update our language strings in /languages/en_GB/en_gb.mod_sclogin.ini to change that text to whatever you want.

Last thing from me, how can I add users to (1) Acymailing list when they register on this login/register page?

Acymailing would have to have a plugin to automatically add new users to their extension. That's not something we'd do in JFBConnect.

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

None
9 years 9 months ago - 9 years 9 months ago #59408 by abbring
I'm changing this ticket up because the other tickets did not include good descriptions of the issues I am facing.

When a new user visits this page www.protecautocare.com/login-or-register they are met with (3) choices, either login/register with Facebook, Google, or manual text entry. Screenshot: screencast.com/t/3Deb7AX6 (Facebook & Google are working 100% perfectly).

A user can log in using manual text entry, but manual text entry for new user registration is giving me issues.

The user flow on this website is: /login-registration page collects email and password, then in the checkout (/cart) the billing/shipping information is collected for that user.

JFB only offers the "username" field for manual entry but it should offer a configuration option in the backend to toggle: "Enter Email as Username." This feature will save the email in the Joomla system as both the email field and the username field. With my setup, I have enabled automatic registration so then what would happen is the new user enters their email, password, clicks the "Register" button and then it should create/save that new user and then it should direct the user to the page setting in JFB configurations under Login / Logout for new user and returning user redirection (I have it set to /cart which would then bring the new user to the shopping cart) screenshot: screencast.com/t/ippde0xjoL8

I believe this should be a core feature from JFB since you are the 3rd party login plugin that i'm using. If you aren't going to put this feature in could you please tell me how to do it so I can try a hack on it since this is the user flow required for this website.

Other issues:
If I click on "Forgot Password" I'm brought to this URL: www.protecautocare.com/password-reset | which is broken.
If I click on "Forgot Username" I'm brought to this URL: www.protecautocare.com/username-reminder | which is also broken.
Those pages look to work, they just don't have a real template for them. Can you tell me the page you expect the user to go to for those 2 links?


These pages do have templates assigned to them and I have tried assigned multiple different templates to them but I get the same result of the blank page with the details on the top. Here are the links: Password: www.protecautocare.com/password-reset Username: www.protecautocare.com/username-reminder
Last edit: 9 years 9 months ago by abbring.
The topic has been locked.