Replace comments with SEO facebook

Support forum for the Continuum WordPress theme

Moderator: Developers

Replace comments with SEO facebook

Postby arcwin » Wed Sep 12, 2012 9:09 am

My client wants to use facebook only for commenting. I have installed SEO Facebook but still have the comment window that is part of WP. How can I remove these...please see image.
http://screencast.com/t/hYebxnntRe

URL with test comments: http://teapartybeta.development-product ... rom-obama/

Thanks,
Mark
arcwin
 
Posts: 18
Joined: Tue Sep 11, 2012 10:42 pm

Re: Replace comments with SEO facebook

Postby IndustrialThemes » Wed Sep 12, 2012 11:36 am

Try this plugin which lets you disable all default WordPress comments: http://wordpress.org/extend/plugins/disable-comments/
Please read our Support Policy
User avatar
IndustrialThemes
Site Admin
 
Posts: 12784
Joined: Thu Jul 21, 2011 2:06 pm

Re: Replace comments with SEO facebook

Postby arcwin » Wed Sep 12, 2012 11:54 am

when activated, this plugin shuts off all comments including the SEO facebook comments. I trying to get rid of the wordpress comment field and just have the facebook comment fields.

http://screencast.com/t/hYebxnntRe
arcwin
 
Posts: 18
Joined: Tue Sep 11, 2012 10:42 pm

Re: Replace comments with SEO facebook

Postby montage » Wed Sep 12, 2012 5:55 pm

Yes, I'm trying to do the same thing:

Facebook comments posted with accurate count without the Contiuum comment section. Any help from anyone who has done this would be great. I know it can be done as I saw an example here:

http://gemintang.com/seks-dating/temuka ... diri-anda/

Thanks guys
montage
 
Posts: 1
Joined: Wed Sep 12, 2012 5:21 pm

Re: Replace comments with SEO facebook

Postby IndustrialThemes » Wed Sep 12, 2012 9:55 pm

Try adding this to your custom.css file instead:

Code: Select all
#comments {display:none;}
Please read our Support Policy
User avatar
IndustrialThemes
Site Admin
 
Posts: 12784
Joined: Thu Jul 21, 2011 2:06 pm

Re: Replace comments with SEO facebook

Postby arcwin » Thu Sep 13, 2012 6:44 pm

When I place this code, #comments {display:none;}, into the custom.css it strips out all comments including SEO facebook.

Someone replied to this post and showed an example of a site using this theme and facebook comments which is exactly what I am trying to accomplish.

http://gemintang.com/seks-dating/temuka ... diri-anda/

Mark
arcwin
 
Posts: 18
Joined: Tue Sep 11, 2012 10:42 pm

Re: Replace comments with SEO facebook

Postby IndustrialThemes » Thu Sep 13, 2012 7:03 pm

That person did some customizations to the theme to get that result. I'm trying to help you attain the same customizations, although I have no idea exactly what that person did. Try adding this to your custom.css instead of the previous code I supplied:

Code: Select all
.pagination-wrapper.comments {display:none;}
ol.commentlist {display:none;}
Please read our Support Policy
User avatar
IndustrialThemes
Site Admin
 
Posts: 12784
Joined: Thu Jul 21, 2011 2:06 pm

Re: Replace comments with SEO facebook

Postby arcwin » Thu Sep 13, 2012 8:33 pm

I made some progress with just one issue now.

I went to facebook developer and copied the code to be placed into 2 .php files. (header.php and comments.php)

The following code I placed after the </head> in the header.php

<div id="fb-root"></div>
<script>
window.fbAsyncInit = function() {
FB.init({
appId : '318993454865958', // App ID
channelUrl : '//WWW.YOUR_DOMAIN.COM/channel.html', // Channel File
status : true, // check login status
cookie : true, // enable cookies to allow the server to access the session
xfbml : true // parse XFBML
});

// Additional initialization code here
};

// Load the SDK Asynchronously
(function(d){
var js, id = 'facebook-jssdk', ref = d.getElementsByTagName('script')[0];
if (d.getElementById(id)) {return;}
js = d.createElement('script'); js.id = id; js.async = true;
js.src = "//connect.facebook.net/en_US/all.js";
ref.parentNode.insertBefore(js, ref);
}(document));
</script>

Then I placed the following into the comment.php in several places but was only able to get the comment files for facebook to show by placing on the very top.
<div class="fb-comments" data-href="http://teapartybeta.development-production.com/" data-num-posts="10" data-width="470"></div>

I was still getting the wp comments window..."the replies" showing under the facebook replies. So...I deleted all the code in the comment.php with the exception of the above code and everything looks perfect with one exception.

The red box provided by your theme will not show an accurate comment count. http://screencast.com/t/EHK3eZNrFz3F

I'm sure I deleted too much code. I saved the original code so placing it back or part of it is not an issue. Just need to know what code I should put back into the comment.php to recieve an accurate comment count.

URL with facebook comments: http://teapartybeta.development-product ... bama-9156/

Mark
arcwin
 
Posts: 18
Joined: Tue Sep 11, 2012 10:42 pm

Re: Replace comments with SEO facebook

Postby IndustrialThemes » Fri Sep 14, 2012 9:48 am

Thanks for posting this solution for other users to benefit from!

Unfortunately using Facebook comments means your comments are all external and not stored in WordPress, so the default WordPress functions that calculate number of comments are not able to see the external ones and thus not able to display an accurate count. You would need to replace the code used to show the comment count with some sort of code that shows you the number of Facebook comments. Does Facebook provide you with a snippet of code for display comment count?
Please read our Support Policy
User avatar
IndustrialThemes
Site Admin
 
Posts: 12784
Joined: Thu Jul 21, 2011 2:06 pm

Re: Replace comments with SEO facebook

Postby arcwin » Fri Sep 14, 2012 1:36 pm

Yes they do but im not savvy enough to have the count show in the red box provided by your theme. I returned the original comment.php code and just going to have the wp comment window show as a duplicate and require visitors to register in wp to leave comments with no way to register with the exception of login to facebook.

Thank you for the effort,
Mark
arcwin
 
Posts: 18
Joined: Tue Sep 11, 2012 10:42 pm

Re: Replace comments with SEO facebook

Postby IndustrialThemes » Fri Sep 14, 2012 5:11 pm

Sounds like a plan, sorry I don't have time to actually go in and help people with custom code requests right now...
Please read our Support Policy
User avatar
IndustrialThemes
Site Admin
 
Posts: 12784
Joined: Thu Jul 21, 2011 2:06 pm

Re: Replace comments with SEO facebook

Postby BradGriffin » Mon Nov 05, 2012 11:59 am

Not sure if this thread is still active or not, but I got the SEO Facebook plugin to work!
I'm not a rocket surgeon or a brain scientist, but I figured one of Brian's other Facebook Social configurations or the php of the MySql divided by the image ratio of the CSS with the load time of the header file with the permissions setting would not work with the current assimilation of the flux capacitor of the SEO Facebook Plugin.

So... I just unchecked that box.
see attached image
...and it works just fine.

Image
http://www.myburleson.com
User avatar
BradGriffin
 
Posts: 107
Joined: Sun Nov 04, 2012 10:27 pm
Location: Burleson, Texas

Re: Replace comments with SEO facebook

Postby IndustrialThemes » Mon Nov 05, 2012 5:21 pm

Brilliant! Adding to the FAQ now...

Thanks so much!
Please read our Support Policy
User avatar
IndustrialThemes
Site Admin
 
Posts: 12784
Joined: Thu Jul 21, 2011 2:06 pm

Re: Replace comments with SEO facebook

Postby BradGriffin » Mon Nov 05, 2012 10:34 pm

Most of the time when I get something correct on WordPress, it's only because I close my eyes and randomly start clicking the mouse.
User avatar
BradGriffin
 
Posts: 107
Joined: Sun Nov 04, 2012 10:27 pm
Location: Burleson, Texas

Re: Replace comments with SEO facebook

Postby rjay » Fri Nov 16, 2012 11:35 am

Sorry but I don't understand what Brad said ... I think he was trying to be funny, but what box needs to be unticked ?!? The image doesn't work and I can't find the FAQ you're referring to
rjay
 
Posts: 61
Joined: Wed Apr 18, 2012 8:42 am

Re: Replace comments with SEO facebook

Postby IndustrialThemes » Sat Nov 17, 2012 10:40 am

Hey Brad, do you mind quickly explaining what you did? Your image seems to have disappeared and @rjay needs your solution. Thanks!
Please read our Support Policy
User avatar
IndustrialThemes
Site Admin
 
Posts: 12784
Joined: Thu Jul 21, 2011 2:06 pm


Return to Continuum Support

Who is online

Users browsing this forum: No registered users and 2 guests

cron