Topic-icon Can I changed Letters or Wording of SCLogin, possibly in my custom.css

Active Subscriptions:

None
10 years 7 months ago - 10 years 7 months ago #36620 by scarney
I have a couple little changes I would like to make to my SCLogin module to match the rest of my site a bit better:

1) I would like to change the text "Log in / Register" to "LOGIN | REGISTER"

2) I would like to change the colors of the letters to white like the rest of my top of the page modules and menu links.

3) I would like to change alignment of the "My Account" button so that it would align to the vertical center of the space it is allotted to instead of at the bottom. Also, I would be interested in changing the size of the font smaller and making the button smaller but that is not as important to me.

4) I would love to have small icons in the "My Account" pulldown menu with the same "Connect To:" text and logos that you have for the social networks.

My site is at drcarney.com and my SCLogin module is in the top right corner.

What I am hoping is that this can all be done in my custom.css file so I don't have to edit any of your core files that could then be overwritten in a later update. :-)

Thank you, Sean Carney
Last edit: 10 years 7 months ago by scarney.
The topic has been locked.
Support Specialist

1) I would like to change the text "Log in / Register" to "LOGIN | REGISTER"

All of our strings are in our language file, which you can find at /language/en_GB/en_GB.mod_sclogin.ini

2) I would like to change the colors of the letters to white like the rest of my top of the page modules and menu links.

The following CSS should make those links white:
.sclogin-modal-links a {
color: white;
}

3) I would like to change alignment of the "My Account" button so that it would align to the vertical center of the space it is allotted to instead of at the bottom. Also, I would be interested in changing the size of the font smaller and making the button smaller but that is not as important to me.

I tried to register on the site, but I couldn't login with Facebook. The Javascript API that we expect to be on the page isn't there, and I'm not sure why. Can you check that the JFBCSystem plugin is enabled? If so, that means there's something blocking that plugin from inserting some code we need into the page, and we'd need to figure that out.

4) I would love to have small icons in the "My Account" pulldown menu with the same "Connect To:" text and logos that you have for the social networks.

We're working on documentation for the SCLogin module. The Connect To links in the menu item are a hidden feature that we need to promote more. To do so:
* Create an "External Link" menu type item in your user account menu
* Set the title to something like "CONNECT TO:" or whatever you want to display above the icons
* Set the Link setting to "scconnect"

That should do it, but please test and let us know how it goes!

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

None
10 years 7 months ago - 10 years 7 months ago #36706 by scarney
Alex,
Thank you for the Support. I was able to make most of the changes.

1) I did change "Log in / Register" to "LOGIN / REGISTER" but did not find a way in that languages file to change the "/" to a "|". It is not a huge thing but I think it will look much better.

2) Also, I believe that I did the following correctly but maybe I did not:
* Create an "External Link" menu type item in your user account menu
* Set the title to something like "CONNECT TO:" or whatever you want to display above the icons
* Set the Link setting to "scconnect"

I uploaded for you a screen shot of my configuration but I do not know where it went. It was uploaded twice.

3) I do have the System - JFBCSystem plugin enabled. It is odd because my Facebook login was working but I also see it is not working. When I click on the facebook button nothing happens but when I click on Google or LinkedIn login windows open up.
Last edit: 10 years 7 months ago by scarney.
The topic has been locked.
Support Specialist
Sorry for the delayed response on this. Let's hope I can help answer your questions:

1) I did change "Log in / Register" to "LOGIN / REGISTER" but did not find a way in that languages file to change the "/" to a "|". It is not a huge thing but I think it will look much better.

Thanks for the tip. I added a to-do for us to add a language string for the separator in the next release.

2) Also, I believe that I did the following correctly but maybe I did not:

I found the attachments. When you upload a file, you need to click the green arrow in the popup to actually insert it into a post. Your configuration looks right. Can you let me know what is, or isn't, happening when you use that menu in the SCLogin module user menu?

I do have the System - JFBCSystem plugin enabled.

I believe you do, actually. If I switch your template to atomic (by adding ?template=atomic in the URL), I see the correct output in the template. I'm not sure why it's not being added properly in your current template though.

Can you try a few things to hopefully fix that:
* Try ordering the JFBCSystem plugin to the highest (first) position and the lowest (last) position and test after each, to see if it works properly with one of those positions.
* If you have any optimization plugins enabled (JCH Optimize, JBetolo, or anything else), try disabling them and testing again.
* If there's any other system plugins that may be trying to modify your output, disable and test again.

Let me know if any of that helps, and if not, we'll gladly help investigate further.

Thanks,
Alex
The topic has been locked.