Edited: If you use the old code then only members can see the facebook plug-in comment box and they can comment. Please use the new code, both members and non-members can see the facebook plug-in comment box and both members and non-members can comment using facebook account. 

Hey NCs,

Hope you will be very happy after  successfully using my killer tip.

Instruction is very simple: Just copy and paste the  following code into Custom Code. You may want to change data-width follow jay's instruction here.

The Old Code

<script type="text/javascript">
x$(document).ready(function(){
x$("div.texteditor").after('<div id="fb-root"></div><div class="fb-comments"></div>');
});
</script>

The New Code

<script type="text/javascript">
x$(document).ready(function(){
x$("div#discussionReplies").before('<div id="fb-root"></div><div class="fb-comments"></div>');
});
</script>

 

 

Want to give a different look to your ning site?  Mail me at bernardmax2@gmail.com

 

Live Preview: Here

Example:

 

Tags: Add, FACEBOOK, Killer, Tip:, box, comment, every, forum, page., to

Views: 5454

Reply to This

Replies to This Discussion

how can i do that in blogs?

<script type="text/javascript">
x$(document).ready(function(){
if (x$(".xg_widget_profiles_blog_list").length > 0)
x$("p#add-comment").after('<div id="fb-root"></div><div class="fb-comments" data-width="733"></div>');
});
</script>

Thanks, please could be kind enough to Direct me where to add this if you please ?

Paste it into Custom code. You are welcome.

Thanks for the Help,, but it does not seem to show up anywhere though !!

Is your site customized with lots of scripts? If so then probably one code is conflicting with another code.

Where do i have to paste the code to works in blogs?

this is all what i have including yours

<script type="text/javascript">

  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-3994476-1']);
  _gaq.push(['_trackPageview']);

  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();

<script type="text/javascript">
    x$(document).ready(function(){
    if (x$(".xg_widget_profiles_blog_list").length > 0)
    x$("p#add-comment").after('<div id="fb-root"></div><div class="fb-comments" data-width="733"></div>');
    });
    </script>

Why you do not make one good for the 3 cases. CUrrently you have one for posts, other for Photos and now one for Bloggers.

You yourself create the problem, just trying to help. I have the First and Second one. Although I have not tested the one for Photos.

The one for Bloggers just brake down as you say.

Pasted into custom code, doesn't seem to work, anything else that needs to be done?

This custom code you speak off....

there is a Visual button...and a htm- button for when you get ready to share a blog......I have also tired to use this one, to get this to work...seems to be a waist of time, I will not do it again...

not at this site but some where else...I like Ning the way it is...

Same here :(

RSS

Latest Activity

SM replied to SM's discussion 'Just discovered Disqus commenting on Ning - how do we add more features?'
" "
5 minutes ago
Allison Leahy replied to SM's discussion 'Just discovered Disqus commenting on Ning - how do we add more features?'
"To be clear, the suggestion to integrate a Ning login with the Disqus commenting system has been…"
5 minutes ago
SM replied to SM's discussion 'Just discovered Disqus commenting on Ning - how do we add more features?'
"Yes, you can enable it in the Admin Panel. When you use the Universal Code to generate their panel…"
7 minutes ago
SM replied to SM's discussion 'Just discovered Disqus commenting on Ning - how do we add more features?'
"Like Immediately!!!!!!! NOW I WANT IT BAD!!!"
11 minutes ago
Allison Leahy replied to SM's discussion 'Just discovered Disqus commenting on Ning - how do we add more features?'
"How cool. Did not even know this was possible. I'll have to try it out."
11 minutes ago
Jordon McGee (Jords) replied to SM's discussion 'Just discovered Disqus commenting on Ning - how do we add more features?'
"WOOOO!!!!!! Ning's API needs to be capable for this ASAP!!!"
13 minutes ago
SM replied to SM's discussion 'Just discovered Disqus commenting on Ning - how do we add more features?'
"AMAZING NEWS!!!!!!!!!!!!!!!!! SSO is FREE!!!   Just got an email back from Jon at…"
14 minutes ago
Yaron replied to Allison Leahy's discussion 'Changes to Ning 3.0 Based on Your Feedback'
"Hi Allison.. did you happen to see this post?"
19 minutes ago

© 2013   Created by Ning.

Badges  |  Report an Issue  |  Terms of Service