Topic-icon facebook login buttom

Active Subscriptions:

None
12 years 2 months ago #42032 by 祺祺洪
It is my website.
www.avenue2003.com.tw/

File Attachment:


I have a facebook login buttom,which add in html

<p><a onclick="jfbc.login.login_custom();" href="javascript:void(0)"><img style="display: block; margin-left: auto; margin-right: auto;" src="/images/FB.jpg" alt="" width="315" height="72" /></p>

It's work before.But I don't know why it do not work now.

I didn't modify anything.

How can I do ?

P.S : when I click the buttom,it will pop up the website for facebook.It didn't show anything now

plz help me
The topic has been locked.
Support Specialist
12 years 2 months ago #42046 by alzander
Replied by alzander on topic facebook login buttom
Our javascript has changed slightly for the login process. Please update the code you're using for the button to use:
jfbc.login.provider('facebook')
Instead of
jfbc.login.login_custom()

I hope that helps get you going, but if not, let me know.

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

None
12 years 2 months ago #42077 by blonderenditions
Hi - I'm having the same problem. Everything was working and now it is not. Facebook & Google log in with SCLogin and JFBCFan. I went through Auto Tune and everything passed. Joomla 2.5.14, JFBConnect 5.2.2. Thanks so much.
The topic has been locked.
Support Specialist
12 years 2 months ago #42081 by alzander
Replied by alzander on topic facebook login buttom
blonderenditions,
Your issue sounds different from the above, but I'm honestly not sure what you mean in your post. The JFBCFan module doesn't perform logging in functions.

If you can explain a little more about what isn't working and, if possible, any URLs or other places we can see or test on, that would help.

Also, just to note, Joomla 2.5.14 is more than 6 months old now. Additionally, JFBConnect v6.0.2 is now available. There are multiple bug-fixes in each release, and I'd recommend upgrading both just to make sure you're on the latest.

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

None
12 years 2 months ago #42121 by fb_100000532508192
i have the same problem. I'm using:
<fb:login-button rows="1" show-faces="true" width="960px" data-scope="email,publish_actions,user_birthday,user_about_me,user_relationships,user_location,user_website,user_education_history,user_activities,user_likes,user_interests,user_work_history,user_status,publish_stream" onlogin="javascript:jfbc.login.provider('facebook');" size="xlarge" v="2">Quick,Easy Registration using Facebook (Click Here)</fb:login-button>

All i get is "Quick, Easy Registration using Facebook"

the login button is not rendered. this work before i upgraded to 6.0. I do appreciate my subscription has just expired, but i have been with you guy for a long period. So hopefully that carries some weight.

Many thanks in advance
The topic has been locked.
Support Specialist
12 years 2 months ago - 12 years 2 months ago #42134 by alzander
Replied by alzander on topic facebook login buttom
Phil,
No worries, we gladly help users with any issues for a while after their subscription expires.

The 6.0 release has quite a few optimizations to not load some Javascript or reduce what that Javascript does if some features aren't being loaded from JFBConnect. Since you're adding the fb:login-button tag directly, that's not something JFBConnect is aware of. When we draw the page, we are likely telling Facebook to *not* try to parse/render any widgets on the page. Again, that should speed things up under normal circumstances, but it's obviously causing you some issues.

The best thing to do would be to edit the /components/com_jfbconnect/libraries/facebook.php file. Around line 478, you'll see:
$xfbml = ($this->widgetRendered ? 'true' : 'false');
Under that, just put:
$xfbml = 'true';
That will make sure the tags are parsed on all pages.

I hope that helps!
Alex
Last edit: 12 years 2 months ago by alzander.
The topic has been locked.
Active Subscriptions:

None
12 years 2 months ago #42330 by fb_100000532508192
Thank you Alex,

Your code seems to of done the trick. Just to note the file path is:
/components/com_jfbconnect/libraries/provider/facebook.php

Also i'm assuming every time i upgrade i would need to re-apply this change?

Going forward would it be advisable to have add advanced tap, for people like myself who might be pushing the foundries and need more control. Amazing app by the way and i will be subscribing again.
The topic has been locked.
Support Specialist
12 years 2 months ago #42333 by alzander
Replied by alzander on topic facebook login buttom
Thanks for sleuthing and finding the right file... sorry for the confusion there.

In the 6.1 release, we already have plans for an "Advanced" tab for a few special switches that shouldn't generally be used/needed. The xfbml switch (for always-on) is already planned to be in there. A few other users have run into this issue, some of which is because other extensions rely on JFBConnect doing it's thing properly, so the switch will be good in those cases to enable better integration with custom code and 3rd party extensions.

v6.0.3 (a bug fix release) is due out later today (if all goes well) and 6.1 will be out in about a month or so.

Thanks,
Alex
The topic has been locked.