5. In the plugin settings, under FB comments, there's an option to use Facebook comments instead of, or in addition to, regular WordPress comments, but as you can see from the blog post linked above, this isn't working for me.
5. In the plugin settings, under FB comments, there's an option to use Facebook comments instead of, or in addition to, regular WordPress comments, but as you can see from the blog post linked above, this isn't working for me.
10635 pointsLike some sort of WPMU DEV GodMindblowingly helpful memberLifetime member
Sales & Support Lead
—
23rd June 2011 (11 months ago)
#
Hiya,
1. Since I'm on multisite, do I HAVE TO network activate the plugin in order to use all of its features, or can I just activate it blog-by-blog?
Sure. You can activate blog-by-blog but it will operate as an independent instance on each site rather than across the network.
2. Do I need to create a separate Facebook application for each sub-blog, or only for the main blog?
I'm not entirely sure, but I don't think so. I believe the Facebook App relies on the domain name, it can do a wildcard for sub-domain sites as well. As long as this is always the same (not domain mapped or multiple domain names) you should be fine - it may work with mapped domains, but I haven't tested this.
3. I'm getting the FB Connect reg stuff showing in the subblog site admin dashboard (in addition to the network admin dashboard).
This is because you're activating it site-by-site rather than network wide. We may be able to take a look at this - but up until this point we haven't done extensive testing for the setup you're using.
4. I can't get Facebook comments to work. Here's an example sub-blog post. Note that there's no FB comments.
This is probably due to the way your theme is calling the comment form. You could verify this by switching to the default twentyten theme and seeing if the comments then show up correctly. If you look at the FB comment step in the plugin, you'll see instructions at the bottom for how to embed the FB comment form to show up if you're theme isn't compatible.
I've done a bit more digging into issue #4 (FB Comments not showing up), and you're right -- it does work for me with the Twentyten theme.
We use a bunch of themes from WooThemes for our clients, and so far, none of the WooThemes I've tested work with FB comments.
I really don't want to have to edit the theme files for all of the WooThemes to add a custom hook to each, so I dug a little deeper...
TwentyTen seems to use a hook like this: <?php comment_form(); ?>
Whereas WooThemes use a slightly different one: <?php do_action('comment_form', $post->ID); ?>
As an experiment, I went into one of the WooThemes templates and added the TwentyTen hook and it worked -- although it was all jumbled in with the WooThemes comment form.
Is there anything we can do to make these work together?
@nickd32 and @softrealty - Have you guys made any progress with getting comments to work? I've also got a multisite setup with a Woo theme (Canvas), and looking into implementing this on an individual sub-site basis.
@el_Rafa -- To my knowledge, there's nothing you can put in functions.php to alter any functions at that particular place in the code (no hooks there).
Instead, just put the entire comments.php file in your child theme folder.
I will probably get the same With Elegant Themes Want to offer as Premium Themes
Elegant Themes uses the same call <?php do_action('comment_form', $post->ID); ?>
having a go with it myself. It was fixed and then I enabled CDN on the backside. It made me re-create my fb app for the comments. The Like feature works but the hook does not anymore. weird.
Responses (10)
Sales & Support Lead — 23rd June 2011 (11 months ago) #
Hiya,
Sure. You can activate blog-by-blog but it will operate as an independent instance on each site rather than across the network.
I'm not entirely sure, but I don't think so. I believe the Facebook App relies on the domain name, it can do a wildcard for sub-domain sites as well. As long as this is always the same (not domain mapped or multiple domain names) you should be fine - it may work with mapped domains, but I haven't tested this.
This is because you're activating it site-by-site rather than network wide. We may be able to take a look at this - but up until this point we haven't done extensive testing for the setup you're using.
This is probably due to the way your theme is calling the comment form. You could verify this by switching to the default twentyten theme and seeing if the comments then show up correctly. If you look at the FB comment step in the plugin, you'll see instructions at the bottom for how to embed the FB comment form to show up if you're theme isn't compatible.
Hope this helps!
Member — 23rd June 2011 (11 months ago) #
Thanks Mason!
I've done a bit more digging into issue #4 (FB Comments not showing up), and you're right -- it does work for me with the Twentyten theme.
We use a bunch of themes from WooThemes for our clients, and so far, none of the WooThemes I've tested work with FB comments.
I really don't want to have to edit the theme files for all of the WooThemes to add a custom hook to each, so I dug a little deeper...
TwentyTen seems to use a hook like this:
<?php comment_form(); ?>Whereas WooThemes use a slightly different one:
<?php do_action('comment_form', $post->ID); ?>As an experiment, I went into one of the WooThemes templates and added the TwentyTen hook and it worked -- although it was all jumbled in with the WooThemes comment form.
Is there anything we can do to make these work together?
Member — 24th June 2011 (11 months ago) #
@nick32 - I'm just getting started with testing the Ultimate Facebook Plugin as well and we run a very similar setup supporting WooThemes as well.
Thanks for the heads up on the problems you encountered and the notes you provided.
The Ultimate Facebook settings page has a section called Facebook Comments, with the:
- Setting Label: Use a custom hook (advanced).
Have you tested adding 'comment_form' (without quotes) to this Custom Hook setting?
Thanks,
David
Member — 24th June 2011 (11 months ago) #
yes, I tried that -- no joy :-/
Member — 28th June 2011 (11 months ago) #
@nickd32 and @softrealty - Have you guys made any progress with getting comments to work? I've also got a multisite setup with a Woo theme (Canvas), and looking into implementing this on an individual sub-site basis.
Member — 28th June 2011 (11 months ago) #
Nothing yet -- I was only able to get it working by hacking the WooThemes code. I put in my own hook, like @masonjames described in Question #4 above.
Member — 28th June 2011 (11 months ago) #
@nickd32 Were you able to put the change into your child theme's functions.php file to avoid losing changes when updating your theme?
Member — 29th June 2011 (11 months ago) #
@el_Rafa -- To my knowledge, there's nothing you can put in functions.php to alter any functions at that particular place in the code (no hooks there).
Instead, just put the entire comments.php file in your child theme folder.
Member — 30th June 2011 (10 months ago) #
I will probably get the same With Elegant Themes Want to offer as Premium Themes
Elegant Themes uses the same call <?php do_action('comment_form', $post->ID); ?>
Member — 23rd July 2011 (10 months ago) #
having a go with it myself. It was fixed and then I enabled CDN on the backside. It made me re-create my fb app for the comments. The Like feature works but the hook does not anymore. weird.
Become a member