× Joomla Facebook Connect support forum

Topic-icon { JFBCLogin} ignored

Active Subscriptions:

None
13 years 3 months ago #7204 by koyan
Replied by koyan on topic { JFBCLogin} ignored
Hallo there,

Thanks for the support till now. We tested it, and indeed we could register new users and then login.
Now, it seems like we had missunderstood something as far as the functionality is consirned.

We thought that the first time a facebook user would login, they would not be requested for their email address, nor to define a password (since they will be logging in via facebook, and since their email address is being retrieved by facebook. But what happens now is that the user gets redirected at : www.sintagewpareas.gr/component/jfbconnect/?view=loginregister and is shown the form that appears in the attachment:
File Attachment:


But in the configuration of the component we have set the "Email Field on Registration" to "Hide" . So we were expecting the user not to be asked for what email address they want to use (or at least: since you already retreive that from facebook, the field to be prepopulated with it.

File Attachment:


Thanks
Koyan
The topic has been locked.
Support Specialist
13 years 3 months ago #7216 by alzander
Replied by alzander on topic { JFBCLogin} ignored
There's 2 answers here:
1) If you want to skip the 'registration' page completely (like we do on this site), you should set the "Create New Users" setting to "Facebook User Only". This will automatically assign the user a username and only allow them to login with their Facebook credentials.
2) To get the user's email address to import into Joomla, you need to set the "Require Email Permission" to yes in the Permission Settings tab. Even if you have the hide email field option set, if we can't fetch an email from Facebook, we still show the field. It's a precaution to make sure we always can save the user to Joomla (which requires an email).

Hope this answers your questions, but if not, or you need more info, just let us know!
The topic has been locked.
Active Subscriptions:

None
12 years 11 months ago #10498 by fb_905870441
Replied by fb_905870441 on topic { JFBCLogin} ignored
Alex,

I tried adding the button to an article, but it did not work - not even after the code change above (onAfterRoute etc). Even weirder, the page is now shown with the wrong encoding, and the css styles changed. What may be wrong?

You can check the staging site at consalud.signalis.cl (with the problem), and the production site at www.c-vive.cl. I can give you admin access to the staging site if you need it.

Bernardo.
The topic has been locked.
Support Specialist
12 years 11 months ago #10502 by alzander
Replied by alzander on topic { JFBCLogin} ignored
Bernardo,
Looking at your site, you're using 3.1 of JFBConnect (or earlier). We'd really recommend updating to 3.2 as it will prevent you from having to modify the code, and should fix the issue you're experiencing above.

The reason the page is going wonky is because the JFBConnect Javascript that we include is going at the very top of your page's HTML (before the head or body tags). That's causing the browser to get very confused, and obviously isn't right. If you really need to stay on JFBC 3.1, we can still help you fix up the issue, but upgrading is definitely the easier solution, and there's a lot of nifty new features in 3.2 like Open Graph support, better content plugin configuration for selecting articles, sections, and categories to display the Comment and Like box in, and and update to the comment box itself to conform to Facebook's newer requirements (as of early March).

Hope this all helps, and good luck!
The topic has been locked.
Active Subscriptions:

None
12 years 11 months ago #10517 by fb_905870441
Replied by fb_905870441 on topic { JFBCLogin} ignored
Thanks. I am afraid of upgrading since we made some customizations (invite message and link), so we would have to test that out first.

I will let you know of any problems. Thanks again for your outstanding support.

Bernardo.
The topic has been locked.
Support Specialist
12 years 11 months ago #10520 by alzander
Replied by alzander on topic { JFBCLogin} ignored
No problem. Again, if you don't want to upgrade, you don't have to right now.. but it's obviously best if you do.

As for the Invite module itself, if you want, you can actually leave that as the older 3.1.x version (don't re-install the 3.2). It changed only very slightly, and does not require being upgraded. Most other modules do require updating, so don't take that suggestion too widely to other modules.

Good luck!
The topic has been locked.