By William Brannan on Sunday, 08 March 2015
Posted in Technical Issues
Likes 0
Views 505
Votes 0
For some reason, sometimes the Facebook buttons do not show on the site. At other times they do. Is there a way to fix this?
Hello William,

Did you mean you want to add Discussion topic as the desc= in Pinterest part? If so, you can add this:

desc=<?php $post->title; ?>


Hope this helps.
·
Wednesday, 11 March 2015 10:30
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello William Brannan,

I am really sorry for the delay of this reply as it is a weekend for us here.

I've tried to reproduce this issues in your discussion page, but look like that Facebook button is appear in your page even I click LIKE and SHARE. Am i missing something here? Please advise.
·
Sunday, 08 March 2015 09:09
·
0 Likes
·
0 Votes
·
0 Comments
·
Attached are the credentials you requested.
·
Sunday, 08 March 2015 21:11
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello William Brannan,

I'm really sorry that delayed of this reply,

It seems like Jfbconnect facebook script conflict with our Easydiscuss Facebook scripts, check my screenshot below. (when enable JFBCSystem plugin then the Facebook script will be appear on discussion page.)

If I disable this plugin - System - JFBCSystem, it should work fine now.

Can you try disable this plugin and test view on your discussion page and see that Facebook social button still missing or not.

Can you consult with jfbconnect developer regarding this and see how it goes?
·
Monday, 09 March 2015 13:05
·
0 Likes
·
0 Votes
·
0 Comments
·
Right now, JFB connect is essential to the site. Is there a way to to allow easydiscuss to work with JFBconnect? I am able to use sh404sef buttons with JFBconnect because I have disabled the open graph portion of sh404sef. Their buttons still work, but they use the og from JFBconnect.

Otherwise, do you think if I created a separate FB app for easydiscuss that it might work? I am using the same app for both.

A final option I just thought about. Could I add the code to place their social sharing buttons to the bottom of the topic head? If so, what file would I add that to?
·
Monday, 09 March 2015 19:09
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi William,

Thanks for getting back to us, may i know do you have fix something in your site? Because I noticed that Facebook social button always appeared now.

However, you can try create another apps and set it in your backend > Easydiscuss > setting > social integration > facebook > App id.

And this file is handle add open graph. -> JoomlaFolder\components\com_easydiscuss\helpers\facebook.php

And this file is display the question area. JoomlaFolder\components\com_easydiscuss\themes\simplistic\post.question.item.php

Hope this help.
·
Tuesday, 10 March 2015 00:51
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks, I am going to try to add the other buttons. Please help me find the code they mentioned so I can remove it.

Here is what JFBconnect wrote:

Yes, there is a conflict on your page because you are using two components with different Facebook Javascript libraries. These two libraries will not function together. EasyDiscuss uses all.js - a deprecated library that has not been recommended for use in well over a year, but still works. JFBConnect uses sdk.js - the newer and recommended library from Facebook. If you want social login/authentication with Facebook, the all.js library will not work starting April 2015, which is why we've already upgraded to the newer library. Components such as EasyDiscuss that just insert things like the like button on the page will continue to work with the older library, even after April.

1. To Resolve the Conflict: We have been suggesting to all of our users to remove the inclusion of the older library. The following code is what is being added and needs to be removed:

Code:


<!-- Facebook SDK -->
<div id='fb-root'></div>
<script type='text/javascript'>

// Load the SDK Asynchronously
(function(d){
var js, id = 'facebook-jssdk'; if (d.getElementById(id)) {return;}
js = d.createElement('script'); js.id = id; js.async = true;
js.src = '//connect.facebook.net/en_GB/all.js';
d.getElementsByTagName('head')[0].appendChild(js);
}(document));

</script>
<!-- End Facebook SDK -->
·
Tuesday, 10 March 2015 02:10
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks again. I am making progress. I think I disabled your buttons and inserted JFBconnect buttons. The one issue is that I need to get the code to finish the Pinterest buttons. Here is what they wrote:

2. To use JFBConnect social buttons like your example page, try inserting the following code
Code:


<div style="position: relative; top:0px; left:0px; z-index: 99;" class="scsocialbuttons standard">
{JLinkedShare layout=standard}
{SCTwitterShare layout=standard}
{SCGooglePlusOne layout=standard}
{SCPinterestShare layout=standard image=FULL_PATH_TO_IMAGE desc=Text to Pin}
{JFBCLike layout=standard share=true width=250}
</div>


If you're inserting this into a template and not each individual topic (which I'd suggest), then you should update the Pinterest easy-tag to dynamically figure out the image and description.
·
Tuesday, 10 March 2015 02:23
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello William,

I'm really sorry that delayed of this reply,

Thanks for getting back to us, you can open this file -> JoomlaFolder\components\com_easydiscuss\themes\simplistic\post.question.item.php
if you're using 'simplistic' theme. (This is the individual topic file located.)


//Remove this line 128
<?php echo DiscussHelper::showSocialButtons( $post, 'horizontal' ); ?>

//Replace with
<div style="position: relative; top:0px; left:0px; z-index: 99;" class="scsocialbuttons standard">
{JLinkedShare layout=standard}
{SCTwitterShare layout=standard}
{SCGooglePlusOne layout=standard}
{SCPinterestShare layout=standard image=FULL_PATH_TO_IMAGE desc=Text to Pin}
{JFBCLike layout=standard share=true width=250}
</div>


I think you have to consult with them regarding this -> Because this Pinterest share code different with other.

SCPinterestShare layout=standard image=FULL_PATH_TO_IMAGE desc=Text to Pin


Hope this help.
·
Tuesday, 10 March 2015 12:23
·
0 Likes
·
0 Votes
·
0 Comments
·
Yes, I already had inserted the code in the correct place and it is working good. The only problem is that I need the code to call the topic text from easydiscuss topics into the pin. I am using a generic picture for all of the forum posts. That is the only piece I need and it seems it will work good.
·
Wednesday, 11 March 2015 05:23
·
0 Likes
·
0 Votes
·
0 Comments
·
Yes, It works. Thanks.
·
Saturday, 14 March 2015 04:47
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello William,

You are most welcome
·
Saturday, 14 March 2015 10:49
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post