Topic-icon A number of problems

Active Subscriptions:

None
12 years 4 weeks ago #43883 by tomnor
Replied by tomnor on topic A number of problems
Thanks Alex. That worked great.
The topic has been locked.
Active Subscriptions:

None
12 years 4 weeks ago #43884 by tomnor
Replied by tomnor on topic A number of problems
Just one more small problem.

On this page, I've got a login form, but you can't see the question marks or the tooltips for username and password.

Can you tell me how I can fix that?

Thanks again.

Tom.
The topic has been locked.
Active Subscriptions:

None
12 years 4 weeks ago - 12 years 4 weeks ago #43885 by tomnor
Replied by tomnor on topic A number of problems
Just one more small problem.

On this page (www.thespanishcat.com/learn/index.php/online-courses) I've got a login form, but you can't see the question marks or the tooltips for username and password.

Can you tell me how I can fix that?

Thanks again.

Tom.
Last edit: 12 years 4 weeks ago by tomnor.
The topic has been locked.
Support Specialist
12 years 4 weeks ago #43891 by alzander
Replied by alzander on topic A number of problems
Glad we're making progress on things. Sorry you ran into a few issues right away, but that's what we're here for.

You CSS files are compressed into /templates/rt_metropolis/css-compiled/master-3dae12cc297e66c149b0f717f32256eb.css , so I can't give you the exact file or line to edit.. but the following styles are what are causing your issues.

It's hidden due to this line:
body .btn [class^="icon-"], body .btn [class*=" icon-"] {
display: none;
}

Once it displays, the ? are white. That's caused by:
.rt-block.rt-dark-block a, .rt-block.basic.rt-dark-block a {
color: #ffffff;
}

You'll need to remove those lines to get the buttons to show properly on that page. Hopefully that helps explain, but if you need more help with it, let me know.

We'll keep you posted about the JomSocial issue.. hopefully later today.

Thanks,
Alex
The topic has been locked.
Support Specialist
12 years 4 weeks ago #43901 by alzander
Replied by alzander on topic A number of problems
Alright... the template switching is working and it seems like everything is working as expected with JomSocial. From here, obviously, please test.

Just so you have it, the code change we made is in the /plugins/socialprofiles/jomsocial/jomsocial.php file. In the main constructor, you'll see:
// Now do any initialization or defaultSettings setup required
        if ($this->componentLoaded() && !JFactory::getApplication()->isAdmin())
            include_once($this->_componentFolder . '/' . $this->_componentFile);
To fix the issue, I commented out those two lines. Those lines simply load JomSocial's own library code, but for some reason, that's causing a problem on your site. I don't believe those lines are actually necessary for our functionality anymore.. at one time, it was necessary.

We'll do some more investigation to see if we can permanently remove those lines, but would love to have any feedback you can provide on any other issues you run into with JomSocial integration or JFBConnect in general.

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

None
12 years 3 weeks ago #43967 by tomnor
Replied by tomnor on topic A number of problems
Hi Alex,

Thanks very much for all your help.

It seems to be working well.

Just a couple of things. When it's logging in via facebook, I just get a black page with a small white empty box in the middle of the screen. There's no text in it. Can that be changed?

Also, I followed the below instructions and deleted that line but I still can't see the question marks or the tooltips. Can you help with that?

Warm regards,

Tom.


alzander wrote: 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.
Support Specialist
12 years 3 weeks ago #43978 by alzander
Replied by alzander on topic A number of problems
For the white box modal, your site's default text color is set to white. So, the white popup has white text in it, making it invisible. To fix, please edit the /components/com_jfbconnect/assets/jfbconnect.css file. Around line 132, you'll see:
#jfbcLoginModal {
    text-align:center;
}
Update it to:
#jfbcLoginModal {
    text-align:center;
    color: black;
}
I've included that line in our code so it will be included in the next release as well.

As for the buttons not showing right, what did you edit? You shouldn't edit the file I posted above. You need to find the actual .less file that has that statement, update it there and then recompile the CSS. The template should help you take care of the recompiling. It's the finding of that style that will likely be the most difficult.

I hope that helps, but as always, let us know what you need.

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

None
12 years 3 weeks ago #44030 by tomnor
Replied by tomnor on topic A number of problems
Hi Alex,

Thanks for that.

I changed the color of the text in the CSS file for the modal, but it's still not showing up. Any suggestions?

As for the buttons not showing - I'm still having trouble with that. I'm really not sure how to go about this. Any idea how I can locate the .less file that you're talking about, or how I can recompile the CSS? This is a bit out of my range of experience.

Warm regards,

Tom.
The topic has been locked.
Active Subscriptions:

None
12 years 4 days ago #44556 by adralt
Replied by adralt on topic A number of problems

tomnor wrote: 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.


I had the same problem and I found the (hopefully temporary) solution by reading at this thread and trying to disable some plugins. I have some different templates assigned to different menu items but they wouldn't show up. Only the default template would show up on all the menu items. Then I tried to disable some of JFBConnect plugins and when I disabled System - JFBCSystem everything worked back. That means that I was finally able to see the different templates.

My site:

Joomla 3.3
Jomsocial 3.2.0.5
JFBConnect 6.0.6
Jreviews 2.4.16.2
iReview3 (template)

How could I fix this problem? Thanks
The topic has been locked.
Support Specialist
12 years 4 days ago #44557 by alzander
Replied by alzander on topic A number of problems
The temporary solution above is still the solution for JFBConnect v6.0.6.

We have a similar (though better) solution implemented in v6.1, which will be released later this month along with a ton of other new features and improvements.

If you are encountering any other issues right now, let us know, and we'll gladly help however we can.

Thanks,
Alex
The topic has been locked.