When I enable my comments within admin/settings/fb/social/comments and set it for the desired content-types, absolutely nothing happens. I don't see the facebook comment form showing up, still drupal's default comment form is there. If I check the html-source of the respective page there's also no trace of a tag.

Am I overlooking something?

CommentFileSizeAuthor
#16 node-articlephp.txt2.25 KBmennonot
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

ataliba’s picture

Hello,

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.

mixhael’s picture

This 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

mixhael’s picture

Ok, 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

mixhael’s picture

Anyone?

ferdi’s picture

Any other module you have installed that may conflict ? What browser are you using ?
thanks!

mixhael’s picture

The 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?

mixhael’s picture

Just read this tooltip in the general facebook social settings:

Register your application on Facebook to get a Facebook App Id: register here.
Go on your facebook app page (Applications > Developer > My Applications) click "Edit Settings". Then click "Connect". Make sure that the "Connect URL" matches your domain exactly.

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...

mixhael’s picture

So modified the url. Same problem :(

ferdi’s picture

Can you export the preset and paste it here ?

mixhael’s picture

Or course, here it is:

$fb_social_preset = new stdClass;
$fb_social_preset->disabled = FALSE; /* Edit this to true to make a default fb_social_preset disabled initially */
$fb_social_preset->api_version = 1;
$fb_social_preset->name = 'fb_awene';
$fb_social_preset->description = '';
$fb_social_preset->plugin_type = 'comments';
$fb_social_preset->settings = array(
  'node_types' => array(
    'types' => array(
      'blog' => 'blog',
      'dossier' => 'dossier',
      'page' => 'page',
      'article' => 'article',
      'simplenews' => 'simplenews',
      'petition' => 'petition',
      'poll' => 'poll',
      'ad' => 0,
      'archived_paper' => 0,
      'banner_add' => 0,
      'header_image' => 0,
      'columnist_banner' => 0,
      'video' => 0,
      'webform' => 0,
    ),
  ),
  'plugin_location' => array(
    'display_teasers' => 0,
  ),
  'block' => 0,
);
$fb_social_preset->fb_attrs = array(
  'numposts' => '20',
  'width' => '540',
  'colorscheme' => 'light',
  'migrated' => 0,
);
ferdi’s picture

Looks 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!

mixhael’s picture

Hey 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> -tag

And no: no other related modules installed.

Really really clueless

mixhael’s picture

Could it be that it's because my nodes are built with panels?

mixhael’s picture

Ferdi, 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.

ferdi’s picture

Yes, I see a couple of similar issues. There seems to be a problem when using panels module.

mennonot’s picture

FileSize
2.25 KB

I 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.

ferdi’s picture

No, this is should work independent from the template file. are you using panels too ?
thanks

mennonot’s picture

Nope, 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.

mennonot’s picture

I 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']; ?>

DamienMcKenna’s picture

Version: 6.x-2.0-beta2 » 7.x-2.x-dev
Issue summary: View changes

The module needs some solid Panels integration. Something like #2374123: Added a simple Panels pane wrapper for presets would be a reasonable starting point.