Topic-icon I can't disable 2 settings in sharing

Active Subscriptions:

None
1 month 5 days ago #69050 by alechu
I can't disable 2 settings in "Sharing": "Show Faces" & "Show Twitter Tweet".

I move the slider to the "disable" position, after that I click "Apply Changes" and after that I see again that these 2 options are still enabled in the settings:



JFB Version: 9.1.76, Joomla 5.1.4
Attachments:
Support Specialist
1 month 5 days ago #69055 by mel
Hmm. I cannot reproduce this on my system. They disable properly for me. Honestly, the quickest way to fix this is to just go into your db in the #__jfbconnect_config table and set the social_article_like_show_faces and social_article_like_show_twitter fields to a value of 0. Likewise, if you're trying to do this in blogs, you'll have to set the appropriate social_blog_... fields as well.

-Melissa
The following user(s) said Thank You: alechu
Active Subscriptions:

None
1 month 4 days ago #69059 by alechu
in my first post i didn't give all the details.

I can disable these settings in "Article views" and when i disable this option in "Article views" then this item collapses.

I can't disable this option in "Blog views".
when i disable display of buttons in settings, after i click "apply changes" this item doesn't collapse and both options "Show Faces" and "Show Twitter Tweet" are still shown as enabled.

 
Attachments:
Active Subscriptions:

None
1 month 4 days ago #69060 by alechu
I don't have such a problem with the "Comments" plugin and I can disable everything there, but I have such a problem only with the "Like Buttons" plugin and only for the "Article viewing" option.

 
Attachments:
Support Specialist
4 weeks 1 day ago #69064 by mel
Well I figured out why, but this has code that's been around since 2020, so I don't know why previous versions of Joomla didn't have a problem.

If you didn't set the database fields directly, you can make the following code changes. In /administrator/components/com_jfbconnect/models/forms/social_content_like.xml, find and replace the strings

Around line 231
<field name="social_blog_like_show_faces1"
with
<field name="social_blog_like_show_faces"

Around line 270
<field name="social_blog_like_show_twitter1"
with
<field name="social_blog_like_show_twitter"

Fixed the issue for me under the blog views section.

-Melissa
The following user(s) said Thank You: alechu
Active Subscriptions:

None
3 weeks 6 days ago #69065 by alechu
i changed the code and after that it worked!
but this section didn't collapse like other sections, but the switches are not enabled anymore!
Support Specialist
6 days 13 hours ago #69072 by mel
The section not collapsing is another bug. I've checked in code to fix it in the next release.
The following user(s) said Thank You: alechu