Thursday, June 28, 2012

Cờ tướng - cờ vua

1. Vầu Post => Edit Pages => New Page

2. Gõ title, "Games", chọn Edit HTML, gòi bết code dưới đơi vầu

<BR>Play Chess with Player
Viewing<BR><BR>
<DIV align=center><EMBED height=600 type=application/x-shockwave-flash width=600
src=http://www.fupa.com/swf/multiplayer-chess-plus-live-chat-and-live-watch/mochi-multi-chess.swf></EMBED>
</DIV><BR>Multiplayer Chinese Chess<BR><BR>
<DIV align=center>
<OBJECT id=game
codeBase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"
classid=clsid:D27CDB6E-AE6D-11cf-96B8-444553540000 width="100%" height=500><PARAM NAME="movie" VALUE="http://www.vietson.com/vscc/vscc_6510c.swf%22%3E%3CPARAM NAME="base" VALUE="http://www.vietson.com/vscc/%22%3E%3CPARAM NAME="flashvars" VALUE=""><PARAM NAME="menu" VALUE="false"><PARAM NAME="quality" VALUE="high"><PARAM NAME="bgcolor" VALUE="#FFFFFF"><PARAM NAME="wmode" VALUE="window">
        <embed src="http://www.vietson.com/vscc/vscc_6510c.swf
base="http://www.vietson.com/vscc/" flashvars="" menu="false" quality="high" 
bgcolor="#FFFFFF" wmode="window"  WIDTH="100%" HEIGHT="500"  NAME="game"
ALIGN=""  TYPE="application/x-shockwave-flash" 
PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer">  </EMBED>
</OBJECT></DIV></DIV>
<DIV style="CLEAR: both"></DIV></DIV>

Tuesday, June 19, 2012

Set font cho header, footer của comment

1. Vầu Design => Template Designer
2. Vầu Advanced => Add CSS
3. Paste code dưới đơi vầu Add CSS:

.comments .comments-content .datetime {
font-size: 20px !important;
}

.comment-header{
font-size: 20px;
}

.post-footer{
font-family: arial !important;
}

Monday, June 18, 2012

Ngăn user không xóa comment

1. Vào Design => Edit HTML

2. Search /* Content

3. Đặt mã sau ngay /* Content

.comment-delete
{
visibility: hidden;
}
.item-control
{
visibility: hidden;
}

Thursday, June 14, 2012

Hiện recent comments theo kiểu Wordpress

Link

Code cho cụ Fa:

1. Vầu Design => Tìm đến "Recent comments" (aka "Cứt đang bốc hơi").
Nếu chưa có "Recent comments" thì click vầu "Add a Gadget" => chọn HTML/JavaScript, bỏ qua bước 2  rồi paste code dưới đơi vầu.

2. Chọn Edit và paste code dưới đơi vầu là nguôn:



<script style=text/javascript src=http://safir85.ucoz.com/bdlab-blogspot/24work/recent-comments/recent-comments-widget.js></script><script style=text/javascript >var a_rc=20;var m_rc=false;var n_rc=true;var o_rc=100;</script><script src=http://liendanhbua.blogspot.com/feeds/comments/default?alt=json-in-script&callback=showrecentcomments ></script><style type=text/css> .rcw-comments a {text-transform: capitalize;} .rcw-comments {border-bottom: 1px dotted; padding-top: 7px!important; padding-bottom: 7px!important;} #rcw-cr {font-family: Arial,Tahoma;font-size:9px;padding-top:7px;display:block;} </style>