Topic-icon Placing text within the login module

Active Subscriptions:

None
9 years 9 months ago - 9 years 9 months ago #45891 by artkin
Hi guys, I would like to place some text to explain why the social buttons are there. It would be great if everyone just knew, but in most cases folks will not know they can register or login using the social networks. So I would like to place text there to explain that. It's two spots I need it to show. One is in the SCLogin and the other is in my Jomsocial Login.

Link to my site:
www.picturemeclubbing.com/local/

See screen shots:

SCLogin:
awesomescreenshot.com/07137msxd5

Also once the user logs into the site, text appears above the icons. But it's too close. Can I add space here?
awesomescreenshot.com/0c037mw998

Jomsocial:
awesomescreenshot.com/07937mv6bd

Can you tell me where I can place this in the code?
Last edit: 9 years 9 months ago by artkin.
The topic has been locked.
Support Specialist
9 years 9 months ago #45916 by alzander

I would like to place some text to explain why the social buttons are there. It would be great if everyone just knew, but in most cases folks will not know they can register or login using the social networks.

The SCLogin module has a language string you can use to add some intro text above the social login buttons. Please edit the /language/en_gb/en_gb.mod_sclogin.ini file (or whatever language file you use) and find the following string:
MOD_SCLOGIN_SOCIAL_INTRO_TEXT_LABEL=""
Update that to whatever you want.

For JomSocial, can you let me know what version you're using? We'll have to look at their template files to get you the best solution.

Also once the user logs into the site, text appears above the icons. But it's too close. Can I add space here?

Those buttons have a class of .sclogin-social-connect you can use to add styles you want, like:
.sclogin-social-connect { margin-top:30px;}
I hope that helps, but if you need anything else, just let me know.

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

None
9 years 9 months ago - 9 years 9 months ago #45930 by artkin
You the man Alex! Never feel bad about renewing my membership here!

Everything else worked. As for the Jomsocial I have version 3.2.1.1

I just noticed one other thing while i have a thread going. When I share content from K2 it's no longer displaying the image of the article. I've only tested this on Facebook and my Google Plus accounts. But on my older install it shares the image and the title just fine. What would cause this? Did I turn off something by mistake?

Try to share this page: www.picturemeclubbing.com/local/index.ph...37143&imageoffset=98
Last edit: 9 years 9 months ago by artkin.
The topic has been locked.
Support Specialist
9 years 8 months ago #45939 by alzander
Arthur,
Glad to hear you're making progress.

For JomSocial, to add extra text, please edit the /components/com_community/templates/default/frontpage.guests.php file. At the bottom, you'll see:
<?php echo $fbHtml;?>
Simply add whatever text you want above that.

I just noticed one other thing while i have a thread going. When I share content from K2 it's no longer displaying the image of the article. I've only tested this on Facebook and my Google Plus accounts. But on my older install it shares the image and the title just fine. What would cause this? Did I turn off something by mistake?

Can you check that you have the Open Graph - K2 plugin enabled? That should automatically select the Main image set in the K2 item as the Open Graph and Twitter image.

The page you reference doesn't look to have any text in the article, which means that JFBConnect can't generate a good description for the page. If possible, I'd recommend adding a sentence at the top of the article text so that it's shown when shared.

I hope that helps,
Alex
The topic has been locked.
Active Subscriptions:

None
9 years 8 months ago #45969 by artkin
Thanks that seem to have done the job. I noticed something weird tho. Once you share an item you can only share it once? Just wondering. During my testing it seems to show sometime and not others. Then I noticed that items already shared didn't allow me to share it again with the image showing. Only the first time I tried.

The way my ext works for k2, it using RSS Feeds to show galleries within my Joomla. I have to insert a tag {jsmug} album ID# {/jsmug| within the article. Is it anyway I can still do this without it showing in the post on social media? I would rather it be a date or something. I tried to mess around with k2's intro limit. But when that is turned on it also keeps the gallery from showing. Do you have any suggestions?
The topic has been locked.
Support Specialist
9 years 8 months ago #45990 by alzander
For the description, does the jsmug tag use a Joomla content plugin? If so, please try to re-order that content plugin to after the JFBCContent plugin. That may help fix the issue you're seeing.

The other option, is to make the article contents be something like:

Take a look at our gallery with great pictures, or whatever description you want here.
{jsmug]123{/jsmug}

That sentence at the top will be used by JFBConnect as the share description.

As for sharing twice, you should be able to Share a page twice or more. You can only Like it once. In both cases though, the Like / Share buttons should still display.

Can you tell me if the buttons are hidden or if they just don't do what you expect when clicked?

Thanks,
Alex
The topic has been locked.