Topic-icon Login module 5.1.0 not behaving!

Active Subscriptions:

None
10 years 7 months ago #35894 by rmoore1904
Hi, I have just updated to 5.1.0 and have noticed a few glitches to do with the SCLogin module. Specifically:
- The module shows a user profile picture despite the setting at 'Hide'
- The buttons rollover isn't working quite right with my template (You helped with a fix for this before on a previous version but this latest version of the module seems to be using a slightly different bit of css?)
- On log out from the module the redirection URL (Home) isn't holding and is throwing up a "404 - Component not found" error
- On testing new registrations the 'Don't have an account' option isn't linking to a new registration form, just reloadsthe original login fields & buttons

FYI the site (www.countydownspectator.com) is built on j3.1.5 and uses the latest version of Jomsocial 3.

Please advise asap. thanks, Russ
The topic has been locked.
Support Specialist
10 years 7 months ago #35908 by alzander

- The module shows a user profile picture despite the setting at 'Hide'

This is a bug in this release. Please read this post for how to remove the avatar for now. There will be an updated release to fix the checking of the Show Avatar setting in the next few days.
Sorry about that!

- The buttons rollover isn't working quite right with my template (You helped with a fix for this before on a previous version but this latest version of the module seems to be using a slightly different bit of css?)

- On log out from the module the redirection URL (Home) isn't holding and is throwing up a "404 - Component not found" error

When I login or out, I'm seeing strange results. Logout sometimes works, but sometimes doesn't. The URL that I'm going to on Login and Logout always has "?Itemid=1" at the end of it, which is very strange. Can you check the Joomla Login and Logout Redirections set in the module to see if those are correct? Even try moving to a different menu item in those to see if it clears something out.. not sure what's up, but something is strange there.

Jumpy buttons
The button is growing when you hover over it because of the following style in your template:
p.readmore a:hover ,.btn:hover {padding:12px;}
Your template's CSS is compressed into one file, so I don't know specifically where that is located, but the compressed file is:
www.countydownspectator.com/templates/tr....php?id=9&group=grid
And the block where it shows up looks like:
/* ----------------------------------------------*/
/* C 00 - Content Overrides
/* ----------------------------------------------*/
.cat_img img {max-width:100%;}
.imgframe{max-width:100%;}
div.joomla div.iteminfo {padding: 12px 0;}
.article_iconbar{margin:28px 0 0 0;}
.article_iconbar .itemCTRBlock{border-top:none;}
.readmore,.iconbar{float:left;margin:0;}
.iconbar{margin:-25px 0 0 14px;}
p.readmore a,.btn {padding:12px;display:block;}
p.readmore a:hover ,.btn:hover {padding:12px;}
That line is adding a padding of 12px to all buttons when the cursor hovers on them. I'd remove that style so it looks just like:
p.readmore a:hover {padding:12px;}
I hope that helps get you started, but keep us posted on how it goes,
Alex
The topic has been locked.
Active Subscriptions:

None
10 years 7 months ago #35920 by rmoore1904
Hi Alex, many thanks man. Ok;

1) The jumpy buttons are fixed. Hooray!
2) The profile pic is now hidden by using your temp fix. Hooray again!

however...

3) I've quadruple checked the logout redirection option, setting it to either 'mainmenu/home' or 'same page' and it's still being weird - in fact it gives a different error depending on which page you're on when you try to log out!
4) The 'Don't have an account' link to a full registration form also wasn't working but I'm wondering if I'm missing something from the upgrade - there's no JFBConnect registration form option to connect to the main menu item (community/registration-login) which I'm sure was there before? (It's set to the Jomsocial form at the minute but I'm sure that's not right.

Any further ideas? Do you need admin access at all?

Thanks, Russ
The topic has been locked.
10 years 7 months ago #35951 by chramb1
I, too, have the button issue - and I don't see any btn:hover in my CSS.

www.element67.com is the development server I'm working on. Help? :-)
The topic has been locked.
Support Specialist
10 years 7 months ago #36111 by alzander
Hey guys, sorry for the delay. First off, JFBConnect v5.1.1 and SCLogin v3.1.1 were released today. That fixes the always-on avatar and a few other minor bugs that have been reported. Nothing major, but we would recommend upgrading before you run into something else :)

Russ,

3) I've quadruple checked the logout redirection option, setting it to either 'mainmenu/home' or 'same page' and it's still being weird - in fact it gives a different error depending on which page you're on when you try to log out!

Try the new module. There were some fixes for menu items that are aliases and external URLs and other minor things with menu's in general. I honestly don't think this will fix your issue, but I'm a bit confused about what's going on there, so upgrading is the first step to eliminate things.

4) The 'Don't have an account' link to a full registration form also wasn't working but I'm wondering if I'm missing something from the upgrade - there's no JFBConnect registration form option to connect to the main menu item (community/registration-login) which I'm sure was there before? (It's set to the Jomsocial form at the minute but I'm sure that's not right.

There is no 'JFBConnect registration' page that you can link to. The only way to see JFBConnect's registration page is if you have "Normal Registration" enabled in JFBConnect (which sets up the form-based registration process) and the user is trying to register through a social network.

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

Christopher,
Those are some weird buttons :) First off, they're not jumpy for me (they don't move or resize).. they're just multi-colored when I hover. I want to call that out so that we're talking about the same issue, in case you're seeing something different.

The code that's causing them to go half-red and half-blue is a combination of our CSS and your template. I'm not sure if you want the blue, red, or a combo of both (blue before hover, red on hover, etc). To remove the red though, the line you'd be looking for in your template file is:
.btn-primary:hover{background-color:#aa0000;background-image:-webkit-gradient(linear,0 0,0 100%,from(#a10000),color-stop(45%,#b00000),to(#910000));
I found that in /templates/rt_leviathan/css-compiled/master-319c6f1a8bef923e3fdd709126694f0e.css As the file says though, that's compiled CSS, so I don't know where that style actually comes from. If you want to just remove the blue from our stuff, that may be easier.. just let me know

I hope that helps, and best of luck to both of you,
Alex
The topic has been locked.
10 years 7 months ago - 10 years 7 months ago #36115 by chramb1
I would think my template's CSS for btn-primary wouldn't interfere because you protect your button with the ..sourcecoast designator.

No?

Either way, I'd prefer to keep your styling for SCLOGIN, but removing the styling for all other btn-primary isn't an option.

It seems to me that the issue here is that the red of my style is showing through because, on line 3420 of sc_bootstrap.css, you're setting backbackground-position vertical to -15px. Presumably that's to let the original blue underneath show through, but *my* hover is setting that to red, instead.

So... since you do protect yours with .sourcecoast, which shouldn't trigger anything higher-up in bootstrap, I just added the background-image and color into the :hover and :focus as such:

.sourcecoast .btn-primary:hover,
.sourcecoast .btn-primary:focus {
color: #333333;
background-color: #006dcc;
background-image: -moz-linear-gradient(top, #0088cc, #0044cc);
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#0088cc), to(#0044cc));
background-image: -webkit-linear-gradient(top, #0088cc, #0044cc);
background-image: -o-linear-gradient(top, #0088cc, #0044cc);
background-image: linear-gradient(to bottom, #0088cc, #0044cc);
text-decoration: none;
background-position: 0 -15px;
-webkit-transition: background-position 0.1s linear;
-moz-transition: background-position 0.1s linear;
-o-transition: background-position 0.1s linear;
transition: background-position 0.1s linear;
}

Note that this is for btn-primary specifically, and not just adding it to .btn, which would make ALL buttons blue. And it now looks right ;)
Last edit: 10 years 7 months ago by chramb1.
The topic has been locked.
Active Subscriptions:

None
10 years 7 months ago #36134 by rmoore1904
Hi Alex, thanks for your reply mate. To be honest there were so many gremlins starting to appear that I've decided, now that I know which components to include and (should) have robust versions of everything for j3.1.5, to rebuild the site from scratch. It's been a very long last 48 hours! ;)

I'm going to abandon this post/ticket and if I need anything else I'll come back to you with a new post.

Thanks as always for the great support dude. Cheers, Russ
The topic has been locked.
Support Specialist
10 years 7 months ago #36167 by alzander
Christopher,
Excellent sleuthing. I think you uncovered a larger underlying issue that we're going to have to investigate further. I think we have 2 different sc_bootstrap.css files that can be loaded.. one from JFBConnect and one from SCLogin and they both are slightly different. We started merging and sharing the styles in this latest release (so that only one file needs to be loaded), and only one should be loaded, but I think there's some oddball cases where both can load.

The only bootstrap type CSS file that should be loaded is /media/sourcecoast/css/sc_bootstrap.css

Let me know if that's the one you're using and the edits above are what worked for you so we can investigate further. There are definitely some templating issues that we need to work out in the next few releases. Generally, things are going well, but there are definitely too many conflicts for our taste (though we have great support, I'm not going to say we really looove having a lot of it to do) :)

Anyways, glad that got it going for you and thanks so much for the feedback!

Russ,
I understand completely where you're coming from. I hope the rebuild goes well (though I know there's a few other posts already from you).

Best of luck to both of you,
Alex
The topic has been locked.
10 years 7 months ago #36168 by chramb1
Yes, the one in /media is the one I modified - and yes, I can see multiple inclusions and potential conflicts, though the order of inclusion seems to be protecting things right now.

A solid cleanup sweep on your end makes sense, but for now, this is getting the job done. Of course, I had to re-apply my change when I upgraded to 5.1.1, but that's to be expected.
The topic has been locked.
Support Specialist
10 years 7 months ago #36221 by alzander
Christopher,
Thanks for letting us know. We definitely have it on our to-do list to really scrub through our assets and see where we can streamline things for easier modification as well as fix stuff so it's more compatible with even more templates (making modifications not necessary).

We're getting there, and hopefully the next release (~mid-September) will be better, but no guarantees it will be perfect :)

Glad you're going for now though, and thanks again for the feedback!

Alex
The topic has been locked.