Topic-icon Strange behaviour for {JFBCLogin} tag

Active Subscriptions:

None
13 years 11 months ago #24265 by jonng
Hi,

I put the {JFBCLogin} tag onto my template, but it's showing a strange problem.

When the page first loads, the container holding the button expands briefly, then returns to it's normal height after the page finishes loading. If I remove the button, then the page loads normally.

You can see what I mean here:
113.11.250.162/~spurssg/

What could be a possible reason for this and how can I fix it?

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

None
13 years 11 months ago #24266 by jonng
I seem to have solved this so please ignore the above. Thanks.

I noticed something else though. On some pages, the button displayed is "Login with Facebook", while on others, it shows "Log in". Is this normal?
The topic has been locked.
Support Specialist
13 years 11 months ago #24283 by alzander
JongHan,
As noted in the Autotune Error Checker, you have 2 extensions on your site that are including the Facebook Javascript library (it looks to be sh404SEF). We'd recommend disabling the other extension(s) Facebook integration to prevent odd behavior or failing issues.

As for it showing "Log in" vs "Login With Facebook", no, that's not normal. That usually means that the 'other' (Log in) button is coming from another extension. If users are able to login through 2 different Facebook extensions, that will cause a lot of user-sync issues and general confusion. If you know of a specific page with the "Log in" button, let us know. We can look at it to verify if what I said is right above. However, JFBConnect only has one way to set the Login button text (in the com_jfbconnect.ini language file) and that will be used everywhere.. so, the other button likely isn't from our extension.

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

None
13 years 11 months ago #24327 by jonng
Hi,

Thanks for checking up on this.

For the "Log in" vs "Login With Facebook" problem, I don't believe it's an issue with my site because I see it happening on the JFBConnect site as well. Here's what I observed. If I am logged into FB, then the {JFBCLogin} at the top displays as "Log in". When I logged out of FB, then the same {JFBCLogin} on the JFBConnect site displays as "Login With Facebook".

It's not really a big issue, but it's interesting nonetheless.
The topic has been locked.
Support Specialist
13 years 11 months ago #24364 by alzander
Facebook looks to have been messing around with their Javascript code on July 4th. They somehow introduced a bug where, if the user has already approved the app, your language string setting for the button is overriden and the text simply says "Log in". It's been reported (with some other issues) in the bug report below:
developers.facebook.com/bugs/110579562419039

We're looking into some other minor things that may have occurred as well with the change (nothing critical so far). The SCLogin module now has a "Button Image" parameter that you can use if you want to set your own custom image. That will prevent Facebook from overriding the string being used.

Sorry for the troubles, and hope that explains,
Alex
The topic has been locked.