Active
Project:
Facebook social plugins integration
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
10 Nov 2011 at 17:52 UTC
Updated:
29 Dec 2014 at 13:01 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
ataliba commentedHello,
You created a preset ?
/admin/build/fb_social_presets
Created a preset here and activate then on the types of content you need to show the facebook comments.
Comment #2
mixhael commentedThis option is not available for me.... Think this is in the newer version and I'm running an older one, however when I installed that new version I got database errors that the fb_social_preset table wasn't available
Comment #3
mixhael commentedOk, so I upgraded now to the 2.0 version. Created a presets which applies facebook comments to the respective content types.
Same thing. Nothing shows up, just the old comment box
Comment #4
mixhael commentedAnyone?
Comment #5
ferdi commentedAny other module you have installed that may conflict ? What browser are you using ?
thanks!
Comment #6
mixhael commentedThe weird thing is that creating a preset for the likebox (by creating a block) works. But with the comments just nothing happens. Should I have made changes to a template somewhere? Should I disable regular comments first?
Comment #7
mixhael commentedJust read this tooltip in the general facebook social settings:
Seeing the Make sure that the "Connect URL" matches your domain exactly. mentioning: could it there to be the problem? I've set it to the official domain, but am running my website still on a temporarily-url...
Comment #8
mixhael commentedSo modified the url. Same problem :(
Comment #9
ferdi commentedCan you export the preset and paste it here ?
Comment #10
mixhael commentedOr course, here it is:
Comment #11
ferdi commentedLooks good. You should expect to see the comment box when you look nodes (not teasers) of type blog, dossier, simplenews, petition, poll. To answer your question, you dont need api key or modify any template file for the comment box to show up. What browser are you using and do you have any other facebook related module installed ?
thanks!
Comment #12
mixhael commentedHey Ferdi,
That's exactly where I'm expecting them to show up, but unfortunately they don't.
I'm using the latest google chrome (and firefox the same result), but I think it's not browser related, because if I look at the html source, there's no trace of a
<fb:comment>...</fb:comment>-tagAnd no: no other related modules installed.
Really really clueless
Comment #13
mixhael commentedCould it be that it's because my nodes are built with panels?
Comment #14
mixhael commentedFerdi, I read this thread: http://drupal.org/node/789948, which speaks of adding facebook comments via panels (add panel > miscellaneous). However, I haven't got this option.
Comment #15
ferdi commentedYes, I see a couple of similar issues. There seems to be a problem when using panels module.
Comment #16
mennonot commentedI had this same problem. The comment box wasn't showing up. For me, despite what Comment #11 above says, the issue does seem to be with a template file in my theme.
For example, when I removed the template for my "articles" content type at /sites/all/themes//node-article.tpl.php the comment box started showing up.
How can I get commenting working and keep my theming templates for my various content types? I'm guessing the issue is that the template file I have removed some important variable. I've attached the template in question.
Comment #17
ferdi commentedNo, this is should work independent from the template file. are you using panels too ?
thanks
Comment #18
mennonot commentedNope, I'm not using panels. I can confirm that when I uploaded the node-article.tpl.php attached above, the comment box stopped showing up.
Comment #19
mennonot commentedI tracked down the problem in the node-article.tp.php template. The template I was working with (attached above) did not print the $content variable, which apparently this module requires. The solution is to add in a call to the Facebook social comment plug-in directly where I wanted the plug-in to show up:
<?php print $node->content['fb_social_comments_facebook_comments']['#value']; ?>Comment #20
damienmckennaThe module needs some solid Panels integration. Something like #2374123: Added a simple Panels pane wrapper for presets would be a reasonable starting point.