Demo :
Vào viewtopic body
Chèn code này , ở đâu bạn thíc
Kent chỉ yêu cầu bạn chèn link forum thui
[hide]
- Code:
-
<center>
<div>
<iframe
src="http://www.facebook.com/plugins/comments.php?href=http://link_forum/{TOPIC_URL}"
scrolling="no" frameborder="0" data-num-posts="20" style="border:none;
overflow:hidden; width:600px; height:220px; "
allowTransparency="true"></iframe>
</div>
</center>
Ko xóa {TOPIC_URL} nhé
Chú ý: Thay http://link_forum/
bằng link forum của bạn nhé
Code đơn giản thui ...
ko dài dòng nhưng a.e cứ ấn like cho nó nhiệt tình
Hoặc có thể dùng cách này nèk
[ tìm thấy bên 4all ]
[Nếu máy dùng đc fb ]
- 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/vi_VN/all.js#xfbml=1";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
<div class="fb-like" data-href="link" data-send="true" data-width="450" data-show-faces="true"></div>
Chèn vào trên index_body [ Chatbox ]
- Code:
-
<div class="fb-comments" data-href="link forum" data-num-posts="2" data-width="470"></div>
Nội dung đã bị ẩn đi rồi, phải trả lời bài viết mới thấy được
sửa link forum
Dùng cái 1 nó đơn giản nhưng hơi nặg chút
cái 2 thử 9xstudio là bít