× Joomla Facebook Connect support forum

Topic-icon Login button has mysteriously changed

Support Specialist
11 years 11 months ago #23356 by alzander
Mark,
Looks like you got it going now. I see the image there. It may be Browser caching as well that's causing you not to see it.. if you still aren't.

For anyone else (or maybe you too?) Check if you have a template override for the SCLogin module. Look for it in:
/templates/<YOUR_TEMPLATE>/html/mod_sclogin/login.php
If that file exists, you'll need to edit that file instead of the one mentioned above.

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

None
11 years 11 months ago #23366 by messinatech
Whoops, meant to hit submit on my reply but must have been called away to something pressing, like food ;)
What I was doing was a little silly. I had created a new module position in the template to house the FB connect button, but instead of assigning SCLogin to that position, we had JFBConnect. So, I then proceeded to edit the code as you suggested, and didn't see anything different.

I realized my error and put the proper module in the new position, and everything works well. It even eliminated the issue with the popup requesting permission every time you login.

Thanks for your help today!
The topic has been locked.
Support Specialist
11 years 11 months ago #23368 by alzander
Mark,
Glad to hear you got it going! :) Should you need anything else, just let us know. We're still tracking the bug on Facebook, which is still open. We're hoping it's fixed soon, but it's up to them to change things back to how they were. Our work-around does work, but the Javascript option is the simplest (and frankly best) option, so we're hopeful for a full solution soon.

Best of luck,
Alex
The topic has been locked.
Support Specialist
11 years 11 months ago #23449 by alzander
All,
Just wanted to post about a bug we recently found in JFBConnect. If you're using the work-around above to call the jfbc.login.login_custom() function, it will not request the proper permissions from the user when authenticating to your site. This includes the email permission, which is used when creating their Joomla account.

Facebook has fixed their bug (from what we can tell, although it's not closed yet). So, you should be safe going back to the {JFBCLogin} tag or un-doing the change in the SCLogin module. If you would like to continue using the custom image/link, please edit the /components/com_jfbconnect/includes/jfbconnect.js file. Around line 26 you'll see the following
scope:jfbc.scope
Update that to:
scope:jfbc.login.scope

That should properly request all of the permissions on login.

Sorry for the trouble! Please let us know if you run into any issues or have any questions,
Alex
The topic has been locked.