Topic-icon Content Like button moved left after update from 4.2.2 to 4.2.4

Active Subscriptions:

None
Hello folks,

i've a strange problem with JFBConnect 4.2.4.

Right after the update from version 4.2.2 to 4.2.4 the content like button (the one, when placed on top, right under the meta data of an article) moved to the left and is not in the center any more.
The strange thing is, that nothing else was changed...is there a way to change the allignment? Or did something go wrong with during the update procedure?

I'm a noob in webdesign and joomla so I'm really confused right now - and I have no ideas anymore.
It's the website I made for my girlfriend (that why it is such a desaster :mad: )
The URL of the website is: www.thetigress.de

Further I have trouble getting email notifications to work. I've tried all the combinations I've found so far like PHP Mail, sendmail and SMTP, woth or without authentication, from a e-mail address of my domain, from a free e-mail address nothing worked.

Best Regards
Benjamin
The topic has been locked.
Support Specialist
Benjamin,
I'm honestly not sure why that changed either with the update. I don't think we modified the CSS for that button at all, but maybe there was a minor change.

Either way, adding the following code to your stylesheet should properly re-center the button:
.art-article .jfbclike {
width: 100%;
text-align:center;
}
Test anywhere else that the Like button appears to make sure that doesn't cause other problems, but hopefully, that will get you going.

As for the email notifications, what emails are you talking about? If it's the new Like or Comment notifications, it looks like you don't have the "Send Email Notification on New Likes" setting enabled, actually. There may be an email in the box, but if those settings aren't enabled, the emails won't go out. If that's not the case, just let us know.

Best of luck!
Alex
The topic has been locked.
Active Subscriptions:

None
Hello Alex,

all right I'll try that during the week - and I will let you know if I succeeded.

Thanks for the sugestions...I hope it'll work...

Best Regards
Benjamin
The topic has been locked.
Support Specialist
No problem, and let us know how it goes!

Good luck,
Alex
The topic has been locked.
Active Subscriptions:

None
Hello Alex,

I just found time to add the code lines you sugested to every stylesheet of my site.
But nothing changed.
I'm not so fund of programming css but I added the lines to the .css files located in the css folder in my template - namely the template.css file - right after the definition of the meta-data part.of the article - is that right?
Or do I have to put it somewhere else?

I uploaded the file for you so you can see it.
template.zip

Sorry if I'm not unterstanding anything quiet well but as I said I'm new to website programming etc..

As for the email notifications, yes, I'm talking about the new Like or Comment notifications, but in the settings of JFBConnect the "Send Email Notification on New Likes" setting and the "Send Email Notification on New Comments" are both enabled. That's why I'm wondering why it doesn't work.

Thanks for you effort...

Best Regards
Benjamin
The topic has been locked.
Support Specialist
No problem for the confusion, that's what we're here for. You should be able to add that block of code to the bottom of the following file:
www.thetigress.de/templates/thetigress_w...ut3/css/template.css

It should, honestly, work in any file that's loaded on the page though. The code I gave is very specific, which means that it should overwrite any other more generic styles that may also apply to that element. When I look at that file though, I don't see the change in there. I'm assuming you removed it. If you add it again, and it doesn't work, leave it in there so we can see better what's going wrong.

As for the notifications, looks like you found a bug! When auto-login is enabled, it looks like the notifications aren't working. If you are ok making a very, very minor code change, you can fix the problem by editing the /plugins/system/jfbcsystem/jfbcsystem.php file. Around line 210, you'll see the following block:
if ($this->configModel->getSetting('facebook_auto_login') && $guest && !$autoLoginPerformed)
        {
            $status = 'status: true,';
            // get Event Notification subscriptions
            $subs = "\nFB.Event.subscribe('auth.authResponseChange', function(response) {jfbc.login.on_login();});";
        } else
Edit the $subs line and simply add a . (period) before the = sign, so it looks like:
$subs .= "\nFB.Event.subscribe('auth.authResponseChange', function(response) {jfbc.login.on_login();});";

Hopefully that will fix you right up, but let us know how it all goes!
Alex
The topic has been locked.
Active Subscriptions:

None
Hello Alex,

I finally got both things to work properly.

The like-Button Problem, was a bit strange, because I tried the code fragments you gave me in every place in the stylesheet and it never worked and nothing changed at all. So I (kind of accidently) viewed the stylesheet right in the browser an the lines I added didn't show up. I looked again in the css-file on the ftp and the changes where there in the file.
After that I tried to clear my browsercache and finally got the like-Button centered again.

The other code-correction for the e-mail notification worked really fine.

Every problem is solved at the moment.

Thanks again Alex for your help.

Best Regards,
Benjamin
The topic has been locked.
Support Specialist
Browser cache can kill you every time! Very annoying, and always a good thing to check for issues like that before beating your head against the wall :)

Glad you got that though, and the email issues fixed up. The newest 4.2.5 release has the email fix included as well.

Should you need anything else, just let us know. And, finally, if you haven't already, please consider leaving a rating and review for JFBConnect, or our support, on the Joomla Extension Directory. It's certainly not required, but very appreciated:
extensions.joomla.org/extensions/social-...ook-integration/7215

Thanks!
Alex
The topic has been locked.