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: 5450

Reply to This

Replies to This Discussion

yes

Use this code...

.xg_widget_forum .texteditor {
display: none;
}

The comment box works fine on my network, and for those of you wondering if you can moderate comments, the answer is yes you can!

patrick, Many, many thanks for all your help.

You're welcome Bernard. 

Hi Patrick, I don't have these options showing on my Facebook comments.  I think it may have to do with required meta code, but I have yet to find the problem.  Any chance of getting a copy of your custom code?  Thanks!

Here is the code for photo.

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

Thanks. It works on my site, too.

i had to remove it even though it never worked at all it seemed to cause trouble i heard peole couldnt join my site my joins were very very low for the day and 1 who did join yesterday his profile page disapeared  his accoundr=t seems active but he canrt sign in and his page is gone

ive heard dozens have had crahes and issues related to simular code

No luck here with the code on my network... I get this...a transparent red box with a bar scanning like something is loading and it says......

The comments plugin requires an href parameter.

any ideas what I'm doing wrong or what this means?  Thanks, hope someone has some help.

the first code is the only code that I was able to get to work and it crashes all log in and sign ups attempts on my site. I won't be using this tip and I don't recommend that anyone else use this tip until it is corrected and troubleshooted. 

Bernard thanks for you tip I hate that it doesn't work properly. 

i know someone just post ed that this crashed browsers  and prevented logins and joins well i think it also deleted a members page too its caused alot of trouble and i b-never even got it to work

Fortunately, it works fine for me and some fellow creators. Also it doesn't crash any browsers as of now.  Probably you are using other javascript code which is conflicting with this code.

 

RSS

Latest Activity

Troy Marquis replied to Andrew Sanderson's discussion 'Video chat for ning network'
"skysa"
1 hour ago
Ambroise favorited Eric Suesz's page Ning 3.0 Roadmap
2 hours ago
Ambroise commented on kid k's group 'Ning French Networks'
"Dans le menu, il y a marqué Ning 3.0 lol"
2 hours ago
Jean-Christophe Fa(u)dot commented on kid k's group 'Ning French Networks'
"En ce qui me concerne, c'est à peine si je sais que Ning 3 existe ou va exister !…"
4 hours ago
SM replied to SM's discussion 'How to Target the First Page of your Site with CSS'
"Hi Suzie, here is the code you need to put into your bottom custom code box in the design center…"
5 hours ago
Kos replied to SM's discussion 'How to Target the First Page of your Site with CSS'
"ahhh now that makes sense.  Thanks for clarifying :)"
6 hours ago
Strumelia replied to FedMedic's discussion '3.0 Why is all my text centered?'
"Thanks so much, and please DO let me know what their support team is like, when you first make use…"
7 hours ago
SM replied to SM's discussion 'How to Target the First Page of your Site with CSS'
"Hi Suzie, I'll try to post something more logical with screen shots. But, you'll see -…"
7 hours ago

© 2013   Created by Ning.

Badges  |  Report an Issue  |  Terms of Service