Bài Mới Nhất | Gửi SMS miễn phí | Code ZB | Hỏi Đáp ZB | Chit Chat | Thủ Thuật Blog| Up Hình & TL | Giải Trí |
Welcome Guest [Log In] [Register]


Add Reply
Vấn đề việt hóa forum Zetaboards; việt hóa Zetaboards
Topic Started: 03/03/2010 - 12:25 am (6,932 Views)
sonic
Member Avatar


Armstrong
19/04/2010 - 05:49 pm
Nếu không được thử chèn code này xem
Code: HTML
 
<script type="text/javascript">
if (location.href.indexOf('/index')!=-1) {
$.get(main_url +"forum/964694/1/?cutoff=100&sort_key=unix&sort_by=DESC",function(data) {
$("tr[class*=row]:not(.pin):first", data).each(function() {
x=$(this).find("td.c_cat-title div,ul").remove().end().find("td.c_cat-title").html();
y=$(this).find("td.c_cat-starter").html();
$("div.category:eq(0)").before("<div class='meta_box' style='display:none'><h3>Latest Code</h3><strong>"+x+"</strong> by <strong>"+y+"</strong></div>");
$(".meta_box").slideDown("fast");
});});
jQuery.fn.outerHTML = function(s) {
return (s)
? this.before(s).remove()
: jQuery("<p>").append(this.eq(0).clone()).html();
}
xx=$("#stats_members").html();
yy=xx.split(",");
mm=[];
$("#stats_legend a").unbind('mouseover').mouseover(function() {
while(mm.length) mm.shift();
cc=$(this).find("span").css("color");
$("#stats_members").find("a span").each(function() {
if(this.style.color.indexOf(cc)>-1) {
mm[mm.length] = $(this).parent().outerHTML();
}
});
$("#stats_members").html(mm.join(", "));
}).unbind('mouseout').mouseout(function() {
$("#stats_members").html(xx);});
x=$("td:contains(Total Members:) strong");
y=[];
x.each(function() {y.push($(this).text());});
l = x.parent().find("a");
a = y[0].split(",").join("");
b = y[1].split(",").join("");
c = Math.round(a/b);
$(x).parent().html("Trong diễn đàn TTHL online có <strong>"+y[1]+"</strong> thành viên và có <strong>"+y[0]+"</strong> bài viết. <br />Trong đó khoảng <strong>"+c+"</strong> thành viên tích cực nhất !<br />Chúng ta cùng nâng li chào mừng thành viên <span id='test'></span>mới vừa đăng kí làm thành viên. Chúc bạn luôn vui vẻ !<br />Có nhiều nhất <strong>"+y[3]+"</strong> thành viên online vào thời điểm <strong>"+y[2]+"</strong>! Đó là niềm tự hào của chúng tôi!");
$("#test").append(l);
}
</script>
</script>
cái này thì chỉ khi đăng nhập mới thấy thui hà,bác fix lại dc k
Mời các bạn ghé qua tham khảo nha . Posted Image
Offline Profile Quote Post Goto Top
 
ducteen


chen cái này vô chổ nào vậy ta ?
Offline Profile Quote Post Goto Top
 
tvnannhaungayxua


# Admin CP
# → Theme
# → Board Template
ok
Offline Profile Quote Post Goto Top
 
bacon


trong board statistics minh ko bit thay ban giup minh voi, chi giup ho tro minh nhe, minh mu` tit cai nay a` vi moi tap thoi ban oi!!! ban giup minh nhe thaks ban nhiu
Offline Profile Quote Post Goto Top
 
nguyenduy


Anh Ba post code viet hóa hay thật! Past 1 phát là ok liền! Thanks A nhiều.
Offline Profile Quote Post Goto Top
 
bo_giaktvn


xin hướng dẫn cụ thể bằng hình, hay những bước cơ bản nhất, mình đã tìm nhưng không thấy chỗ để paster code , các bạn giúp mình nhé
Offline Profile Quote Post Goto Top
 
PoliceBoss


AnhBa
08/06/2010 - 12:05 pm
đây nè:
Code:
 
<script language="javascript" src="http://z3.ifrm.com/28111/6/0/f589126/tiengviet.js"></script>


Paste vào đâu vậy pác T_T hix

Quote:
 
Themes
--Edit Board Template
----Javascripts: Any scripts that must be placed before the start of the board.


Mà không được :(
Edited by PoliceBoss, 10/05/2011 - 04:54 pm.
Offline Profile Quote Post Goto Top
 
hien


Cảm ơn bạn nhờ bạn hướng dẫn nên mình làm banh chành forum roài bỏ lun chứ biết gì mà sửa nữa!!!!
Offline Profile Quote Post Goto Top
 
hien


Thả vô ngay edit CSS, bây giờ làm sao quay lại ban đầu hở bạn?
Offline Profile Quote Post Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
ZetaBoards - Free Forum Hosting
Create your own social network with a free forum.
Learn More · Sign-up Now
« Previous Topic · Tphượt cẩm nang · Next Topic »
Add Reply




Xem tốt nhất trên các trình duyệt FireFox hoặc Google Chrome ở độ phân giải 1024 x 768 pixels.
Diễn đàn là một hệ thống mở, chúng tôi sẽ không chịu trách nhiệm về nội dung đăng tải do người dùng đưa lên.