Posted Mon Sep 22, 2014 8:08 pm
Details:This code creates a box to comment on facebook only on the first topic
only that the comment can be seen on all pages ..as I can put the ID of the page.
example
where we talk about Mele message also appears in the other threads where we talk about Pere
Screenshot:
Forum Address:http://www.u2market.com/
Forum Version:phpBB .Thank you very much!
- Code:
$(function() {
$('.post-entry:first').after('<div id="myContainer"><div class="fb-comments" data-href="http://www.u2market.com/" data-numposts="5" data-colorscheme="light"></div>');
});
- Code:
<div id="fb-root">
</div><script>(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/it_IT/sdk.js#xfbml=1&appId=146634105351012&version=v2.0";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
only that the comment can be seen on all pages ..as I can put the ID of the page.
example
where we talk about Mele message also appears in the other threads where we talk about Pere
Screenshot:
Forum Address:http://www.u2market.com/
Forum Version:phpBB .Thank you very much!