Topic-icon A number of problems

Active Subscriptions:

None
12 years 1 month ago - 12 years 1 month ago #43764 by tomnor
A number of problems was created by tomnor
I've installed the component and configured it as per the instructions.

However, when I click on "Facebook" on this page www.thespanishcat.com/learn/index.php/language-exchange

then I get a popup which just disappears after a second.

However, that's not the only problem. When I have the "social profiles - jomsocial" plugin enabled, it totally messes up my site. My site uses a number of different templates and with that plugin enabled all pages revert to the default template and totally ignore all my template overrides.

Not only that, but I was using another module so that people could "Like" our facebook page from our website (ITP facebook like box) and now that won't work either.
Last edit: 12 years 1 month ago by tomnor.
The topic has been locked.
Support Specialist
12 years 1 month ago #43773 by alzander
Replied by alzander on topic A number of problems
Tom,
Sorry to hear you're running into several issues. For the Facebook login, that's usually something we can diagnose and help solve quickly, but need to see the problem in action. JFBConnect looks to be disabled on that page. Can you re-enable it so we can determine what's going wrong?

The template issue is something that one other user has reported, but we hadn't been able to narrow it down yet. Knowing that the JomSocial profile plugin is the culprit really helps us. We'll have to do some testing to determine the cause, but this will speed things up. Just to make sure I understand, you have multiple templates in your template manager and your simply assigning specific ones to different menus. With the Social Profile - JomSocial plugin enabled, that functionality isn't working and the same template is used across your site.

Finally, for the ITP Like button, I'm not sure what's causing a conflict there. In general, there should be only one extension including the Facebook Javascript library on your site. If they are re-including it, you may need to disable that option, or else conflicts may happen (things like authentication may not work). Alternatively, we'd recommend switching over and using the Like button options included with JFBConnect. If you need assistance with those, just let me know.

I hope that helps explain some things. Once JFBConnect is re-enabled, we can help investigate the first and last points further.

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

None
12 years 1 month ago #43795 by tomnor
Replied by tomnor on topic A number of problems
Hi Alex,

Thanks for your reply.

I've installed the SC facebook like box instead and that seems to be working - however I can't change many of the options. I changed it to "dark" theme and also to 300 wide, neither of which are working.

You can see it here: www.thespanishcat.com/learn/index.php/our-schools

Also, my Facebook login still isn't working. On the page above, if you scroll down, you will find the SC login form on the left at the bottom. If you click facebook, then you get a popup which disappears after a second and then nothing happens.

Also, I'm still having problems with the "social profiles - jomsocial" plugin. As I mentioned, it messes with my templates. You understood correctly as to what the issue is.

Can you email me so I can send you the login details for the site?

This email address is being protected from spambots. You need JavaScript enabled to view it.

Thanks,

Tom.
The topic has been locked.
Support Specialist
12 years 1 month ago #43805 by alzander
Replied by alzander on topic A number of problems
There's a few things coming together to cause the Like Box to not function properly for you. Some of it is from JFBConnect's styles conflicting with your template layout and styles. Others are from your template itself.

To fix the width issue, please edit the /components/com_jfbconnect/assets/jfbconnect.css file. Around line 128, you'll see:
.jfbcfan, .jfbcfan .fb-like-box >span, .jfbcfan iframe, .jfbcfan .fb-like-box {
    width: 100% !important;
}
Delete that whole block. That's meant to make the Facebook Like Box 'responsive', so that it grows within with the width allowed in your column. That's not working on your site though, and it's best to get rid of that line.

In the background of the Like Box is a bunch of circles with 'f' in them. That's coming from your template's CSS file, templates/theme1312/css/default.css. In that file is the following line:
.facebook{background:url(../images/social/facebook.png);}
That's applying that image to any div that has a class of "facebook", which many of our modules use. You should delete that line or have it updated to target specific modules that need that background image.

My guess is that that image is what's preventing the darker color scheme from working as well, but we'd need that removed first to test more if not.

Regarding the Facebook authentication issue, Facebook made a sweeping change to it's API on May 1st. The change affects all 'new' applications created after that period. We're in the process of creating an update that will be compatible with these new changes. It should be out within the next day or so. We're sorry for the problems, but it's something that wasn't announced ahead of time is taking a bit to wrap our heads around.

Finally, for the JomSocial issue, we're investigating, but the authentication issue is definitely our priority right now. We should have an answer about this by the end of the week.

Thanks,
Alex
The topic has been locked.
Support Specialist
12 years 1 month ago #43807 by alzander
Replied by alzander on topic A number of problems
Tom,
We believe we've located the issue with the Facebook login issues. The code is going through testing now to make sure it doesn't break anything. If you're interested in implementing it now to test, please edit the /components/com_jfbconnect/includes/jfbconnect.js file. Around line 170, you'll see:
jfbcJQuery.each(response.data[0], function (k, v)
                    {
                        permissions = permissions + '","' + k;
                    });
Replace that block with:
jfbcJQuery.each(response.data, function (k, v)
                    {
                        // Check for v2.0 of Graph API
                        if ('permission' in v)
                        {
                            if (v.status == "granted")
                                permissions = permissions + '","' + v.permission;
                        }
                        else
                        {
                            jfbcJQuery.each(v, function (perm, value)
                            {
                                permissions = permissions + '","' + perm;
                            });
                        }
                    });
Again, that code is going through testing now and will be in a release due out very soon (tonight, tomorrow or Friday at the latest). We'd love to have any feedback you may have on if this gets you going.

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

None
12 years 1 month ago - 12 years 1 month ago #43847 by tomnor
Replied by tomnor on topic A number of problems
Hi Alex,

Thanks for this.

The problems with the like box are now fixed.

A couple of problems with logging in/creating account via facebook still persist, though.

If you don't have a joomla account and try to login with facebook, then it creates an account for you. However, once that account is created, you HAVE to login with facebook, as the username/password created are not the same as you use to login to facebook (eg. for me my facebook username is This email address is being protected from spambots. You need JavaScript enabled to view it. but when I created a joomla account using JFB the username it created was tomnor - and I'm not sure what password it chose, but that wasn't the same as I use for facebook either).

Do you have any more updates on this?

Also - any update on the social - jomsocial plugin? I'd love to get that working.

Warm regards,

Tom.
Last edit: 12 years 1 month ago by tomnor.
The topic has been locked.
Support Specialist
12 years 1 month ago #43854 by alzander
Replied by alzander on topic A number of problems
Glad to hear we're making progress.

However, once that account is created, you HAVE to login with facebook, as the username/password created are not the same as you use to login to facebook (eg. for me my facebook username is This email address is being protected from spambots. You need JavaScript enabled to view it. but when I created a joomla account using JFB the username it created was tomnor - and I'm not sure what password it chose, but that wasn't the same as I use for facebook either).

That's correct behavior. JFBConnect will create a standard Joomla account for the user. That account will then be associated with the Facebook account the user logged in with. From that point, the user can log back in using either method below:
1) Using their Joomla credentials.. in your case, "tomnor" and the password that was automatically generated should have been emailed to you.
2) Using the "Facebook" login button on your site. This will authenticate them through Facebook, but log them into the "tomnor" user on your site.

There is more control over this process, but Facebook will *never* let you (the admin), JFBConnect, or your site in any way see a user's actual Facebook password. There is no way to let the user enter their Facebook email address and Facebook password into the username/password box on your site and click "Login".

For more control over the flow, you can:
* Disable automatic registration. This will let the user choose their username, customize their email and set their own password during registration, if you want.
* Disable the "Automatically generate password" setting in JFBConnect. This will make it so the user can *only* log in using the Facebook button, since they won't have a Joomla password.
* Change the Automatic Username format to something you like more, like first.last (bobby.jones) instead of firlas (bobjon) or even their email address.

I hope that helps explain more.

We're looking into the Social Profiles - JomSocial templating issue now. The Facebook login issue is something that could affect many users, so that took priority. We're planning a release with the fix for that later today. If all goes well with that, we should be able to test and get a solution for the JomSocial issue today as well.. if we can recreate it. If we can't, we may need admin access to your site to narrow things down further.

Thanks,
Alex
The topic has been locked.
Support Specialist
12 years 1 month ago #43862 by alzander
Replied by alzander on topic A number of problems
Alright.. we've been trying to recreate the JomSocial templating issue, but haven't been able to. Here's our testing site information:
* Joomla 3.3.0
* JFBConnect v6.0.5
* JomSocial 3.2.0.3
* Social Profiles - JomSocial plugin enabled.
* In the template manager, we have a template set to show on a few menu items
* There is a different 'default' template

When we navigate the site, the proper menu items show the alternate template. All other links show the default template.

I'm not sure where we're going wrong, but if you can tell us your configuration versions, that may help narrow things down. If you'd like us to really dig in and narrow this down quicker, the best option is to Private Message us admin credentials for your site. That way, we can see your full configuration and perform some tests to see what's going on.

You can PM me by clicking the mail icon under my name to the left.

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

None
12 years 1 month ago #43876 by tomnor
Replied by tomnor on topic A number of problems
HI Alex,

Thanks for all that.

I understand the account creation process now, but the problem is that when I created an account using Facebook this is the email I was sent:

Hello Tom Norwood,

Thank you for registering at The Spanish Cat.

You may now log in to www.thespanishcat.com/learn/ using your facebook credentials.

As you can see - the email didn't contain my new login details (username and password) for use on the site. Is there a way to fix that?

Regarding the jomsocial issue, I'm sending you a private message with my login details.

Warm regards,

Tom.
The topic has been locked.
Support Specialist
12 years 1 month ago #43879 by alzander
Replied by alzander on topic A number of problems
Can you go to the JFBConnect -> Configuration area and under the "Automatic Registration" section, make sure the "Generate Random Password" setting is enabled. Without that setting, JFBConnect will not generate a password for the Joomla account we create.. in that case, our 'welcome' email won't include their username or password since we assume that you (the admin) only want them to login using the social network. In that case, sending an auto-generated username would more than likely confuse the new user.

We'll look into the JomSocial issue shortly as well. I hope the above explains, but please test and let us know if things are working how you expect.

Thanks,
Alex
The topic has been locked.