× Joomla Facebook Connect support forum

Topic-icon Skip CB Activation not working

Active Subscriptions:

None
15 years 6 months ago #6052 by Morpheus
I have the exact problem with the exact setings.
I am using CB 1.2.3 and JFBConnect 3.0.3
The topic has been locked.
Support Specialist
15 years 6 months ago #6054 by alzander
Morpheus,
I just went into your site, and immediately noticed that the Facebook Javascript API was being loaded twice. Once was by us, the other was from "Facebook Javascript SDK Loader", and this one was not inserting the API key, which was causing you to not actually be logging into your application when you register.

Upon disabling that, everything seems to work fine. My avatar imported normally, and account was activated as expected.

Good luck, and let us know if you run into other issues!
The topic has been locked.
Active Subscriptions:

None
15 years 6 months ago #6055 by Morpheus
Hi Alex,

I was just loggen in when you tested. Could that be the reason?

If not - how did you disable it?

Please give specific info

Thanks a lot for your strong support!
The topic has been locked.
Support Specialist
15 years 6 months ago #6062 by alzander
I connected on the front-end with my Facebook account. Whether you're logged in or not should not matter.

In the admin area, all I did was disable the "Facebook Javascript SDK Loader" system plugin. I didn't try to login via Facebook before that, but afterwards, I had no issues.
The topic has been locked.
Active Subscriptions:

None
15 years 6 months ago #6064 by Morpheus
Hi Alex,

First of all - when this will be set up and working I will surly recommend it!!!

I will now install the web site again with out this component (As it was used for other extension testing) and will let you know again.

A small question - how did you notice that the second module was loaded? which tool did you use?

thanks
The topic has been locked.
Support Specialist
15 years 6 months ago #6065 by alzander
I opened the html on the page and searched for 'all.js'. That's the Facebook Javascript library, and if it loads multiple times, that can sometimes cause a problem. However, if you re-enable it, and search for all.js, you'll see that the appId in one of the Javascript lines was set to '' (blank). This will definitely cause problems because that's how Facebook identifies your page. So, JFBConnect was sending the correct App Id, the other thing was sending nothing, and Facebook was just getting thoroughly confused.

We deal with these types of issues a lot, so we know what to look for :)

Would love a review, but your subscriptions is a huge thanks already. Thank you!
The topic has been locked.
Active Subscriptions:

None
15 years 5 months ago #6143 by evil
Replied by evil on topic Skip CB Activation not working
Hi Alzander.
i think the problem is not solved yet.
New users are not approved yet from Community builder and there are not required fields except username password and email.

I don't know if you can remember but we solved disabling the AGE FIELD from REQUIRED to OPTIONAL.

if you enter with admin password you will notice the problem still extist for new users.
The topic has been locked.
Support Specialist
15 years 5 months ago #6147 by alzander
Evil,
There was one other issue that I worked through with Morpheus that fixed his issue due to having an old version of JFBConnect that he upgraded from. I just logged into your site, and did not see this same issue, so unfortunately, that's not your problem.

I did, however, see that you're using a non-JFBConnect plugin "Facebook SDK Loader" on your site. This is loading the Facebook Javascript library twice onto your site, which may be causing the login issue. If you can you please disable this plugin and try registering again, that will hopefully clear up the issue. This will not approve any users who re-register if they already have an unapproved account, so you'd need to delete or manually approve those users.

If that doesn't work, let us know, and we'll investigate further once the plugin is disabled. We don't want to do it, because I don't want to alter the behavior of your site.

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

None
15 years 5 months ago #6150 by evil
Replied by evil on topic Skip CB Activation not working
i already tried this if you remember. i disabled for several weeks.
anyway i could uninstall this second sdk as the comment plugin will be complete. i need the option to choose categories where the plugin must loads.

as this is done i can uninstall the other plugin i use to comment the articles.
The topic has been locked.
Support Specialist
15 years 5 months ago #6153 by alzander
Evil,
Sorry for the same guess. I just logged into your site with 2 different accounts (if you search for "sourcecoast" in the CB user manager, you'll see them). They were both immediately approved and have access.

The only thing I changed was re-ordering the JFBConnect Authentication plugin to fire after the Joomla Authentication plugin. I've never seen that make a diference, and not sure how it might have on your site. If you could test, and see if this helps, I'd love to hear it. This also seemed to let me log in properly in the admin area in Chrome, where before, I was getting a redirect loop error.

Let us know what you find, and post back here if you have more issues!
The topic has been locked.