Signature MO D( Chữ kí thành viên ).

Một phần của tài liệu Hướng dẫn tự thiết kế Forum VBB 4.0.X pdf (Trang 49 - 51)

Bạn tải mod Signature tại đây . Upload thư mục HTT lên host trong thu mục /images/ . Vào AdminCP >> Plugins & Products >> Download / Upload Plugin , kéo xuống dưới cùng :

Nhấp vào chọn tệp tin , tìm file HTT.xml . Nhấn Import .

Vào AdminCP >> Styles & Templates >> Style Manager >> Chọn skin cần chỉnh , Edit Templates >> CSS Templates >> postbit.css , kéo xuống dưới và dán đoạn code này vào cuối cùng :

/* HTT Signature */

.htt{

Background:#ffffff;

Border-left:2px solid #dbd8d8;

Border-right:2px solid #dbd8d8;

Padding:10px;

Margin:0;} .htt_001{

Background:url(images/HTT/HTT.itvn/HTT_001.gif) left no-repeat;

Height:43px;} .htt_002{

Background:url(images/HTT/HTT.itvn/HTT_002.gif) repeat-x;

Height:43px;} .htt_003{

Background:url(images/HTT/HTT.itvn/HTT_003.gif) right no-repeat;

Height:43px;} .htt_004{

Background:url(images/HTT/HTT.itvn/HTT_004.gif) left no-repeat;

Height:23px;} .htt_005{

Background:url(images/HTT/HTT.itvn/HTT_005.gif) repeat-x;

Height:23px;} .htt_006{

Background:url(images/HTT/HTT.itvn/HTT_006.gif) right no-repeat;

Height:23px;}

Nhấn Save and Reload .

Vào AdminCP >> Styles & Templates >> Style Manager >> Chọn Skin cần chỉnh , Edit Templates >> postbit_legacy , tìm đoạn code sau :

{vb:raw template_hook.postbit_signature_start}

{vb:raw ad_location.ad_showthread_firstpost_sig} <vb:if condition="$post['signature']">

<blockquote class="signature restore"><div class="signatureconta iner">{vb:raw post.signature}</div></blockquote>

</vb:if>

{vb:raw template_hook.postbit_signature_end}

Thay thế bằng đoạn code sau :

<vb:if condition="$post['signature']"> <vb:if condition="$post['signature']"> <!-- htt --> (adsbygoogle = window.adsbygoogle || []).push({});

<div class="htt_002"><div class="htt_001"><div class="htt_003"> </div></div></div>

<div class="htt"><div style="width:100%;">

<div class="signaturecontainer">{vb:raw post.signature}</div>

</div> </div>

<div class="htt_005"><div class="htt_004"><div class="htt_006"> </div></div></div>

<!-- / htt -->

</vb:if></vb:ì>

Vào AdminCP >> Plugins & Products >> Plugin Manager :

Tìm Chữ ký của HTT.itvn >> Nhấn [Edit] :

Mục Plugin PHP Code , phần tiếng Việt có dấu bạn thay đổi đoạn text tùy ý . Nhấn Save and Reload

.

Một phần của tài liệu Hướng dẫn tự thiết kế Forum VBB 4.0.X pdf (Trang 49 - 51)