PDA

View Full Version : Hướng dẫn đóng khung thông tin chi tiết cho VBB 4.x



Pages : [1] 2

HTT.itvn
10-06-2010, 01:01 AM
Mấy ngày qua nhiều thành viên thắc mắc về cách đóng khung từng thông tin ở mục thông tin , nay mình hướng dẫn chi tiết cho các bạn đóng khung từng thông tin cụ thể :

Bước 1 : vào Admin CP >> Styles & Templates >> Search in Templates >> ở mục Search for Text gõ posbit.css ( nhớ tick vào ô Đồng ý ở mục Tìm trong tựa đề >> Find >> Kick vào postbit.css >> Dán code sau vào cuối cùng :
(Bài viết của HTT.itvn )



/* eTiKeT Postbit_Legacy*/
.eti_postbit_merkezli {
padding-left: 4px;
padding-right: 2px;
padding-top: 2px;
padding-bottom: 2px;
background-color: #efefef;
border-top: 1px solid #dddddd;
border-right: 1px solid #dddddd;
border-left: 1px solid #c4c4c4;
border-bottom: 1px solid #c4c4c4;
margin-bottom: 4px;
text-align:center;
-moz-box-shadow: 0 2px 6px #b3b3b3;
-webkit-box-shadow: -1px 2px 2px #b3b3b3;
-moz-border-radius-bottom{vb:stylevar left}:6px;
-moz-border-radius-top{vb:stylevar right}:6px;
-webkit-border-top-{vb:stylevar right}-radius: {vb:stylevar threadlisthead_top_corner_radius};
-webkit-border-bottom-{vb:stylevar left}-radius: {vb:stylevar threadlisthead_top_corner_radius};}

.eti_postbit {
padding-left: 4px;
padding-right: 2px;
padding-top: 2px;
padding-bottom: 2px;
background-color: #efefef;
border-top: 1px solid #dddddd;
border-right: 1px solid #dddddd;
border-left: 1px solid #c4c4c4;
border-bottom: 1px solid #c4c4c4;
margin-bottom: 4px;
-moz-box-shadow: 0 2px 6px #b3b3b3;
-webkit-box-shadow: -1px 2px 2px #b3b3b3;
-moz-border-radius-bottom{vb:stylevar left}:6px;
-moz-border-radius-top{vb:stylevar right}:6px;
-webkit-border-top-{vb:stylevar right}-radius: {vb:stylevar threadlisthead_top_corner_radius};
-webkit-border-bottom-{vb:stylevar left}-radius: {vb:stylevar threadlisthead_top_corner_radius};
}

.itvnn_postbit {
text-align:center;
}


Save and Reload ( Bài viết của HTT.itvn)

Bước 2 : Đóng khung từng chi tiết .

- Đưa thông tin tên thành viên vào giữa
Demo : như diễn đàn này .
Admin CP >> Styles & Templates >> Style manager >> Chọn skin cần chỉnh , edit templates >> Postbit templates >> Postbit_legacy >> Tìm đoạn code sau :



<div class="username_container">
<vb:if condition="$post['userid']">

{vb:raw memberaction_dropdown}
{vb:raw post.onlinestatus}
<vb:else />
<span class="username guest">{vb:raw post.musername}</span>
</vb:if>
</div>


Thêm thẻ <div class="itvnn_postbit">......</div> như sau ( chú ý chữ màu đỏ ) .



<div class="username_container">
<vb:if condition="$post['userid']">
<div class="itvnn_postbit">
{vb:raw memberaction_dropdown}
{vb:raw post.onlinestatus}
<vb:else />
<span class="username guest">{vb:raw post.musername}</span>
</vb:if>
</div></div>

Save and reload ( Bài Viết của HTT.itvn)
Vào diễn đàn của bạn để xem kết quả .

- Màu nick :
Admin CP >> Usergroups >> Usergroup Manager >> Administrators . Kick vào Tiếp tục >> Mục Username HTML Markup , ở ô đầu tiên bạn gán thẻ <b><font color=red> ( chữ màu đỏ là bạn có thể thay đổi sang màu khác như : blue , green , gray ,...) , ở ô thứ 2 bạn gán thẻ kết thúc </font></b> . Các mục khác để nguyên . Kick vào Update .

Tương tự với Smod , mod và Member . ( Bài Viết của HTT.itvn)

- Gán biểu tượng hình ảnh cho admin , smod , mod và member .

Demo : Như diễn đàn này .
Đầu tiên tải file ảnh về tại (http://www.mediafire.com/?zmyjznhejig) đây (http://www.mediafire.com/?zmyjznhejig) và upload lên thư mục images/ranks/ trong host .
Admin CP >> User Ranks >> Add New User Ranks >> Mục Usergroup chọn Administrators , ở mục Minimum Posts để giá trị 0 và mục User Rank File Path gõ đường dẫn file ảnh là images/ranks/admin.gif >> Save . ( Bài Viết của HTT.itvn)
Tương tự với smod , mod và member .
Sau khi làm xong bạn phải vào User rank manager để kích hoạt , kick vào update user titles and ranks >> Ở mục đầu tiên kick vào update user titles and ranks lần nữa .
Nhấn F5 để xem thành quả .

P/s : Những thắc mắc - góp ý thì viết tại đây và kiên trì chờ trả lời , mình sẽ trả lời nhanh nếu có thể . Nhiều bạn mới hỏi có vài 3 phút rồi spam liên tục để gây chú ý . Không phải ai cũng online 24/24 .

HTT.itvn
10-06-2010, 02:29 AM
- Thêm thông tin như Địa chỉ , tên thật , năm sinh , ....
+ Đầu tiên chúng ta thêm thông tin tên thật .
Vào Admin CP >> User Profile Fields >> Add New User Profile Field >> Ở mục Profile Field Type chọn Single-Line Text Box >> Continue >> Mục chủ đề gõ : Họ và tên , mục Description gõ : Họ tên thật của bạn , mục Max length of allowed user input ghi giá trị 30 ( độ dài của tên ) , các mục khác để nguyên >> Save .
Bảng User Profile Fields in Area: Edit Profile xuất hiện , bạn chú ý chữ số kèm theo chữ field sau nó . Ví dụ : field5 thì mình nhớ chữ số 5 .
Tiếp theo ta cho nó hiển thị và đóng khung nó , bạn làm như sau :
Admin CP >> Styles & Templates >> Style manager >> Chọn skin cần chỉnh , edit templates >> Postbit templates >> Postbit_legacy >> Tìm đoạn code sau :

<vb:if condition="$post['userid']">
<hr />
<dl class="userinfo_extra">

Chèn xuống dưới đoạn code sau :


<vb:if condition="$post['fieldx']"><div class="eti_postbit">Họ tên : {vb:raw post.fieldx}</div></vb:if>
Với chú ý là chữ x màu đỏ là số field mà bạn phải ghi nhớ mà mình đã nhắc ở trên , như ví dụ của mình thì đoạn code như sau :


<vb:if condition="$post['field5']"><div class="eti_postbit">Họ tên : {vb:raw post.field5}</div></vb:if>

Save and reload . Nhấn F5 để kiểm tra .( Bài Viết của HTT.itvn)
+ Thêm thông tin địa chỉ ( thông tin giới tính , năm sinh , ... cũng tương tự ) .
Vào Admin CP >> User Profile Fields >> Add New User Profile Field >> Ở mục Profile Field Type chọn Single-Selection Menu >> Continue >> Mục chủ đề gõ Địa chỉ , mục Description gõ Tỉnh/Thành Phố và mục Tùy Chọn gõ tên các tỉnh thành , phân biệt lựa chọn bởi 1 dấu xuống dòng :

An Giang
Bà Rịa - Vũng Tàu
Bạc Liêu
Bắc Cạn
Bắc Giang
Bắc Ninh
Bến Tre
Bình Dương
Bình Định
Bình Phước
Bình Thuận
Cà Mau
Cao Bằng
Cần Thơ
Đà Nẵng
Đắk Lắk
Đắk Nông
Đồng Nai
Đồng Tháp
Gia Lai
Hà Giang
Hà Nam
Hà Nội
Hà Tây
Hà Tĩnh
Hải Dương
Hải Phòng
Hậu Giang
Hoà Bình
Thành phố Hồ Chí Minh
Hưng Yên
Khánh Hoà
Kiên Giang
Kon Tum
Lai Châu
Lạng Sơn
Lào Cai
Lâm Đồng
Long An
Nam Định
Nghệ An
Ninh Bình
Ninh Thuận
Phú Thọ
Phú Yên
Quảng Bình
Quảng Nam
Quảng Ngãi
Quảng Ninh
Quảng Trị
Sóc Trăng
Sơn La
Tây Ninh
Thái Bình
Thái Nguyên
Thanh Hoá
Thừa Thiên-Huế
Tiền Giang
Trà Vinh
Tuyên Quang
Vĩnh Long
Vĩnh Phúc
Yên Bái
Các mục khác để nguyên và save . Chú ý số Field nhé .
Sau đó cho hiển thị thông tin : Admin CP >> Styles & Templates >> Style manager >> Chọn skin cần chỉnh , edit templates >> Postbit templates >> Postbit_legacy >> Tìm đoạn code mà ta đã thêm thông tin họ tên ở trên và chèn đoạn code sau xuống dưới :

<vb:if condition="$post['fieldx']"><div class="eti_postbit">Ðến từ : {vb:raw post.fieldx}</div></vb:if>
Chú ý thay số field nhé :)
+ Đóng khung thông tin số bài viết , thành viên thứ , ...
Ngay ở dòng kế tiếp bạn sẽ thấy đoạn code cần đóng , bạn chú ý thẻ < div class=" .... " >....</div> và bạn thay thế thẻ <div class="eti_postbit">....</div>.

Toàn bộ code hoàn chỉnh của mình như sau :( Bài Viết của HTT.itvn)


<dl class="userinfo_extra">
<vb:if condition="$post['field5']"><div class="eti_postbit">Họ tên : {vb:raw post.field5}</div></vb:if>
<vb:if condition="$post['field6']"><div class="eti_postbit">Ðến từ : {vb:raw post.field6}</div></vb:if>
<vb:if condition="$post['field7']"><div class="eti_postbit">Năm sinh : {vb:raw post.field7}</div></vb:if>
<vb:if condition="$post['field8']"><div class="eti_postbit">Giới tính : {vb:raw post.field8}</div></vb:if>
<vb:if condition="$post['joindate']"><div class="eti_postbit"><dt>{vb:rawphrase join_date}</dt> <dd>{vb:raw post.joindate}</dd></div></vb:if>
<vb:if condition="$post['field2']"><dt>{vb:rawphrase location_perm}</dt> <dd>{vb:raw post.field2}</dd></vb:if>
<vb:if condition="$post['age']"><dt>{vb:rawphrase age}</dt> <dd>{vb:raw post.age}</dd></vb:if>
<div class="eti_postbit"><dt>{vb:rawphrase 'posts'}</dt> <dd>{vb:raw post.posts}</dd></div>
{vb:raw template_hook.postbit_userinfo_right_after_posts}
</dl>

Đoạn code trên nằm dưới thẻ ( ngay sau mod avatar ) :( Bài Viết của HTT.itvn)


<vb:if condition="$post['userid']">
<hr />

HTT.itvn
10-06-2010, 03:08 AM
- Đóng khung level
+ Nếu bạn dùng Mod level như diễn đàn này thì bạn đóng khung như sau :
Admin CP >> Styles & Templates >> Style manager >> Chọn skin cần chỉnh , edit templates >> Postbit templates >> postbit_userlevel >> Chèn code sau lên đầu :


< div class="eti_postbit">
Chèn code sau nằm cuối :
</div>

Toàn bộ code level sau khi chèn thẻ :( Bài Viết của HTT.itvn)



<div class="eti_postbit"><br />
<div align="left" class="userlevelContainer">
<div class="smallfont">{vb:rawphrase userlevel_level}:&nbsp;{vb:raw showlevel}&nbsp;<vb:if condition="$show['hl']">[<a href="faq.php?{vb:raw session.sessionurl}faq=vb3_user_profile#faq_vb3_us er_level">?</a>]</vb:if><br />
{vb:rawphrase userlevel_experience}:&nbsp;{vb:raw exp}<br />
{vb:rawphrase userlevel_nextlevel}:&nbsp;{vb:raw nextexp}</div>
<div class="alt2" style="text-align:left; width:102px; background-color: #fff; border:1px; height:11px; border-style:solid;" title="{vb:rawphrase userlevel_needexp, {vb:raw nextexp}}">
<div style="width:{vb:raw ewidth}; height:9px; margin:1px; background-image: url({vb:stylevar imgdir_misc}/userlevel.gif); background-repeat:repeat-x;"></div>
</div>
</div><br /></div>

Nếu bạn dùng mod level clasic ( mod level có cộng trừ điểm sau khi thank ) thì làm như sau :( Bài Viết của HTT.itvn)

Vào Admin CP >> Styles & Templates >> Tìm level_postbit_showlevel_legacy >> Code như sau :



<!-- Level & Class System v3.0 - Posbit -->
<dl class="userinfo_extra">
<div class="eti_postbit"><div class="level_class_legacy">
<div class="lv_tr">
<div class="lv_td">{vb:raw lv.level}</div>
</div>
<div class="class_tr">
<div class="class_td">{vb:raw class.name}</div>
</div>
<div class="exp_tr">
<div class="exp_td" style="background:transparent url(level_class/img/ExpBar.gif) {vb:raw lv.epfx} 2px no-repeat;" title="{vb:rawphrase lv_exp}: {vb:raw lv.exp}/{vb:raw lv.maxEXP} ({vb:raw lv.epf}%)">&nbsp;</div>
</div>
<div class="exp_tr">
<div class="exp_td" style="background:transparent url(level_class/img/SpBar.gif) {vb:raw lv.spfx} 1px no-repeat;" title="{vb:rawphrase lv_sp}: {vb:raw lv.sp}/{vb:raw class.maxsp} ({vb:raw lv.spf}%)">&nbsp;</div>
</div>
<div style="font-size:11px;margin-top:2px">{vb:rawphrase lv_plusmess,{vb:raw lv.userid},{vb:raw lv.plus_times},{vb:raw lv.minus_times},{vb:raw lv.total}}</div>
</div></div>
</dl>
<!-- / Level & Class System v3.0 - Posbit -->

( Bài Viết của HTT.itvn)
Chú ý thẻ màu đỏ là thẻ cần chèn :)

HTT.itvn
10-06-2010, 03:29 AM
- Đóng khung Thank
Demo : như diễn đàn này .
Nếu bạn dùng mod Post Thank You Hack ( hoặc các phiên bản tương tự ) thì bạn làm theo cách này :

Admin CP >> Styles & Templates >> Style manager >> Chọn skin cần chỉnh , edit templates >> Post Thank You Hack Templates >> post_thanks_postbit_info >> Chèn thẻ
<div class="eti_postbit">....</div> như sau :( Bài Viết của HTT.itvn)



<vb:if condition="$post['userid']">
<div class="eti_postbit"><dt>{vb:rawphrase post_thanks_thanks}</dt> <dd>{vb:raw post.post_thanks_user_amount_formatted}</dd></div>

<div class="eti_postbit"><vb:if condition="$post['post_thanks_thanked_times'] == 1">
<dd float: {vb:stylevar left};">{vb:rawphrase post_thanks_time_post}</dd>
<vb:elseif condition="$post['post_thanks_thanked_posts'] == 1" />
<dd float: {vb:stylevar left};">{vb:rawphrase post_thanks_times_post, {vb:raw post.post_thanks_thanked_times_formatted}}</dd>
<vb:else />
<dd float: {vb:stylevar left};">{vb:rawphrase post_thanks_times_posts, {vb:raw post.post_thanks_thanked_times_formatted}, {vb:raw post.post_thanks_thanked_posts_formatted}}</dd>
</vb:if></div>
</vb:if>
Save and reload

- Đóng khung cho Blog :

Vào AdminCP >> Styles & Templates >> Style Manager >> Blog Templates >> blog_postbit_entrtes_link :


<div class="eti_postbit"><dt>{vb:rawphrase blog_entries}</dt><dd><a href="{vb:link blog, {vb:raw post}, null, 'userid', 'blog_title'}">{vb:raw post.entries}</a></dd></div>

Save and Reload .


- Viết của HTT.itvn)

tnquang
15-06-2010, 05:22 PM
phần thanks thì mình add ok rồi, còn phần thanked thì cái khung bị lỗi. kỳ vậy ta ?



<div class="eti_postbit"><vb:if condition="$post['post_thanks_thanked_times'] == 1">
<dd float: {vb:stylevar left};">{vb:rawphrase post_thanks_time_post}</dd>
<vb:elseif condition="$post['post_thanks_thanked_posts'] == 1" />
<dd float: {vb:stylevar left};">{vb:rawphrase post_thanks_times_post, {vb:raw post.post_thanks_thanked_times_formatted}}</dd>
<vb:else />
<dd float: {vb:stylevar left};">{vb:rawphrase post_thanks_times_posts, {vb:raw post.post_thanks_thanked_times_formatted}, {vb:raw post.post_thanks_thanked_posts_formatted}}</dd>
</vb:if></div>


bạn check lại hộ

Đây là code bên mình



<vb:if condition="$post['userid']">
<div class="eti_postbit"><dt>{vb:rawphrase post_thanks_thanks}</dt> <dd>{vb:raw post.post_thanks_user_amount_formatted}</dd></div>

<div class="eti_postbit"><vb:if condition="$post['post_thanks_thanked_times'] == 1">
<dd style="white-space:nowrap; display:inline; float: {vb:stylevar right};">{vb:rawphrase post_thanks_time_post}</dd>
<vb:elseif condition="$post['post_thanks_thanked_posts'] == 1" />
<dd style="white-space:nowrap; display:inline; float: {vb:stylevar right};">{vb:rawphrase post_thanks_times_post, {vb:raw post.post_thanks_thanked_times_formatted}}</dd>
<vb:else />
<dd style="white-space:nowrap; display:inline; float: {vb:stylevar right};">{vb:rawphrase post_thanks_times_posts, {vb:raw post.post_thanks_thanked_times_formatted}, {vb:raw post.post_thanks_thanked_posts_formatted}}</dd>
</vb:if></div>
</vb:if>


P/s : Mình cho mấy thẻ code vào thẻ quote cho dễ nhìn code . HTT.itvn

HTT.itvn
15-06-2010, 06:13 PM
Có phải cái khung không đóng đúng dòng Thanked phải không ? Mình cũng đã bị lỗi này .


<vb:if condition="$post['userid']">
<div class="eti_postbit"><dt>{vb:rawphrase post_thanks_thanks}</dt> <dd>{vb:raw post.post_thanks_user_amount_formatted}</dd></div>

<div class="eti_postbit"><vb:if condition="$post['post_thanks_thanked_times'] == 1">
<dd style="white-space:nowrap; display:inline; float: {vb:stylevar right};">{vb:rawphrase post_thanks_time_post}</dd>
<vb:elseif condition="$post['post_thanks_thanked_posts'] == 1" />
<dd style="white-space:nowrap; display:inline; float: {vb:stylevar right};">{vb:rawphrase post_thanks_times_post, {vb:raw post.post_thanks_thanked_times_formatted}}</dd>
<vb:else />
<dd style="white-space:nowrap; display:inline; float: {vb:stylevar right};">{vb:rawphrase post_thanks_times_posts, {vb:raw post.post_thanks_thanked_times_formatted}, {vb:raw post.post_thanks_thanked_posts_formatted}}</dd>
</vb:if></div>
</vb:if>

Do cái dòng màu đỏ làm cho thẻ của bạn không đóng khung được , bạn chỉ việc xoá dòng màu đỏ đó đi , nếu thấy lỗi eror thì thay right thành left :MatCuoi (1):
Nếu bạn dùng Thank post You Hack 7.82 thì bạn có thể coppy toàn bộ code trên của mình vào post_thank_postbit_info .

tnquang
15-06-2010, 08:01 PM
Ồ, được rồi, cảm ơn bạn. Mình cũng thấy kỳ kỳ nhưng không dám del cái code đó ^_^. Tính dùng cái code thank của diễn đàn nhưng cài vào nó không cho nên dùng cái 7.82

HTT.itvn
15-06-2010, 11:08 PM
Cái code mà bạn đưa ra ở trên là code default của Thank Post You Hack 7.82 mà , lỗi eror là do bạn chưa thay right thành left .
Mình đang viết ebook về forum VBB 4.0.x nên cần ý kiến của bạn .

LightHurt
17-06-2010, 04:59 PM
bạn giúp mình đóng khung cái Blog đi, nó ko có ở Postbit_legacy và mình ko biết đóng khung nó ở temple nào nữa

HTT.itvn
17-06-2010, 10:01 PM
bạn giúp mình đóng khung cái Blog đi, nó ko có ở Postbit_legacy và mình ko biết đóng khung nó ở temple nào nữa

Bạn cho mình biết bạn đang dùng loại mod blog gì ? Phiên bản ? Để mình còn tìm trong temp :)

HTT.itvn
17-06-2010, 10:14 PM
Mình dùng bản 4.0.3, cài style Element. Có một vấn đề nhỏ là khi mình login, ở ô login có sẵn những chử, biểu tượng như "username" và những dấu * của pass. Khi click vào đó thì những nó không tự mất đi, mình phải del nó để nhập chử vào. Như vậy quá bất tiện. Bạn có thể chỉ mình cách fix không? Một số style không bị lỗi này.

Có thể style của bạn nặng quá nên upload chậm , mình cũng bị thế này . Chờ khoảng 1 phút thì mới được như bình thường .

P/s : Bạn có hỏi gì thì hỏi qua đây nhé . Để người khác còn biết nữa chứ .

LightHurt
18-06-2010, 12:19 PM
Bạn cho mình biết bạn đang dùng loại mod blog gì ? Phiên bản ? Để mình còn tìm trong temp :)

mình dùng vbb4.0.3, lúc cài đặt 4rum nó đi kèm với blog và trang chủ chứ mình ko cài mod blog riêng, trong Product có vBulletin Blog ver 4.0.3

LightHurt
21-06-2010, 11:31 AM
hic xin lỗi spam nhưng bạn đã tìm ra chỗ đóng khung chưa :(

HTT.itvn
22-06-2010, 06:15 PM
hic xin lỗi spam nhưng bạn đã tìm ra chỗ đóng khung chưa :(


Xin lỗi bạn , dạo này mạng nhà mình bị đứt nên chưa thể online suốt được , đang dùng ké mạng phòng bên . Khi nào nhà mạng sữa lại đường dây mình sẽ tìm hiểu .

Bạn tìm đến Vietvbb Templates >> vietvbb_topstats_top_bloggers : Gán thẻ <div class="eti_postbit"> ... </div> đầu và cuối xem sao nhé .

Ví dụ của mình :


<div class="eti_postbit"><div class="topx-bit">
<em title="{vb:rawphrase entries}">
{vb:raw content.entries}
</em>
<span class="topx-content-menu">
<a href="{vb:link blog, {vb:raw content}, null, 'userid', 'fullusername'}" title="{vb:raw content.fullusername}">{vb:raw content.musername}</a>
</span>
</div></div>

Tuơng tự với vietvbb_topstats_blog_info :

<div class="eti_postbit"><div class="floatcontainer forumbit_nopost" id="tip_{vb:raw content.blogid}" style="display:none;">
<div class="forumhead foruminfo topx-tip-head" style="margin-top:0px;">
<h2>
<span class="forumtitle">{vb:rawphrase info}</span>
</h2>
</div>
<div class="childforum forumbit_post">
<div class="forumrow table topx-tip-info">
<div> • <strong>{vb:rawphrase title}:</strong> <a href="{vb:link entry, {vb:raw content}, null, 'blogid', 'fullblogtitle'}">{vb:raw content.fullblogtitle}</a></div>
<div> • <strong>{vb:rawphrase posted_by}:</strong> <a href="{vb:link member, {vb:raw content}, null, 'postedby_userid', 'postedby_username'}">{vb:raw content.postedby_username}</a></div>
<div> • <strong>{vb:rawphrase time}:</strong> {vb:raw content.startdate} {vb:rawphrase at} {vb:raw content.starttime}</div>
<div> • <strong>{vb:rawphrase vietvbb_in}:</strong> <a href="{vb:link blog, {vb:raw content}, null, 'userid', 'username'}">{vb:raw content.username}</a></div>
<hr />
<div> • <strong>{vb:rawphrase vietvbb_last_comment_by}:</strong> {vb:raw content.lastcommenter}</div>
<div> • <strong>{vb:rawphrase vietvbb_last_comment_time}:</strong> {vb:raw content.lastpostdate} {vb:rawphrase at} {vb:raw content.lastposttime}</div>
<hr />
<div> • <strong>{vb:rawphrase views}:</strong> {vb:raw content.views}</div>
<div> • <strong>{vb:rawphrase vietvbb_comments}:</strong> {vb:raw content.comments_visible}</div>
</div>
</div>
</div></div>

LightHurt
22-06-2010, 06:52 PM
mình đã làm theo cách trên nhưng vẫn ko được bạn ạ

HTT.itvn
23-06-2010, 07:19 PM
mình đã làm theo cách trên nhưng vẫn ko được bạn ạ

Vì forum của mình đã gỡ bổ hết những gì liên quan đến blog nên không thể kiểm tra được . Trong thời gian tới mình sẽ hoàn thành xong ebook cho Vbb 4.0.x nên cũng cần những ý kiến của bạn để bổ sung ebook .

Mình đã gửi tin nhắn trong ITVNN cho bạn , bạn vao xem nhé !

tnquang
23-06-2010, 08:19 PM
Có thể style của bạn nặng quá nên upload chậm , mình cũng bị thế này . Chờ khoảng 1 phút thì mới được như bình thường .

P/s : Bạn có hỏi gì thì hỏi qua đây nhé . Để người khác còn biết nữa chứ .

Cám ơn bạn, tuy nhiên hiện tượng này không phải bị nặng style mà do sao đó mình không rõ. Nó khá bất tiện cho những người không quen. Click vào username thì không mất chử, dùng tab sang pass cũng không mất mấy dấu *. Chờ lâu cũng vậy hà. Mà cái style này thì mình nghĩ nó không có gì nặng hết :(
PS: style mới của diễn đàn bị lỗi hay sao á, bể hình tùm lum kìa.

hau_ooo
23-06-2010, 08:30 PM
:MatCuoi (31): Xung đột js
Vì ko biết rõ bạn dùng những file nào nên chỉ có 1 lời khuyên là quay về skin mặc định xem

HTT.itvn
25-06-2010, 02:09 AM
mình đã làm theo cách trên nhưng vẫn ko được bạn ạ

Sau một hồi căng mắt ra nhìn vì temp blog nhiều quá mà chưa biết cái nào để đóng khung blog , vào forum của bạn thì mình để ý là có chữ số kick vào là vô blog >> Tức cái này liên quan đến link >> Hoá ra temp cần đóng khung là blog_postbit_entries_link >> Thành công :MatCuoi: . Mình đã đóng khung blog và mod trạng thái cho bạn , có nhiều khung bạn bị lỗi nhưng mình không dám can thiệp sâu vào mà để bạn tự làm .

Đã có thêm phần đóng khung cho blog ở trang 1 .

itpro1210
25-06-2010, 03:47 AM
Cái code mà bạn đưa ra ở trên là code default của Thank Post You Hack 7.82 mà , lỗi eror là do bạn chưa thay right thành left .
Mình đang viết ebook về forum VBB 4.0.x nên cần ý kiến của bạn .

ủng hộ hết mình nếu khi nào cho ra ebook 4.0.x thì info cho tớ với mail: [email protected], thanks :)

Duy_Boxing
27-06-2010, 12:46 AM
Không hiều sao làm giống như cách trên mà khung Thanks của mình vẫn ko đóng nhỉ
http://suckhoengaynay.com/showthread.php?t=45&p=58#post58

HTT.itvn
27-06-2010, 12:57 PM
Không hiều sao làm giống như cách trên mà khung Thanks của mình vẫn ko đóng nhỉ
http://suckhoengaynay.com/showthread.php?t=45&p=58#post58

Bạn đã thực hiện bước 1 chưa ? Chưa thực hiện thì làm sao đóng khung được . Nếu không được , bạn đưa code của bạn cho mình xem nhé .

kendy_boy09
14-07-2010, 10:50 AM
bạn hướng dẫn mình tạo ô thông tin ngày tháng năm sinh và giới tính với :| mình ko biết làm

HTT.itvn
14-07-2010, 02:20 PM
- Giới tính :

Vào Admin CP >> User Profile Fields >> Add New User Profile Field >> Ở mục Profile Field Type chọn Single-Selection Menu >> Continue >> Mục chủ đề gõ Giới tính , mục Description gõ Giới tính của bạn và mục Tùy Chọn gõ các lựa chọn , phân biệt lựa chọn bởi 1 dấu xuống dòng :

Nam
Nữ
Đồng tính
Các mục khác để nguyên và save . Chú ý số Field nhé .
Sau đó cho hiển thị thông tin : Admin CP >> Styles & Templates >> Style manager >> Chọn skin cần chỉnh , edit templates >> Postbit templates >> Postbit_legacy >> Tìm đoạn code mà ta đã thêm thông tin họ tên ở trên ( ngay trang 1 của topic này ) và chèn đoạn code sau xuống dưới :


<vb:if condition="$post['fieldx']"><div class="eti_postbit">Giới tính : {vb:raw post.fieldx}</div></vb:if>

Chú ý thay số field nhé ( Chữ X in đậm )

- Tương tụ với năm sinh .

Kid_Andy
14-07-2010, 09:50 PM
Bước 1 : vào Admin CP >> Styles & Templates >> Search in Templates >> ở mục Search for Text gõ posbit.css

Em dùng style default, khi search postbit.css thì nó không hiện ra cái gì để chỉnh sửa ạ T_T

HTT.itvn
14-07-2010, 09:58 PM
Có mà em , em vào theo cách này :

Admin CP >> Styles & Templates >> Style manager >> Chọn skin cần chỉnh , edit templates >> CSS templates >> Postbit.css

xayda
15-07-2010, 09:12 AM
tình hình la mình làm y chang như trên nhưng nó không đống được khung nào cả
demo:http://teenlt.net/teenlt/showthread.php?866-Cư-dân-mạng-xôn-xao-với-ảnh-ăn-chơi-quot-quá-đà-quot-của-Ngọc-Trai&p=2362#post2362
code posbit.css


@charset "UTF-8";
/* CSS Document */
/* last edited notice */
.lastedited {
font-style:italic;
padding-top: 1em;
color: {vb:stylevar body_color};
font-size: {vb:stylevar small_fontSize};
/* clear:both; */
}
.lastedited a {
color: {vb:stylevar body_color};
}
/* reputation image */
.postbit_reputation {
padding:0 0 0 3px;
clear:both;
display:block;
}
img.repimg {
padding:0;
margin:0 0 0 -3px;
display:inline;
}
.quickedit {
border-top: {vb:stylevar tabslight_border};
}
/*signature */
.signature {
padding-top: 1em;
border-top: {vb:stylevar postbit_border};
margin-top: 2em;
}

/*post bit*/
.postbit, .postbitlegacy, .eventbit {
margin-bottom: {vb:stylevar padding};
display:block;
width: 100%;
clear:both;
position: relative;
float: {vb:stylevar left};
color: {vb:stylevar body_color};
border: {vb:stylevar postbit_border};
}
.postbit object {
clear:both;
}
.postbit .postdetails {
width: 100%;
display:block;
float: {vb:stylevar left};
}
.postbit .posthead, .postbitlegacy .posthead, .eventbit .eventhead {
background: {vb:stylevar postbithead_background};
_background-image: none;
border: {vb:stylevar postbithead_border};
clear:both;
display:block;
float: {vb:stylevar left};
width: 100%;
color: {vb:stylevar postbithead_color};
margin: -{vb:stylevar postbithead_border.borderWidth}{vb:stylevar postbithead_border.units} -{vb:stylevar postbithead_border.borderWidth}{vb:stylevar postbithead_border.units} 0;
font: {vb:stylevar postbithead_font};
padding: 4px 0;
}
.postbit .posthead .postdate, .postbitlegacy .posthead .postdate {
display:block;
float:{vb:stylevar left};
clear:{vb:stylevar right};
width: 49%;
margin-{vb:stylevar left}: 10px;
font: {vb:stylevar postbithead_font};
padding-{vb:stylevar left}: 15px;
}
.postbit .posthead .postdate.old, .postbitlegacy .posthead .postdate.old {
background:transparent url({vb:stylevar imgdir_statusicon}/post_old.png) no-repeat center {vb:stylevar left};
}
.postbit .posthead .postdate.new, .postbitlegacy .posthead .postdate.new {
background:transparent url({vb:stylevar imgdir_statusicon}/post_new.png) no-repeat center {vb:stylevar left};
}
.postbit .postdate .time {
color: {vb:stylevar postbithead_color};
margin-{vb:stylevar left}: {vb:stylevar padding};
}

.postbit .userinfo .contact, .postbit .userinfo_noavatar .contact {
position: relative;
float: {vb:stylevar left};
clear: {vb:stylevar right};
width: 50%;
display:block;
}
.postbit .postuseravatarlink {
display:block;
text-align: center;
position: relative;
top: 0;
margin-{vb:stylevar left}: {vb:math {vb:stylevar padding}+5};
overflow: hidden;
float: {vb:stylevar left};
clear: {vb:stylevar right};
}
.postbit .postuseravatarlink img {
}

.postbit .nodecontrols .postimod{
top: 0;
position:relative;
margin-{vb:stylevar left}: {vb:stylevar padding};
}
.postbit .userinfo, .postbit .userinfo_noavatar {
background: {vb:stylevar postbit_userinfo_background};
_background-image: none;
clear:both;
min-height: {vb:math {vb:stylevar postbit_avatar_maxSize}+1-{vb:math {vb:math {vb:math {vb:stylevar font.fontSize}-1}*1.230}+{vb:stylevar padding}}};
height: auto !important;
border-bottom:{vb:stylevar postbit_border};
padding: 0.5em 0;
width: 100%;
float: {vb:stylevar left};
}
.postbit .userinfo .contact, .userinfo .userinfo_extra, .postbit .userinfo_noavatar .contact {
display:inline-block;
min-height: {vb:math {vb:stylevar postbit_avatar_maxSize}+1-{vb:math {vb:math {vb:math {vb:stylevar font.fontSize}-1}*1.230}+{vb:stylevar padding}}};
height: auto !important;
height: {vb:math {vb:stylevar postbit_avatar_maxSize}+1-{vb:math {vb:math {vb:math {vb:stylevar font.fontSize}-1}*1.230}+{vb:stylevar padding}}};
}
.postbit .username_container {
float: {vb:stylevar left};
clear: {vb:stylevar right};
display:block;
margin-{vb:stylevar left}: {vb:stylevar padding};
}
.postbit .userinfo .username_container .memberaction, .postbit .userinfo_noavatar .username_container .memberaction {
display: inline;
}
.postbit .postdetails_noavatar .posthead, .postbit .postdetails_noavatar .userinfo .contact {
margin-{vb:stylevar left}: 0;
}
/*
.postbit .userinfo .postbit_reputation {
margin-{vb:stylevar left}: {vb:math {vb:stylevar postbit_avatar_maxSize} + {vb:stylevar padding} + 5px};
}
*/
.postbit .userinfo .username, .postbit .userinfo_noavatar .username {
font-size: {vb:stylevar font.fontSize}{vb:stylevar font.units};
font-weight: bold;
}
.postbit .userinfo_noavatar .imlinks img {
display:inline;
}
.postbit .userinfo .username.guest, .postbit .userinfo_noavatar .username.guest {
font-weight:normal;
}
.postbit .userinfo_noavatar .usertitle, .postbit .userinfo .usertitle, .postbit .userinfo_noavatar .rank, .postbit .userinfo .rank {
font-size: {vb:stylevar small_fontSize};
font-weight: bold;
display:block;
clear:both;
}
.postbit .userinfo .userinfo_extra, .postbit .userinfo_noavatar .userinfo_extra {
text-align: {vb:stylevar right};
width: 300px;
float: {vb:stylevar right};
font-size: {vb:stylevar small_fontSize};
}
.postbit .userinfo .userinfo_extra dl, .postbit .userinfo_noavatar .userinfo_extra dl {
margin-{vb:stylevar right}: {vb:stylevar padding};
float: {vb:stylevar right};
width: 150px;
}
.postbit .userinfo_extra dl dt {
float:{vb:stylevar left};
display:block;
/*color:{vb:stylevar shade_color};*/
margin-{vb:stylevar right}: {vb:math {vb:stylevar padding}/2};
}
.postbit .userinfo_extra dl dt:after {
content:":";
}
.postbit .userinfo_extra dl dt.blank:after {
content:none;
}
.postbit .userinfo_extra dl dd {
display:block;
}
.postbit .userinfo .moreinfo, .postbit .userinfo_noavatar .moreinfo {
float: {vb:stylevar left};
display: inline;
}
.postbit .userinfo .popupmenu a.popupctrl, .postbit .userinfo_noavatar .popupmenu a.popupctrl {
font-size: {vb:stylevar mid_fontSize};
background: transparent;
padding: 0;
display:inline-block;
}
.postbit .userinfo .popupmenu a.popupctrl:hover, .postbit .userinfo_noavatar .popupmenu a.popupctrl:hover {
color: {vb:stylevar link_color};
text-decoration: {vb:stylevar linkhover_hoverDecoration};
}
.postbit .postbody {
clear: both;
color: {vb:stylevar postbit_color};
}
.postbit .postrow {
padding: {vb:math {vb:stylevar padding}/2} {vb:stylevar padding} 3em;
font: {vb:stylevar forum_msg_font};
}
.postbit hr {
display:none;
}
.postcontent {
word-wrap: break-word;
}
.postbit .posttitle {
display:block;
padding: {vb:stylevar padding};
font-weight:bold;
font: {vb:stylevar post_title_font};
margin: 0;
}
.postbit .content {
font: {vb:stylevar content_msg_font};
color: {vb:stylevar postbit_color};
}
.postbitlegacy .content {
font: {vb:stylevar content_msg_font}
color: {vb:stylevar postbit_color};
}
.postbitdeleted .content, .postbitignored .content {
font: {vb:stylevar content_msg_font}
color: {vb:stylevar postbit_color};
}

/*postbit legacy*/

.birthdays {
border-top: {vb:stylevar postbit_border};
}
.postbitlegacy hr, .eventbit hr {
display: none;
}
.postbitlegacy .postdetails, .eventbit .eventdetails {
float: {vb:stylevar left};
width: 100%;
background: {vb:stylevar postbit_userinfo_background};
_background-image: none;
}
.eventbit .eventhead {
height: auto;
padding-bottom: 5px;
}
.birthdays .posthead {
border: {vb:stylevar postbithead_border};
background: {vb:stylevar postbithead_background};
_background-image: none;
padding: 4px 0;
padding-{vb:stylevar left}: {vb:stylevar padding};
color: {vb:stylevar postbithead_color};
margin-{vb:stylevar left}: 0;
font: {vb:stylevar postbithead_font};
}
.birthdays .eventrow {
background: {vb:stylevar postbit_background};
_background-image: none;
}

.eventbit .eventhead .eventdate span.date, .eventbit .eventhead .eventdate .time {
font: {vb:stylevar postbithead_font};
color: {vb:stylevar postbithead_color};
}
.eventbit .eventhead .eventdate span.date {
padding-{vb:stylevar left}: {vb:stylevar padding};
font: {vb:stylevar postbithead_font};
}

.postbitlegacy .posthead .time {
font: {vb:stylevar postbithead_font};
color: {vb:stylevar postbithead_color};
}
.postbit .posthead .nodecontrols, .postbitlegacy .posthead .nodecontrols, .eventbit .eventhead .nodecontrols {
position: absolute;
color: {vb:stylevar postbithead_color};
{vb:stylevar right}: 0;
top: 0;
width: 50% ;
padding: 4px {vb:stylevar padding} 0;
text-align: {vb:stylevar right};
font: {vb:stylevar postbithead_font};
vertical-align: middle;
}
.postbit .posthead .nodecontrols a, .postbitlegacy .posthead .nodecontrols a, .eventbit .eventhead .nodecontrols a {
color: {vb:stylevar postbithead_color};
top: -2px;
position:relative;
}
.postbitlegacy .posthead .nodecontrols img, .eventbit .eventhead .nodecontrols img {
position: relative;
top: 2px;
padding: 0;
}
.postbitlegacy .posthead .nodecontrols .postimod, .eventbit .eventhead .nodecontrols .postimod {
top: 0px;
position:relative;
margin-{vb:stylevar left}: 5px;
}
.postbitlegacy .postbody, .eventbit .eventdetails .eventbody {
margin-{vb:stylevar left}: {vb:stylevar postbitlegacy_userinfo_width};
border-{vb:stylevar left}: {vb:stylevar postbit_userinfo_border};
background: {vb:stylevar postbit_background};
_background-image: none;
padding-bottom: 1em;
}
.postbitlegacy .postrow, .eventbit .eventrow {
padding: {vb:math {vb:stylevar padding}/2} {vb:stylevar padding} {vb:stylevar padding};
font: {vb:stylevar forum_msg_font};
color: {vb:stylevar postbit_color};
}
.eventbit dl.stats {
display: inline-block;
height: auto;
}
.postbitlegacy .userinfo {
float:{vb:stylevar left};
position: relative;
width:{vb:math {vb:stylevar postbitlegacy_userinfo_width}-{vb:math {vb:stylevar padding}*2}};
padding: 2px {vb:stylevar padding} {vb:math {vb:stylevar padding}/2};
font-size: {vb:stylevar small_fontSize};
display:block;
background: {vb:stylevar postbit_userinfo_background};
clear:both;
}
.postbitlegacy .userinfo .rank, .postbitlegacy .userinfo .usertitle {
font-size: {vb:stylevar small_fontSize};
display:block;
clear:both;
}
.eventbit .userinfo {
float:{vb:stylevar left};
position: relative;
width:{vb:math {vb:stylevar postbitlegacy_userinfo_width}-{vb:math {vb:stylevar padding}*2}};
padding: 2px {vb:stylevar padding} {vb:math {vb:stylevar padding}/2};
font-size: {vb:stylevar small_fontSize};
display:block;
}
.postbitlegacy .userinfo .username_container {
margin-bottom: 8px;
}

.postbitlegacy .userinfo .username_container .memberaction {
display: inline;
}
.postbitlegacy .userinfo .postuseravatar, .eventbit .userinfo .eventuseravatar {
display:block;
margin:{vb:math {vb:stylevar padding}/3} auto 0;
text-align:{vb:stylevar left};
width: auto;
float: {vb:stylevar left};
clear: both;
}
.postbitlegacy .userinfo .postuseravatar img, .eventbit userinfo .eventuseravatar img {
border: {vb:stylevar postbitlegacy_avatar_border};
outline: {vb:stylevar postbitlegacy_avatar_outline};
max-width: {vb:math {vb:stylevar postbitlegacy_userinfo_width} - {vb:math {vb:stylevar padding}*2}- {vb:math {vb:stylevar postbitlegacy_avatar_outline.borderWidth}*2} - {vb:math {vb:stylevar postbitlegacy_avatar_border.borderWidth}*2}};
}
.postbitlegacy .userinfo a.username, .eventbit .userinfo a.username {
clear:{vb:stylevar right};
font-size:{vb:stylevar font.fontSize}{vb:stylevar font.units};
font-weight:bold;
width: auto;
max-width:{vb:math {vb:stylevar postbitlegacy_userinfo_width} - {vb:math {vb:stylevar padding}*2} - 20px};
word-wrap:break-word;
}
.postbitlegacy .userinfo .guest.username, .eventbit .userinfo .guest.username {
padding-top: {vb:math {vb:stylevar padding}/2};
display:block;
font-size: {vb:stylevar font.fontSize}{vb:stylevar font.units};
}
.postbitlegacy dl.userinfo_extra, .postbitlegacy dl.user_rep {
margin: {vb:math {vb:stylevar padding}/2} 0;
display:block;
float: {vb:stylevar left};
width: 80px;
}
.postbitlegacy dl.userinfo_extra dt, .postbitlegacy dl.user_rep dt {
float: {vb:stylevar left};
text-align: {vb:stylevar left};
/*color: {vb:stylevar shade_color};*/
margin-{vb:stylevar right}: {vb:stylevar padding};
margin-{vb:stylevar left}: 0;
min-width:60px;
width:auto !important;
width:60px;
}
.postbitlegacy dl.userinfo_extra dt:after, .postbitlegacy dl.user_rep dt:after {
content: ":";
}
.postbitlegacy dl.user_rep dt.blank:after {
content: none;
}
.postbitlegacy dl.userinfo_extra dd, .postbitlegacy dl.userinfo_extra dd a, .postbitlegacy dl.user_rep dd {
padding-bottom: 3px;
}
.postbitlegacy dl.user_rep img {
margin-top: {vb:stylevar padding};
}
.postbitlegacy .imlinks {
width: 100%;
float: {vb:stylevar left};
}
.postbitlegacy .imlinks img {
display:inline;
}
.postbitlegacy .title, .eventbit .title {
display:block;
padding: {vb:stylevar padding};
padding-{vb:stylevar left}: 0;
font: {vb:stylevar post_title_font};
}
.postbit .postfoot, .postbitlegacy .postfoot, .eventbit .eventfoot {
display:block;
position: relative;
{vb:stylevar right}: 0;
float: {vb:stylevar left};
clear:both;
/*vertical-align: bottom;*/
background: transparent;
/*height: {vb:math 16px + {vb:math 5px * 2}};*/
font: {vb:stylevar postbit_control_font};
width: 100%;
}
.postbitlegacy .postrow.has_after_content {
padding-bottom: 4em;
}
.postbitlegacy .after_content {
position: relative;
width: 100%;
clear:both;
}
.postbitlegacy .signature, .postbitlegacy .lastedited {
margin-top: 1em;
padding: 1em {vb:stylevar padding} 0;
}
.postbit .postfoot .textcontrols, .postbitlegacy .postfoot .textcontrols, .eventbit .eventfoot .eventcontrols {
padding: 3px 0 7px;
display:block;
background: {vb:stylevar postbit_foot_background};
_background-image: none;
font: {vb:stylevar postbit_control_font};
width: 100%;
height: 16px;
margin-{vb:stylevar right}: 10px;
}
.postbitlegacy .postfoot .postcontrols, .postbit .postfoot .postcontrols {
position: absolute;
{vb:stylevar right}: {vb:stylevar padding};
margin-{vb:stylevar left}: 450px;
}
.postbitlegacy .postfoot .postlinking, .postbit .postfoot .postlinking {
position: absolute;
{vb:stylevar left}: {vb:stylevar padding};
margin-{vb:stylevar right}: 450px;
}
.eventbit .eventfoot .textcontrols {
display:block;
float: {vb:stylevar right};
margin-{vb:stylevar right}: 10px;
}
.postbitlegacy .postfoot .textcontrols img.inline, .postbit .postfoot .textcontrols img.inline {
position: absolute;
top: 2px;
{vb:stylevar left}: -1px;
margin-{vb:stylevar right}: 1px;
}
.postbitlegacy .postfoot .textcontrols span.seperator, .postbit .postfoot .textcontrols span.seperator {
position: relative;
top: 2px;
{vb:stylevar left}: 3px;
background: {vb:stylevar postfoot_separator_color};
_background-image: none;
display: inline;
height: 14px;
width: {vb:stylevar postfoot_separator_width};
margin: 0 5px;
}
.postbitlegacy .postfoot .textcontrols a, .postbit .postfoot .textcontrols a, .eventbit .eventfoot .eventcontrols a {
-moz-border-radius: 0px;
-webkit-border-radius: 0px;
padding: 3px;
padding-{vb:stylevar left}: {vb:math 3px+20px};
border: {vb:stylevar postbit_control_border};
background: {vb:stylevar postbit_control_background};
_background-image: none;
color: {vb:stylevar postbit_control_color};
font: {vb:stylevar postbit_control_font};
display:inline-block;
margin-{vb:stylevar left}: 5px;
}/* Text button hover images */
.postbitlegacy .postfoot .textcontrols img.spam, .postbit .postfoot .textcontrols img.spam {
padding-top: 2px;
}
.postbitlegacy .postfoot .textcontrols img.moderated, .postbit .postfoot .textcontrols img.moderated, .postbitlegacy .postfoot .textcontrols img.spam, .postbit .postfoot .textcontrols img.spam, .postbitlegacy .postfoot .textcontrols img.deleted_nolink, .postbit .postfoot .textcontrols img.deleted_nolink {
padding-top: 2px;
}
.postbitlegacy .postfoot .textcontrols a.editpost, .postbit .postfoot .textcontrols a.editpost, .eventbit .eventfoot .textcontrols a.editevent {
background: url({vb:stylevar imgdir_button}/edit_40b.png) no-repeat transparent {vb:stylevar left} ;
padding-{vb:stylevar left}: 20px;
}
.postbitlegacy .postfoot .textcontrols a.editpost:hover, .postbit .postfoot .textcontrols a.editpost:hover, .eventbit .eventfoot .textcontrols a.editevent:hover {
background: url({vb:stylevar imgdir_button}/edit_40b-hover.png) no-repeat transparent {vb:stylevar left};
padding-{vb:stylevar left}: 20px;
}
.postbitlegacy .postfoot .textcontrols a.quickreply, .postbit .postfoot .textcontrols a.quickreply {
background: url({vb:stylevar imgdir_button}/reply_40b.png) no-repeat transparent {vb:stylevar left};
padding-{vb:stylevar left}: 20px;
}
.postbitlegacy .postfoot .textcontrols a.quickreply:hover, .postbit .postfoot .textcontrols a.quickreply:hover {
background: url({vb:stylevar imgdir_button}/reply_40b-hover.png) no-repeat transparent {vb:stylevar left};
padding-{vb:stylevar left}: 20px;
}
.postbitlegacy .postfoot .textcontrols a.newreply, .postbit .postfoot .textcontrols a.newreply {
background: url({vb:stylevar imgdir_button}/quote_40b.png) no-repeat transparent {vb:stylevar left};
padding-{vb:stylevar left}: 20px;
}
.postbitlegacy .postfoot .textcontrols a.newreply:hover, .postbit .postfoot .textcontrols a.newreply:hover {
background: url({vb:stylevar imgdir_button}/quote_40b-hover.png) no-repeat transparent {vb:stylevar left};
padding-{vb:stylevar left}: 20px;
}
.postbitlegacy .postfoot .textcontrols a.multiquote, .postbit .postfoot .textcontrols a.multiquote {
background: url({vb:stylevar imgdir_button}/multiquote-back_40b.png) no-repeat transparent {vb:stylevar left};
padding-{vb:stylevar left}: 20px;
}
.postbitlegacy .postfoot .textcontrols a.multiquote:hover, .postbit .postfoot .textcontrols a.multiquote:hover {
background: url({vb:stylevar imgdir_button}/multiquote_40b-hover.png) no-repeat transparent {vb:stylevar left};
padding-{vb:stylevar left}: 20px;
}
.postbitlegacy .postfoot .textcontrols a.promotecms, .postbit .postfoot .textcontrols a.promotecms {
background: url({vb:stylevar imgdir_cms}/promote_small.png) no-repeat transparent {vb:stylevar left};
padding-{vb:stylevar left}: 20px;
}
.postbitlegacy .postfoot .textcontrols a.promotecms:hover, .postbit .postfoot .textcontrols a.promotecms:hover {
background: url({vb:stylevar imgdir_cms}/promote_small-hover.png) no-repeat transparent {vb:stylevar left};
padding-{vb:stylevar left}: 20px;
}
.postbitlegacy .postfoot .textcontrols a.infraction, .postbit .postfoot .textcontrols a.infraction {
background: url({vb:stylevar imgdir_button}/add-infraction_sm.png) no-repeat transparent {vb:stylevar left};
padding-{vb:stylevar left}: 20px;
}
.postbitlegacy .postfoot .textcontrols a.infraction:hover, .postbit .postfoot .textcontrols a.infraction:hover {
background: url({vb:stylevar imgdir_button}/add-infraction_sm-hover.png) no-repeat transparent {vb:stylevar left};
padding-{vb:stylevar left}: 20px;
}
.postbitlegacy .postfoot .textcontrols a.report, .postbit .postfoot .textcontrols a.report {
background: url({vb:stylevar imgdir_button}/report-40b.png) no-repeat transparent {vb:stylevar left};
padding-{vb:stylevar left}: 20px;
}
.postbitlegacy .postfoot .textcontrols a.report:hover, .postbit .postfoot .textcontrols a.report:hover {
background: url({vb:stylevar imgdir_button}/report-40b-hover.png) no-repeat transparent {vb:stylevar left};
padding-{vb:stylevar left}: 20px;
}
.postbitlegacy .postfoot .textcontrols a.blog, .postbit .postfoot .textcontrols a.blog {
background: url({vb:stylevar imgdir_misc}/blog/blogpost_40b.png) no-repeat transparent {vb:stylevar left};
padding-{vb:stylevar left}: 20px;
}
.postbitlegacy .postfoot .textcontrols a.blog:hover, .postbit .postfoot .textcontrols a.blog:hover {
background: url({vb:stylevar imgdir_misc}/blog/blogpost_40b-hover.png) no-repeat transparent {vb:stylevar left} ;
padding-{vb:stylevar left}: 20px;
}
.postbitlegacy .postfoot .textcontrols a.reputation, .postbit .postfoot .textcontrols a.reputation {
background: url({vb:stylevar imgdir_button}/reputation-40b.png) no-repeat transparent {vb:stylevar left};
padding-{vb:stylevar left}: 20px;
}
.postbitlegacy .postfoot .textcontrols a.reputation:hover, .postbit .postfoot .textcontrols a.reputation:hover {
background: url({vb:stylevar imgdir_button}/reputation-40b-hover.png) no-repeat transparent {vb:stylevar left};
padding-{vb:stylevar left}: 20px;
}
.postbitlegacy .postfoot .textcontrols a.ip, .postbit .postfoot .textcontrols a.ip {
background: url({vb:stylevar imgdir_button}/ip-40b.png) no-repeat transparent {vb:stylevar left};
padding-{vb:stylevar left}: 20px;
}
.postbitlegacy .postfoot .textcontrols a.ip:hover, .postbit .postfoot .textcontrols a.ip:hover {
background: url({vb:stylevar imgdir_button}/ip-40b-hover.png) no-repeat transparent {vb:stylevar left};
padding-{vb:stylevar left}: 20px;
}
.postbitlegacy .postfoot .textcontrols a.redcard, .postbit .postfoot .textcontrols a.redcard {
background: url({vb:stylevar imgdir_button}/red-card_sm.png) no-repeat transparent {vb:stylevar left};
padding-{vb:stylevar left}: 20px;
}
.postbitlegacy .postfoot .textcontrols a.redcard:hover, .postbit .postfoot .textcontrols a.redcard:hover {
background: url({vb:stylevar imgdir_button}/red-card_sm-hover.png) no-repeat transparent {vb:stylevar left};
padding-{vb:stylevar left}: 20px;
}
.postbitlegacy .postfoot .textcontrols a.yellowcard, .postbit .postfoot .textcontrols a.yellowcard {
background: url({vb:stylevar imgdir_button}/yellow-card_sm.png) no-repeat transparent {vb:stylevar left};
padding-{vb:stylevar left}: 20px;
}
.postbitlegacy .postfoot .textcontrols a.yellowcard:hover, .postbit .postfoot .textcontrols a.yellowcard:hover {
background: url({vb:stylevar imgdir_button}/yellow-card_sm-hover.png) no-repeat transparent {vb:stylevar left};
padding-{vb:stylevar left}: 20px;
}
.postbitlegacy .postfoot .textcontrols a.deleted, .postbit .postfoot .textcontrols a.deleted {
background: url({vb:stylevar imgdir_button}/deleted_sm.png) no-repeat transparent {vb:stylevar left};
padding-{vb:stylevar left}: 20px;
}
.postbitlegacy .postfoot .textcontrols a.deleted:hover, .postbit .postfoot .textcontrols a.deleted:hover {
background: url({vb:stylevar imgdir_button}/deleted_sm-hover.png) no-repeat transparent {vb:stylevar left};
padding-{vb:stylevar left}: 20px;
}
.postbitlegacy .postfoot .textcontrols a:hover, .postbit .postfoot .textcontrols a:hover {
color: {vb:stylevar postbit_control_hover_color};
background: {vb:stylevar postbit_control_hover_background};
_background-image: none;
}
.postbitlegacy .postfoot .textcontrols a.highlight, .postbit .postfoot .textcontrols a.highlight {
background-color: {vb:stylevar postbit_control_hover_background.backgroundColor};
}
.postbitlegacy .postfoot .textcontrols a.multiquote, .postbit .postfoot .textcontrols a.multiquote {
border: 0;
margin-{vb:stylevar right}: 0;
padding-{vb:stylevar right}: {vb:stylevar padding};
}
.postbitlegacy .postfoot .textcontrols a img, .postbit .postfoot .textcontrols a img {
position: absolute;
top: {vb:math {vb:stylevar padding}/5};
{vb:stylevar left}: {vb:math {vb:stylevar padding}/5+1};
}
.postbitlegacy .postfoot .textcontrols a:hover img, .postbit .postfoot .textcontrols a:hover img {
top: {vb:math {vb:stylevar padding}/5};
}
/*post bit deleted*/
.postbitdeleted, .postbitignored {
margin-bottom: {vb:stylevar padding};
display:block;
width: 100%;
clear:both;
position: relative;
color: {vb:stylevar body_color};
border: {vb:stylevar postbit_border};
float: {vb:stylevar left};
background: {vb:stylevar postbit_deleted_background};
_background-image: none;
}
.postbitdeleted hr, .postbitignored hr {
display: none;
}
.postbitdeleted .posthead, .postbitignored .posthead {
display:table;
background: {vb:stylevar postbithead_background};
_background-image: none;
border: {vb:stylevar postbithead_border};
height: {vb:math {vb:stylevar padding}+6};
padding: {vb:math {vb:stylevar padding}/5+2} 0;
color: {vb:stylevar postbithead_color};
width: 100%;
margin: -{vb:stylevar postbithead_border.borderWidth}{vb:stylevar postbithead_border.units} -{vb:stylevar postbithead_border.borderWidth}{vb:stylevar postbithead_border.units} 0;
font: {vb:stylevar postbithead_font};
}
.postbitdeleted .posthead .date, .postbitignored .posthead .date {
display:inline-block;
padding-{vb:stylevar left}: {vb:math {vb:stylevar padding}+4};
margin-{vb:stylevar left}: {vb:stylevar padding};
color: {vb:stylevar postbithead_color};
background:transparent url({vb:stylevar imgdir_statusicon}/post_old.png) no-repeat center {vb:stylevar left};
font: {vb:stylevar postbithead_font};
}
.postbitdeleted .posthead .date .time, .postbitignored .date .time {
color: {vb:stylevar postbithead_color};
margin-{vb:stylevar left}: {vb:stylevar padding};
font: {vb:stylevar postbithead_font};
}
.postbitdeleted .posthead .postimod, .postbitignored .posthead .postimod {
position: absolute;
{vb:stylevar right}: {vb:stylevar padding};
top: {vb:math {vb:stylevar padding}/2};
}
.postbitdeleted .postbody, .postbitignored .postbody {
padding: 0;
}
.postbitdeleted .postrow, .postbitignored .postrow {
padding: {vb:stylevar padding};
}
.postbitdeleted .userinfo .memberaction, .postbitignored .userinfo .memberaction {
display: block;
}

.postbitdeleted .userinfo, .postbitignored .userinfo {
display:block;
background: transparent;
position: relative;
clear: both;
padding: {vb:math {vb:stylevar padding}/2} {vb:stylevar padding};
border-bottom: {vb:stylevar postbit_border};
word-wrap: break-word;
}
.postbitdeleted .userinfo .username, .postbitignored .userinfo .username {
display:block;
float: {vb:stylevar left};
clear: {vb:stylevar right};
font-size: {vb:stylevar font.fontSize}{vb:stylevar font.units};
/*font-weight:bold;*/
}
.postbitdeleted .userinfo .moreinfo, .postbitignored .userinfo .moreinfo {
float: {vb:stylevar left};
display:block;
position: relative;
top: -5px;
}
.postbitdeleted .userinfo .usertitle, .postbitignored .userinfo .usertitle {
clear:both;
display:block
width: 100%;
}
.postbitdeleted .userinfo .popupmenu a.popupctrl:hover, .postbitignored .userinfo .popupmenu a.popupctrl:hover {
color: {vb:stylevar link_color};
text-decoration: {vb:stylevar linkhover_textDecoration};
}
.postbitdeleted .title, .postbitignored .title {
font: {vb:stylevar post_title_font};
}
.postbitdeleted .nodecontrols, .postbitignored .nodecontrols {
padding: 4px 0;
padding-{vb:stylevar right}: {vb:stylevar padding};
text-align: {vb:stylevar right};
background: {vb:stylevar postbit_foot_background};
_background-image: none;
font: {vb:stylevar postbit_control_font};
height: 16px;
}
.postbitdeleted .nodecontrols .textcontrol, .postbitignored .nodecontrols .textcontrol {
background: {vb:stylevar postbit_control_background};
_background-image: none;
border: {vb:stylevar postbit_control_border};
font: {vb:stylevar postbit_control_font};
}
.postbitdeleted .nodecontrols a.textcontrol:hover, .postbitignored .nodecontrols a.textcontrol:hover {
background: {vb:stylevar postbit_control_hover_background};
_background-image: none;
border: {vb:stylevar postbit_control_border};
}
.userinfo .popupmenu:hover a.popupctrl {
background-color:transparent;
}
.userinfo .popupgroup .popupmenu:hover a.popupctrl.active,
.userinfo .popupmenu a.popupctrl.active {
background-color:transparent;
color:inherit;
}
.postbit .userinfo .popupmenu .popupctrl {
color:auto;
}
.postbit.imod_highlight .userinfo_noavatar,
.postbit.imod_highlight .userinfo,
.postbit.imod_highlight .postbody,
.postbitlegacy.imod_highlight .postdetails,
.postbitlegacy.imod_highlight .userinfo,
.postbitlegacy.imod_highlight .postbody,
.postbitdeleted.imod_highlight,
.postbitignored.imod_highlight {
background:{vb:stylevar imodhilite_backgroundColor};
color: {vb:stylevar body_color};
}

/* start styles for postbit_legacy */
.userinfo .popupmenu:hover a.popupctrl {
background-color:transparent;
}
.userinfo .popupgroup .popupmenu:hover a.popupctrl.active,
.userinfo .popupmenu a.popupctrl.active {
background-color:transparent;
color:inherit;
}
.postbitlegacy .userinfo .popupmenu .popupctrl {
color:auto;
}
/* end styles for postbit_legacy */
img.onlinestatus_noavatar {
position: relative;
top: 5px;
{vb:stylevar left}: -56px;
}
img.onlinestatus {
position: relative;
top: 5px;
{vb:stylevar left}: -4px;
}
/* last edited */
.postbody fieldset {
background: {vb:stylevar postbit_boxed_background};
_background-image: none;
-moz-border-radius: {vb:stylevar border_radius};
padding: {vb:stylevar postbit_boxed_padding};
font-size: {vb:stylevar postbit_boxed_fontSize};
}
.postbody img.inlineimg {
position: relative;
top: 2px;
}
.postbody .lastedited .reason {
font-weight: bold;
}
.postbitlegacy .userinfo .userinfo_extra {
width:{vb:math {vb:stylevar postbitlegacy_userinfo_width}-{vb:math {vb:stylevar padding}*2}};
float: {vb:stylevar left};
font-size: {vb:stylevar small_fontSize};
}
.hasad {
display:block;
margin-{vb:stylevar right}: {vb:stylevar ad_post_maxWidth};
}
/* thvn signature */
.sig{
Background:#ffffff;
Border-left:2px solid #dbd8d8;
Border-right:2px solid #dbd8d8;
Padding:10px;
Margin:0;}
.sig_01{
Background:url(THVN_vB4/sig/thvnsig_01.gif) left no-repeat;
Height:43px;}
.sig_02{
Background:url(THVN_vB4/sig/thvnsig_02.gif) repeat-x;
Height:43px;}
.sig_03{
Background:url(THVN_vB4/sig/svvtsig_03.gif) right no-repeat;
Height:43px;}
.sig_04{
Background:url(THVN_vB4/sig/svvtsig_04.gif) left no-repeat;
Height:23px;}
.sig_05{
Background:url(THVN_vB4/sig/thvnsig_05.gif) repeat-x;
Height:23px;}
.sig_06{
Background:url(THVN_vB4/sig/thvnsig_06.gif) right no-repeat;
Height:23px;}
/* eTiKeT Postbit_Legacy*/
.eti_postbit_merkezli {
padding-left: 4px;
padding-right: 2px;
padding-top: 2px;
padding-bottom: 2px;
background-color: #efefef;
border-top: 1px solid #dddddd;
border-right: 1px solid #dddddd;
border-left: 1px solid #c4c4c4;
border-bottom: 1px solid #c4c4c4;
margin-bottom: 4px;
text-align:center;
-moz-box-shadow: 0 2px 6px #b3b3b3;
-webkit-box-shadow: -1px 2px 2px #b3b3b3;
-moz-border-radius-bottom{vb:stylevar left}:6px;
-moz-border-radius-top{vb:stylevar right}:6px;
-webkit-border-top-{vb:stylevar right}-radius: {vb:stylevar threadlisthead_top_corner_radius};
-webkit-border-bottom-{vb:stylevar left}-radius: {vb:stylevar threadlisthead_top_corner_radius};}
.eti_postbit {
padding-left: 4px;
padding-right: 2px;
padding-top: 2px;
padding-bottom: 2px;
background-color: #efefef;
border-top: 1px solid #dddddd;
border-right: 1px solid #dddddd;
border-left: 1px solid #c4c4c4;
border-bottom: 1px solid #c4c4c4;
margin-bottom: 4px;
-moz-box-shadow: 0 2px 6px #b3b3b3;
-webkit-box-shadow: -1px 2px 2px #b3b3b3;
-moz-border-radius-bottom{vb:stylevar left}:6px;
-moz-border-radius-top{vb:stylevar right}:6px;
-webkit-border-top-{vb:stylevar right}-radius: {vb:stylevar threadlisthead_top_corner_radius};
-webkit-border-bottom-{vb:stylevar left}-radius: {vb:stylevar threadlisthead_top_corner_radius};
}
.itvnn_postbit {
text-align:center;
}

xayda
15-07-2010, 09:13 AM
code Postbit_legacy


{vb:raw template_hook.postbit_start}
<li class="postbitlegacy postbitim postcontainer" id="post_{vb:raw post.postid}">
<!-- see bottom of postbit.css for .userinfo .popupmenu styles -->

<div class="posthead">
<vb:if condition="$show['inlinemod']"><label for="post_imod_checkbox_{vb:raw post.postid}"></vb:if>
<span class="postdate {vb:raw post.statusicon}">
<vb:if condition="$show['announcement']">
<span class="date">{vb:rawphrase x_until_y, {vb:raw post.startdate}, {vb:raw post.enddate}}</span>
<vb:else />
<span class="date">{vb:raw post.postdate}<vb:if condition="!$show['detailedtime']">&nbsp;<span class="time">{vb:raw post.posttime}</span></vb:if></span>
</vb:if>
</span>
<span class="nodecontrols">
<vb:if condition="$post['postid'] AND $post['threadid'] AND !$show['moderated']">
<a name="post{vb:raw post.postid}" href="{vb:link thread, {vb:raw thread}, {vb:raw pageinfo_post}}#post{vb:raw post.postid}" class="postcounter">#{vb:raw post.postcount}</a><a id="postcount{vb:raw post.postid}" name="{vb:raw post.postcount}"></a>
</vb:if>
<vb:if condition="$show['inlinemod']">
<input class="postimod" type="checkbox" id="post_imod_checkbox_{vb:raw post.postid}" name="plist[{vb:raw post.postid}]" value="{vb:raw post.checkbox_value}" />
</vb:if>
</span>
<vb:if condition="$show['inlinemod']"></label></vb:if>
</div>
<div class="postdetails">
<div class="userinfo">
<div class="username_container">
<vb:if condition="$post['userid']">
<div class="itvnn_postbit">
{vb:raw memberaction_dropdown}
{vb:raw post.onlinestatus}
<vb:else />
<span class="username guest">{vb:raw post.musername}</span>
</vb:if>
</div></div>

<span class="usertitle">
{vb:raw post.usertitle}
</span>



{vb:raw template_hook.postbit_userinfo_left}
<vb:if condition="$show['reputation']">
<span class="postbit_reputation" id="repdisplay_{vb:raw post.postid}_{vb:raw post.userid}">{vb:raw post.reputationdisplay}</span>
</vb:if>
<!-- Đóng khung avatar --><center>
<vb:if condition="$show['avatar']">
<table border="0" cellpadding="0" cellspacing="0">
<tr>
<td>
<img src="images/avatem/thtx_01.png" alt="" width="12" height="11"></td>

<td background="images/avatem/thtx_02.png" width="113" height="11">
<img src="images/avatem/thtx_02.png" alt="" width="6" height="11"></td>
<td>
<img src="images/avatem/thtx_03.png" alt="" width="11" height="11"></td>
</tr>
<tr>
<td background="images/avatem/thtx_04.png" width="12">
<img src="images/avatem/thtx_04.png" alt="" width="12" height="7"></td>
<td background="images/avatem/thtx_05.png"><a class="postuseravatar" href="{vb:link member, {vb:raw post}}" title="{vb:rawphrase {vb:raw post['onlinestatusphrase']}, {vb:raw post.username}}">
<img src="{vb:raw post.avatarurl}" alt="{vb:rawphrase xs_avatar, {vb:raw post.username}}" />
</a></td>
<td background="images/avatem/thtx_06.png" width="11">
<img src="images/avatem/thtx_06.png" alt="" width="11" height="6"></td>
</tr>
<tr>
<td>
<img src="images/avatem/thtx_07.png" alt="" width="12" height="12"></td>
<td background="images/avatem/thtx_08.png" width="113" height="12">
<img src="images/avatem/thtx_08.png" alt="" width="7" height="12"></td>
<td>
<img src="images/avatem/thtx_09.png" alt="" width="11" height="12"></td>
</tr>

</table>
</vb:if> </center>
<!-- / Kết thúc đóng khung avatar -->


<vb:if condition="$post['rank']">
<span class="rank">{vb:raw post.rank}</span>
</vb:if>



<!-- Begin Intro by KhoaHocPhoThong.Net -->
<div><b>Thứ tự của bạn là : {vb:raw post.userid}</b></div><!-- End Intro by KhoaHocPhoThong.Net -->



<vb:if condition="$post['userid']">
<hr />
<dl class="userinfo_extra">
<vb:if condition="$post['joindate']"><dt>{vb:rawphrase join_date}</dt> <dd>{vb:raw post.joindate}</dd></vb:if><dt>Giới tính</dt> <dd><img src="images/gender/<vb:if condition="$post['field5']=='Nam'">Nam<vb:else /><vb:if condition="$post['field5']=='Nữ'">Nu<vb:else />Chua-ro</vb:if></vb:if>.gif" border="0" alt="{vb:raw post.field5}"></img></dd><p>
<vb:if condition="$post['field2']"><b><font color=#CC66FF
>Đến từ: {vb:raw post.field2}</font></b><b></vb:if><p>
<vb:if condition="$post['field1']"><b><font color=#CC66FF
>Số điện thoại: {vb:raw post.field1}</font></b><p></vb:if><p>
<vb:if condition="$post['field3']"><b><font color=#CC66FF
>Sở thích: {vb:raw post.field3}</font></b><p></vb:if><p>
<vb:if condition="$post['field4']"><b><font color=#CC66FF
>Nghề Nghiệp: {vb:raw post.field4}</font></b><p></vb:if><p>

<vb:if condition="$post['con_giap']"><b>Cầm tinh con :</b><br><center><img src="images/12congiap/{vb:raw post.con_giap}.gif" border="0" alt="{vb:raw post.ten_thien_can} {vb:raw post.ten_dia_chi}"/></center></vb:if>
<dt>{vb:rawphrase 'posts'}</dt> <dd>{vb:raw post.posts}</dd>
{vb:raw template_hook.postbit_userinfo_right_after_posts}
</dl>
<vb:if condition="$show['infraction'] OR $show['reppower']">
<dl class="user_rep">
<vb:if condition="$show['infraction']">
<dt>{vb:rawphrase infractions}</dt>
<dd>{vb:raw post.warnings}/{vb:raw post.infractions} ({vb:raw post.ipoints})</dd>
</vb:if>
<vb:if condition="$show['reputation']">
<vb:if condition="$show['reppower']">
<dt>{vb:rawphrase reppower}</dt>
<dd id="reppower_{vb:raw post.postid}_{vb:raw post.userid}">{vb:raw post.reppower}</dd>
</vb:if>
</vb:if>
</dl>
</vb:if>
{vb:raw showinfopet}
{vb:raw template_hook.postbit_userinfo_right}
<div class="imlinks">
{vb:raw post.icqicon} {vb:raw post.aimicon} {vb:raw post.msnicon} {vb:raw post.yahooicon} {vb:raw post.skypeicon}
</div>
</vb:if>
</div>
<div class="postbody">
<div class="postrow<vb:if condition="$show['postedited'] || $post['signature']"> has_after_content</vb:if>">
{vb:raw template_hook.postbit_messagearea_start}
<vb:if condition="$post['title'] OR $show['messageicon']">
<h2 class="title icon">
<vb:if condition="$show['messageicon']"><img src="{vb:raw post.iconpath}" alt="{vb:raw post.icontitle}" /> </vb:if>{vb:raw post.title}
</h2>
</vb:if>


<vb:if condition="$post['isfirstshown']">
{vb:raw ad_location.ad_showthread_firstpost_start}
{vb:raw ad_location.thread_first_post_content}
<!-- Facebook Like -->

<!-- / Facebook Like -->
</vb:if>
<vb:if condition="$post['islastshown']">
{vb:raw ad_location.thread_last_post_content}
</vb:if>
<div class="content<vb:if condition="$show['first_ad'] OR $show['last_ad']"> hasad</vb:if>">
<!-- Đóng khung bài viết -->
<div>
<table cellSpacing="0" cellPadding="0" border="0" style="width:auto">
<tr>
<td style="padding: 0px"><img src="images/quote/admin_01.gif"></td>
<td style="padding: 0px" background="images/quote/admin_02.gif"></td>
<td style="padding: 0px"><img src="images/quote/admin_03.gif"></td>
</tr>
<tr>
<td valign="top" style="padding: 0px" background="images/quote/admin_04.gif">
<img src="images/quote/admin_05.gif"></td>
<td style="padding: 0px; background-color: #ffffff" bgColor="#ffffff">
<div id="post_message_{vb:raw post.postid}">
<blockquote class="postcontent restore ">
{vb:raw post.message}
</blockquote>
</div>
<!-- Gioi thieu qua yahoo ne-->

<br />
<div class="smallfont" align="center" style="width: 515; height: 19">
<font color="arial">
****************</font><font color="#FF00FF"><b>H&atilde;y cùng chia sẻ với bạn bè bằng cách </b></font><font color="DarkOrchid">****************</font>
</div>
<div align="center">
<center>
<table>
<TR>
<TD>
<p align="center"><font color="red"><b>Copy đường link dưới đây gửi đến nick yahoo bạn bè!</b></font>
<textarea style="width: 500; height: 25" rows="2" name="embedhtml" cols="100" readonly="readonly" onclick="this.select()" id="embedhtml">{vb:raw post.title} http://Teenlt.Net/teenlt/{vb:raw relpath} Xin lỗi đã Spam , gửi cho bạn bè tin này dùm mình nha ( an tâm là không có virus đâu )</textarea>

</TD></TR>

</table>
</center>
</div>
<!-- / Gioi thieu qua yahoo ne-->
</td>
<td style="padding: 0px" background="images/quote/admin_06.gif"></td>
</tr>
<tr>
<td style="padding: 0px"><img src="images/quote/admin_07.gif"></td>
<td style="padding: 0px" background="images/quote/admin_08.gif"></td>
<td style="padding: 0px"><img src="images/quote/admin_09.gif"></td>
</tr>
</table>
<!-- / Kết thúc đóng khung bài viết -->


<vb:if condition="$show['attachments']">
<div class="attachments">

<vb:if condition="$show['thumbnailattachment']">
<fieldset class="postcontent">
<legend><img src="{vb:stylevar imgdir_misc}/paperclip.png" class="inlineimg" /> {vb:rawphrase attached_thumbnails}</legend>
{vb:raw post.thumbnailattachments}
</fieldset>
</vb:if>

<vb:if condition="$show['imageattachment']">
<fieldset class="postcontent">
<legend><img src="{vb:stylevar imgdir_misc}/paperclip.png" class="inlineimg" /> {vb:rawphrase attached_images}</legend>
{vb:raw post.imageattachments}
</fieldset>
</vb:if>

<vb:if condition="$show['imageattachmentlink']">
<fieldset class="postcontent">
<legend><img src="{vb:stylevar imgdir_misc}/paperclip.png" class="inlineimg" /> {vb:rawphrase attached_images}</legend>
<ul>
{vb:raw post.imageattachmentlinks}
</ul>
</fieldset>
</vb:if>

<vb:if condition="$show['otherattachment']">
<fieldset class="postcontent">
<legend><img src="{vb:stylevar imgdir_misc}/paperclip.png" class="inlineimg" /> {vb:rawphrase attached_files}</legend>
<ul>
{vb:raw post.otherattachments}
</ul>
</fieldset>
</vb:if>

<vb:if condition="$show['moderatedattachment']">
<fieldset class="postcontent">
<legend><img src="{vb:stylevar imgdir_misc}/paperclip.png" class="inlineimg" /> {vb:rawphrase attachments_pending_approval}</legend>
<ul>
{vb:raw post.moderatedattachments}
</ul>
</fieldset>
</vb:if>

</div>
<!-- / attachments -->
</vb:if>
</div>
</div>
<vb:if condition="$show['postedited'] || $post['signature']">
<div class="after_content">
<vb:if condition="$show['postedited']">
<!-- edit note -->
<blockquote class="postcontent lastedited">
<!-- <img src="{vb:stylevar imgdir_button}/edit_40b.png" class="inlineimg" alt="" /> -->
<vb:if condition="$show['postedithistory']">
{vb:rawphrase last_edited_link_by_x_on_y_at_z_postid, {vb:raw post.edit_username}, {vb:raw post.edit_date},
{vb:raw post.edit_time}, {vb:raw post.historyurl}}
<vb:else />
{vb:rawphrase last_edited_by_x_on_y_at_z, {vb:raw post.edit_username}, {vb:raw post.edit_date}, {vb:raw post.edit_time}}
</vb:if>
<vb:if condition="$post['edit_reason']">
<span class="reason">{vb:rawphrase reason}:</span> {vb:raw post.edit_reason}
</vb:if>
</blockquote>
<!-- / edit note -->
</vb:if>
<vb:if condition="$post['signature']">
<vb:if condition="$post['signature']">
<!-- sig -->
<div class="sig_02"><div class="sig_01"><div class="sig_03">
</div></div></div>

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


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

</div>
</div>

<div class="sig_05"><div class="sig_04"><div class="sig_06">
</div></div></div>
<!-- / sig -->


</vb:if></vb:if>
</div>
</vb:if>
<div class="cleardiv"></div>
</div>
</div>
<div class="postfoot">
<!-- <div class="postfoot_container"> -->
<div class="textcontrols">
<span class="postcontrols">
<img style="display:none" id="progress_{vb:raw post.postid}" src="{vb:stylevar imgdir_misc}/progress.gif" alt="{vb:rawphrase loading_editor_please_wait}" />
<vb:if condition="$post['editlink']">
<a class="editpost" href="{vb:raw post.editlink}" name="vB::QuickEdit::{vb:raw post.postid}"><img src="{vb:raw vboptions.cleargifurl}" id="editimg_{vb:raw post.postid}" alt="{vb:rawphrase edit_delete_message}" /> {vb:rawphrase edit_post}</a>
<span class="seperator">&nbsp;</span>
</vb:if>
<vb:if condition="$show['quickreply'] AND !$show['threadedmode']">
<a id="qr_{vb:raw post.postid}" class='quickreply' href="{vb:raw post.replylink}" rel="nofollow"><img id="replyimg_{vb:raw post.postid}" src="{vb:raw vboptions.cleargifurl}" alt="{vb:rawphrase quick_reply_to_this_message}" /> {vb:rawphrase reply}</a>
<span class="seperator">&nbsp;</span>
</vb:if>
<vb:if condition="$post['replylink']">
<a id="qrwq_{vb:raw post.postid}" class="newreply" href="{vb:raw post.replylink}" rel="nofollow"><img id="quoteimg_{vb:raw post.postid}" src="{vb:raw vboptions.cleargifurl}" alt="{vb:rawphrase reply_with_quote}" /> {vb:rawphrase reply_with_quote}</a>
<span class="seperator">&nbsp;</span>
</vb:if>
<vb:if condition="$show['multiquote_post']">

<a class="multiquote" href="{vb:raw post.replylink}" rel="nofollow" onclick="return false;" id="mq_{vb:raw post.postid}"><img id="mq_image_{vb:raw post.postid}" src="{vb:raw vboptions.cleargifurl}" alt="{vb:rawphrase multi_quote_this_message}" />&nbsp;</a>
</vb:if>
</span>
<span class="postlinking">
<vb:if condition="!$post['forwardlink'] && THIS_SCRIPT != 'usernote' && THIS_SCRIPT != 'announcement'">
<vb:if condition="$promote_sectionid AND $promote_sectionid != -1">
<a href="{vb:raw $promote_url}" class="promotecms">{vb:rawphrase promote_to_article}</a>
<span class="seperator">&nbsp;</span>
</vb:if>
</vb:if>

{vb:raw template_hook.postbit_controls}
{vb:raw post.iplogged}
<vb:if condition="$show['reputationlink']">
<span class="reputationpopupmenu popupmenu popupcustom" title="{vb:raw post.postid}"><a class="popupctrl reputation" title="{vb:rawphrase reputation}" href="reputation.php?{vb:raw session.sessionurl}do=addreputation&amp;p={vb:raw post.postid}" rel="nofollow" id="reputation_{vb:raw post.postid}"><!--<img src="{vb:stylevar imgdir_button}/reputation-40b.png" alt="{vb:rawphrase reputation}" /> -->&nbsp;</a></span>
</vb:if>

<vb:if condition="$show['infractionlink']">
<a class="infraction" href="infraction.php?{vb:raw session.sessionurl}do=report&amp;p={vb:raw post.postid}" rel="nofollow" title="{vb:rawphrase add_infraction_for_x, {vb:raw post.username}}"><!-- <img src="{vb:stylevar imgdir_button}/add-infraction_sm.png" alt="{vb:rawphrase add_infraction_for_x, {vb:raw post.username}}" /> --> &nbsp;</a> &nbsp;
</vb:if>
<vb:if condition="$show['reportlink']">
<a class="report" href="{vb:raw post.reportlink}" rel="nofollow" title="{vb:rawphrase report_bad_post}"><!-- <img src="{vb:stylevar imgdir_button}/report-40b.png" alt="{vb:rawphrase report_bad_post}" /> -->&nbsp;</a> &nbsp;
</vb:if>

<vb:if condition="$show['moderated']">
<img class="moderated" src="{vb:stylevar imgdir_misc}/moderated_sm.png" alt="{vb:rawphrase moderated_post}" />
</vb:if>
<vb:if condition="$show['spam']">
<img class="spam" src="{vb:stylevar imgdir_misc}/spam_detected.png" alt="{vb:rawphrase spam_post}" />
</vb:if>
<vb:if condition="$show['deletedpost']">
<vb:if condition="$show['managepost']">
<a class="deleted" href="postings.php?{vb:raw session.sessionurl}do=managepost&amp;p={vb:raw post.postid}" title="{vb:rawphrase manage}"><!-- <img src="{vb:stylevar imgdir_misc}/deleted_sm.png" alt="{vb:rawphrase manage}" /> --> &nbsp;</a>
<vb:else />
<img class="deleted_nolink" class="inlineimage" src="{vb:stylevar imgdir_misc}/deleted_sm.png" alt="{vb:rawphrase deleted_post}" />
</vb:if>
</vb:if>
<vb:if condition="$show['redcard']">
<a class="redcard" href="infraction.php?{vb:raw session.sessionurl}do=view&amp;p={vb:raw post.postid}" rel="nofollow" title="{vb:rawphrase received_infraction}"><!-- <img src="{vb:stylevar imgdir_button}/red-card_sm.png" alt="{vb:rawphrase received_infraction}" /> --> &nbsp;</a>
<vb:elseif condition="$show['yellowcard']" />
<a class="yellowcard" href="infraction.php?{vb:raw session.sessionurl}do=view&amp;p={vb:raw post.postid}" rel="nofollow" title="{vb:rawphrase received_warning}"><!--<img src="{vb:stylevar imgdir_button}/yellow-card_sm.png" alt="{vb:rawphrase received_warning}" /> --> &nbsp;</a>
</vb:if>
<vb:if condition="$post['forwardlink']">
<a class="forwardpost" href="{vb:raw post.forwardlink}" rel="nofollow"><img src="{vb:stylevar imgdir_button}/reply_40b.png" alt="{vb:rawphrase forward_message}" /> {vb:rawphrase forward}</a>
</vb:if>
</span>
<!-- </div> -->
</div>
</div>
<hr />
</li>
{vb:raw template_hook.postbit_end}

HTT.itvn
15-07-2010, 10:55 PM
Trong code của Postbit_legacy bạn đã đóng khung đâu :


<vb:if condition="$post['joindate']"><dt>{vb:rawphrase join_date}</dt> <dd>{vb:raw post.joindate}</dd></vb:if><dt>Giới tính</dt> <dd><img src="images/gender/<vb:if condition="$post['field5']=='Nam'">Nam<vb:else /><vb:if condition="$post['field5']=='Nữ'">Nu<vb:else />Chua-ro</vb:if></vb:if>.gif" border="0" alt="{vb:raw post.field5}"></img></dd><p>
<vb:if condition="$post['field2']"><b><font color=#CC66FF
>Đến từ: {vb:raw post.field2}</font></b><b></vb:if><p>
<vb:if condition="$post['field1']"><b><font color=#CC66FF
>Số điện thoại: {vb:raw post.field1}</font></b><p></vb:if><p>
<vb:if condition="$post['field3']"><b><font color=#CC66FF
>Sở thích: {vb:raw post.field3}</font></b><p></vb:if><p>
<vb:if condition="$post['field4']"><b><font color=#CC66FF
>Nghề Nghiệp: {vb:raw post.field4}</font></b><p></vb:if><p>

<vb:if condition="$post['con_giap']"><b>Cầm tinh con :</b><br><center><img src="images/12congiap/{vb:raw post.con_giap}.gif" border="0" alt="{vb:raw post.ten_thien_can} {vb:raw post.ten_dia_chi}"/></center></vb:if>
<dt>{vb:rawphrase 'posts'}</dt> <dd>{vb:raw post.posts}</dd>
{vb:raw template_hook.postbit_userinfo_right_after_posts}

Để đóng khung phải thêm thẻ <div class="eti_postbit">....</div> như sau :

<vb:if condition="$post['joindate']"><div class="eti_postbit"><dt>{vb:rawphrase join_date}</dt> <dd>{vb:raw post.joindate}</dd></div></vb:if>
<div class="eti_postbit"><dt>Giới tính</dt> <dd><img src="images/gender/<vb:if condition="$post['field5']=='Nam'">Nam<vb:else /><vb:if condition="$post['field5']=='Nữ'">Nu<vb:else />Chua-ro</vb:if></vb:if>.gif" border="0" alt="{vb:raw post.field5}"></img></dd><p> </div>
<vb:if condition="$post['field2']"><b><font color=#CC66FF
><div class="eti_postbit">Đến từ: {vb:raw post.field2}</div></font></b><b></vb:if><p>
<vb:if condition="$post['field1']"><b><font color=#CC66FF
><div class="eti_postbit">Số điện thoại: {vb:raw post.field1}</div></font></b><p></vb:if><p>
<vb:if condition="$post['field3']"><b><font color=#CC66FF
><div class="eti_postbit">Sở thích: {vb:raw post.field3}</div></font></b><p></vb:if><p>
<vb:if condition="$post['field4']"><b><font color=#CC66FF
><div class="eti_postbit">Nghề Nghiệp: {vb:raw post.field4}</div></font></b><p></vb:if><p>

Kid_Andy
16-07-2010, 12:00 PM
Em đã add thêm mấy cái pro5 nhưng nó không hiển thị lúc post bài ạ.
Làm sao để chỉnh khung pro5 sang cột dọc ạ :D

fin47
16-07-2010, 06:14 PM
<vb:if condition="$post['userid']">
<div class="eti_postbit"><dt>{vb:rawphrase post_thanks_thanks}</dt> <dd>{vb:raw post.post_thanks_user_amount_formatted}</dd></div>

<div class="eti_postbit"><vb:if condition="$post['post_thanks_thanked_times'] == 1">
<dd float: {vb:stylevar left};">{vb:rawphrase post_thanks_time_post}</dd>
<vb:elseif condition="$post['post_thanks_thanked_posts'] == 1" />
<dd float: {vb:stylevar left};">{vb:rawphrase post_thanks_times_post, {vb:raw post.post_thanks_thanked_times_formatted}}</dd>
<vb:else />
<dd float: {vb:stylevar left};">{vb:rawphrase post_thanks_times_posts, {vb:raw post.post_thanks_thanked_times_formatted}, {vb:raw post.post_thanks_thanked_posts_formatted}}</dd>
</vb:if></div>
</vb:if>
mình đùng bản Thank Post You Hack 7.82 mà không được
http://img.photo.zing.vn/file_uploads/gallery/1024x768/2010/07/16/06/11791279278851.jpg

Giúp em cái chỗ tham gia ngày nữa đi !

HTT.itvn
16-07-2010, 10:05 PM
Em coppy và thay thế toàn bộ code sau vào post_thanks_postbit_info :


<vb:if condition="$post['userid']">
<div class="eti_postbit"><dt>{vb:rawphrase post_thanks_thanks}</dt> <dd>{vb:raw post.post_thanks_user_amount_formatted}</dd></div>

<div class="eti_postbit"><vb:if condition="$post['post_thanks_thanked_times'] == 1">
<dd float: {vb:stylevar left};">{vb:rawphrase post_thanks_time_post}</dd>
<vb:elseif condition="$post['post_thanks_thanked_posts'] == 1" />
<dd float: {vb:stylevar left};">{vb:rawphrase post_thanks_times_post, {vb:raw post.post_thanks_thanked_times_formatted}}</dd>
<vb:else />
<dd float: {vb:stylevar left};">{vb:rawphrase post_thanks_times_posts, {vb:raw post.post_thanks_thanked_times_formatted}, {vb:raw post.post_thanks_thanked_posts_formatted}}</dd>
</vb:if></div>
</vb:if> Đóng khung tham gia ngày , trong postbit_legacy tìm đoạn code sau :

<vb:if condition="$post['joindate']"><dt>{vb:rawphrase join_date}</dt> <dd>{vb:raw post.joindate}</dd></vb:if>Thêm thẻ <div class="eti_postbit"> </div> như sau :


<vb:if condition="$post['joindate']"><div class="eti_postbit"><dt>{vb:rawphrase join_date}</dt> <dd>{vb:raw post.joindate}</dd></div></vb:if>Tương tự với Bài gửi , tìm đoạn code :


<dt>{vb:rawphrase 'posts'}</dt> <dd>{vb:raw post.posts}</dd>Thêm thẻ <div class="eti_postbit"> </div> như sau :

<div class="eti_postbit"><dt>{vb:rawphrase 'posts'}</dt> <dd>{vb:raw post.posts}</dd></div>

HTT.itvn
16-07-2010, 10:14 PM
Em đã add thêm mấy cái pro5 nhưng nó không hiển thị lúc post bài ạ.
Làm sao để chỉnh khung pro5 sang cột dọc ạ :D

Cho anh cái link forum của em .

Kid_Andy
17-07-2010, 12:44 PM
Dạ link của em đây ạ :D http://kidandy.oni.cc/forum/forum.php

HTT.itvn
17-07-2010, 01:15 PM
Dạ link của em đây ạ :D http://kidandy.oni.cc/forum/forum.php

Chuyển sang cột dọc bằng cách sau : Vào AdminCP >> Settings >> Options >> Style & Language Settings >> Ở mục Use Legacy (Vertical) Postbit Template chọn Đồng ý ( yes ) ( Chọn Yes : tương ứng với thông tin hiển thị nằm dọc : legacy_postbit . Chọn No : Tương ứng với cột ngang : postbit )

HTT.itvn
17-07-2010, 10:21 PM
Em đã add thêm mấy cái pro5 nhưng nó không hiển thị lúc post bài ạ.
Làm sao để chỉnh khung pro5 sang cột dọc ạ :D

Nó chưa hiển thị vì em chưa cập nhập thông tin cá nhân . Hoặc chèn đoạn mã không đúng nơi . Ví dụ : bạn cài đặt thông tin nằm ngang mà lại chèn đoạn mã vào temp Postbit_legacy , thông tin nằm dọc mà lại chèn đoạn mã vào temp Postbit . Em nên ghi nhớ : thông tin nằm dọc , tương ứng với temp Postbit_legacy , nằm ngang tương ứng với temp Postbit .

Kid_Andy
22-07-2010, 05:03 PM
Cám ơn anh nhiều ạ.
Em vừa hỏi một vấn đề nữa tuy nhiên em mò ra rồi nên edit lại :D

Kid_Andy
23-07-2010, 09:10 PM
Lỗi khung pro5 khi ở first post, các post tiếp theo thì khung hiển thị bình thường

http://cA2.upanh.com/10.463.14601488.ZPN0/sdaedwadawdwadawd.jpg

HTT.itvn
23-07-2010, 10:37 PM
Do các thành viên cũ chưa cập nhập thông tin cá nhân ( sau khi bạn đã thêm mod pro5 mới ) , Với cách đóng khung này bạn bắt buộc các thành viên phải cập nhập thông tin cá nhân . Vào AdminCP >> User Profile Fields >> User Profile Fields Manager >> Chọn pro cần chỉnh sửa , nhấn Edit ( Sữa ) >> Tại mục Field Required , bạn chọn Yes , Always >> Save .

Tương tự với pro khác . Khi các thành nhiên đăng nhập phải cập nhập thông tin cá nhân và có thể lựa chọn hiển thị thông tin hay không .

Em có thể đưa link forum của em cho anh xem , để anh còn có hướng giải quyết lỗi cụ thể .

Kid_Andy
23-07-2010, 11:07 PM
Giờ em phát hiện thêm là khi em F5 thì nó lại ko đều như first post ạ

Em đã sửa được cái lỗi đã nói ở trên rồi nhưng mà
Cho em hỏi thêm là làm sao cho cái khung nó to ra hoặc chữ nhỏ hơn để cho phần tên và trường không bị lêch xuống dòng thứ 2.

http://cA5.upanh.com/10.484.14622463.ZPN0/loi.jpg

HTT.itvn
23-07-2010, 11:58 PM
Anh đã xem và thấy thông tin cá nhân vẫn bình thường . Em nên sử dụng các trình duyệt IE8 , Chrome , FF , ... còn IE6 giờ VBB 4.x gây lỗi .

Xem hình ảnh đầu tiên ( first pro ) anh nghĩ là em đóng khung thừa thẻ <div></div> vào thông tin trống ( rõ ràng thấy 5 cái khung đóng không đúng vị trí ) .
Em gửi cho anh nick yahoo của em vào hộp tin của diễn đàn , anh sẽ xem qua đoạn code và sữa lỗi giúp .

vothien93
27-07-2010, 12:48 PM
giup em đp em đóng khung cho cái ucasho1ng khung cái mod ucash 4.1 với ạ!!!

daidv1990
27-07-2010, 04:06 PM
Mình cài ucash thì đóng khung cái kia thế nào

HTT.itvn
27-07-2010, 05:21 PM
Mình cài ucash thì đóng khung cái kia thế nào


giup em đp em đóng khung cho cái ucasho1ng khung cái mod ucash 4.1 với ạ!!!

Có phải mod tiền tệ phải không ? Bạn cho mình cái link đường dẫn đến forum của bạn .

vothien93
27-07-2010, 05:56 PM
đây ạ!
ledviet.tk (http://174.121.2.58/%7Evteenntt/showthread.php?2-tesssttttttttttttttttttttttttttttttt&p=13#post13)

HTT.itvn
27-07-2010, 06:13 PM
đây ạ!
ledviet.tk (http://174.121.2.58/%7Evteenntt/showthread.php?2-tesssttttttttttttttttttttttttttttttt&p=13#post13)

Vào AdminCP >> Styles & Templates >> Style Manager >> Chọn skin cần chỉnh , Edit Templates >> Postbit Templates >> postbit_ucash , đóng thẻ như sau :


<div class="eti_postbit"><vb:if condition="$show['ucash']">
<dt>{vb:rawphrase 'ucash_points'}</dt>
<dd>{vb:raw post.ucashdisplay}</dd>
</vb:if></div>

HTT.itvn
27-07-2010, 06:28 PM
Link forum của em là: www.nguyentrai.info (http://www.nguyentrai.info) ạ :D
Giờ em phát hiện thêm là khi em F5 thì nó lại ko đều như first post ạ

Em đã sửa được cái lỗi đã nói ở trên rồi nhưng mà
Cho em hỏi thêm là làm sao cho cái khung nó to ra hoặc chữ nhỏ hơn để cho phần tên và trường không bị lêch xuống dòng thứ 2.

http://cA5.upanh.com/10.484.14622463.ZPN0/loi.jpg

Vì em dùng skin giống ITVNN , và cũng do em chèn thêm thẻ <dt>....</dt> không đúng chỗ , ví dụ code :


<vb:if condition="$post['field5']"><div class="post_field"><dt> Họ tên : <dd>{vb:raw post.field5}</dd></dt></div></vb:if>

Dời thẻ đóng </dt> như sau :


<vb:if condition="$post['field5']"><div class="post_field"><dt> Họ tên :</dt> <dd>{vb:raw post.field5}</dd></div></vb:if>

Tương tự với Pro khác .

vothien93
27-07-2010, 07:33 PM
dạ anh chỉ giúp em cho sô point với số thanks nó thành 1 hàng đi ạ!nhảy xuống hàng mới có số nên nhìn xấu quá!
còn cái ranks chuyển lên trên avarta thì làm sao ạ???

vothien93
27-07-2010, 07:53 PM
àh,ai có skin của itvnn.net đang dùng thì share cho em với

Kid_Andy
27-07-2010, 08:00 PM
dạ anh chỉ giúp em cho sô point với số thanks nó thành 1 hàng đi ạ!nhảy xuống hàng mới có số nên nhìn xấu quá!
còn cái ranks chuyển lên trên avarta thì làm sao ạ???

Bạn để khung pro5 hiển thị hàng ngang hay hàng dọc, hàng ngang thì vào postbit, hàng dọc thì vào postbit_legacy. Chuyển cái phần này lên trước code rank này lên phía trước code của avatar.



<vb:if condition="$post['rank']">
<span class="rank">{vb:raw post.rank}</span>
</vb:if>
Còn cái này là skin giống của ITVNN
http://www.mediafire.com/?mlqljlg14albfne

HTT.itvn
27-07-2010, 08:13 PM
- Khung Thank :

Admin CP >> Styles & Templates >> Style manager >> Chọn skin cần chỉnh , edit templates >> Post Thank You Hack Templates >> post_thanks_postbit_info >> Thay thế toàn bộ code sau :


<vb:if condition="$post['userid']">
<div class="eti_postbit"><dt>{vb:rawphrase post_thanks_thanks}</dt> <dd>{vb:raw post.post_thanks_user_amount_formatted}</dd></div>

<div class="eti_postbit"><vb:if condition="$post['post_thanks_thanked_times'] == 1">
<dd float: {vb:stylevar left};">{vb:rawphrase post_thanks_time_post}</dd>
<vb:elseif condition="$post['post_thanks_thanked_posts'] == 1" />
<dd float: {vb:stylevar left};">{vb:rawphrase post_thanks_times_post, {vb:raw post.post_thanks_thanked_times_formatted}}</dd>
<vb:else />
<dd float: {vb:stylevar left};">{vb:rawphrase post_thanks_times_posts, {vb:raw post.post_thanks_thanked_times_formatted}, {vb:raw post.post_thanks_thanked_posts_formatted}}</dd>
</vb:if></div>
</vb:if>
- Đưa ảnh Rank lên trên avatar :

Admin CP >> Styles & Templates >> Style manager >> Chọn skin cần chỉnh , edit templates >> Posbit Templates >> postbit_legacy : tìm đoạn code sau


<vb:if condition="$post['rank']">
<span class="rank">{vb:raw post.rank}</span>
</vb:if>
Di chuyển nó lên trên đoạn code sau ( nằm trên đoạn code đóng khung avatar ) :


{vb:raw template_hook.postbit_userinfo_left}
<vb:if condition="$show['reputation']">
<span class="postbit_reputation" id="repdisplay_{vb:raw post.postid}_{vb:raw post.userid}">{vb:raw post.reputationdisplay}</span>
</vb:if>
- Đóng khung phần Ucash :
Vào AdminCP >> Styles & Templates >> Style Manager >> Chọn skin cần chỉnh , Edit Templates >> Postbit Templates >> postbit_ucash , đóng thẻ như sau :


<div class="eti_postbit"><vb:if condition="$show['ucash']">
<dt>{vb:rawphrase 'ucash_points'}</dt>
<dd>{vb:raw post.ucashdisplay}</dd>
</vb:if></div>

vothien93
27-07-2010, 08:32 PM
vâng!em làm đc rồi!mới thay skin!àh cho em hỏi là tại sao mấy phần đóng khung cho mấy chi tiết sau lại mờ hơn khi cài skin z?làm sao để nó giống lun????

HTT.itvn
27-07-2010, 08:48 PM
Là do thẻ đóng khung từng phần khác nhau nên nó khác nhau , trong phần thank và ucash ở trên , bạn chỉ cần thay <div class="eti_postbit"> thành <div class="post_field"> thì nó sẽ đồng bộ thôi .

Tương tự với phần đóng khung level .

vothien93
28-07-2010, 09:14 AM
vâng ạ!àh cho em hỏi là sao đóng khung chư 4ky1 em làm được rồi nhưng sao bài cuối thì nó có màu nên toàn là vàng k ah!
demo: http://174.121.2.58/~vteenntt/showthread.php?2-tesssttttttttttttttttttttttttttttttt&p=13#post13
em dung mod này: http://www.vietvbb.vn/up/showthread.php?t=38937&page=3

vothien93
28-07-2010, 10:41 AM
làm phiền mod thêm 1 lần nữa nhak!
Giúp emc hỉnh lại cái chữ ký cho nó thụt xuống dưới!nó nằm cao quá!Hướng dẫn em thay đổi giới hạn(chiều cao) của cái khung bài viết(chứa profile với bài viết, chữ ký)VÀ cái nữa là mã màu của nền bài viết là gì ạ???

HTT.itvn
28-07-2010, 04:28 PM
làm phiền mod thêm 1 lần nữa nhak!
Giúp emc hỉnh lại cái chữ ký cho nó thụt xuống dưới!nó nằm cao quá!Hướng dẫn em thay đổi giới hạn(chiều cao) của cái khung bài viết(chứa profile với bài viết, chữ ký)VÀ cái nữa là mã màu của nền bài viết là gì ạ???


- Màu vàng là do bạn tích chọn bài viết đó .
- Chiều dài của khung bài viết là tùy thuộc vào chiều dài Profile và bài viết ( nếu bài viết dài hơn profile) , không nên tùy chỉnh nó .
- Khung chữ kí không nằm cuối là do bạn đóng khung bài viết ( do khung chữ kí nó nằm sau sát khung bài viết , nên bài viết dài hay ngắn khung bài viết thay dổi thì khung chữ kí dịch chuyển theo ) , bạn xóa mod đóng khung bài viết là chữ kí sẽ như bình thường thôi .
- Vào Google ngõ " Bảng mã màu thập lục phân " , sẽ có nhiều mac màu mà bạn lựa chọn phù hợp với forum của bạn .

vothien93
28-07-2010, 07:51 PM
hướng dẫn em cái phần giới tình làm sao cho nó hiện bằng ảnh z???
ah,cái avatra up lên mà nó k to ra gống như itvvn z???chỉ giúp em nhak

HTT.itvn
28-07-2010, 11:07 PM
hướng dẫn em cái phần giới tình làm sao cho nó hiện bằng ảnh z???
ah,cái avatra up lên mà nó k to ra gống như itvvn z???chỉ giúp em nhak

Tải file ảnh về tại đâ (http://www.mediafire.com/?d4kk0atxx3k1jq4)y và upload lên host trong thư mục /images/ .
Vào Admin CP >> User Profile Fields >> Add New User Profile Field >> Ở mục Profile Field Type chọn Single-Selection Menu >> Continue

http://img13.imageshack.us/img13/7334/020hnm.jpg

Bạn điền thông tin như hình vẽ .

Sau đó vào Admin CP >> Styles & Templates >> Style manager >> Chọn skin cần chỉnh , edit templates >> Postbit templates >> Postbit_legacy >> Tìm đoạn code mà ta đã thêm thông tin họ tên ở trên và chèn đoạn code sau xuống dưới :


div class="eti_postbit"><b><font color=red><dt>Giới tính</font></b></dt> <dd><img src="images/gender/<vb:if condition="$post['fieldx']=='Nam'">Nam<vb:else /><vb:if condition="$post['fieldx']=='Nữ'">Nu<vb:else />Đồng tính</vb:if></vb:if>.gif" border="0" alt="{vb:raw post.fieldx}"></img></dd> </div>
Save and Reload . Vào forum cập nhập thông tin .

Chú ý : Nếu bạn dùng skin giống ITVNN thì bạn chỉ cần thay "eti_postbit" thành "post_field" và xoá bỏ các thẻ <font color=red><b>...</b></font> ( xoá chữ in đậm màu xanh )

- Chỉnh avatar : vào AdminCP >> Usergroups >> Usergroup Manager >> Chọn adminsistor , nhấn Tiếp tục >> kéo xuống dưói tại mục Picture Uploading Permissions :
- Custom Avatar Maximum Width (pixels) : 120
- Custom Avatar Maximum Height (pixels) : 120
- Custom Avatar Maximum File Size (bytes) : dung lượng file ảnh tối đa
Những gì không nhắc để nguyên . Nhấn save .
Tương tự với mod , smod , mem , ... Vào forum cập nhập lại avatar .

vothien93
29-07-2010, 11:19 AM
cho em xin file ảnh!!!!
làm sao để khung profile rộng(chiều ngang) hơn z a???

HTT.itvn
29-07-2010, 03:23 PM
cho em xin file ảnh!!!!
làm sao để khung profile rộng(chiều ngang) hơn z a???

- Đã cập nhập lại link ở bài viết trên
- Thay đổi bề rộng khung profile :
Vào AdminCP >> Styles & Products >> Style Manager >> Chọn Skin cần chỉnh >> StyleVars >> Tại mục Search StyleVar gõ : postbitlegacy >> Postbitlegacy_userinfo_width :
Tại mục Size chọn kích thước bề rộng của Profile >> Save .

spider95
30-07-2010, 06:31 AM
Muốn chuyển tên user + rank vào giữa như trang TINHTE.VN thì làm sao ???

HTT.itvn
30-07-2010, 07:15 AM
Muốn chuyển tên user + rank vào giữa như trang TINHTE.VN thì làm sao ???

Canh giữa thì dùng thẻ <center> ..... </center> .

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


<div class="username_container">
<vb:if condition="$post['userid']">
{vb:raw memberaction_dropdown}
{vb:raw post.onlinestatus}
<vb:else />
<span class="username guest">{vb:raw post.musername}</span>
</vb:if>
</div>

Thêm thẻ như sau :


<div class="username_container">
<center><vb:if condition="$post['userid']">
{vb:raw memberaction_dropdown}
{vb:raw post.onlinestatus}
<vb:else />
<span class="username guest">{vb:raw post.musername}</span>
</vb:if></center>
</div>

-Tương tự với Rank :


<vb:if condition="$post['rank']">
<span class="rank">{vb:raw post.rank}</span>
</vb:if>

Chèn thành :


<center><vb:if condition="$post['rank']">
<span class="rank">{vb:raw post.rank}</span>
</vb:if></center>

spider95
30-07-2010, 09:27 PM
username thì ok rồi , rank thì vẫn chưa đc

HTT.itvn
30-07-2010, 09:30 PM
Em đưa code từ đoạn Username đến đoạn thông tin Họ tên anh xem .

spider95
31-07-2010, 02:21 PM
<center><vb:if condition="$post['userid']">
{vb:raw memberaction_dropdown}
{vb:raw post.onlinestatus}
<vb:else />
<span class="username guest">{vb:raw post.musername}</span>
</vb:if></center>
</div>
<span class="usertitle">
{vb:raw post.usertitle}
</span>
<center><vb:if condition="$post['rank']">
<span class="rank">{vb:raw post.rank}</span>
</vb:if></center>


đúng ko ta

HTT.itvn
31-07-2010, 02:37 PM
<center><vb:if condition="$post['userid']">
{vb:raw memberaction_dropdown}
{vb:raw post.onlinestatus}
<vb:else />
<span class="username guest">{vb:raw post.musername}</span>
</vb:if></center>
</div>
<span class="usertitle">
{vb:raw post.usertitle}
</span>
<center><vb:if condition="$post['rank']">
<span class="rank">{vb:raw post.rank}</span>
</vb:if></center>


đúng ko ta


Đưa code từ username đến bài gửi nhé :)

spider95
31-07-2010, 05:53 PM
Thôi em post luôn cái temp nè :P



{vb:raw template_hook.postbit_start}
<li class="postbitlegacy postbitim postcontainer" id="post_{vb:raw post.postid}">
<!-- see bottom of postbit.css for .userinfo .popupmenu styles -->

<div class="posthead">
<vb:if condition="$show['inlinemod']"><label for="post_imod_checkbox_{vb:raw post.postid}"></vb:if>
<span class="postdate {vb:raw post.statusicon}">
<vb:if condition="$show['announcement']">
<span class="date">{vb:rawphrase x_until_y, {vb:raw post.startdate}, {vb:raw post.enddate}}</span>
<vb:else />
<span class="date">{vb:raw post.postdate}<vb:if condition="!$show['detailedtime']">&nbsp;<span class="time">{vb:raw post.posttime}</span></vb:if></span>
</vb:if>
</span>
<span class="nodecontrols">
<vb:if condition="$post['postid'] AND $post['threadid'] AND !$show['moderated']">
<a name="post{vb:raw post.postid}" href="{vb:link thread, {vb:raw thread}, {vb:raw pageinfo_post}}#post{vb:raw post.postid}" class="postcounter">#{vb:raw post.postcount}</a><a id="postcount{vb:raw post.postid}" name="{vb:raw post.postcount}"></a>
</vb:if>
<vb:if condition="$show['moderated']">{vb:rawphrase moderated_post}</vb:if>
<vb:if condition="$show['inlinemod']">
<input class="postimod" type="checkbox" id="post_imod_checkbox_{vb:raw post.postid}" name="plist[{vb:raw post.postid}]" value="{vb:raw post.checkbox_value}" />
</vb:if>
</span>
<vb:if condition="$show['inlinemod']"></label></vb:if>
</div>
<div class="postdetails">
<div class="userinfo">
<div class="username_container">
<center><vb:if condition="$post['userid']">
{vb:raw memberaction_dropdown}
{vb:raw post.onlinestatus}
<vb:else />
<span class="username guest">{vb:raw post.musername}</span>
</vb:if></center>
</div>
<span class="usertitle">
{vb:raw post.usertitle}
</span>
<center><vb:if condition="$post['rank']">
<span class="rank">{vb:raw post.rank}</span>
</vb:if></center>
{vb:raw template_hook.postbit_userinfo_left}
<vb:if condition="$show['reputation']">
<span class="postbit_reputation" id="repdisplay_{vb:raw post.postid}_{vb:raw post.userid}">{vb:raw post.reputationdisplay}</span>
</vb:if>
<vb:if condition="$show['avatar']">
<a class="postuseravatar" href="{vb:link member, {vb:raw post}}" title="{vb:rawphrase {vb:raw post['onlinestatusphrase']}, {vb:raw post.username}}">
<img src="{vb:raw post.avatarurl}" alt="{vb:rawphrase xs_avatar, {vb:raw post.username}}" title="{vb:rawphrase xs_avatar, {vb:raw post.username}}" />
</a>
</vb:if>
<vb:if condition="$post['userid']">
<hr />
<dl class="userinfo_extra">
<vb:if condition="$post['joindate']"><div class="eti_postbit"><dt>{vb:rawphrase join_date}</dt> <dd>{vb:raw post.joindate}</dd></div></vb:if>
<vb:if condition="$post['field2']"><div class="eti_postbit"><dt>{vb:rawphrase location_perm}</dt> <dd>{vb:raw post.field2}</dd></div></vb:if>
<vb:if condition="$post['age']"><div class="eti_postbit"><dt>{vb:rawphrase age}</dt> <dd>{vb:raw post.age}</dd></div></vb:if>
<div class="eti_postbit"><dt>{vb:rawphrase 'posts'}</dt> <dd>{vb:raw post.posts}</dd></div>
{vb:raw template_hook.postbit_userinfo_right_after_posts}
</dl>
<vb:if condition="$show['infraction'] OR $show['reppower']">
<dl class="user_rep">
<vb:if condition="$show['infraction']">
<dt>{vb:rawphrase infractions}</dt>
<dd>{vb:raw post.warnings}/{vb:raw post.infractions} ({vb:raw post.ipoints})</dd>
</vb:if>
<vb:if condition="$show['reputation']">
<vb:if condition="$show['reppower']">
<dt>{vb:rawphrase reppower}</dt>
<dd id="reppower_{vb:raw post.postid}_{vb:raw post.userid}">{vb:raw post.reppower}</dd>
</vb:if>
</vb:if>
</dl>
</vb:if>
{vb:raw template_hook.postbit_userinfo_right}
<div class="imlinks">
{vb:raw post.icqicon} {vb:raw post.aimicon} {vb:raw post.msnicon} {vb:raw post.yahooicon} {vb:raw post.skypeicon}
</div>
</vb:if>
</div>
<div class="postbody">
<div class="postrow<vb:if condition="$show['postedited'] || $post['signature']"> has_after_content</vb:if>">
{vb:raw template_hook.postbit_messagearea_start}
<vb:if condition="$post['title'] OR $show['messageicon']">
<h2 class="title icon">
<vb:if condition="$show['messageicon']"><img src="{vb:raw post.iconpath}" alt="{vb:raw post.icontitle}" /> </vb:if>{vb:raw post.title}
</h2>
</vb:if>


<vb:if condition="$post['isfirstshown']">
{vb:raw ad_location.ad_showthread_firstpost_start}
{vb:raw ad_location.thread_first_post_content}
</vb:if>
<vb:if condition="$post['islastshown']">
{vb:raw ad_location.thread_last_post_content}
</vb:if>
<div class="content<vb:if condition="$show['first_ad'] OR $show['last_ad']"> hasad</vb:if>">
<div id="post_message_{vb:raw post.postid}">
<blockquote class="postcontent restore ">
{vb:raw post.message}
</blockquote>
</div>

<vb:if condition="$show['attachments']">
<div class="attachments">

<vb:if condition="$show['thumbnailattachment']">
<fieldset class="postcontent">
<legend><img src="{vb:stylevar imgdir_misc}/paperclip.png" class="inlineimg" alt="{vb:rawphrase attached_thumbnails}" /> {vb:rawphrase attached_thumbnails}</legend>
{vb:raw post.thumbnailattachments}
</fieldset>
</vb:if>

<vb:if condition="$show['imageattachment']">
<fieldset class="postcontent">
<legend><img src="{vb:stylevar imgdir_misc}/paperclip.png" class="inlineimg" /> {vb:rawphrase attached_images}</legend>
{vb:raw post.imageattachments}
</fieldset>
</vb:if>

<vb:if condition="$show['imageattachmentlink']">
<fieldset class="postcontent">
<legend><img src="{vb:stylevar imgdir_misc}/paperclip.png" class="inlineimg" /> {vb:rawphrase attached_images}</legend>
<ul>
{vb:raw post.imageattachmentlinks}
</ul>
</fieldset>
</vb:if>

<vb:if condition="$show['otherattachment']">
<fieldset class="postcontent">
<legend><img src="{vb:stylevar imgdir_misc}/paperclip.png" class="inlineimg" /> {vb:rawphrase attached_files}</legend>
<ul>
{vb:raw post.otherattachments}
</ul>
</fieldset>
</vb:if>

<vb:if condition="$show['moderatedattachment']">
<fieldset class="postcontent">
<legend><img src="{vb:stylevar imgdir_misc}/paperclip.png" class="inlineimg" /> {vb:rawphrase attachments_pending_approval}</legend>
<ul>
{vb:raw post.moderatedattachments}
</ul>
</fieldset>
</vb:if>

</div>
<!-- / attachments -->
</vb:if>
</div>
</div>
<vb:if condition="$show['postedited'] || $post['signature']">
<div class="after_content">
<vb:if condition="$show['postedited']">
<!-- edit note -->
<blockquote class="postcontent lastedited">
<!-- <img src="{vb:stylevar imgdir_button}/edit_40b.png" class="inlineimg" alt="" /> -->
<vb:if condition="$show['postedithistory']">
{vb:rawphrase last_edited_link_by_x_on_y_at_z_postid, {vb:raw post.edit_username}, {vb:raw post.edit_date},
{vb:raw post.edit_time}, {vb:raw post.historyurl}}
<vb:else />
{vb:rawphrase last_edited_by_x_on_y_at_z, {vb:raw post.edit_username}, {vb:raw post.edit_date}, {vb:raw post.edit_time}}
</vb:if>
<vb:if condition="$post['edit_reason']">
<span class="reason">{vb:rawphrase reason}:</span> {vb:raw post.edit_reason}
</vb:if>
</blockquote>
<!-- / edit note -->
</vb:if>
{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="signaturecontainer">{vb:raw post.signature}</div></blockquote>
</vb:if>
{vb:raw template_hook.postbit_signature_end}
</div>
</vb:if>
<div class="cleardiv"></div>
</div>
</div>
<div class="postfoot">
<!-- <div class="postfoot_container"> -->
<div class="textcontrols">
<span class="postcontrols">
<img style="display:none" id="progress_{vb:raw post.postid}" src="{vb:stylevar imgdir_misc}/progress.gif" alt="{vb:rawphrase loading_editor_please_wait}" />
<vb:if condition="$post['editlink']">
<a class="editpost" href="{vb:raw post.editlink}" name="vB::QuickEdit::{vb:raw post.postid}"><img src="{vb:raw vboptions.cleargifurl}" id="editimg_{vb:raw post.postid}" alt="{vb:rawphrase edit_delete_message}" /> {vb:rawphrase edit_post}</a>
<span class="seperator">&nbsp;</span>
</vb:if>
<vb:if condition="$show['quickreply'] AND !$show['threadedmode']">
<a id="qr_{vb:raw post.postid}" class='quickreply' href="{vb:raw post.replylink}" rel="nofollow"><img id="replyimg_{vb:raw post.postid}" src="{vb:raw vboptions.cleargifurl}" alt="{vb:rawphrase quick_reply_to_this_message}" /> {vb:rawphrase reply}</a>
<span class="seperator">&nbsp;</span>
</vb:if>
<vb:if condition="$post['replylink']">
<a id="qrwq_{vb:raw post.postid}" class="newreply" href="{vb:raw post.replylink}" rel="nofollow"><img id="quoteimg_{vb:raw post.postid}" src="{vb:raw vboptions.cleargifurl}" alt="{vb:rawphrase reply_with_quote}" /> {vb:rawphrase reply_with_quote}</a>
<span class="seperator">&nbsp;</span>
</vb:if>
<vb:if condition="$show['multiquote_post']">

<a class="multiquote" href="{vb:raw post.replylink}" rel="nofollow" onclick="return false;" id="mq_{vb:raw post.postid}"><img id="mq_image_{vb:raw post.postid}" src="{vb:raw vboptions.cleargifurl}" alt="{vb:rawphrase multi_quote_this_message}" />&nbsp;</a>
</vb:if>
</span>
<span class="postlinking">
<vb:if condition="!$post['forwardlink'] && THIS_SCRIPT != 'usernote' && THIS_SCRIPT != 'announcement'">
<vb:if condition="$promote_sectionid AND $promote_sectionid != -1">
<a href="{vb:raw promote_url}" class="promotecms">{vb:rawphrase promote_to_article}</a>
<span class="seperator">&nbsp;</span>
</vb:if>
</vb:if>

{vb:raw template_hook.postbit_controls}
{vb:raw post.iplogged}
<vb:if condition="$show['reputationlink']">
<span class="reputationpopupmenu popupmenu popupcustom" title="{vb:raw post.postid}"><a class="popupctrl reputation" title="{vb:rawphrase reputation}" href="reputation.php?{vb:raw session.sessionurl}do=addreputation&amp;p={vb:raw post.postid}" rel="nofollow" id="reputation_{vb:raw post.postid}"><!--<img src="{vb:stylevar imgdir_button}/reputation-40b.png" alt="{vb:rawphrase reputation}" /> -->&nbsp;</a></span>
</vb:if>

<vb:if condition="$show['infractionlink']">
<a class="infraction" href="infraction.php?{vb:raw session.sessionurl}do=report&amp;p={vb:raw post.postid}" rel="nofollow" title="{vb:rawphrase add_infraction_for_x, {vb:raw post.username}}"><!-- <img src="{vb:stylevar imgdir_button}/add-infraction_sm.png" alt="{vb:rawphrase add_infraction_for_x, {vb:raw post.username}}" /> --> &nbsp;</a> &nbsp;
</vb:if>
<vb:if condition="$show['reportlink']">
<a class="report" href="{vb:raw post.reportlink}" rel="nofollow" title="{vb:rawphrase report_bad_post}"><!-- <img src="{vb:stylevar imgdir_button}/report-40b.png" alt="{vb:rawphrase report_bad_post}" /> -->&nbsp;</a> &nbsp;
</vb:if>

<vb:if condition="$show['moderated']">
<img class="moderated" src="{vb:stylevar imgdir_misc}/moderated_sm.png" alt="{vb:rawphrase moderated_post}" />
</vb:if>
<vb:if condition="$show['spam']">
<img class="spam" src="{vb:stylevar imgdir_misc}/spam_detected.png" alt="{vb:rawphrase spam_post}" />
</vb:if>
<vb:if condition="$show['deletedpost']">
<vb:if condition="$show['managepost']">
<a class="deleted" href="postings.php?{vb:raw session.sessionurl}do=managepost&amp;p={vb:raw post.postid}" title="{vb:rawphrase manage}"><!-- <img src="{vb:stylevar imgdir_misc}/deleted_sm.png" alt="{vb:rawphrase manage}" /> --> &nbsp;</a>
<vb:else />
<img class="deleted_nolink" class="inlineimage" src="{vb:stylevar imgdir_misc}/deleted_sm.png" alt="{vb:rawphrase deleted_post}" />
</vb:if>
</vb:if>
<vb:if condition="$show['redcard']">
<a class="redcard" href="infraction.php?{vb:raw session.sessionurl}do=view&amp;p={vb:raw post.postid}" rel="nofollow" title="{vb:rawphrase received_infraction}"><!-- <img src="{vb:stylevar imgdir_button}/red-card_sm.png" alt="{vb:rawphrase received_infraction}" /> --> &nbsp;</a>
<vb:elseif condition="$show['yellowcard']" />
<a class="yellowcard" href="infraction.php?{vb:raw session.sessionurl}do=view&amp;p={vb:raw post.postid}" rel="nofollow" title="{vb:rawphrase received_warning}"><!--<img src="{vb:stylevar imgdir_button}/yellow-card_sm.png" alt="{vb:rawphrase received_warning}" /> --> &nbsp;</a>
</vb:if>
<vb:if condition="$post['forwardlink']">
<a class="forwardpost" href="{vb:raw post.forwardlink}" rel="nofollow"><img src="{vb:stylevar imgdir_button}/reply_40b.png" alt="{vb:rawphrase forward_message}" /> {vb:rawphrase forward}</a>
</vb:if>
</span>
<!-- </div> -->
</div>
</div>
<hr />
</li>
{vb:raw template_hook.postbit_end}

HTT.itvn
31-07-2010, 07:06 PM
Bình thường thì nó đa tự đứng vào giữa rồi , em xem lại hình ảnh rank đi nhé , có khi nó có 1 khoảng tráng trùng màu nền profile đấy . Cho anh link forum .

computerangel
31-07-2010, 09:11 PM
anh ơi, em đóng khung thế này sai ở chhox nào mà hem được, anh hộ em với

<vb:if condition="$post['field2']"><div class="eti_postbit"><font
color=red><b><dt>{vb:rawphrase location_perm}</dt>
<dd>{vb:raw post.field2}</dd></div></vb:if>

p3oj4nhn3
02-08-2010, 05:03 PM
Em làm phần gán biểu tượng hình ảnh cho admin , smod , mod và member bị mắc lỗi này là sao ạ?
biểu tượng ADMIN, SMOD,... vẫn hiện bình thường nhưng vỡ cả ava...

Parse error: syntax error, unexpected T_STRING in C:\AppServ\www\forum\includes\functions_editor.php (646) : eval()'d code(34) : eval()'d code on line 3

Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: editor_smilie in [path]\includes\functions.php on line 3957

spider95
02-08-2010, 05:07 PM
Đây link forum em : http://thebestvn.info

p3oj4nhn3
02-08-2010, 05:14 PM
Em làm phần gán biểu tượng hình ảnh cho admin , smod , mod và member bị mắc lỗi này là sao ạ?
biểu tượng ADMIN, SMOD,... vẫn hiện bình thường nhưng vỡ cả ava...

http://i677.photobucket.com/albums/vv131/p3oj4nhn3/Untitled-1.png

Parse error: syntax error, unexpected T_STRING in C:\AppServ\www\forum\includes\functions_editor.php (646) : eval()'d code(34) : eval()'d code on line 3

Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: editor_smilie in [path]\includes\functions.php on line 3957

HTT.itvn
02-08-2010, 08:36 PM
anh ơi, em đóng khung thế này sai ở chhox nào mà hem được, anh hộ em với

Đóng khung đúng rồi đó , nhưng cái đó không phải là thông tin Bài gửi đâu , code của bài gửi là :


<div class="eti_postbit"><font color=red><b><dt>{vb:rawphrase 'posts'}</dt></b></font> <dd>{vb:raw post.posts}</dd></div>

HTT.itvn
02-08-2010, 08:39 PM
Đây link forum em : http://thebestvn.info

Anh xem mà không thấy rank của em đâu , không có rank thì làm sao chuyển lên được .

HTT.itvn
02-08-2010, 08:41 PM
Em làm phần gán biểu tượng hình ảnh cho admin , smod , mod và member bị mắc lỗi này là sao ạ?
biểu tượng ADMIN, SMOD,... vẫn hiện bình thường nhưng vỡ cả ava...

http://i677.photobucket.com/albums/vv131/p3oj4nhn3/Untitled-1.png

Parse error: syntax error, unexpected T_STRING in C:\AppServ\www\forum\includes\functions_editor.php (646) : eval()'d code(34) : eval()'d code on line 3

Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: editor_smilie in [path]\includes\functions.php on line 3957

Là do em chèn đoạn code không đúng , chú ý cái thẻ <vb:if> và </vb:if> nhé , thiếu mấtt 1 cái sẽ báo lỗi đó . Upload ảnh lên host theo đường dẫn /images/avatars/

Nếu em dùng VBB 3.x thì code <vb:if condition="$show['avatar']"> sửa thành <if condition="$show['avatar']"> và thẻ </vb:if> sửa thành </if> .

nganha2410
03-08-2010, 11:52 AM
Anh Xem hộ em với
Sao của em nó X2 hết lên thế này T_T
Cái Mod Lever vào thì mod ucash biến mất hef me
file:///C:/DOCUME%7E1/MANHSO%7E1/LOCALS%7E1/Temp/moz-screenshot.pnghttp://i72.photobucket.com/albums/i195/boys_xomnhi/erro-1.jpg

spider95
03-08-2010, 01:33 PM
Anh xem mà không thấy rank của em đâu , không có rank thì làm sao chuyển lên được .

Nhầm tí anh ơi , cái usertitle
Àh sẵn tiện anh chỉ em cách dùng cái user rank với nhé ;)

dongxu1
03-08-2010, 04:24 PM
pro ơi giúp mình 1 vấn đề với được không. tại sao mình cài mod vào khi vào options không thấy là sao hả bạn.
mình đang rất rất gấp mong pro giúp mình với
thanks

HTT.itvn
03-08-2010, 06:41 PM
Nhầm tí anh ơi , cái usertitle
Àh sẵn tiện anh chỉ em cách dùng cái user rank với nhé ;)


Tìm code sau :

<span class="usertitle">
{vb:raw post.usertitle}
</span>
Gán thẻ <center>.....</center> như sau :


<center><span class="usertitle">
{vb:raw post.usertitle}
</span></center>

Còn phần sử dụng userank , em đọc lại bài 1 ở trên (Phần gán biểu tượng cho Admin , Smod , mod ) .

HTT.itvn
03-08-2010, 06:44 PM
pro ơi giúp mình 1 vấn đề với được không. tại sao mình cài mod vào khi vào options không thấy là sao hả bạn.
mình đang rất rất gấp mong pro giúp mình với
thanks

Có một số MOD khi import xong thì không có trong phần tùy chỉnh ( option ) . Cũng có thể nó hiển thị với cái tên khác hoặc để lại một dòng trống . Bạn liệt kê ra những mod ko có trong options cho mình xem nhé

HTT.itvn
03-08-2010, 06:52 PM
Anh Xem hộ em với
Sao của em nó X2 hết lên thế này T_T
Cái Mod Lever vào thì mod ucash biến mất hef me
file:///C:/DOCUME%7E1/MANHSO%7E1/LOCALS%7E1/Temp/moz-screenshot.pnghttp://i72.photobucket.com/albums/i195/boys_xomnhi/erro-1.jpg

Là do bạn copy 2 code giống nhau trong Level clasic và Post Thanhk ( nhìn cái khung đóng phần cảm ơn ở cuối hình ảnh trên thì hiểu ). Bạn sữa lại như sau :

Admin CP >> Styles & Templates >> Tìm level_postbit_showlevel_legacy >> Thay thế toàn bộ và dán code sau vào :


<!-- Level & Class System v3.0 - Posbit -->
<dl class="userinfo_extra">
<div class="eti_postbit"><div class="level_class_legacy">
<div class="lv_tr">
<div class="lv_td">{vb:raw lv.level}</div>
</div>
<div class="class_tr">
<div class="class_td">{vb:raw class.name}</div>
</div>
<div class="exp_tr">
<div class="exp_td" style="background:transparent url(level_class/img/ExpBar.gif) {vb:raw lv.epfx} 2px no-repeat;" title="{vb:rawphrase lv_exp}: {vb:raw lv.exp}/{vb:raw lv.maxEXP} ({vb:raw lv.epf}%)">&nbsp;</div>
</div>
<div class="exp_tr">
<div class="exp_td" style="background:transparent url(level_class/img/SpBar.gif) {vb:raw lv.spfx} 1px no-repeat;" title="{vb:rawphrase lv_sp}: {vb:raw lv.sp}/{vb:raw class.maxsp} ({vb:raw lv.spf}%)">&nbsp;</div>
</div>
<div style="font-size:11px;margin-top:2px">{vb:rawphrase lv_plusmess,{vb:raw lv.userid},{vb:raw lv.plus_times},{vb:raw lv.minus_times},{vb:raw lv.total}}</div>
</div></div>
</dl>
<!-- / Level & Class System v3.0 - Posbit -->

Save and Reload .

Admin CP >> Styles & Templates >> Style manager >> Chọn skin cần chỉnh , edit templates >> Post Thank You Hack Templates >> post_thanks_postbit_info >> Xóa toàn bộ và thay thế code dưới :


<vb:if condition="$post['userid']">
<div class="eti_postbit"><dt>{vb:rawphrase post_thanks_thanks}</dt> <dd>{vb:raw post.post_thanks_user_amount_formatted}</dd></div>

<div class="eti_postbit"><vb:if condition="$post['post_thanks_thanked_times'] == 1">
<dd float: {vb:stylevar left};">{vb:rawphrase post_thanks_time_post}</dd>
<vb:elseif condition="$post['post_thanks_thanked_posts'] == 1" />
<dd float: {vb:stylevar left};">{vb:rawphrase post_thanks_times_post, {vb:raw post.post_thanks_thanked_times_formatted}}</dd>
<vb:else />
<dd float: {vb:stylevar left};">{vb:rawphrase post_thanks_times_posts, {vb:raw post.post_thanks_thanked_times_formatted}, {vb:raw post.post_thanks_thanked_posts_formatted}}</dd>
</vb:if></div>
</vb:if>

Save and Reload .

kiddj
04-08-2010, 10:36 AM
Thanks Kiu :MatCuoi (20):

hanthienhai
10-08-2010, 08:09 PM
Bạn HTT.itvn cho mình hỏi cái này có căn avatar vào giữa được ko? Nếu đc thì chỉnh đoạn nào ? Nếu không thì có thể dùng code gì để căn avatar vào giữa?
Cám ơn bạn nhiều

HTT.itvn
10-08-2010, 08:11 PM
Muốn căn avatar vào giữa thì bạn phải dùng thẻ <center> ... </center> ở đoạn code avatar .

hanthienhai
10-08-2010, 08:16 PM
Mình dùng thẻ <center> cho đoạn code show avatar trong postbit_legacy rồi mà ko đc
Không biết có phải chèn vào chỗ đó hay chỗ nào khác nữa nhỉ
Đây là code của mình


<vb:if condition="$show['avatar']">
<center><a class="postuseravatar" href="{vb:link member, {vb:raw post}}" title="{vb:rawphrase {vb:raw post['onlinestatusphrase']}, {vb:raw post.username}}">
<img src="{vb:raw post.avatarurl}" alt="{vb:rawphrase xs_avatar, {vb:raw post.username}}" title="{vb:rawphrase xs_avatar, {vb:raw post.username}}" />
</a></center>
</vb:if>

HTT.itvn
10-08-2010, 08:18 PM
Bạn thêm thẻ như sau :

<center><vb:if condition="$show['avatar']"><a class="postuseravatar" href="{vb:link member, {vb:raw post}}" title="{vb:rawphrase {vb:raw post['onlinestatusphrase']}, {vb:raw post.username}}">
<img src="{vb:raw post.avatarurl}" alt="{vb:rawphrase xs_avatar, {vb:raw post.username}}" title="{vb:rawphrase xs_avatar, {vb:raw post.username}}" />
</a>
</vb:if></center>

hanthienhai
10-08-2010, 08:24 PM
Không biết có phải tại giao diện ko nữa mà mình làm như bạn HD nó cũng ko chạy. Mình đang dùng theme Color Theory

HTT.itvn
10-08-2010, 08:29 PM
Bạn cho mình cái link forum của bạn ?

hanthienhai
10-08-2010, 09:02 PM
http://diendan.gameland.vn/showthread.php?t=4636&p=12310#post12310

Diễn đàn của mình đây. Có gì nhờ bạn kiểm tra giùm

HTT.itvn
10-08-2010, 09:22 PM
Vui lòng vào đây tải ebook (http://itvnn.net/showthread.php?16177-Ebook-VBB-4.X-H%C6%B0%E1%BB%9Bng-d%E1%BA%ABn-l%C3%A0m-forum-VBB-4.x) nhé , có hướng dẫn chi tiết rồi đó bạn .

vothien93
11-08-2010, 12:01 PM
anh htt.itvnn giúp em làm cho tên thành viên to hơn với ạ

HTT.itvn
11-08-2010, 12:06 PM
anh htt.itvnn giúp em làm cho tên thành viên to hơn với ạ

Em thêm thẻ <b> ... </b> hoặc < font size=4> ... </font> vào trong thẻ <div> ... </div> là được .

vothien93
11-08-2010, 12:52 PM
phần này nó ra sao ạ!em tìm k thấy

so1.com.vn
12-08-2010, 03:36 AM
sao cái của mình đóng khung thì oke hết nhưng cái màu nền nó không giống nhau mong bạn chỉ dùm http://img.photo.zing.vn/file_uploads/gallery/1024x768/2010/08/12/03/36791281558843.JPG link demo:http://so1.com.vn/nha-c-trung-quo-c/399-dream-pursuer.html và cái chỗ Level nó màu trắng k hiển thị màu xanh giống như mọi người chân thành cảm ơn.và còn những cái thông tin mình vừa tạo như họ tên giới tính năm sinh...nó không hiển thị ra mục đăng ký như lúc đầu nữa,demo:http://so1.com.vn/register.php mong đuọc chỉ bảo cách khắc phục

vothien93
12-08-2010, 08:17 AM
phải là skin animated arena giống itvnn đang dùng mới có màu nền giống như itvnn nha bạn!còn về level thì bạn vào admincp chỉnh lại
1 số mục thông tin khác thì bạn xem lại đã tahy số fiel chưa? thay "x" bằng "số mà bạn đã tạo fiel đó

HTT.itvn
12-08-2010, 08:30 AM
sao cái của mình đóng khung thì oke hết nhưng cái màu nền nó không giống nhau mong bạn chỉ dùm http://img.photo.zing.vn/file_uploads/gallery/1024x768/2010/08/12/03/36791281558843.JPG link demo:http://so1.com.vn/nha-c-trung-quo-c/399-dream-pursuer.html và cái chỗ Level nó màu trắng k hiển thị màu xanh giống như mọi người chân thành cảm ơn.và còn những cái thông tin mình vừa tạo như họ tên giới tính năm sinh...nó không hiển thị ra mục đăng ký như lúc đầu nữa,demo:http://so1.com.vn/register.php mong đuọc chỉ bảo cách khắc phục

Bạn đưa toàn bộ code ở postbit_legacy cho anh xem nhé .



phải là skin animated arena giống itvnn đang dùng mới có màu nền giống như itvnn nha bạn!còn về level thì bạn vào admincp chỉnh lại
1 số mục thông tin khác thì bạn xem lại đã tahy số fiel chưa? thay "x" bằng "số mà bạn đã tạo fiel đó

Sai rồi , đóng khung khác nhau đều nằm chỗ CSS templates .

so1.com.vn
12-08-2010, 08:36 AM
postbit_legacy của mình nè bạn xem giúp

{vb:raw template_hook.postbit_start}
<li class="postbitlegacy postbitim postcontainer" id="post_{vb:raw post.postid}">
<!-- see bottom of postbit.css for .userinfo .popupmenu styles -->
<div style="padding-right:2px;">
<div class="posthead" style="margin:0;">
<vb:if condition="$show['inlinemod']"><label for="post_imod_checkbox_{vb:raw post.postid}"></vb:if>
<span class="postdate {vb:raw post.statusicon}">
<vb:if condition="$show['announcement']">
<span class="date">{vb:rawphrase x_until_y, {vb:raw post.startdate}, {vb:raw post.enddate}}</span>
<vb:else />
<span class="date">{vb:raw post.postdate}<vb:if condition="!$show['detailedtime']">&nbsp;<span class="time">{vb:raw post.posttime}</span></vb:if></span>
</vb:if>
</span>
<span class="nodecontrols">
<vb:if condition="$post['postid'] AND $post['threadid'] AND !$show['moderated']">
<a name="post{vb:raw post.postid}" href="{vb:link thread, {vb:raw thread}, {vb:raw pageinfo_post}}#post{vb:raw post.postid}" class="postcounter">#{vb:raw post.postcount}</a><a id="postcount{vb:raw post.postid}" name="{vb:raw post.postcount}"></a>
</vb:if>
<vb:if condition="$show['inlinemod']">
<input class="postimod" type="checkbox" id="post_imod_checkbox_{vb:raw post.postid}" name="plist[{vb:raw post.postid}]" value="{vb:raw post.checkbox_value}" />
</vb:if>
</span>
<vb:if condition="$show['inlinemod']"></label></vb:if>
</div>
</div>
<div style="padding-right:1px;">
<div class="postdetails">
<div class="userinfo">
<div class="username_container">
<vb:if condition="$post['userid']">

<div class="itvnn_postbit">
{vb:raw memberaction_dropdown} {vb:raw post.onlinestatus}
<vb:else />
<span class="username guest">{vb:raw post.musername}</span> {vb:raw post.onlinestatus}
</vb:if>
</div></div>
<span class="usertitle">
{vb:raw post.usertitle}
</span>
<vb:if condition="$post['rank']">
<span class="rank">{vb:raw post.rank}</span>
</vb:if>
{vb:raw template_hook.postbit_userinfo_left}
<vb:if condition="$show['reputation']">
<span class="postbit_reputation" id="repdisplay_{vb:raw post.postid}_{vb:raw post.userid}">{vb:raw post.reputationdisplay}</span>
</vb:if>
<!-- Đóng khung avatar --><center>
<vb:if condition="$show['avatar']">
<table id="Table_01" width="100" height="100" border="0" cellpadding="0" cellspacing="0">
<tr>
<td>
<img src="images/avatar/ava_01.png" width="34" height="34" alt=""></td>
<td background="images/avatar/ava_02.png">
</td>
<td>
<img src="images/avatar/ava_03.png" width="34" height="34" alt=""></td>
</tr>
<tr>
<td background="images/avatar/ava_04.png">
</td>
<td background="images/avatar/ava_05.png">
<a class="postuseravatar" href="{vb:link member, {vb:raw post}}" title="{vb:rawphrase {vb:raw post['onlinestatusphrase']}, {vb:raw post.username}}">
<img src="{vb:raw post.avatarurl}" alt="{vb:rawphrase xs_avatar, {vb:raw post.username}}" />
</a>
</td>
<td background="images/avatar/ava_06.png">
</td>
</tr>
<tr>
<td>
<img src="images/avatar/ava_07.png" width="34" height="34" alt=""></td>
<td background="images/avatar/ava_08.png">
</td>
<td>
<img src="images/avatar/ava_09.png" width="34" height="34" alt=""></td>
</tr>
</table>
</vb:if> </center>
<!-- / Kết thúc đóng khung avatar -->
<vb:if condition="$post['userid']">
<hr />
<dl class="userinfo_extra">
<vb:if condition="$post['field10']"><div class="eti_postbit">Họ tên : {vb:raw post.field10}</div></vb:if>
<vb:if condition="$post['field11']"><div class="eti_postbit">Giới tính : {vb:raw post.field11}</div></vb:if>
<vb:if condition="$post['field12']"><div class="eti_postbit">Năm sinh : {vb:raw post.field12}</div></vb:if>
<vb:if condition="$post['field13']"><div class="eti_postbit">Ðến từ : {vb:raw post.field13}</div></vb:if>
<vb:if condition="$post['field14']"><div class="eti_postbit">Số Điện Thoại: {vb:raw post.field14}</div></vb:if>
<vb:if condition="$post['joindate']"><div class="post_field"><dt>{vb:rawphrase join_date}</dt> <dd>{vb:raw post.joindate}</dd></div></vb:if>
<vb:if condition="$post['field2']"><div class="post_field"><dt>{vb:rawphrase location_perm}</dt> <dd>{vb:raw post.field2}</dd></div></vb:if>
<vb:if condition="$post['age']"><div class="post_field"><dt>{vb:rawphrase age}</dt> <dd>{vb:raw post.age}</dd></div></vb:if>
<div class="post_field"><dt>{vb:rawphrase 'posts'}</dt> <dd>{vb:raw post.posts}</dd></div>
{vb:raw template_hook.postbit_userinfo_right_after_posts}
</dl>


<vb:if condition="$show['infraction'] OR $show['reppower']">
<dl class="user_rep">
<vb:if condition="$show['infraction']">
<dt>{vb:rawphrase infractions}</dt>
<dd>{vb:raw post.warnings}/{vb:raw post.infractions} ({vb:raw post.ipoints})</dd>
</vb:if>
<vb:if condition="$show['reputation']">
<vb:if condition="$show['reppower']">
<dt>{vb:rawphrase reppower}</dt>
<dd id="reppower_{vb:raw post.postid}_{vb:raw post.userid}">{vb:raw post.reppower}</dd>
</vb:if>
</vb:if>
</dl>
</vb:if>
{vb:raw template_hook.postbit_userinfo_right}
<div class="imlinks">
{vb:raw post.icqicon} {vb:raw post.aimicon} {vb:raw post.msnicon} {vb:raw post.yahooicon} {vb:raw post.skypeicon}
</div>
</vb:if>
</div>
<div class="postbody">
<div class="postrow<vb:if condition="$show['postedited'] || $post['signature']"> has_after_content</vb:if>">
{vb:raw template_hook.postbit_messagearea_start}
<vb:if condition="$post['title'] OR $show['messageicon']">
<h2 class="title icon">
<vb:if condition="$show['messageicon']"><img src="{vb:raw post.iconpath}" alt="{vb:raw post.icontitle}" /> </vb:if>{vb:raw post.title}
</h2>
</vb:if>


<vb:if condition="$post['isfirstshown']">
{vb:raw ad_location.ad_showthread_firstpost_start}
{vb:raw ad_location.thread_first_post_content}
</vb:if>
<vb:if condition="$post['islastshown']">
{vb:raw ad_location.thread_last_post_content}
</vb:if>
<div class="content<vb:if condition="$show['first_ad'] OR $show['last_ad']"> hasad</vb:if>">
<!-- Đóng khung bài viết -->
<div>
<table cellSpacing="0" cellPadding="0" border="0" style="width:auto">
<tr>
<td style="padding: 0px"><img src="images/quote/admin_01.gif"></td>
<td style="padding: 0px" background="images/quote/admin_02.gif"></td>
<td style="padding: 0px"><img src="images/quote/admin_03.gif"></td>
</tr>
<tr>
<td valign="top" style="padding: 0px" background="images/quote/admin_04.gif">
<img src="images/quote/admin_05.gif"></td>
<td style="padding: 0px; background-color: #ffffff" bgColor="#ffffff">
<div id="post_message_{vb:raw post.postid}">
<blockquote class="postcontent restore ">
{vb:raw post.message}
</blockquote>
</div>
</td>
<td style="padding: 0px" background="images/quote/admin_06.gif"></td>
</tr>
<tr>
<td style="padding: 0px"><img src="images/quote/admin_07.gif"></td>
<td style="padding: 0px" background="images/quote/admin_08.gif"></td>
<td style="padding: 0px"><img src="images/quote/admin_09.gif"></td>
</tr>
</table>
<!-- / Kết thúc đóng khung bài viết -->

<vb:if condition="$show['attachments']">
<div class="attachments">

<vb:if condition="$show['thumbnailattachment']">
<fieldset class="postcontent">
<legend><img src="{vb:stylevar imgdir_misc}/paperclip.png" class="inlineimg" /> {vb:rawphrase attached_thumbnails}</legend>
{vb:raw post.thumbnailattachments}
</fieldset>
</vb:if>

<vb:if condition="$show['imageattachment']">
<fieldset class="postcontent">
<legend><img src="{vb:stylevar imgdir_misc}/paperclip.png" class="inlineimg" /> {vb:rawphrase attached_images}</legend>
{vb:raw post.imageattachments}
</fieldset>
</vb:if>

<vb:if condition="$show['imageattachmentlink']">
<fieldset class="postcontent">
<legend><img src="{vb:stylevar imgdir_misc}/paperclip.png" class="inlineimg" /> {vb:rawphrase attached_images}</legend>
<ul>
{vb:raw post.imageattachmentlinks}
</ul>
</fieldset>
</vb:if>

<vb:if condition="$show['otherattachment']">
<fieldset class="postcontent">
<legend><img src="{vb:stylevar imgdir_misc}/paperclip.png" class="inlineimg" /> {vb:rawphrase attached_files}</legend>
<ul>
{vb:raw post.otherattachments}
</ul>
</fieldset>
</vb:if>

<vb:if condition="$show['moderatedattachment']">
<fieldset class="postcontent">
<legend><img src="{vb:stylevar imgdir_misc}/paperclip.png" class="inlineimg" /> {vb:rawphrase attachments_pending_approval}</legend>
<ul>
{vb:raw post.moderatedattachments}
</ul>
</fieldset>
</vb:if>

</div>
<!-- / attachments -->
</vb:if>
</div>
</div>
<vb:if condition="$show['postedited'] || $post['signature']">
<div class="after_content">
<vb:if condition="$show['postedited']">
<!-- edit note -->
<blockquote class="postcontent lastedited">
<!-- <img src="{vb:stylevar imgdir_button}/edit_40b.png" class="inlineimg" alt="" /> -->
<vb:if condition="$show['postedithistory']">
{vb:rawphrase last_edited_link_by_x_on_y_at_z_postid, {vb:raw post.edit_username}, {vb:raw post.edit_date},
{vb:raw post.edit_time}, {vb:raw post.historyurl}}
<vb:else />
{vb:rawphrase last_edited_by_x_on_y_at_z, {vb:raw post.edit_username}, {vb:raw post.edit_date}, {vb:raw post.edit_time}}
</vb:if>
<vb:if condition="$post['edit_reason']">
<span class="reason">{vb:rawphrase reason}:</span> {vb:raw post.edit_reason}
</vb:if>
</blockquote>
<!-- / edit note -->
</vb:if>
<!-- Gioi thieu qua yahoo-->
<br />
<div class="smallfont" align="center" style="width: 515; height: 19"><font color="DarkOrchid">****************</font><font color="#FF00FF"><b>Hãy cùng chia sẻ với bạn bè bằng cách </b></font><font color="DarkOrchid">****************</font>
</div>
<div align="center">
<center>
<table>
<TR>
<TD>
<p align="center"><font color="red"><b>Copy đường link dưới đây gửi đến nick yahoo bạn bè!</b></font>
<textarea style="width: 500; height: 25" rows="2" name="embedhtml" cols="100" readonly="readonly" onClick="this.select()" id="embedhtml">{vb:raw post.title} http://so1.com.vn/{vb:raw relpath} Hay lắm đó( Thấy hay thì gửi cho bạn bè nhé! )</textarea>
</TD></TR>
</table>
</center>
</div>
<!-- / Gioi thieu qua yahoo--><br>
<!--dong khung chu ky-->
<vb:if condition="$post['signature']">
<vb:if condition="$post['signature']">
<!-- sig -->
<div class="sig_02"><div class="sig_01"><div class="sig_03">
</div></div></div>

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


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

</div>
</div>

<div class="sig_05"><div class="sig_04"><div class="sig_06">
</div></div></div>
<!-- / sig -->


</vb:if></vb:if>
<!--dong khung chu ky-->
</div>
</vb:if>
<div class="cleardiv"></div>
</div>
</div>
<div class="postfoot">
<div class="postfootWrap">
<div class="textcontrols">
<span class="postcontrols">
<img style="display:none" id="progress_{vb:raw post.postid}" src="{vb:stylevar imgdir_misc}/progress.gif" alt="{vb:rawphrase loading_editor_please_wait}" />
<vb:if condition="$post['editlink']">
<a class="editpost" href="{vb:raw post.editlink}" name="vB::QuickEdit::{vb:raw post.postid}"><img src="{vb:raw vboptions.cleargifurl}" id="editimg_{vb:raw post.postid}" alt="{vb:rawphrase edit_delete_message}" /> {vb:rawphrase edit_post}</a>
<span class="seperator">&nbsp;</span>
</vb:if>
<vb:if condition="$show['quickreply'] AND !$show['threadedmode']">
<a id="qr_{vb:raw post.postid}" class='quickreply' href="{vb:raw post.replylink}" rel="nofollow"><img id="replyimg_{vb:raw post.postid}" src="{vb:raw vboptions.cleargifurl}" alt="{vb:rawphrase quick_reply_to_this_message}" /> {vb:rawphrase reply}</a>
<span class="seperator">&nbsp;</span>
</vb:if>
<vb:if condition="$post['replylink']">
<a id="qrwq_{vb:raw post.postid}" class="newreply" href="{vb:raw post.replylink}" rel="nofollow"><img id="quoteimg_{vb:raw post.postid}" src="{vb:raw vboptions.cleargifurl}" alt="{vb:rawphrase reply_with_quote}" /> {vb:rawphrase reply_with_quote}</a>
<span class="seperator">&nbsp;</span>
</vb:if>
<vb:if condition="$show['multiquote_post']">

<a class="multiquote" href="{vb:raw post.replylink}" rel="nofollow" onClick="return false;" id="mq_{vb:raw post.postid}"><img id="mq_image_{vb:raw post.postid}" src="{vb:raw vboptions.cleargifurl}" alt="{vb:rawphrase multi_quote_this_message}" />&nbsp;</a>
</vb:if>
</span>
<span class="postlinking">
<vb:if condition="!$post['forwardlink'] && THIS_SCRIPT != 'usernote' && THIS_SCRIPT != 'announcement'">
<vb:if condition="$promote_sectionid AND $promote_sectionid != -1">
<a href="{vb:raw $promote_url}" class="promotecms">{vb:rawphrase promote_to_article}</a>
<span class="seperator">&nbsp;</span>
</vb:if>
</vb:if>


{vb:raw template_hook.postbit_controls}
{vb:raw post.iplogged}
<vb:if condition="$show['reputationlink']">
<span class="reputationpopupmenu popupmenu popupcustom" title="{vb:raw post.postid}"><a class="popupctrl reputation" title="{vb:rawphrase reputation}" href="reputation.php?{vb:raw session.sessionurl}do=addreputation&amp;p={vb:raw post.postid}" rel="nofollow" id="reputation_{vb:raw post.postid}"><!--<img src="{vb:stylevar imgdir_button}/reputation-40b.png" alt="{vb:rawphrase reputation}" /> -->&nbsp;</a></span>
</vb:if>

<vb:if condition="$show['infractionlink']">
<a class="infraction" href="infraction.php?{vb:raw session.sessionurl}do=report&amp;p={vb:raw post.postid}" rel="nofollow" title="{vb:rawphrase add_infraction_for_x, {vb:raw post.username}}"><!-- <img src="{vb:stylevar imgdir_button}/add-infraction_sm.png" alt="{vb:rawphrase add_infraction_for_x, {vb:raw post.username}}" /> --> &nbsp;</a> &nbsp;
</vb:if>
<vb:if condition="$show['reportlink']">
<a class="report" href="{vb:raw post.reportlink}" rel="nofollow" title="{vb:rawphrase report_bad_post}"><!-- <img src="{vb:stylevar imgdir_button}/report-40b.png" alt="{vb:rawphrase report_bad_post}" /> -->&nbsp;</a> &nbsp;
</vb:if>

<vb:if condition="$show['moderated']">
<img class="moderated" src="{vb:stylevar imgdir_misc}/moderated_sm.png" alt="{vb:rawphrase moderated_post}" />
</vb:if>
<vb:if condition="$show['spam']">
<img class="spam" src="{vb:stylevar imgdir_misc}/spam_detected.png" alt="{vb:rawphrase spam_post}" />
</vb:if>
<vb:if condition="$show['deletedpost']">
<vb:if condition="$show['managepost']">
<a class="deleted" href="postings.php?{vb:raw session.sessionurl}do=managepost&amp;p={vb:raw post.postid}" title="{vb:rawphrase manage}"><!-- <img src="{vb:stylevar imgdir_misc}/deleted_sm.png" alt="{vb:rawphrase manage}" /> --> &nbsp;</a>
<vb:else />
<img class="deleted_nolink" class="inlineimage" src="{vb:stylevar imgdir_misc}/deleted_sm.png" alt="{vb:rawphrase deleted_post}" />
</vb:if>
</vb:if>
<vb:if condition="$show['redcard']">
<a class="redcard" href="infraction.php?{vb:raw session.sessionurl}do=view&amp;p={vb:raw post.postid}" rel="nofollow" title="{vb:rawphrase received_infraction}"><!-- <img src="{vb:stylevar imgdir_button}/red-card_sm.png" alt="{vb:rawphrase received_infraction}" /> --> &nbsp;</a>
<vb:elseif condition="$show['yellowcard']" />
<a class="yellowcard" href="infraction.php?{vb:raw session.sessionurl}do=view&amp;p={vb:raw post.postid}" rel="nofollow" title="{vb:rawphrase received_warning}"><!--<img src="{vb:stylevar imgdir_button}/yellow-card_sm.png" alt="{vb:rawphrase received_warning}" /> --> &nbsp;</a>
</vb:if>
<vb:if condition="$post['forwardlink']">
<a class="forwardpost" href="{vb:raw post.forwardlink}" rel="nofollow"><img src="{vb:stylevar imgdir_button}/reply_40b.png" alt="{vb:rawphrase forward_message}" /> {vb:rawphrase forward}</a>
</vb:if>
</span>
</div>
</div>
</div>
<hr />
</div>
</li>
{vb:raw template_hook.postbit_end}

HTT.itvn
12-08-2010, 08:46 AM
Bạn tìm code sau :


<vb:if condition="$post['userid']">
<hr />
<dl class="userinfo_extra">
<vb:if condition="$post['field10']"><div class="eti_postbit">Họ tên : {vb:raw post.field10}</div></vb:if>
<vb:if condition="$post['field11']"><div class="eti_postbit">Giới tính : {vb:raw post.field11}</div></vb:if>
<vb:if condition="$post['field12']"><div class="eti_postbit">Năm sinh : {vb:raw post.field12}</div></vb:if>
<vb:if condition="$post['field13']"><div class="eti_postbit">Ðến từ : {vb:raw post.field13}</div></vb:if>
<vb:if condition="$post['field14']"><div class="eti_postbit">Số Điện Thoại: {vb:raw post.field14}</div></vb:if>
<vb:if condition="$post['joindate']"><div class="post_field"><dt>{vb:rawphrase join_date}</dt> <dd>{vb:raw post.joindate}</dd></div></vb:if>
<vb:if condition="$post['field2']"><div class="post_field"><dt>{vb:rawphrase location_perm}</dt> <dd>{vb:raw post.field2}</dd></div></vb:if>
<vb:if condition="$post['age']"><div class="post_field"><dt>{vb:rawphrase age}</dt> <dd>{vb:raw post.age}</dd></div></vb:if>
<div class="post_field"><dt>{vb:rawphrase 'posts'}</dt> <dd>{vb:raw post.posts}</dd></div>
{vb:raw template_hook.postbit_userinfo_right_after_posts}
</dl>

- Nếu bạn muốn khác ITVNN thì bạn thay chữ post_field thành eti_postbit và xóa thẻ <dd>...</dd> đi .
- Nếu bạn muốn giống như ITVNN thì bạn thay eti_postbit thành post_field và thêm thẻ <dd>...</dd> vào giữa thẻ <div class="post_field">.....</div>

so1.com.vn
12-08-2010, 09:30 AM
thank you mình làm được rồi nhưng còn cái lựa chọn còn những cái thông tin mình vừa tạo như họ tên giới tính năm sinh...nó không hiển thị ra mục đăng ký như lúc đầu nữa,demo:http://so1.com.vn/register.php mong đuọc chỉ bảo cách khắc phục chân thành cảm ơn nhiều

HTT.itvn
12-08-2010, 09:42 AM
Vào AdminCP >> User Profile Fields >> User Profile Fields manager >> Chọn field cần chỉnh >> Edit : Cửa sổ mới hiện ra , mục Field Required bạn chọn Yes, always ( nếu bạn muốn đăng kí điền field này ) hoặc chọn Yes , at registration and profile updating ( nếu muốn đăng kí không có field này và thành viên có thể bổ sung thông tin sau ) >> Save .

so1.com.vn
12-08-2010, 10:15 AM
Thank Htt Nhiều.mình sẽ cố gắng ủng hộ rum hết mình những cái mình biết

rex_star95
12-08-2010, 12:59 PM
Em làm phần gán biểu tượng hình ảnh cho admin , smod , mod và member bị mắc lỗi này là sao ạ?
biểu tượng ADMIN, SMOD,... vẫn hiện bình thường nhưng vỡ cả ava...

Parse error: syntax error, unexpected T_STRING in C:\AppServ\www\forum\includes\functions_editor.php (646) : eval()'d code(34) : eval()'d code on line 3

Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: editor_smilie in [path]\includes\functions.php on line 3957

Mình gán biểu tg. cho admin, mod, mem mà nó không lên... làm mãi... nản!

vothien93
12-08-2010, 01:44 PM
Em thêm thẻ <b> ... </b> hoặc < font size=4> ... </font> vào trong thẻ <div> ... </div> là được .


e vẫn chưa tìm được đoạn code để thêm này!!!!

vothien93
13-08-2010, 09:51 AM
hướng dẫn em lám ao cho cái mod pet hiện ra như z với đóng khung nó luôn ạ(e có cài mod pet rồi)
với hướng dẫn em tạo rồi đóng khung phần "thanh viên thứ"

vothien93
13-08-2010, 04:23 PM
anh htt.itvnn ơi giúp em đóng khung cho cái reputation power với

HTT.itvn
13-08-2010, 09:18 PM
anh htt.itvnn ơi giúp em đóng khung cho cái reputation power với

Mod này anh chưa thử , em đưa mod này cho anh , anh nghiên cứu .


- Thành viên thứ :


<div align="center" class="eti_postbit">
<vb:if condition="$post['userid']"><dt>Thành Viên Thứ</dt> <dd>{vb:raw post.userid}</dd></vb:if></div>

vothien93
13-08-2010, 11:12 PM
Dạ,k phải mod đâu a!Phần này nó nằm trong admincp á!

HTT.itvn
14-08-2010, 12:06 AM
Dạ,k phải mod đâu a!Phần này nó nằm trong admincp á!

Em có nhầm lẫn không đấy ? Cái chức năng giống level thế kia mà không phải MOD ? Em có thể hướng dẫn anh vào chức năng đấy xem sao .

vothien93
14-08-2010, 10:03 AM
đây là code có sẵn trong postbit_legacy nè a!


<vb:if condition="$show['infraction'] OR $show['reppower']">
<dl class="user_rep">
<vb:if condition="$show['infraction']">
<dt>{vb:rawphrase infractions}</dt>
<dd>{vb:raw post.warnings}/{vb:raw post.infractions} ({vb:raw post.ipoints})</dd>
</vb:if>
<vb:if condition="$show['reputation']">
<vb:if condition="$show['reppower']">
<dt>{vb:rawphrase reppower}</dt>
<dd id="reppower_{vb:raw post.postid}_{vb:raw post.userid}">{vb:raw post.reppower}</dd>
</vb:if>
</vb:if>

spider95
14-08-2010, 02:53 PM
Đang cần đoạn code để username to lên , HTT vào giúp em cái :D

01683419001
14-08-2010, 08:15 PM
Sao mình làm xong chữ nó bị lệch và phần bài gởi bị ra giữahttp://img.photo.zing.vn/file_uploads/gallery/1024x768/2010/08/14/08/84131281791715.JPG

HTT.itvn
14-08-2010, 08:23 PM
Sao mình làm xong chữ nó bị lệch và phần bài gởi bị ra giữahttp://img.photo.zing.vn/file_uploads/gallery/1024x768/2010/08/14/08/84131281791715.JPG

Code của bạn đây


<div class="eti_postbit"><dt>{vb:rawphrase 'posts'}</dt> <dd>{vb:raw post.posts}</dd></div>

nếu không được thì code này :


<div class="eti_postbit"><left><dt>{vb:rawphrase 'posts'}</dt></left> {vb:raw post.posts}</div>

HTT.itvn
14-08-2010, 08:29 PM
Đang cần đoạn code để username to lên , HTT vào giúp em cái :D



Tìm code sau :


<div class="userinfo">
<div class="username_container">
<vb:if condition="$post['userid']">
{vb:raw memberaction_dropdown}
{vb:raw post.onlinestatus}
<vb:else />
<span class="username guest">{vb:raw post.musername}</span>
</vb:if></div>


Thay thế :


<div class="userinfo">
<center><div class="username_container">
<font size=4><vb:if condition="$post['userid']">
{vb:raw memberaction_dropdown}
{vb:raw post.onlinestatus}
<vb:else />
<span class="username guest">{vb:raw post.musername}</span>
</vb:if></font>
</div></center>

vothien93
14-08-2010, 08:57 PM
anh htt ơi em đ1ong khung nó đc rồi nhưng sao nó đóng khung có 1 tí hà!với lại cứ danh vọng nó từ 10 trở ;lên là nó nhảy xuống dòng hà!
anh xem hộ em
demo: http://nhontrach.tk

HTT.itvn
14-08-2010, 09:06 PM
anh htt ơi em đ1ong khung nó đc rồi nhưng sao nó đóng khung có 1 tí hà!với lại cứ danh vọng nó từ 10 trở ;lên là nó nhảy xuống dòng hà!
anh xem hộ em
demo: http://nhontrach.tk

Lần sau hỏi câu này thì kèm theo code nhé . Send co de đoạn em đóng khung anh xem .

vothien93
15-08-2010, 12:02 AM
Day ne a!Sr e dang on = dt!

<vb:if condition="$show['infraction'] OR $show['reppower']">
<dl class="user_rep">
<vb:if condition="$show['infraction']">
<dt>{vb:rawphrase infractions}</dt>
<dd>{vb:raw post.warnings}/{vb:raw post.infractions} ({vb:raw post.ipoints})</dd>
</vb:if>
<div class="eti_postbit"><vb:if condition="$show['reputation']">
<vb:if condition="$show['reppower']">
<dt>{vb:rawphrase reppower}</dt>
<dd id="reppower_{vb:raw post.postid}_{vb:raw post.userid}">{vb:raw post.reppower}</dd></div>
</vb:if>
</vb:if>

HTT.itvn
15-08-2010, 08:39 AM
Phân tích tí đoạn code của em nhé ( chú ý nét đậm ) :


<vb:if condition="$show['infraction'] OR $show['reppower']">
<dl class="user_rep">
<vb:if condition="$show['infraction']">
<dt>{vb:rawphrase infractions}</dt>
<dd>{vb:raw post.warnings}/{vb:raw post.infractions} ({vb:raw post.ipoints})</dd>
</vb:if>
<div class="eti_postbit"><vb:if condition="$show['reputation']">
<vb:if condition="$show['reppower']">
<dt>{vb:rawphrase reppower}</dt>
<dd id="reppower_{vb:raw post.postid}_{vb:raw post.userid}">{vb:raw post.reppower}</dd></div>
</vb:if>
</vb:if>

Thẻ đóng <div> ...</div> của em bắt đầu từ ngoài thẻ <vb:if condition="$show['reputation']"> , mà thẻ kết thúc đóng </div> của em lại nằm trong đoạn code <vb:if condition="$show['reppower']"> ...</vb:if> ( đoạn code này nằm bên trong đoạn code <vb:if condition="$show['reputation']"> ... </vb:if> ) . Điều này sẽ làm khung đóng không đúng vị trí mà nó chỉ đóng phần trên ( phần chữ ) mà không đống phần dưới ( phần số ) . Nếu đoạn code em đống như thế này :


<div class="eti_postbit">[/B]<vb:if condition="$show['reputation']">
<vb:if condition="$show['reppower']">
<dt>{vb:rawphrase reppower}</dt>
<dd id="reppower_{vb:raw post.postid}_{vb:raw post.userid}">{vb:raw post.reppower}</dd>
</vb:if></div>
</vb:if>

Thì khi điểm của thành viên > 10 sẽ bị xuống hàng vì chức năng reppower nếu có số điểm > 10 sẽ tính theo thang điểm khác ( % hệ số ) . Code trên của em đều nằm trong thẻ <vb:if condition="$show['infraction'] OR $show['reppower']">....<vb:if> nên toàn bộ code trên còn thiếu 1 thẻ đóng </vb:if> cho thẻ mở <vb:if condition="$show['infraction'] OR $show['reppower']"> .

Từ phân tích trên em hiểu mình đóng sai chỗ nào rồi chứ ? Code hoàn chỉnh như sau :


<vb:if condition="$show['infraction'] OR $show['reppower']">
<dl class="user_rep">
<vb:if condition="$show['infraction']">
<dt>{vb:rawphrase infractions}</dt>
<dd>{vb:raw post.warnings}/{vb:raw post.infractions} ({vb:raw post.ipoints})</dd>
</vb:if>
<div class="eti_postbit"><vb:if condition="$show['reputation']">
<vb:if condition="$show['reppower']">
<dt>{vb:rawphrase reppower}</dt>
<dd id="reppower_{vb:raw post.postid}_{vb:raw post.userid}">{vb:raw post.reppower}</dd></div>
</vb:if>
</vb:if></div>
</vb:if>

hoặc :


<div class="eti_postbit"><vb:if condition="$show['infraction'] OR $show['reppower']">
<dl class="user_rep">
<vb:if condition="$show['infraction']">
<dt>{vb:rawphrase infractions}</dt>
<dd>{vb:raw post.warnings}/{vb:raw post.infractions} ({vb:raw post.ipoints})</dd>
</vb:if>
<vb:if condition="$show['reputation']">
<vb:if condition="$show['reppower']">
<dt>{vb:rawphrase reppower}</dt>
<dd id="reppower_{vb:raw post.postid}_{vb:raw post.userid}">{vb:raw post.reppower}</dd></div>
</vb:if>
</vb:if>
</vb:if></div>

01683419001
15-08-2010, 08:55 AM
đó mới là bài gửi, còn chữ thanks bị lệch và dính với level nữahttp://img.photo.zing.vn/file_uploads/gallery/1024x768/2010/08/15/08/89441281837356.bmp

spider95
15-08-2010, 10:12 AM
A HTT ơi , hiện đoạn code trên kia ko đc :(

Link forum e : thebestvn.info

HTT.itvn
15-08-2010, 10:37 AM
đó mới là bài gửi, còn chữ thanks bị lệch và dính với level nữahttp://img.photo.zing.vn/file_uploads/gallery/1024x768/2010/08/15/08/89441281837356.bmp


Admin CP >> Styles & Templates >> Style manager >> Chọn skin cần chỉnh , edit templates >> Post Thank You Hack Templates >> post_thanks_postbit_info : Thay thế toàn bộ CODE sau :


<vb:if condition="$post['userid']">
<div class="eti_postbit"><dt>{vb:rawphrase post_thanks_thanks}</dt> <dd>{vb:raw post.post_thanks_user_amount_formatted}</dd></div>

<div class="eti_postbit"><vb:if condition="$post['post_thanks_thanked_times'] == 1">
<dd float: {vb:stylevar left};">{vb:rawphrase post_thanks_time_post}</dd>
<vb:elseif condition="$post['post_thanks_thanked_posts'] == 1" />
<dd float: {vb:stylevar left};">{vb:rawphrase post_thanks_times_post, {vb:raw post.post_thanks_thanked_times_formatted}}</dd>
<vb:else />
<dd float: {vb:stylevar left};">{vb:rawphrase post_thanks_times_posts, {vb:raw post.post_thanks_thanked_times_formatted}, {vb:raw post.post_thanks_thanked_posts_formatted}}</dd>
</vb:if></div>
</vb:if>





A HTT ơi , hiện đoạn code trên kia ko đc :(

Link forum e : thebestvn.info

Để anh tìm hiểu đã nhé !

01683419001
15-08-2010, 10:58 AM
bây giờ bài gửi đã thụt vô nhưng chữ thanks lại bị lệch ra giữa

vothien93
15-08-2010, 11:03 AM
Phân tích tí đoạn code của em nhé ( chú ý nét đậm ) :



Thẻ đóng <div> ...</div> của em bắt đầu từ ngoài thẻ <vb:if condition="$show['reputation']"> , mà thẻ kết thúc đóng </div> của em lại nằm trong đoạn code <vb:if condition="$show['reppower']"> ...</vb:if> ( đoạn code này nằm bên trong đoạn code <vb:if condition="$show['reputation']"> ... </vb:if> ) . Điều này sẽ làm khung đóng không đúng vị trí mà nó chỉ đóng phần trên ( phần chữ ) mà không đống phần dưới ( phần số ) . Nếu đoạn code em đống như thế này :



Thì khi điểm của thành viên > 10 sẽ bị xuống hàng vì chức năng reppower nếu có số điểm > 10 sẽ tính theo thang điểm khác ( % hệ số ) . Code trên của em đều nằm trong thẻ <vb:if condition="$show['infraction'] OR $show['reppower']">....<vb:if> nên toàn bộ code trên còn thiếu 1 thẻ đóng </vb:if> cho thẻ mở <vb:if condition="$show['infraction'] OR $show['reppower']"> .

Từ phân tích trên em hiểu mình đóng sai chỗ nào rồi chứ ? Code hoàn chỉnh như sau :



hoặc :

em đưa thiếu đoạn code 2 dòng rồi
thiếu đoạn này:


</dl>
</vb:if>

còn đây là đoạn mà nó hiển thị cái "cục" màu xanh xanh phía trên avarta


<vb:if condition="$show['reputation']">
<span class="postbit_reputation" id="repdisplay_{vb:raw post.postid}_{vb:raw post.userid}">{vb:raw post.reputationdisplay}</span>

giờ em đem nó xuống và đóng khung hoàn chỉnh như sau:


<vb:if condition="$show['infraction'] OR $show['reppower']">

<vb:if condition="$show['infraction']">

<div class="eti_postbit">
{vb:rawphrase infractions} :
{vb:raw post.warnings}/{vb:raw post.infractions} ({vb:raw post.ipoints})
</div></vb:if>
<vb:if condition="$show['reputation']">
<vb:if condition="$show['reppower']">
<div class="eti_postbit">
{vb:rawphrase reppower}
: {vb:raw post.reppower}
</div>


<vb:if condition="$show['reputation']">
<div class="eti_postbit"> <span class="postbit_reputation" id="repdisplay_{vb:raw post.postid}_{vb:raw post.userid}">{vb:raw post.reputationdisplay}</span>
</div></vb:if>



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

</vb:if>

HTT.itvn
15-08-2010, 11:40 AM
bây giờ bài gửi đã thụt vô nhưng chữ thanks lại bị lệch ra giữa

Send toàn bộ code cho mình xem nhé , kèm hình ảnh profile .

HTT.itvn
16-08-2010, 05:16 AM
A HTT ơi , hiện đoạn code trên kia ko đc :(

Link forum e : thebestvn.info

Phóng to nick , tìm code sau :


<vb:if condition="$post['userid']"><dd>
{vb:raw memberaction_dropdown} {vb:raw post.onlinestatus}
<vb:else />
<span class="username guest">{vb:raw post.musername}</span> {vb:raw post.onlinestatus}
</dd></vb:if>

Thêm thẻ <h1>...</h1> như sau :


<h1><vb:if condition="$post['userid']"><dd>
{vb:raw memberaction_dropdown} {vb:raw post.onlinestatus}
<vb:else />
<span class="username guest">{vb:raw post.musername}</span> {vb:raw post.onlinestatus}
</dd></vb:if></h1>

spider95
16-08-2010, 07:58 AM
Đoạn trên vẫn k đc :


<center><div class="username_container">
<h4><vb:if condition="$post['userid']">
{vb:raw memberaction_dropdown}
{vb:raw post.onlinestatus}
<vb:else />
<span class="username guest">{vb:raw post.musername}</span>
</vb:if></h4>
</div></center>'



Tiện thể cho em hỏi là cái khung của ITVNN và forum em khác nhau ! cai của ITVNN nó vuông trông nhìn đẹp hơn còn cái của em nó bo tròn nhìn k thẩm mĩ cho lắm . Có phải bắt buộc dùng skin giống ITVNN mới đc ko ?

HTT.itvn
16-08-2010, 09:05 AM
Mấy cách trên anh đều thử nghiệm thành công mà , sao em lại làm không được . Thử làm theo cách này xem sao nhé :


- Phóng to nick : Vào adminCP >> Styles & Templates >> Style Manager >> Chọn skin >> Edit Templates >> CSS templates >> postbit.css , thêm cuối cùng đoạn code sau :


.username_container {
padding:2px 0;
text-align:center;
}

.username_container .username strong {
font-size: 16pt;
font-weight:400;
}

- Đóng khung giống ITVNN : Vào adminCP >> Styles & Templates >> Style Manager >> Chọn skin >> Edit Templates >> CSS templates >> postbit.css , thêm cuối cùng đoạn code sau :


.post_itvnn {
background: #fff;
color: #837e6e;
border: 1px solid #c4c0b5;
padding: 3px 3px 3px 10px;
margin-top: 2px;
text-align:left;
}
.post_itvnn strong {
color: #d62e1f;
}
.post_itvnn dt {
color: #d62e1f;
font-weight:700;
}

Nhấn save . Sau đó vào postbit_legacy chỉnh "eti_postbit" thành "post_itvnn" .

01683419001
16-08-2010, 06:57 PM
Send toàn bộ code cho mình xem nhé , kèm hình ảnh profile .

code phần nào vậy! ak` cho hỏi cách thống nhất các code của khung profile ở các trình duyệt opera, firefox,IE nha

vothien93
16-08-2010, 07:04 PM
anh thanh cho em hỏi đoạn code của mod user level trong postbit_legacy là đoạn nào ạ?em muốn di chuyển nó xuống dưới cùng trong profile( hiện giờ nó nằm trên cái mod thank giống itvnn)

HTT.itvn
17-08-2010, 01:03 PM
code phần nào vậy! ak` cho hỏi cách thống nhất các code của khung profile ở các trình duyệt opera, firefox,IE nha

Toàn bộ code trong postbit_legacy .

01683419001
17-08-2010, 02:26 PM
Toàn bộ code trong postbit_legacy .
code này
{vb:raw template_hook.postbit_start}
<li class="postbitlegacy postbitim postcontainer" id="post_{vb:raw post.postid}">
<!-- see bottom of postbit.css for .userinfo .popupmenu styles -->

<div class="tcat">
<div class="tcat_left"></div>
<div class="tcat_right"></div>
<h2>
<span class="forumtitle">{vb:raw thread.title}</span>
</h2>
</div>
<div class="tbody_left">
<div class="tbody_right postbit_wrapper">

<div class="posthead">
<vb:if condition="$show['inlinemod']"><label for="post_imod_checkbox_{vb:raw post.postid}"></vb:if>
<span class="postdate {vb:raw post.statusicon}">
<vb:if condition="$show['announcement']">
<span class="date">{vb:rawphrase x_until_y, {vb:raw post.startdate}, {vb:raw post.enddate}}</span>
<vb:else />
<span class="date">{vb:raw post.postdate}<vb:if condition="!$show['detailedtime']">&nbsp;<span class="time">{vb:raw post.posttime}</span></vb:if></span>
</vb:if>
</span>
<span class="nodecontrols">
<vb:if condition="$post['postid'] AND $post['threadid'] AND !$show['moderated']">
<a name="post{vb:raw post.postid}" href="{vb:link thread, {vb:raw thread}, {vb:raw pageinfo_post}}#post{vb:raw post.postid}" class="<vb:if condition="$show['inlinemod']">ie</vb:if>postcounter">#{vb:raw post.postcount}</a><a id="postcount{vb:raw post.postid}" name="{vb:raw post.postcount}"></a>
</vb:if>
<vb:if condition="$show['moderated']">{vb:rawphrase moderated_post}</vb:if>
<vb:if condition="$show['inlinemod']">
<input class="postimod" type="checkbox" id="post_imod_checkbox_{vb:raw post.postid}" name="plist[{vb:raw post.postid}]" value="{vb:raw post.checkbox_value}" />
</vb:if>
</span>
<vb:if condition="$show['inlinemod']"></label></vb:if>
</div>
<div class="postdetails">
<div class="userinfo">
<div class="username_container">
<center> <b> <vb:if condition="$post['userid']">
{vb:raw memberaction_dropdown}
{vb:raw post.onlinestatus}
<vb:else />
<span class="username guest">{vb:raw post.musername}</span>
</vb:if><b></center>
</div>
<span class="usertitle">
{vb:raw post.usertitle}
</span>
<vb:if condition="$post['rank']">
<span class="rank">{vb:raw post.rank}</span>
</vb:if>
{vb:raw template_hook.postbit_userinfo_left}
<vb:if condition="$show['reputation']">
<span class="postbit_reputation" id="repdisplay_{vb:raw post.postid}_{vb:raw post.userid}">{vb:raw post.reputationdisplay}</span>
</vb:if>
<!-- ��ng khung avatar --><center>
<vb:if condition="$show['avatar']">
<table id="Table_01" width="100" height="100" border="0" cellpadding="0" cellspacing="0">
<tr>
<td>
<img src="images/avatar/ava_01.png" width="34" height="34" alt=""></td>
<td background="images/avatar/ava_02.png">
</td>
<td>
<img src="images/avatar/ava_03.png" width="34" height="34" alt=""></td>
</tr>
<tr>
<td background="images/avatar/ava_04.png">
</td>
<td background="images/avatar/ava_05.png">
<a class="postuseravatar" href="{vb:link member, {vb:raw post}}" title="{vb:rawphrase {vb:raw post['onlinestatusphrase']}, {vb:raw post.username}}">
<img src="{vb:raw post.avatarurl}" alt="{vb:rawphrase xs_avatar, {vb:raw post.username}}" />
</a>
</td>
<td background="images/avatar/ava_06.png">
</td>
</tr>
<tr>
<td>
<img src="images/avatar/ava_07.png" width="34" height="34" alt=""></td>
<td background="images/avatar/ava_08.png">
</td>
<td>
<img src="images/avatar/ava_09.png" width="34" height="34" alt=""></td>
</tr>
</table>
</vb:if> </center>
<!-- / K?t th�c d�ng khung avatar -->
<vb:if condition="$post['userid']">
<hr />
<dl class="userinfo_extra">
<div align="center" class="eti_postbit">
<vb:if condition="$post['userid']"><font color=red><b>Thành viên thứ</b></font><dd>{vb:raw post.userid}</dd></vb:if></div>

<vb:if condition="$post['field5']"><div class="eti_postbit"><font color=red><b><dt>Họ Tên</dt></b></font><dd> {vb:raw post.field5}</dd></div></vb:if>

<vb:if condition="$post['field6']"><div class="eti_postbit"><font color=red><b><dt>Đến Từ</dt></b></font><dd> {vb:raw post.field6}</dd></div></vb:if>

<vb:if condition="$post['field7']"><div class="eti_postbit"><font color=red><b><dt>Giới Tính</dt></b></font><dd> {vb:raw post.field7}</dd></div></vb:if>


<vb:if condition="$post['joindate']"><dt>{vb:rawphrase join_date}</dt> <dd>{vb:raw post.joindate}</dd></vb:if>
<vb:if condition="$post['field2']"><dt>{vb:rawphrase location_perm}</dt> <dd>{vb:raw post.field2}</dd></vb:if>
<vb:if condition="$post['age']"><dt>{vb:rawphrase age}</dt> <dd>{vb:raw post.age}</dd></vb:if>
<div class="eti_postbit"><dt>{vb:rawphrase 'posts'}</dt> <dd>{vb:raw post.posts}</dd></div>

{vb:raw template_hook.postbit_userinfo_right_after_posts}
</dl>
<vb:if condition="$show['infraction'] OR $show['reppower']">
<dl class="user_rep">
<vb:if condition="$show['infraction']">
<dt>{vb:rawphrase infractions}</dt>
<dd>{vb:raw post.warnings}/{vb:raw post.infractions} ({vb:raw post.ipoints})</dd>
</vb:if>
<vb:if condition="$show['reputation']">
<vb:if condition="$show['reppower']">
<dt>{vb:rawphrase reppower}</dt>
<dd id="reppower_{vb:raw post.postid}_{vb:raw post.userid}">{vb:raw post.reppower}</dd>
</vb:if>
</vb:if>
</dl>
</vb:if>
{vb:raw template_hook.postbit_userinfo_right}
<div class="imlinks">
{vb:raw post.icqicon} {vb:raw post.aimicon} {vb:raw post.msnicon} {vb:raw post.yahooicon} {vb:raw post.skypeicon}
</div>
</vb:if>
</div>
<div class="postbody">
<div class="postrow<vb:if condition="$show['postedited'] || $post['signature']"> has_after_content</vb:if>">
{vb:raw template_hook.postbit_messagearea_start}
<vb:if condition="$post['title'] OR $show['messageicon']">
<h2 class="title icon">
<vb:if condition="$show['messageicon']"><img src="{vb:raw post.iconpath}" alt="{vb:raw post.icontitle}" /> </vb:if>{vb:raw post.title}
</h2>
</vb:if>


<vb:if condition="$post['isfirstshown']">
{vb:raw ad_location.ad_showthread_firstpost_start}
{vb:raw ad_location.thread_first_post_content}
</vb:if>
<vb:if condition="$post['islastshown']">
{vb:raw ad_location.thread_last_post_content}
</vb:if>
<div class="content<vb:if condition="$show['first_ad'] OR $show['last_ad']"> hasad</vb:if>">
<div id="post_message_{vb:raw post.postid}">
<blockquote class="postcontent restore ">
{vb:raw post.message}
</blockquote>
</div>

<vb:if condition="$show['attachments']">
<div class="attachments">

<vb:if condition="$show['thumbnailattachment']">
<fieldset class="postcontent">
<legend><img src="{vb:stylevar imgdir_misc}/paperclip.png" class="inlineimg" alt="{vb:rawphrase attached_thumbnails}" /> {vb:rawphrase attached_thumbnails}</legend>
{vb:raw post.thumbnailattachments}
</fieldset>
</vb:if>

<vb:if condition="$show['imageattachment']">
<fieldset class="postcontent">
<legend><img src="{vb:stylevar imgdir_misc}/paperclip.png" class="inlineimg" /> {vb:rawphrase attached_images}</legend>
{vb:raw post.imageattachments}
</fieldset>
</vb:if>

<vb:if condition="$show['imageattachmentlink']">
<fieldset class="postcontent">
<legend><img src="{vb:stylevar imgdir_misc}/paperclip.png" class="inlineimg" /> {vb:rawphrase attached_images}</legend>
<ul>
{vb:raw post.imageattachmentlinks}
</ul>
</fieldset>
</vb:if>

<vb:if condition="$show['otherattachment']">
<fieldset class="postcontent">
<legend><img src="{vb:stylevar imgdir_misc}/paperclip.png" class="inlineimg" /> {vb:rawphrase attached_files}</legend>
<ul>
{vb:raw post.otherattachments}
</ul>
</fieldset>
</vb:if>

<vb:if condition="$show['moderatedattachment']">
<fieldset class="postcontent">
<legend><img src="{vb:stylevar imgdir_misc}/paperclip.png" class="inlineimg" /> {vb:rawphrase attachments_pending_approval}</legend>
<ul>
{vb:raw post.moderatedattachments}
</ul>
</fieldset>
</vb:if>

</div>
<!-- / attachments -->
</vb:if>
</div>
</div>
<vb:if condition="$show['postedited'] || $post['signature']">
<div class="after_content">
<vb:if condition="$show['postedited']">
<!-- edit note -->
<blockquote class="postcontent lastedited">
<!-- <img src="{vb:stylevar imgdir_button}/edit_40b.png" class="inlineimg" alt="" /> -->
<vb:if condition="$show['postedithistory']">
{vb:rawphrase last_edited_link_by_x_on_y_at_z_postid, {vb:raw post.edit_username}, {vb:raw post.edit_date},
{vb:raw post.edit_time}, {vb:raw post.historyurl}}
<vb:else />
{vb:rawphrase last_edited_by_x_on_y_at_z, {vb:raw post.edit_username}, {vb:raw post.edit_date}, {vb:raw post.edit_time}}
</vb:if>
<vb:if condition="$post['edit_reason']">
<span class="reason">{vb:rawphrase reason}:</span> {vb:raw post.edit_reason}
</vb:if>
</blockquote>
<!-- / edit note -->
</vb:if>
{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="signaturecontainer">{vb:raw post.signature}</div></blockquote>
</vb:if>
{vb:raw template_hook.postbit_signature_end}
</div>
</vb:if>
<div class="cleardiv"></div>
</div>
</div>
<div class="postfoot">
<!-- <div class="postfoot_container"> -->
<div class="textcontrols floatcontainer">
<span class="postcontrols">
<img style="display:none" id="progress_{vb:raw post.postid}" src="{vb:stylevar imgdir_misc}/progress.gif" alt="{vb:rawphrase loading_editor_please_wait}" />
<vb:if condition="$post['editlink']">
<a class="editpost" href="{vb:raw post.editlink}" name="vB::QuickEdit::{vb:raw post.postid}"><img src="{vb:raw vboptions.cleargifurl}" id="editimg_{vb:raw post.postid}" alt="{vb:rawphrase edit_delete_message}" /> {vb:rawphrase edit_post}</a>
<span class="seperator">&nbsp;</span>
</vb:if>
<vb:if condition="$show['quickreply'] AND !$show['threadedmode']">
<a id="qr_{vb:raw post.postid}" class='quickreply' href="{vb:raw post.replylink}" rel="nofollow"><img id="replyimg_{vb:raw post.postid}" src="{vb:raw vboptions.cleargifurl}" alt="{vb:rawphrase quick_reply_to_this_message}" /> {vb:rawphrase reply}</a>
<span class="seperator">&nbsp;</span>
</vb:if>
<vb:if condition="$post['replylink']">
<a id="qrwq_{vb:raw post.postid}" class="newreply" href="{vb:raw post.replylink}" rel="nofollow"><img id="quoteimg_{vb:raw post.postid}" src="{vb:raw vboptions.cleargifurl}" alt="{vb:rawphrase reply_with_quote}" /> <vb:if condition="$post['forwardlink']">{vb:rawphrase reply_to_private_message}<vb:else />{vb:rawphrase reply_with_quote}</vb:if></a>
<vb:if condition="$show['multiquote_post']"><span class="seperator">&nbsp;</span></vb:if>
</vb:if>
<vb:if condition="$show['multiquote_post']">

<a class="multiquote" href="{vb:raw post.replylink}" rel="nofollow" onclick="return false;" id="mq_{vb:raw post.postid}"><img id="mq_image_{vb:raw post.postid}" src="{vb:raw vboptions.cleargifurl}" alt="{vb:rawphrase multi_quote_this_message}" />&nbsp;</a>
</vb:if>
</span>
<span class="postlinking">
<vb:if condition="!$post['forwardlink'] && THIS_SCRIPT != 'usernote' && THIS_SCRIPT != 'announcement'">
<vb:if condition="$promote_sectionid AND $promote_sectionid != -1">
<a href="{vb:raw promote_url}" class="promotecms">{vb:rawphrase promote_to_article}</a>
<span class="seperator">&nbsp;</span>
</vb:if>
</vb:if>

{vb:raw template_hook.postbit_controls}
{vb:raw post.iplogged}
<vb:if condition="$post['forwardlink']">
<a class="forwardpost" href="{vb:raw post.forwardlink}" rel="nofollow"><img src="{vb:raw vboptions.cleargifurl}" alt="{vb:rawphrase forward_message}" /> {vb:rawphrase forward}</a>
<vb:if condition="$show['reputationlink'] OR $show['infractionlink'] OR $show['moderated'] OR $show['spam'] OR $show['deletedpost'] OR $show['redcard'] OR $show['yellowcard']"><span class="seperator">&nbsp;</span></vb:if>
</vb:if>
<vb:if condition="$show['reputationlink']">
<span class="reputationpopupmenu popupmenu popupcustom" title="{vb:raw post.postid}"><a class="popupctrl reputation" title="{vb:rawphrase reputation}" href="reputation.php?{vb:raw session.sessionurl}do=addreputation&amp;p={vb:raw post.postid}" rel="nofollow" id="reputation_{vb:raw post.postid}"><!--<img src="{vb:stylevar imgdir_button}/reputation-40b.png" alt="{vb:rawphrase reputation}" /> -->&nbsp;</a></span>
</vb:if>

<vb:if condition="$show['infractionlink']">
<a class="infraction" href="infraction.php?{vb:raw session.sessionurl}do=report&amp;p={vb:raw post.postid}" rel="nofollow" title="{vb:rawphrase add_infraction_for_x, {vb:raw post.username}}"><!-- <img src="{vb:stylevar imgdir_button}/add-infraction_sm.png" alt="{vb:rawphrase add_infraction_for_x, {vb:raw post.username}}" /> --> &nbsp;</a> &nbsp;
</vb:if>
<vb:if condition="$show['reportlink']">
<a class="report" href="{vb:raw post.reportlink}" rel="nofollow" title="{vb:rawphrase report_bad_post}"><!-- <img src="{vb:stylevar imgdir_button}/report-40b.png" alt="{vb:rawphrase report_bad_post}" /> -->&nbsp;</a> &nbsp;
</vb:if>

<vb:if condition="$show['moderated']">
<img class="moderated" src="{vb:stylevar imgdir_misc}/moderated_sm.png" alt="{vb:rawphrase moderated_post}" />
</vb:if>
<vb:if condition="$show['spam']">
<img class="spam" src="{vb:stylevar imgdir_misc}/spam_detected.png" alt="{vb:rawphrase spam_post}" />
</vb:if>
<vb:if condition="$show['deletedpost']">
<vb:if condition="$show['managepost']">
<a class="deleted" href="postings.php?{vb:raw session.sessionurl}do=managepost&amp;p={vb:raw post.postid}" title="{vb:rawphrase manage}"><!-- <img src="{vb:stylevar imgdir_misc}/deleted_sm.png" alt="{vb:rawphrase manage}" /> --> &nbsp;</a>
<vb:else />
<img class="deleted_nolink" class="inlineimage" src="{vb:stylevar imgdir_misc}/deleted_sm.png" alt="{vb:rawphrase deleted_post}" />
</vb:if>
</vb:if>
<vb:if condition="$show['redcard']">
<a class="redcard" href="infraction.php?{vb:raw session.sessionurl}do=view&amp;p={vb:raw post.postid}" rel="nofollow" title="{vb:rawphrase received_infraction}"><!-- <img src="{vb:stylevar imgdir_button}/red-card_sm.png" alt="{vb:rawphrase received_infraction}" /> --> &nbsp;</a>
<vb:elseif condition="$show['yellowcard']" />
<a class="yellowcard" href="infraction.php?{vb:raw session.sessionurl}do=view&amp;p={vb:raw post.postid}" rel="nofollow" title="{vb:rawphrase received_warning}"><!--<img src="{vb:stylevar imgdir_button}/yellow-card_sm.png" alt="{vb:rawphrase received_warning}" /> --> &nbsp;</a>
</vb:if>
</span>
<!-- </div> -->
</div>
</div>
<div class="tbody_under"></div>
</div>
</div>
<div class="tfoot">
<div class="tfoot_left"></div>
<div class="tfoot_right"></div>

</div>

<hr />
</li>
{vb:raw template_hook.postbit_end}còn vụ khung profile bị lỗi ở trình duyệt opera và firefox chỉ đẹp ở Google Chrome thôi! giúp mình luôn nha:
IE:http://img.photo.zing.vn/file_uploads/gallery/1024x768/2010/08/17/02/20851282031672.bmp
Firefox:http://img.photo.zing.vn/file_uploads/gallery/1024x768/2010/08/17/02/81181282031706.bmp

Google Chrome thì bình thường

spider95
17-08-2010, 06:08 PM
Mấy cách trên anh đều thử nghiệm thành công mà , sao em lại làm không được . Thử làm theo cách này xem sao nhé :


- Phóng to nick : Vào adminCP >> Styles & Templates >> Style Manager >> Chọn skin >> Edit Templates >> CSS templates >> postbit.css , thêm cuối cùng đoạn code sau :


- Đóng khung giống ITVNN : Vào adminCP >> Styles & Templates >> Style Manager >> Chọn skin >> Edit Templates >> CSS templates >> postbit.css , thêm cuối cùng đoạn code sau :



Nhấn save . Sau đó vào postbit_legacy chỉnh "eti_postbit" thành "post_itvnn" .



Vậy có cần xóa đoạn css ở bài đầu tiên k ? hay là add cái này sau cái đó ...

HTT.itvn
17-08-2010, 07:27 PM
Vậy có cần xóa đoạn css ở bài đầu tiên k ? hay là add cái này sau cái đó ...

Không cần đâu , em thêm vào cuối cùng là ok mà .

mhhuongnb
19-08-2010, 09:06 PM
Cho em hỏi lỗi này là sao? em làm theo hướng dẫn rồi mà không được

HTT.itvn
19-08-2010, 09:26 PM
Cho em hỏi lỗi này là sao? em làm theo hướng dẫn rồi mà không được
Một câu hỏi mà chính anh bó tay vì không hiểu câu hỏi của em . Nêu ra câu hỏi cụ thể đi nhá !

mhhuongnb
19-08-2010, 09:33 PM
Em nhầm quên chưa up ảnh anh xem hộ em cái
http://cA5.upanh.com/11.941.16146622.KUX0/smod.bmp

HTT.itvn
19-08-2010, 09:39 PM
Câu hỏi này anh đã trả lời ở đây http://itvnn.net/showthread.php?16046-B%E1%BB%8F-t%C3%B9y-ch%E1%BB%8Dn-up-%E1%BA%A3nh-t%E1%BB%AB-m%C3%A1y-t%C3%ADnh-%E1%BB%9F-khung-so%E1%BA%A1n-th%E1%BA%A3o&p=29872#post29872

spider95
20-08-2010, 07:02 AM
Xin anh HTT chỉ em đóng khung 2 cái này , trong hình :

http://cA5.upanh.com/11.955.16161022.XOZ0/ScreenHunter_01Aug200700.gif




và tại sao cái thanh level nó mất cái cây màu xanh rồi ??

spider95
20-08-2010, 07:09 AM
Cho em hỏi cái nữa là cách chỉnh màu nền box , cái này nằm ở stylevars nào ạ.

http://cA3.upanh.com/11.955.16161068.KUX0/ScreenHunter_04Aug200708.gif

HTT.itvn
20-08-2010, 08:03 AM
- Đóng khung : Đưa cho anh code toàn bộ postbit_legacy , nếu dung mod thì đưa mod này cho anh xem .
- Chỉnh màu forum row : trong stylevar tìm forumrow_backgound ( phông màu kể từ forum row thứ 2 trở xuống )và forumrow_firstentry_background ( phông màu forum row đầu tiên ) .
- Hình ảnh của level phải upload trong thư mục images/misc/ của style .

spider95
20-08-2010, 09:54 AM
{vb:raw template_hook.postbit_start}
<li class="postbitlegacy postbitim postcontainer" id="post_{vb:raw post.postid}">
<!-- see bottom of postbit.css for .userinfo .popupmenu styles -->

<div class="posthead">
<vb:if condition="$show['inlinemod']"><label for="post_imod_checkbox_{vb:raw post.postid}"></vb:if>
<span class="postdate {vb:raw post.statusicon}">
<vb:if condition="$show['announcement']">
<span class="date">{vb:rawphrase x_until_y, {vb:raw post.startdate}, {vb:raw post.enddate}}</span>
<vb:else />
<span class="date">{vb:raw post.postdate}<vb:if condition="!$show['detailedtime']">&nbsp;<span class="time">{vb:raw post.posttime}</span></vb:if></span>
</vb:if>
</span>
<span class="nodecontrols">
<vb:if condition="$post['postid'] AND $post['threadid'] AND !$show['moderated']">
<a name="post{vb:raw post.postid}" href="{vb:link thread, {vb:raw thread}, {vb:raw pageinfo_post}}#post{vb:raw post.postid}" class="postcounter">#{vb:raw post.postcount}</a><a id="postcount{vb:raw post.postid}" name="{vb:raw post.postcount}"></a>
</vb:if>
<vb:if condition="$show['moderated']">{vb:rawphrase moderated_post}</vb:if>
<vb:if condition="$show['inlinemod']">
<input class="postimod" type="checkbox" id="post_imod_checkbox_{vb:raw post.postid}" name="plist[{vb:raw post.postid}]" value="{vb:raw post.checkbox_value}" />
</vb:if>
</span>
<vb:if condition="$show['inlinemod']"></label></vb:if>
</div>
<div class="postdetails">
<div class="userinfo">
<center><div class="username_container">
<h4><vb:if condition="$post['userid']">
{vb:raw memberaction_dropdown}
{vb:raw post.onlinestatus}
<vb:else />
<span class="username guest">{vb:raw post.musername}</span>
</vb:if></h4>
</div></center>
<center><span class="usertitle">
{vb:raw post.usertitle}
</span></center>
<center><vb:if condition="$post['rank']">
<span class="rank">{vb:raw post.rank}</span>
</vb:if></center>
{vb:raw template_hook.postbit_userinfo_left}
<vb:if condition="$show['reputation']">
<span class="postbit_reputation" id="repdisplay_{vb:raw post.postid}_{vb:raw post.userid}">{vb:raw post.reputationdisplay}</span>
</vb:if>
<vb:if condition="$show['avatar']">
<a class="postuseravatar" href="{vb:link member, {vb:raw post}}" title="{vb:rawphrase {vb:raw post['onlinestatusphrase']}, {vb:raw post.username}}">
<img src="{vb:raw post.avatarurl}" alt="{vb:rawphrase xs_avatar, {vb:raw post.username}}" title="{vb:rawphrase xs_avatar, {vb:raw post.username}}" />
</a>
</vb:if>
<vb:if condition="$post['userid']">
<hr />
<dl class="userinfo_extra">
<vb:if condition="$post['joindate']"><div class="post_itvnn"><dt>{vb:rawphrase join_date}</dt> <dd>{vb:raw post.joindate}</dd></div></vb:if>
<vb:if condition="$post['field2']"><div class="post_itvnn"><dt>{vb:rawphrase location_perm}</dt> <dd>{vb:raw post.field2}</dd></div></vb:if>
<vb:if condition="$post['age']"><div class="post_itvnn"><dt>{vb:rawphrase age}</dt> <dd>{vb:raw post.age}</dd></div></vb:if>
<div class="post_itvnn"><dt>{vb:rawphrase 'posts'}</dt> <dd>{vb:raw post.posts}</dd></div>
{vb:raw template_hook.postbit_userinfo_right_after_posts}
</dl>
<vb:if condition="$show['infraction'] OR $show['reppower']">
<dl class="user_rep">
<vb:if condition="$show['infraction']">
<dt>{vb:rawphrase infractions}</dt>
<dd>{vb:raw post.warnings}/{vb:raw post.infractions} ({vb:raw post.ipoints})</dd>
</vb:if>
<vb:if condition="$show['reputation']">
<vb:if condition="$show['reppower']">
<dt>{vb:rawphrase reppower}</dt>
<dd id="reppower_{vb:raw post.postid}_{vb:raw post.userid}">{vb:raw post.reppower}</dd>
</vb:if>
</vb:if>
</dl>
</vb:if>
{vb:raw template_hook.postbit_userinfo_right}
<div class="imlinks">
{vb:raw post.icqicon} {vb:raw post.aimicon} {vb:raw post.msnicon} {vb:raw post.yahooicon} {vb:raw post.skypeicon}
</div>
</vb:if>
</div>
<div class="postbody">
<div class="postrow<vb:if condition="$show['postedited'] || $post['signature']"> has_after_content</vb:if>">
{vb:raw template_hook.postbit_messagearea_start}
<vb:if condition="$post['title'] OR $show['messageicon']">
<h2 class="title icon">
<vb:if condition="$show['messageicon']"><img src="{vb:raw post.iconpath}" alt="{vb:raw post.icontitle}" /> </vb:if>{vb:raw post.title}
</h2>
</vb:if>


<vb:if condition="$post['isfirstshown']">
{vb:raw ad_location.ad_showthread_firstpost_start}
{vb:raw ad_location.thread_first_post_content}
</vb:if>
<vb:if condition="$post['islastshown']">
{vb:raw ad_location.thread_last_post_content}
</vb:if>
<div class="content<vb:if condition="$show['first_ad'] OR $show['last_ad']"> hasad</vb:if>">
<div id="post_message_{vb:raw post.postid}">
<blockquote class="postcontent restore ">
{vb:raw post.message}
</blockquote>
</div>

<vb:if condition="$show['attachments']">
<div class="attachments">

<vb:if condition="$show['thumbnailattachment']">
<fieldset class="postcontent">
<legend><img src="{vb:stylevar imgdir_misc}/paperclip.png" class="inlineimg" alt="{vb:rawphrase attached_thumbnails}" /> {vb:rawphrase attached_thumbnails}</legend>
{vb:raw post.thumbnailattachments}
</fieldset>
</vb:if>

<vb:if condition="$show['imageattachment']">
<fieldset class="postcontent">
<legend><img src="{vb:stylevar imgdir_misc}/paperclip.png" class="inlineimg" /> {vb:rawphrase attached_images}</legend>
{vb:raw post.imageattachments}
</fieldset>
</vb:if>

<vb:if condition="$show['imageattachmentlink']">
<fieldset class="postcontent">
<legend><img src="{vb:stylevar imgdir_misc}/paperclip.png" class="inlineimg" /> {vb:rawphrase attached_images}</legend>
<ul>
{vb:raw post.imageattachmentlinks}
</ul>
</fieldset>
</vb:if>

<vb:if condition="$show['otherattachment']">
<fieldset class="postcontent">
<legend><img src="{vb:stylevar imgdir_misc}/paperclip.png" class="inlineimg" /> {vb:rawphrase attached_files}</legend>
<ul>
{vb:raw post.otherattachments}
</ul>
</fieldset>
</vb:if>

<vb:if condition="$show['moderatedattachment']">
<fieldset class="postcontent">
<legend><img src="{vb:stylevar imgdir_misc}/paperclip.png" class="inlineimg" /> {vb:rawphrase attachments_pending_approval}</legend>
<ul>
{vb:raw post.moderatedattachments}
</ul>
</fieldset>
</vb:if>

</div>
<!-- / attachments -->
</vb:if>
</div>
</div>
<vb:if condition="$show['postedited'] || $post['signature']">
<div class="after_content">
<vb:if condition="$show['postedited']">
<!-- edit note -->
<blockquote class="postcontent lastedited">
<!-- <img src="{vb:stylevar imgdir_button}/edit_40b.png" class="inlineimg" alt="" /> -->
<vb:if condition="$show['postedithistory']">
{vb:rawphrase last_edited_link_by_x_on_y_at_z_postid, {vb:raw post.edit_username}, {vb:raw post.edit_date},
{vb:raw post.edit_time}, {vb:raw post.historyurl}}
<vb:else />
{vb:rawphrase last_edited_by_x_on_y_at_z, {vb:raw post.edit_username}, {vb:raw post.edit_date}, {vb:raw post.edit_time}}
</vb:if>
<vb:if condition="$post['edit_reason']">
<span class="reason">{vb:rawphrase reason}:</span> {vb:raw post.edit_reason}
</vb:if>
</blockquote>
<!-- / edit note -->
</vb:if>
{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="signaturecontainer">{vb:raw post.signature}</div></blockquote>
</vb:if>
{vb:raw template_hook.postbit_signature_end}
</div>
</vb:if>
<div class="cleardiv"></div>
</div>
</div>
<div class="postfoot">
<!-- <div class="postfoot_container"> -->
<div class="textcontrols">
<span class="postcontrols">
<img style="display:none" id="progress_{vb:raw post.postid}" src="{vb:stylevar imgdir_misc}/progress.gif" alt="{vb:rawphrase loading_editor_please_wait}" />
<vb:if condition="$post['editlink']">
<a class="editpost" href="{vb:raw post.editlink}" name="vB::QuickEdit::{vb:raw post.postid}"><img src="{vb:raw vboptions.cleargifurl}" id="editimg_{vb:raw post.postid}" alt="{vb:rawphrase edit_delete_message}" /> {vb:rawphrase edit_post}</a>
<span class="seperator">&nbsp;</span>
</vb:if>
<vb:if condition="$show['quickreply'] AND !$show['threadedmode']">
<a id="qr_{vb:raw post.postid}" class='quickreply' href="{vb:raw post.replylink}" rel="nofollow"><img id="replyimg_{vb:raw post.postid}" src="{vb:raw vboptions.cleargifurl}" alt="{vb:rawphrase quick_reply_to_this_message}" /> {vb:rawphrase reply}</a>
<span class="seperator">&nbsp;</span>
</vb:if>
<vb:if condition="$post['replylink']">
<a id="qrwq_{vb:raw post.postid}" class="newreply" href="{vb:raw post.replylink}" rel="nofollow"><img id="quoteimg_{vb:raw post.postid}" src="{vb:raw vboptions.cleargifurl}" alt="{vb:rawphrase reply_with_quote}" /> {vb:rawphrase reply_with_quote}</a>
<span class="seperator">&nbsp;</span>
</vb:if>
<vb:if condition="$show['multiquote_post']">

<a class="multiquote" href="{vb:raw post.replylink}" rel="nofollow" onclick="return false;" id="mq_{vb:raw post.postid}"><img id="mq_image_{vb:raw post.postid}" src="{vb:raw vboptions.cleargifurl}" alt="{vb:rawphrase multi_quote_this_message}" />&nbsp;</a>
</vb:if>
</span>
<span class="postlinking">
<vb:if condition="!$post['forwardlink'] && THIS_SCRIPT != 'usernote' && THIS_SCRIPT != 'announcement'">
<vb:if condition="$promote_sectionid AND $promote_sectionid != -1">
<a href="{vb:raw promote_url}" class="promotecms">{vb:rawphrase promote_to_article}</a>
<span class="seperator">&nbsp;</span>
</vb:if>
</vb:if>

{vb:raw template_hook.postbit_controls}
{vb:raw post.iplogged}
<vb:if condition="$show['reputationlink']">
<span class="reputationpopupmenu popupmenu popupcustom" title="{vb:raw post.postid}"><a class="popupctrl reputation" title="{vb:rawphrase reputation}" href="reputation.php?{vb:raw session.sessionurl}do=addreputation&amp;p={vb:raw post.postid}" rel="nofollow" id="reputation_{vb:raw post.postid}"><!--<img src="{vb:stylevar imgdir_button}/reputation-40b.png" alt="{vb:rawphrase reputation}" /> -->&nbsp;</a></span>
</vb:if>

<vb:if condition="$show['infractionlink']">
<a class="infraction" href="infraction.php?{vb:raw session.sessionurl}do=report&amp;p={vb:raw post.postid}" rel="nofollow" title="{vb:rawphrase add_infraction_for_x, {vb:raw post.username}}"><!-- <img src="{vb:stylevar imgdir_button}/add-infraction_sm.png" alt="{vb:rawphrase add_infraction_for_x, {vb:raw post.username}}" /> --> &nbsp;</a> &nbsp;
</vb:if>
<vb:if condition="$show['reportlink']">
<a class="report" href="{vb:raw post.reportlink}" rel="nofollow" title="{vb:rawphrase report_bad_post}"><!-- <img src="{vb:stylevar imgdir_button}/report-40b.png" alt="{vb:rawphrase report_bad_post}" /> -->&nbsp;</a> &nbsp;
</vb:if>

<vb:if condition="$show['moderated']">
<img class="moderated" src="{vb:stylevar imgdir_misc}/moderated_sm.png" alt="{vb:rawphrase moderated_post}" />
</vb:if>
<vb:if condition="$show['spam']">
<img class="spam" src="{vb:stylevar imgdir_misc}/spam_detected.png" alt="{vb:rawphrase spam_post}" />
</vb:if>
<vb:if condition="$show['deletedpost']">
<vb:if condition="$show['managepost']">
<a class="deleted" href="postings.php?{vb:raw session.sessionurl}do=managepost&amp;p={vb:raw post.postid}" title="{vb:rawphrase manage}"><!-- <img src="{vb:stylevar imgdir_misc}/deleted_sm.png" alt="{vb:rawphrase manage}" /> --> &nbsp;</a>
<vb:else />
<img class="deleted_nolink" class="inlineimage" src="{vb:stylevar imgdir_misc}/deleted_sm.png" alt="{vb:rawphrase deleted_post}" />
</vb:if>
</vb:if>
<vb:if condition="$show['redcard']">
<a class="redcard" href="infraction.php?{vb:raw session.sessionurl}do=view&amp;p={vb:raw post.postid}" rel="nofollow" title="{vb:rawphrase received_infraction}"><!-- <img src="{vb:stylevar imgdir_button}/red-card_sm.png" alt="{vb:rawphrase received_infraction}" /> --> &nbsp;</a>
<vb:elseif condition="$show['yellowcard']" />
<a class="yellowcard" href="infraction.php?{vb:raw session.sessionurl}do=view&amp;p={vb:raw post.postid}" rel="nofollow" title="{vb:rawphrase received_warning}"><!--<img src="{vb:stylevar imgdir_button}/yellow-card_sm.png" alt="{vb:rawphrase received_warning}" /> --> &nbsp;</a>
</vb:if>
<vb:if condition="$post['forwardlink']">
<a class="forwardpost" href="{vb:raw post.forwardlink}" rel="nofollow"><img src="{vb:stylevar imgdir_button}/reply_40b.png" alt="{vb:rawphrase forward_message}" /> {vb:rawphrase forward}</a>
</vb:if>
</span>
<!-- </div> -->
</div>
</div>
<hr />
</li>
{vb:raw template_hook.postbit_end}


1 cái stylevars của a em tìm ở trên k thấy là forumrow_firstentry_background

HTT.itvn
20-08-2010, 10:13 AM
1 cái stylevars của a em tìm ở trên k thấy là forumrow_firstentry_background

Code em đưa anh không thấy đâu cả , nếu là MOD thì em đưa MOD đấy anh xem nhé !

- Tại mục search Stylevar em gõ tìm từ forumrow thì sẽ thấy nó nằm liền kề nhau .

spider95
20-08-2010, 10:41 AM
đc rồi , thanks anh..................

spider95
20-08-2010, 05:31 PM
Anh HTT cho em hỏi cái nữa là cách canh khung avatar vào giữa :D

HTT.itvn
20-08-2010, 05:43 PM
Anh HTT cho em hỏi cái nữa là cách canh khung avatar vào giữa :D

Thêm thẻ <center> ... </center> vào đoạn code avatar , có dạng như sau :


<center>
<vb:if condition="$show['avatar']">
.
.
.
</vb:if>
</center>

spider95
20-08-2010, 07:46 PM
<center><vb:if condition="$show['avatar']">
<a class="postuseravatar" href="{vb:link member, {vb:raw post}}" title="{vb:rawphrase {vb:raw post['onlinestatusphrase']}, {vb:raw post.username}}">
<img src="{vb:raw post.avatarurl}" alt="{vb:rawphrase xs_avatar, {vb:raw post.username}}" title="{vb:rawphrase xs_avatar, {vb:raw post.username}}" />
</a>
</vb:if></center>

ko dc anh ơi :(

HTT.itvn
20-08-2010, 08:36 PM
<center><vb:if condition="$show['avatar']">
<a class="postuseravatar" href="{vb:link member, {vb:raw post}}" title="{vb:rawphrase {vb:raw post['onlinestatusphrase']}, {vb:raw post.username}}">
<img src="{vb:raw post.avatarurl}" alt="{vb:rawphrase xs_avatar, {vb:raw post.username}}" title="{vb:rawphrase xs_avatar, {vb:raw post.username}}" />
</a>
</vb:if></center>

ko dc anh ơi :(

Avatar mặc định :( Sao không đóng khung cho nó đẹp , có đầy đủ trong ebook rồi đó :)

spider95
20-08-2010, 08:54 PM
khổ cái , ebook ko cho copy code thì em chép mệt chết :((
Chứ em cũng muốn đóng khung như itvnn vậy nè

HTT.itvn
20-08-2010, 09:33 PM
khổ cái , ebook ko cho copy code thì em chép mệt chết :((
Chứ em cũng muốn đóng khung như itvnn vậy nè

Ủa , anh có chống coppy đâu . Tại em không biết coppy chứ . Sẵn anh đưa code đóng khung avatar nè , coppy về xài nhé .


<vb:if condition="$show['avatar']">
<table id="Table_01" width="100" height="100" border="0" cellpadding="0" cellspacing="0">
<tr>
<td>
<img src="images/avatars/ava_01.png" width="34" height="34" alt=""></td>
<td background="images/avatars/ava_02.png">
</td>
<td>
<img src="images/avatars/ava_03.png" width="34" height="34" alt=""></td>
</tr>
<tr>
<td background="images/avatars/ava_04.png">
</td>
<td background="images/avatars/ava_05.png">
<a class="postuseravatar" href="{vb:link member, {vb:raw post}}" title="{vb:rawphrase {vb:raw post['onlinestatusphrase']}, {vb:raw post.username}}">
<img src="{vb:raw post.avatarurl}" alt="{vb:rawphrase xs_avatar, {vb:raw post.username}}" />
</a>
</td>
<td background="images/avatars/ava_06.png">
</td>
</tr>
<tr>
<td>
<img src="images/avatars/ava_07.png" width="34" height="34" alt=""></td>
<td background="images/avatars/ava_08.png">
</td>
<td>
<img src="images/avatars/ava_09.png" width="34" height="34" alt=""></td>
</tr>
</table>
</vb:if> </center>

spider95
20-08-2010, 09:35 PM
thanks đại ka nha , chỉ em cách copy tron pdf đi .
h thanks hết pic :D

<!--Bổ sung bài viết :D--/>

hình như đoạn code trên muốn đóng khung có viền phải có file images , thấy src "img src="images/avatars/ava_09.png" quát trời ..

vothien93
20-08-2010, 09:47 PM
sao của em nó không hiện phần tiền của mod ucash trong profile nữa z?

HTT.itvn
20-08-2010, 11:03 PM
thanks đại ka nha , chỉ em cách copy tron pdf đi .
h thanks hết pic :D

<!--Bổ sung bài viết :D--/>

hình như đoạn code trên muốn đóng khung có viền phải có file images , thấy src "img src="images/avatars/ava_09.png" quát trời ..

Trong ebook có link MF để donload mà , em đọc kĩ đi nhé .


@: vothien93 : Anh đã đưa nick yahoo cho em qua tin nhắn diễn đàn , em xem nhé !

spider95
21-08-2010, 07:46 AM
Hiện cái reputation của em vẫn nằm ở trên khung avatar , h có cách nào chuyển nó xuống cuối và đóng khung nó lại ko

HTT.itvn
21-08-2010, 09:18 AM
Hiện cái reputation của em vẫn nằm ở trên khung avatar , h có cách nào chuyển nó xuống cuối và đóng khung nó lại ko

Em tìm đoạn code sau :


<vb:if condition="$show['reputation']">
<span class="postbit_reputation" id="repdisplay_{vb:raw post.postid}_{vb:raw post.userid}">{vb:raw post.reputationdisplay}</span>
</vb:if>

Di chuyển xuống phía trên đoạn code sau ( sau code avatar :


<vb:if condition="$post['userid']">
<hr />

Nếu đóng khung thì đóng code trên như sau :


<vb:if condition="$show['reputation']">
<div class="post_itvnn"><span class="postbit_reputation" id="repdisplay_{vb:raw post.postid}_{vb:raw post.userid}">{vb:raw post.reputationdisplay}</span></div>
</vb:if>

spider95
21-08-2010, 09:32 AM
Hiện sau khi đóng khung avatar , có vài thành viên vì avatar quá bự nên khung lấn sang cả bài post , h em muốn tăng chiều ngang của profile thì làm sao ? thanks anh nhiều

HTT.itvn
21-08-2010, 09:36 AM
Hiện sau khi đóng khung avatar , có vài thành viên vì avatar quá bự nên khung lấn sang cả bài post , h em muốn tăng chiều ngang của profile thì làm sao ? thanks anh nhiều

Vào stylevars tìm postbitlegacy_userinfo_width

spider95
21-08-2010, 10:20 AM
xin anh giúp em cái cuối :d
Em muốn covert forum em từ iso qua utf8 thì làm sao ạ

spider95
22-08-2010, 02:08 PM
Up cho anh HTT vào giúp gấp

HTT.itvn
22-08-2010, 03:55 PM
xin anh giúp em cái cuối :d
Em muốn covert forum em từ iso qua utf8 thì làm sao ạ

Cái này rất khó với diễn đàn dùng VBB 4.x , có nhiều dữ liệu , bài viết nên nếu convert qua sẽ gây ra lỗi font . Nếu diễn đàn mới thành lập mà chưa có dữ liệu hay bài viết nhiều thì cài lại lang Việt hoặc dùng cách sau :
Backup forum trước tiên nhé .

Vào AdminCP >> Languages & Phrases >> Language manager >> Chọn ngôn ngữ >> Edit Settings :

- Language Code : VN
- HTML Character Set : utf-8
Save để lưu lại . Sau đó vào diễn đàn thấy cái nào lỗi font thì sữa lại nhé !

vothien93
28-08-2010, 01:38 PM
anh thanh cho em hoi lam sao để cái avarta canh giữa giống itvnn? 4rum của em nó cứ hiện méo qua bên phải!
demo: sharevnn.net

luv
29-08-2010, 01:07 PM
Mình đóng khung như hướng dẫn nhưng khung forum bị lệch hẳn sang bên phải mặc dù 4rum mình căn giữa và sát lề màn hình:
http://s6.photobucket.com/albums/y248/tommydk/?action=view&current=4rum.jpg" target="_blank"><img src="http://i6.photobucket.com/albums/y248/tommydk/4rum.jpg

Còn đây là code postbit_legacy của mình, mong anh em xem giùm và chỉ giáo cách khắc phục. Cảm ơn nhiều!

{vb:raw template_hook.postbit_start}
<li class="postbitlegacy postbitim postcontainer" id="post_{vb:raw post.postid}">
<!-- see bottom of postbit.css for .userinfo .popupmenu styles -->

<div class="posthead">
<vb:if condition="$show['inlinemod']"><label for="post_imod_checkbox_{vb:raw post.postid}"></vb:if>
<span class="postdate {vb:raw post.statusicon}">
<vb:if condition="$show['announcement']">
<span class="date">{vb:rawphrase x_until_y, {vb:raw post.startdate}, {vb:raw post.enddate}}</span>
<vb:else />
<span class="date">{vb:raw post.postdate}<vb:if condition="!$show['detailedtime']">&nbsp;<span class="time">{vb:raw post.posttime}

</span></vb:if></span>
</vb:if>
</span>
<span class="nodecontrols">
<vb:if condition="$post['postid'] AND $post['threadid'] AND !$show['moderated']">
<a name="post{vb:raw post.postid}" href="{vb:link thread, {vb:raw thread}, {vb:raw pageinfo_post}}#post{vb:raw post.postid}"

class="<vb:if condition="$show['inlinemod']">ie</vb:if>postcounter">#{vb:raw post.postcount}</a><a id="postcount{vb:raw post.postid}" name="{vb:raw post.postcount}"></a>
</vb:if>
<vb:if condition="$show['moderated']">{vb:rawphrase moderated_post}</vb:if>
<vb:if condition="$show['inlinemod']">
<input class="postimod" type="checkbox" id="post_imod_checkbox_{vb:raw post.postid}" name="plist[{vb:raw post.postid}]"

value="{vb:raw post.checkbox_value}" />
</vb:if>
</span>
<vb:if condition="$show['inlinemod']"></label></vb:if>
</div>
<div class="postdetails">
<div class="userinfo">
<div class="username_container">
<center><vb:if condition="$post['userid']">
{vb:raw memberaction_dropdown}

<vb:else />
<span class="username guest">{vb:raw post.musername}</span>
</vb:if>
</div></center>
<center><span class="usertitle">
{vb:raw post.usertitle}
</span></center>
<vb:if condition="$post['rank']">
<span class="rank">{vb:raw post.rank}</span>
</vb:if>
{vb:raw template_hook.postbit_userinfo_left}
<vb:if condition="$show['reputation']">
<span class="postbit_reputation" id="repdisplay_{vb:raw post.postid}_{vb:raw post.userid}">{vb:raw post.reputationdisplay}</span>
</vb:if>
<center><vb:if condition="$show['avatar']">
<a href="{vb:link member, {vb:raw post}}" title="{vb:rawphrase {vb:raw post['onlinestatusphrase']}, {vb:raw post.username}}">
<img src="{vb:raw post.avatarurl}" alt="{vb:rawphrase xs_avatar, {vb:raw post.username}}" title="{vb:rawphrase xs_avatar, {vb:raw post.username}}"

/>
</a>
</vb:if> </center>
<vb:if condition="$post['userid']">
<hr />
<dl class="userinfo_extra">

<div class="eti_postbit"><font color=black>Trạng thái: &nbsp; &nbsp;&nbsp;</font>
{vb:raw post.onlinestatus}</div>
<div class="eti_postbit"><vb:if condition="$post['joindate']"><dt>{vb:rawphrase join_date}</dt> <dd>{vb:raw post.joindate}</dd></vb:if></div>
<div class="eti_postbit"><vb:if condition="$post[userid]"><dt>Thành viên thứ</dt>{vb:raw $post[userid]}</vb:if></div>
<div class="eti_postbit"><dt>{vb:rawphrase 'posts'}</dt> <dd>{vb:raw post.posts}</dd></div>

<div class="eti_postbit">
<vb:if condition="$post['field7']"><dt>Họ tên </dt> {vb:raw post.field7}</vb:if></div>
<div class="eti_postbit"><vb:if condition="$post['age']"><dt>Tuổi</dt> <dd>{vb:raw post.age}</dd></vb:if></div>
<div class="eti_postbit"><vb:if condition="$post['field8']"><dt>Cung hoàng đạo </dt> {vb:raw post.field8}</vb:if></div>
<div class="eti_postbit"><vb:if condition="$post['field9']"><dt>Nơi ở </dt> {vb:raw post.field9}</vb:if></div>
<div class="eti_postbit"><vb:if condition="$post['field10']"><dt>TT hôn nhân </dt> {vb:raw post.field10}</vb:if></div>
<div class="eti_postbit">
<vb:if condition="$post['field11']"><dt>Số di động </dt> {vb:raw post.field11}</vb:if></div>
<div class="eti_postbit"><vb:if condition="$post['field12']"><dt>Nick Yahoo/Skype </dt> {vb:raw post.field12}</vb:if></div>
<div class="eti_postbit"><vb:if condition="$post['field13']"><dt>Nghề nghiệp </dt> {vb:raw post.field13}</vb:if></div>
<div class="eti_postbit"><vb:if condition="$post['field14']"><dt>Công ty </dt> {vb:raw post.field14}</vb:if>
</div>

<div class="eti_postbit">{vb:raw template_hook.postbit_userinfo_right_after_posts}
</dl></div>
<vb:if condition="$show['infraction'] OR $show['reppower']">
<dl class="user_rep">
<vb:if condition="$show['infraction']">
<dt>{vb:rawphrase infractions}</dt>
<dd>{vb:raw post.warnings}/{vb:raw post.infractions} ({vb:raw post.ipoints})</dd>
</vb:if>
<vb:if condition="$show['reputation']">
<vb:if condition="$show['reppower']">
<dt>{vb:rawphrase reppower}</dt>
<dd id="reppower_{vb:raw post.postid}_{vb:raw post.userid}">{vb:raw post.reppower}</dd>
</vb:if>
</vb:if>
</dl>
</vb:if>
{vb:raw template_hook.postbit_userinfo_right}
<div class="imlinks">
{vb:raw post.icqicon} {vb:raw post.aimicon} {vb:raw post.msnicon} {vb:raw post.yahooicon} {vb:raw post.skypeicon}
</div>
</vb:if>
</div>
<div class="postbody">
<div class="postrow<vb:if condition="$show['postedited'] || $post['signature']"> has_after_content</vb:if>">
{vb:raw template_hook.postbit_messagearea_start}
<vb:if condition="$post['title'] OR $show['messageicon']">
<h2 class="title icon">
<vb:if condition="$show['messageicon']"><img src="{vb:raw post.iconpath}" alt="{vb:raw post.icontitle}" /> </vb:if>{vb:raw post.title}
</h2>
</vb:if>


<vb:if condition="$post['isfirstshown']">
{vb:raw ad_location.ad_showthread_firstpost_start}
{vb:raw ad_location.thread_first_post_content}
</vb:if>
<vb:if condition="$post['islastshown']">
{vb:raw ad_location.thread_last_post_content}
</vb:if>
<div class="content<vb:if condition="$show['first_ad'] OR $show['last_ad']"> hasad</vb:if>">
<div id="post_message_{vb:raw post.postid}">
<blockquote class="postcontent restore ">
{vb:raw post.message}
</blockquote>
</div>

<vb:if condition="$show['attachments']">
<div class="attachments">

<vb:if condition="$show['thumbnailattachment']">
<fieldset class="postcontent">
<legend><img src="{vb:stylevar imgdir_misc}/paperclip.png" class="inlineimg" alt="{vb:rawphrase

attached_thumbnails}" /> {vb:rawphrase attached_thumbnails}</legend>
{vb:raw post.thumbnailattachments}
</fieldset>
</vb:if>

<vb:if condition="$show['imageattachment']">
<fieldset class="postcontent">
<legend><img src="{vb:stylevar imgdir_misc}/paperclip.png" class="inlineimg" /> {vb:rawphrase

attached_images}</legend>
{vb:raw post.imageattachments}
</fieldset>
</vb:if>

<vb:if condition="$show['imageattachmentlink']">
<fieldset class="postcontent">
<legend><img src="{vb:stylevar imgdir_misc}/paperclip.png" class="inlineimg" /> {vb:rawphrase

attached_images}</legend>
<ul>
{vb:raw post.imageattachmentlinks}
</ul>
</fieldset>
</vb:if>

<vb:if condition="$show['otherattachment']">
<fieldset class="postcontent">
<legend><img src="{vb:stylevar imgdir_misc}/paperclip.png" class="inlineimg" /> {vb:rawphrase

attached_files}</legend>
<ul>
{vb:raw post.otherattachments}
</ul>
</fieldset>
</vb:if>

<vb:if condition="$show['moderatedattachment']">
<fieldset class="postcontent">
<legend><img src="{vb:stylevar imgdir_misc}/paperclip.png" class="inlineimg" /> {vb:rawphrase

attachments_pending_approval}</legend>
<ul>
{vb:raw post.moderatedattachments}
</ul>
</fieldset>
</vb:if>

</div>
<!-- / attachments -->
</vb:if>
</div>
</div>
<vb:if condition="$show['postedited'] || $post['signature']">
<div class="after_content">
<vb:if condition="$show['postedited']">
<!-- edit note -->
<blockquote class="postcontent lastedited">
<!-- <img src="{vb:stylevar imgdir_button}/edit_40b.png" class="inlineimg" alt="" /> -->
<vb:if condition="$show['postedithistory']">
{vb:rawphrase last_edited_link_by_x_on_y_at_z_postid, {vb:raw post.edit_username}, {vb:raw post.edit_date},
{vb:raw post.edit_time}, {vb:raw post.historyurl}}
<vb:else />
{vb:rawphrase last_edited_by_x_on_y_at_z, {vb:raw post.edit_username}, {vb:raw post.edit_date}, {vb:raw post.edit_time}}
</vb:if>
<vb:if condition="$post['edit_reason']">
<span class="reason">{vb:rawphrase reason}:</span> {vb:raw post.edit_reason}
</vb:if>
</blockquote>
<!-- / edit note -->
</vb:if>
{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="signaturecontainer">{vb:raw post.signature}</div></blockquote>
</vb:if>
{vb:raw template_hook.postbit_signature_end}
</div>
</vb:if>
<div class="cleardiv"></div>
</div>
</div>
<div class="postfoot">
<!-- <div class="postfoot_container"> -->
<div class="textcontrols floatcontainer">
<span class="postcontrols">
<img style="display:none" id="progress_{vb:raw post.postid}" src="{vb:stylevar imgdir_misc}/progress.gif" alt="{vb:rawphrase

loading_editor_please_wait}" />
<vb:if condition="$post['editlink']">
<a class="editpost" href="{vb:raw post.editlink}" name="vB::QuickEdit::{vb:raw post.postid}"><img src="{vb:raw

vboptions.cleargifurl}" id="editimg_{vb:raw post.postid}" alt="{vb:rawphrase edit_delete_message}" /> {vb:rawphrase edit_post}</a>
<span class="seperator">&nbsp;</span>
</vb:if>
<vb:if condition="$show['quickreply'] AND !$show['threadedmode']">
<a id="qr_{vb:raw post.postid}" class='quickreply' href="{vb:raw post.replylink}" rel="nofollow"><img id="replyimg_{vb:raw

post.postid}" src="{vb:raw vboptions.cleargifurl}" alt="{vb:rawphrase quick_reply_to_this_message}" /> {vb:rawphrase reply}</a>
<span class="seperator">&nbsp;</span>
</vb:if>
<vb:if condition="$post['replylink']">
<a id="qrwq_{vb:raw post.postid}" class="newreply" href="{vb:raw post.replylink}" rel="nofollow"><img id="quoteimg_

{vb:raw post.postid}" src="{vb:raw vboptions.cleargifurl}" alt="{vb:rawphrase reply_with_quote}" /> <vb:if condition="$post['forwardlink']">{vb:rawphrase reply_to_private_message}<vb:else />

{vb:rawphrase reply_with_quote}</vb:if></a>
<vb:if condition="$show['multiquote_post']"><span class="seperator">&nbsp;</span></vb:if>
</vb:if>
<vb:if condition="$show['multiquote_post']">

<a class="multiquote" href="{vb:raw post.replylink}" rel="nofollow" onclick="return false;" id="mq_{vb:raw post.postid}"><img

id="mq_image_{vb:raw post.postid}" src="{vb:raw vboptions.cleargifurl}" alt="{vb:rawphrase multi_quote_this_message}" />&nbsp;</a>
</vb:if>
</span>
<span class="postlinking">
<vb:if condition="!$post['forwardlink'] && THIS_SCRIPT != 'usernote' && THIS_SCRIPT != 'announcement'">
<vb:if condition="$promote_sectionid AND $promote_sectionid != -1">
<a href="{vb:raw promote_url}" class="promotecms">{vb:rawphrase promote_to_article}</a>
<span class="seperator">&nbsp;</span>
</vb:if>
</vb:if>

{vb:raw template_hook.postbit_controls}
{vb:raw post.iplogged}
<vb:if condition="$post['forwardlink']">
<a class="forwardpost" href="{vb:raw post.forwardlink}" rel="nofollow"><img src="{vb:raw vboptions.cleargifurl}"

alt="{vb:rawphrase forward_message}" /> {vb:rawphrase forward}</a>
<vb:if condition="$show['reputationlink'] OR $show['infractionlink'] OR $show['moderated'] OR $show['spam'] OR $show

['deletedpost'] OR $show['redcard'] OR $show['yellowcard']"><span class="seperator">&nbsp;</span></vb:if>
</vb:if>
<vb:if condition="$show['reputationlink']">
<span class="reputationpopupmenu popupmenu popupcustom" title="{vb:raw post.postid}"><a class="popupctrl reputation"

title="{vb:rawphrase reputation}" href="reputation.php?{vb:raw session.sessionurl}do=addreputation&amp;p={vb:raw post.postid}" rel="nofollow" id="reputation_{vb:raw post.postid}"><!--<img

src="{vb:stylevar imgdir_button}/reputation-40b.png" alt="{vb:rawphrase reputation}" /> -->&nbsp;</a></span>
</vb:if>

<vb:if condition="$show['infractionlink']">
<a class="infraction" href="infraction.php?{vb:raw session.sessionurl}do=report&amp;p={vb:raw post.postid}" rel="nofollow"

title="{vb:rawphrase add_infraction_for_x, {vb:raw post.username}}"><!-- <img src="{vb:stylevar imgdir_button}/add-infraction_sm.png" alt="{vb:rawphrase add_infraction_for_x, {vb:raw

post.username}}" /> --> &nbsp;</a> &nbsp;
</vb:if>
<vb:if condition="$show['reportlink']">
<a class="report" href="{vb:raw post.reportlink}" rel="nofollow" title="{vb:rawphrase report_bad_post}"><!-- <img

src="{vb:stylevar imgdir_button}/report-40b.png" alt="{vb:rawphrase report_bad_post}" /> -->&nbsp;</a> &nbsp;
</vb:if>

<vb:if condition="$show['moderated']">
<img class="moderated" src="{vb:stylevar imgdir_misc}/moderated_sm.png" alt="{vb:rawphrase moderated_post}" />
</vb:if>
<vb:if condition="$show['spam']">
<img class="spam" src="{vb:stylevar imgdir_misc}/spam_detected.png" alt="{vb:rawphrase spam_post}" />
</vb:if>
<vb:if condition="$show['deletedpost']">
<vb:if condition="$show['managepost']">
<a class="deleted" href="postings.php?{vb:raw session.sessionurl}do=managepost&amp;p={vb:raw post.postid}"

title="{vb:rawphrase manage}"><!-- <img src="{vb:stylevar imgdir_misc}/deleted_sm.png" alt="{vb:rawphrase manage}" /> --> &nbsp;</a>
<vb:else />
<img class="deleted_nolink" class="inlineimage" src="{vb:stylevar imgdir_misc}/deleted_sm.png" alt="{vb:rawphrase

deleted_post}" />
</vb:if>
</vb:if>
<vb:if condition="$show['redcard']">
<a class="redcard" href="infraction.php?{vb:raw session.sessionurl}do=view&amp;p={vb:raw post.postid}" rel="nofollow"

title="{vb:rawphrase received_infraction}"><!-- <img src="{vb:stylevar imgdir_button}/red-card_sm.png" alt="{vb:rawphrase received_infraction}" /> --> &nbsp;</a>
<vb:elseif condition="$show['yellowcard']" />
<a class="yellowcard" href="infraction.php?{vb:raw session.sessionurl}do=view&amp;p={vb:raw post.postid}"

rel="nofollow" title="{vb:rawphrase received_warning}"><!--<img src="{vb:stylevar imgdir_button}/yellow-card_sm.png" alt="{vb:rawphrase received_warning}" /> --> &nbsp;</a>
</vb:if>
</span>
<!-- </div> -->
</div>
</div>
<hr />
</li>
{vb:raw template_hook.postbit_end}

HTT.itvn
29-08-2010, 04:41 PM
@ vothien93 : Sao em không chịu khó đọc trong ebook hả em , có phần đóng khung avatar .
@ luv : bạn cho mình link forum của bạn .

ypmv2
02-09-2010, 12:11 AM
Cho mình hỏi 1 câu ngoài topic 1 chút nhé, mình không đóng khung thông tin, nhưng như bức ảnh dưới thì chỉ có mỗi Thanked 40 Times in 27 Posts là ở giữa, vậy làm thế nào để nó lằm bên tay trái như các thông tin khác được vậy ?

spider95
02-09-2010, 10:27 AM
bạn thêm thẻ là
<left></left>đc thôi

HTT.itvn
02-09-2010, 09:03 PM
Cho mình hỏi 1 câu ngoài topic 1 chút nhé, mình không đóng khung thông tin, nhưng như bức ảnh dưới thì chỉ có mỗi Thanked 40 Times in 27 Posts là ở giữa, vậy làm thế nào để nó lằm bên tay trái như các thông tin khác được vậy ?

Vào adminCP >> Styles & Templates >> Style manager >> Chọn skin cần chỉnh >> Edit Templates >> Post Thank You Hack Templates >> post_thanks_postbit_info , thay thế tòan bộ code sau :


<vb:if condition="$post['userid']">
<dt>{vb:rawphrase post_thanks_thanks}</dt> <dd>{vb:raw post.post_thanks_user_amount_formatted}</dd>

<vb:if condition="$post['post_thanks_thanked_times'] == 1">
<dd float: {vb:stylevar left};">{vb:rawphrase post_thanks_time_post}</dd>
<vb:elseif condition="$post['post_thanks_thanked_posts'] == 1" />
<dd float: {vb:stylevar left};">{vb:rawphrase post_thanks_times_post, {vb:raw post.post_thanks_thanked_times_formatted}}</dd>
<vb:else />
<dd float: {vb:stylevar left};">{vb:rawphrase post_thanks_times_posts, {vb:raw post.post_thanks_thanked_times_formatted}, {vb:raw post.post_thanks_thanked_posts_formatted}}</dd>
</vb:if>
</vb:if>

emngheodo
08-09-2010, 11:30 AM
của mình không đóng khung chăng hiểu sao đã làm ở bước 1 rồi
@charset "UTF-8";
/* CSS Document */

/* last edited notice */
.lastedited {
font-style:italic;
padding-top: 1em;
color: {vb:stylevar body_color};
font-size: {vb:stylevar small_fontSize};
/* clear:both; */
}

.lastedited a {
color: {vb:stylevar body_color};
}
/* reputation image */
.postbit_reputation {
padding:0 0 0 3px;
clear:both;
display:block;
}
img.repimg {
padding:0;
margin:0 0 0 -3px;
display:inline;
}

.quickedit {
border-top: {vb:stylevar tabslight_border};
}
/*signature */
.signature {
padding-top: 1em;
border-top: {vb:stylevar postbit_border};
margin-top: 2em;
}


/*post bit*/
.postbit, .postbitlegacy, .eventbit {
margin-bottom: {vb:stylevar padding};
display:block;
width: 100%;
clear:both;
position: relative;
float: {vb:stylevar left};
color: {vb:stylevar body_color};
border: {vb:stylevar postbit_border};
}

.postbit object {
clear:both;
}

.postbit .postdetails {
width: 100%;
display:block;
float: {vb:stylevar left};
}

.postbit .posthead, .postbitlegacy .posthead, .eventbit .eventhead {
background: {vb:stylevar postbithead_background};
_background-image: none;
border: {vb:stylevar postbithead_border};
clear:both;
display:block;
float: {vb:stylevar left};
width: 100%;
color: {vb:stylevar postbithead_color};
margin: -{vb:stylevar postbithead_border.borderWidth}{vb:stylevar postbithead_border.units} -{vb:stylevar postbithead_border.borderWidth}{vb:stylevar postbithead_border.units} 0;
font: {vb:stylevar postbithead_font};
padding: 4px 0;
}

.postbit .posthead .postdate, .postbitlegacy .posthead .postdate {
display:block;
float:{vb:stylevar left};
clear:{vb:stylevar right};
width: 49%;
margin-{vb:stylevar left}: 10px;
font: {vb:stylevar postbithead_font};
padding-{vb:stylevar left}: 15px;
}

.postbit .posthead .postdate.old, .postbitlegacy .posthead .postdate.old {
background:transparent url({vb:stylevar imgdir_statusicon}/post_old.png) no-repeat center {vb:stylevar left};
}

.postbit .posthead .postdate.new, .postbitlegacy .posthead .postdate.new {
background:transparent url({vb:stylevar imgdir_statusicon}/post_new.png) no-repeat center {vb:stylevar left};
}

.postbit .postdate .time {
color: {vb:stylevar postbithead_color};
margin-{vb:stylevar left}: {vb:stylevar padding};
}



.postbit .userinfo .contact, .postbit .userinfo_noavatar .contact {
position: relative;
float: {vb:stylevar left};
clear: {vb:stylevar right};
width: 50%;
display:block;
}
.postbit .postuseravatarlink {
display:block;
text-align: center;
position: relative;
top: 0;
margin-{vb:stylevar left}: {vb:math {vb:stylevar padding}+5};
overflow: hidden;
float: {vb:stylevar left};
clear: {vb:stylevar right};
}

.postbit .postuseravatarlink img {
}


.postbit .nodecontrols .postimod{
top: 0;
position:relative;
margin-{vb:stylevar left}: {vb:stylevar padding};
}

.postbit .userinfo, .postbit .userinfo_noavatar {
background: {vb:stylevar postbit_userinfo_background};
_background-image: none;
clear:both;
min-height: {vb:math {vb:stylevar postbit_avatar_maxSize}+1-{vb:math {vb:math {vb:math {vb:stylevar font.fontSize}-1}*1.230}+{vb:stylevar padding}}};
height: auto !important;
border-bottom:{vb:stylevar postbit_border};
padding: 0.5em 0;
width: 100%;
float: {vb:stylevar left};
}

.postbit .userinfo .contact, .userinfo .userinfo_extra, .postbit .userinfo_noavatar .contact {
display:inline-block;
min-height: {vb:math {vb:stylevar postbit_avatar_maxSize}+1-{vb:math {vb:math {vb:math {vb:stylevar font.fontSize}-1}*1.230}+{vb:stylevar padding}}};
height: auto !important;
height: {vb:math {vb:stylevar postbit_avatar_maxSize}+1-{vb:math {vb:math {vb:math {vb:stylevar font.fontSize}-1}*1.230}+{vb:stylevar padding}}};
}
.postbit .username_container {
float: {vb:stylevar left};
clear: {vb:stylevar right};
display:block;
margin-{vb:stylevar left}: {vb:stylevar padding};
}
.postbit .userinfo .username_container .memberaction, .postbit .userinfo_noavatar .username_container .memberaction {
display: inline;
}

.postbit .postdetails_noavatar .posthead, .postbit .postdetails_noavatar .userinfo .contact {
margin-{vb:stylevar left}: 0;
}
/*
.postbit .userinfo .postbit_reputation {
margin-{vb:stylevar left}: {vb:math {vb:stylevar postbit_avatar_maxSize} + {vb:stylevar padding} + 5px};
}
*/
.postbit .userinfo .username, .postbit .userinfo_noavatar .username {
font-size: {vb:stylevar font.fontSize}{vb:stylevar font.units};
font-weight: bold;
}

.postbit .userinfo_noavatar .imlinks img {
display:inline;
}
.postbit .userinfo .username.guest, .postbit .userinfo_noavatar .username.guest {
font-weight:normal;
}

.postbit .userinfo_noavatar .usertitle, .postbit .userinfo .usertitle, .postbit .userinfo_noavatar .rank, .postbit .userinfo .rank {
font-size: {vb:stylevar small_fontSize};
font-weight: bold;
display:block;
clear:both;
}
.postbit .userinfo .userinfo_extra, .postbit .userinfo_noavatar .userinfo_extra {
text-align: {vb:stylevar right};
width: 300px;
float: {vb:stylevar right};
font-size: {vb:stylevar small_fontSize};
}

.postbit .userinfo .userinfo_extra dl, .postbit .userinfo_noavatar .userinfo_extra dl {
margin-{vb:stylevar right}: {vb:stylevar padding};
float: {vb:stylevar right};
width: 150px;
}

.postbit .userinfo_extra dl dt {
float:{vb:stylevar left};
display:block;
/*color:{vb:stylevar shade_color};*/
margin-{vb:stylevar right}: {vb:math {vb:stylevar padding}/2};
}

.postbit .userinfo_extra dl dt:after {
content:":";
}
.postbit .userinfo_extra dl dt.blank:after {
content:none;
}
.postbit .userinfo_extra dl dd {
display:block;
}

.postbit .userinfo .moreinfo, .postbit .userinfo_noavatar .moreinfo {
float: {vb:stylevar left};
display: inline;
}

.postbit .userinfo .popupmenu a.popupctrl, .postbit .userinfo_noavatar .popupmenu a.popupctrl {
font-size: {vb:stylevar mid_fontSize};
background: transparent;
padding: 0;
display:inline-block;
}

.postbit .userinfo .popupmenu a.popupctrl:hover, .postbit .userinfo_noavatar .popupmenu a.popupctrl:hover {
color: {vb:stylevar link_color};
text-decoration: {vb:stylevar linkhover_hoverDecoration};
}

.postbit .postbody {
clear: both;
color: {vb:stylevar postbit_color};
}

.postbit .postrow {
padding: {vb:math {vb:stylevar padding}/2} {vb:stylevar padding} 3em;
font: {vb:stylevar forum_msg_font};
}

.postbit hr {
display:none;
}

.postcontent {
word-wrap: break-word;
}

.postbit .posttitle {
display:block;
padding: {vb:stylevar padding};
font-weight:bold;
font: {vb:stylevar post_title_font};
margin: 0;
}

.postbit .content {
font: {vb:stylevar content_msg_font};
color: {vb:stylevar postbit_color};
}

.postbitlegacy .content {
font: {vb:stylevar content_msg_font}
color: {vb:stylevar postbit_color};
}

.postbitdeleted .content, .postbitignored .content {
font: {vb:stylevar content_msg_font}
color: {vb:stylevar postbit_color};
}


/*postbit legacy*/


.birthdays {
border-top: {vb:stylevar postbit_border};
}

.postbitlegacy hr, .eventbit hr {
display: none;
}

.postbitlegacy .postdetails, .eventbit .eventdetails {
float: {vb:stylevar left};
width: 100%;
background: {vb:stylevar postbit_userinfo_background};
_background-image: none;
}

.eventbit .eventhead {
height: auto;
padding-bottom: 5px;
}

.birthdays .posthead {
border: {vb:stylevar postbithead_border};
background: {vb:stylevar postbithead_background};
_background-image: none;
padding: 4px 0;
padding-{vb:stylevar left}: {vb:stylevar padding};
color: {vb:stylevar postbithead_color};
margin-{vb:stylevar left}: 0;
font: {vb:stylevar postbithead_font};
}

.birthdays .eventrow {
background: {vb:stylevar postbit_background};
_background-image: none;
}



.eventbit .eventhead .eventdate span.date, .eventbit .eventhead .eventdate .time {
font: {vb:stylevar postbithead_font};
color: {vb:stylevar postbithead_color};
}

.eventbit .eventhead .eventdate span.date {
padding-{vb:stylevar left}: {vb:stylevar padding};
font: {vb:stylevar postbithead_font};
}



.postbitlegacy .posthead .time {
font: {vb:stylevar postbithead_font};
color: {vb:stylevar postbithead_color};
}

.postbit .posthead .nodecontrols, .postbitlegacy .posthead .nodecontrols, .eventbit .eventhead .nodecontrols {
position: absolute;
color: {vb:stylevar postbithead_color};
{vb:stylevar right}: 0;
top: 0;
width: 50% ;
padding: 4px {vb:stylevar padding} 0;
text-align: {vb:stylevar right};
font: {vb:stylevar postbithead_font};
vertical-align: middle;
}

.postbit .posthead .nodecontrols a, .postbitlegacy .posthead .nodecontrols a, .eventbit .eventhead .nodecontrols a {
color: {vb:stylevar postbithead_color};
top: -2px;
position:relative;
}

.postbitlegacy .posthead .nodecontrols img, .eventbit .eventhead .nodecontrols img {
position: relative;
top: 2px;
padding: 0;
}

.postbitlegacy .posthead .nodecontrols .postimod, .eventbit .eventhead .nodecontrols .postimod {
top: 0px;
position:relative;
margin-{vb:stylevar left}: 5px;
}

.postbitlegacy .postbody, .eventbit .eventdetails .eventbody {
margin-{vb:stylevar left}: {vb:stylevar postbitlegacy_userinfo_width};
border-{vb:stylevar left}: {vb:stylevar postbit_userinfo_border};
background: {vb:stylevar postbit_background};
_background-image: none;
padding-bottom: 1em;
}

.postbitlegacy .postrow, .eventbit .eventrow {
padding: {vb:math {vb:stylevar padding}/2} {vb:stylevar padding} {vb:stylevar padding};
font: {vb:stylevar forum_msg_font};
color: {vb:stylevar postbit_color};
}

.eventbit dl.stats {
display: inline-block;
height: auto;
}

.postbitlegacy .userinfo {
float:{vb:stylevar left};
position: relative;
width:{vb:math {vb:stylevar postbitlegacy_userinfo_width}-{vb:math {vb:stylevar padding}*2}};
padding: 2px {vb:stylevar padding} {vb:math {vb:stylevar padding}/2};
font-size: {vb:stylevar small_fontSize};
display:block;
background: {vb:stylevar postbit_userinfo_background};
clear:both;
}

.postbitlegacy .userinfo .rank, .postbitlegacy .userinfo .usertitle {
font-size: {vb:stylevar small_fontSize};
display:block;
clear:both;
}

.eventbit .userinfo {
float:{vb:stylevar left};
position: relative;
width:{vb:math {vb:stylevar postbitlegacy_userinfo_width}-{vb:math {vb:stylevar padding}*2}};
padding: 2px {vb:stylevar padding} {vb:math {vb:stylevar padding}/2};
font-size: {vb:stylevar small_fontSize};
display:block;
}

.postbitlegacy .userinfo .username_container {
margin-bottom: 8px;
}


.postbitlegacy .userinfo .username_container .memberaction {
display: inline;
}

.postbitlegacy .userinfo .postuseravatar, .eventbit .userinfo .eventuseravatar {
display:block;
margin:{vb:math {vb:stylevar padding}/3} auto 0;
text-align:{vb:stylevar left};
width: auto;
float: {vb:stylevar left};
clear: both;
}

.postbitlegacy .userinfo .postuseravatar img, .eventbit userinfo .eventuseravatar img {
border: {vb:stylevar postbitlegacy_avatar_border};
outline: {vb:stylevar postbitlegacy_avatar_outline};
max-width: {vb:math {vb:stylevar postbitlegacy_userinfo_width} - {vb:math {vb:stylevar padding}*2}- {vb:math {vb:stylevar postbitlegacy_avatar_outline.borderWidth}*2} - {vb:math {vb:stylevar postbitlegacy_avatar_border.borderWidth}*2}};
}

.postbitlegacy .userinfo a.username, .eventbit .userinfo a.username {
clear:{vb:stylevar right};
font-size:{vb:stylevar font.fontSize}{vb:stylevar font.units};
font-weight:bold;
width: auto;
max-width:{vb:math {vb:stylevar postbitlegacy_userinfo_width} - {vb:math {vb:stylevar padding}*2} - 20px};
word-wrap:break-word;
}

.postbitlegacy .userinfo .guest.username, .eventbit .userinfo .guest.username {
padding-top: {vb:math {vb:stylevar padding}/2};
display:block;
font-size: {vb:stylevar font.fontSize}{vb:stylevar font.units};
}

.postbitlegacy dl.userinfo_extra, .postbitlegacy dl.user_rep {
margin: {vb:math {vb:stylevar padding}/2} 0;
display:block;
float: {vb:stylevar left};
width: 80px;
}
.postbitlegacy dl.userinfo_extra dt, .postbitlegacy dl.user_rep dt {
float: {vb:stylevar left};
text-align: {vb:stylevar left};
/*color: {vb:stylevar shade_color};*/
margin-{vb:stylevar right}: {vb:stylevar padding};
margin-{vb:stylevar left}: 0;
min-width:60px;
width:auto !important;
width:60px;
}

.postbitlegacy dl.userinfo_extra dt:after, .postbitlegacy dl.user_rep dt:after {
content: ":";
}

.postbitlegacy dl.user_rep dt.blank:after {
content: none;
}

.postbitlegacy dl.userinfo_extra dd, .postbitlegacy dl.userinfo_extra dd a, .postbitlegacy dl.user_rep dd {
padding-bottom: 3px;
}

.postbitlegacy dl.user_rep img {
margin-top: {vb:stylevar padding};
}

.postbitlegacy .imlinks {
width: 100%;
float: {vb:stylevar left};
}

.postbitlegacy .imlinks img {
display:inline;
}

.postbitlegacy .title, .eventbit .title {
display:block;
padding: {vb:stylevar padding};
padding-{vb:stylevar left}: 0;
font: {vb:stylevar post_title_font};
}

.postbit .postfoot, .postbitlegacy .postfoot, .eventbit .eventfoot {
display:block;
position: relative;
{vb:stylevar right}: 0;
float: {vb:stylevar left};
clear:both;
/*vertical-align: bottom;*/
background: transparent;
/*height: {vb:math 16px + {vb:math 5px * 2}};*/
font: {vb:stylevar postbit_control_font};
width: 100%;
}

.postbitlegacy .postrow.has_after_content {
padding-bottom: 4em;
}

.postbitlegacy .after_content {
position: relative;
width: 100%;
clear:both;
}

.postbitlegacy .signature, .postbitlegacy .lastedited {
margin-top: 1em;
padding: 1em {vb:stylevar padding} 0;
}

.postbit .postfoot .textcontrols, .postbitlegacy .postfoot .textcontrols, .eventbit .eventfoot .eventcontrols {
padding: 3px 0 7px;
display:block;
background: {vb:stylevar postbit_foot_background};
_background-image: none;
font: {vb:stylevar postbit_control_font};
width: 100%;
height: 16px;
margin-{vb:stylevar right}: 10px;
}
.postbitlegacy .postfoot .postcontrols, .postbit .postfoot .postcontrols {
position: absolute;
{vb:stylevar right}: {vb:stylevar padding};
margin-{vb:stylevar left}: 450px;
}

.postbitlegacy .postfoot .postlinking, .postbit .postfoot .postlinking {
position: absolute;
{vb:stylevar left}: {vb:stylevar padding};
margin-{vb:stylevar right}: 450px;
}
.eventbit .eventfoot .textcontrols {
display:block;
float: {vb:stylevar right};
margin-{vb:stylevar right}: 10px;
}

.postbitlegacy .postfoot .textcontrols img.inline, .postbit .postfoot .textcontrols img.inline {
position: absolute;
top: 2px;
{vb:stylevar left}: -1px;
margin-{vb:stylevar right}: 1px;
}
.postbitlegacy .postfoot .textcontrols span.seperator, .postbit .postfoot .textcontrols span.seperator {
position: relative;
top: 2px;
{vb:stylevar left}: 3px;
background: {vb:stylevar postfoot_separator_color};
_background-image: none;
display: inline;
height: 14px;
width: {vb:stylevar postfoot_separator_width};
margin: 0 5px;
}
.postbitlegacy .postfoot .textcontrols a, .postbit .postfoot .textcontrols a, .eventbit .eventfoot .eventcontrols a {
-moz-border-radius: 0px;
-webkit-border-radius: 0px;
padding: 3px;
padding-{vb:stylevar left}: {vb:math 3px+20px};
border: {vb:stylevar postbit_control_border};
background: {vb:stylevar postbit_control_background};
_background-image: none;
color: {vb:stylevar postbit_control_color};
font: {vb:stylevar postbit_control_font};
display:inline-block;
margin-{vb:stylevar left}: 5px;
}

/* Text button hover images */
.postbitlegacy .postfoot .textcontrols img.spam, .postbit .postfoot .textcontrols img.spam {
padding-top: 2px;
}
.postbitlegacy .postfoot .textcontrols img.moderated, .postbit .postfoot .textcontrols img.moderated, .postbitlegacy .postfoot .textcontrols img.spam, .postbit .postfoot .textcontrols img.spam, .postbitlegacy .postfoot .textcontrols img.deleted_nolink, .postbit .postfoot .textcontrols img.deleted_nolink {
padding-top: 2px;
}
.postbitlegacy .postfoot .textcontrols a.editpost, .postbit .postfoot .textcontrols a.editpost, .eventbit .eventfoot .textcontrols a.editevent {
background: url({vb:stylevar imgdir_button}/edit_40b.png) no-repeat transparent {vb:stylevar left} ;
padding-{vb:stylevar left}: 20px;
}
.postbitlegacy .postfoot .textcontrols a.editpost:hover, .postbit .postfoot .textcontrols a.editpost:hover, .eventbit .eventfoot .textcontrols a.editevent:hover {
background: url({vb:stylevar imgdir_button}/edit_40b-hover.png) no-repeat transparent {vb:stylevar left};
padding-{vb:stylevar left}: 20px;
}
.postbitlegacy .postfoot .textcontrols a.quickreply, .postbit .postfoot .textcontrols a.quickreply {
background: url({vb:stylevar imgdir_button}/reply_40b.png) no-repeat transparent {vb:stylevar left};
padding-{vb:stylevar left}: 20px;
}
.postbitlegacy .postfoot .textcontrols a.quickreply:hover, .postbit .postfoot .textcontrols a.quickreply:hover {
background: url({vb:stylevar imgdir_button}/reply_40b-hover.png) no-repeat transparent {vb:stylevar left};
padding-{vb:stylevar left}: 20px;
}
.postbitlegacy .postfoot .textcontrols a.newreply, .postbit .postfoot .textcontrols a.newreply {
background: url({vb:stylevar imgdir_button}/quote_40b.png) no-repeat transparent {vb:stylevar left};
padding-{vb:stylevar left}: 20px;
}
.postbitlegacy .postfoot .textcontrols a.newreply:hover, .postbit .postfoot .textcontrols a.newreply:hover {
background: url({vb:stylevar imgdir_button}/quote_40b-hover.png) no-repeat transparent {vb:stylevar left};
padding-{vb:stylevar left}: 20px;
}
.postbitlegacy .postfoot .textcontrols a.multiquote, .postbit .postfoot .textcontrols a.multiquote {
background: url({vb:stylevar imgdir_button}/multiquote-back_40b.png) no-repeat transparent {vb:stylevar left};
padding-{vb:stylevar left}: 20px;
}
.postbitlegacy .postfoot .textcontrols a.multiquote:hover, .postbit .postfoot .textcontrols a.multiquote:hover {
background: url({vb:stylevar imgdir_button}/multiquote_40b-hover.png) no-repeat transparent {vb:stylevar left};
padding-{vb:stylevar left}: 20px;
}
.postbitlegacy .postfoot .textcontrols a.promotecms, .postbit .postfoot .textcontrols a.promotecms {
background: url({vb:stylevar imgdir_cms}/promote_small.png) no-repeat transparent {vb:stylevar left};
padding-{vb:stylevar left}: 20px;
}
.postbitlegacy .postfoot .textcontrols a.promotecms:hover, .postbit .postfoot .textcontrols a.promotecms:hover {
background: url({vb:stylevar imgdir_cms}/promote_small-hover.png) no-repeat transparent {vb:stylevar left};
padding-{vb:stylevar left}: 20px;
}
.postbitlegacy .postfoot .textcontrols a.infraction, .postbit .postfoot .textcontrols a.infraction {
background: url({vb:stylevar imgdir_button}/add-infraction_sm.png) no-repeat transparent {vb:stylevar left};
padding-{vb:stylevar left}: 20px;
}
.postbitlegacy .postfoot .textcontrols a.infraction:hover, .postbit .postfoot .textcontrols a.infraction:hover {
background: url({vb:stylevar imgdir_button}/add-infraction_sm-hover.png) no-repeat transparent {vb:stylevar left};
padding-{vb:stylevar left}: 20px;
}
.postbitlegacy .postfoot .textcontrols a.report, .postbit .postfoot .textcontrols a.report {
background: url({vb:stylevar imgdir_button}/report-40b.png) no-repeat transparent {vb:stylevar left};
padding-{vb:stylevar left}: 20px;
}
.postbitlegacy .postfoot .textcontrols a.report:hover, .postbit .postfoot .textcontrols a.report:hover {
background: url({vb:stylevar imgdir_button}/report-40b-hover.png) no-repeat transparent {vb:stylevar left};
padding-{vb:stylevar left}: 20px;
}
.postbitlegacy .postfoot .textcontrols a.blog, .postbit .postfoot .textcontrols a.blog {
background: url({vb:stylevar imgdir_misc}/blog/blogpost_40b.png) no-repeat transparent {vb:stylevar left};
padding-{vb:stylevar left}: 20px;
}
.postbitlegacy .postfoot .textcontrols a.blog:hover, .postbit .postfoot .textcontrols a.blog:hover {
background: url({vb:stylevar imgdir_misc}/blog/blogpost_40b-hover.png) no-repeat transparent {vb:stylevar left} ;
padding-{vb:stylevar left}: 20px;
}
.postbitlegacy .postfoot .textcontrols a.reputation, .postbit .postfoot .textcontrols a.reputation {
background: url({vb:stylevar imgdir_button}/reputation-40b.png) no-repeat transparent {vb:stylevar left};
padding-{vb:stylevar left}: 20px;
}
.postbitlegacy .postfoot .textcontrols a.reputation:hover, .postbit .postfoot .textcontrols a.reputation:hover {
background: url({vb:stylevar imgdir_button}/reputation-40b-hover.png) no-repeat transparent {vb:stylevar left};
padding-{vb:stylevar left}: 20px;
}
.postbitlegacy .postfoot .textcontrols a.ip, .postbit .postfoot .textcontrols a.ip {
background: url({vb:stylevar imgdir_button}/ip-40b.png) no-repeat transparent {vb:stylevar left};
padding-{vb:stylevar left}: 20px;
}
.postbitlegacy .postfoot .textcontrols a.ip:hover, .postbit .postfoot .textcontrols a.ip:hover {
background: url({vb:stylevar imgdir_button}/ip-40b-hover.png) no-repeat transparent {vb:stylevar left};
padding-{vb:stylevar left}: 20px;
}
.postbitlegacy .postfoot .textcontrols a.redcard, .postbit .postfoot .textcontrols a.redcard {
background: url({vb:stylevar imgdir_button}/red-card_sm.png) no-repeat transparent {vb:stylevar left};
padding-{vb:stylevar left}: 20px;
}
.postbitlegacy .postfoot .textcontrols a.redcard:hover, .postbit .postfoot .textcontrols a.redcard:hover {
background: url({vb:stylevar imgdir_button}/red-card_sm-hover.png) no-repeat transparent {vb:stylevar left};
padding-{vb:stylevar left}: 20px;
}
.postbitlegacy .postfoot .textcontrols a.yellowcard, .postbit .postfoot .textcontrols a.yellowcard {
background: url({vb:stylevar imgdir_button}/yellow-card_sm.png) no-repeat transparent {vb:stylevar left};
padding-{vb:stylevar left}: 20px;
}
.postbitlegacy .postfoot .textcontrols a.yellowcard:hover, .postbit .postfoot .textcontrols a.yellowcard:hover {
background: url({vb:stylevar imgdir_button}/yellow-card_sm-hover.png) no-repeat transparent {vb:stylevar left};
padding-{vb:stylevar left}: 20px;
}
.postbitlegacy .postfoot .textcontrols a.deleted, .postbit .postfoot .textcontrols a.deleted {
background: url({vb:stylevar imgdir_button}/deleted_sm.png) no-repeat transparent {vb:stylevar left};
padding-{vb:stylevar left}: 20px;
}
.postbitlegacy .postfoot .textcontrols a.deleted:hover, .postbit .postfoot .textcontrols a.deleted:hover {
background: url({vb:stylevar imgdir_button}/deleted_sm-hover.png) no-repeat transparent {vb:stylevar left};
padding-{vb:stylevar left}: 20px;
}
.postbitlegacy .postfoot .textcontrols a:hover, .postbit .postfoot .textcontrols a:hover {
color: {vb:stylevar postbit_control_hover_color};
background: {vb:stylevar postbit_control_hover_background};
_background-image: none;
}

.postbitlegacy .postfoot .textcontrols a.highlight, .postbit .postfoot .textcontrols a.highlight {
background-color: {vb:stylevar postbit_control_hover_background.backgroundColor};
}

.postbitlegacy .postfoot .textcontrols a.multiquote, .postbit .postfoot .textcontrols a.multiquote {
border: 0;
margin-{vb:stylevar right}: 0;
padding-{vb:stylevar right}: {vb:stylevar padding};
}

.postbitlegacy .postfoot .textcontrols a img, .postbit .postfoot .textcontrols a img {
position: absolute;
top: {vb:math {vb:stylevar padding}/5};
{vb:stylevar left}: {vb:math {vb:stylevar padding}/5+1};
}

.postbitlegacy .postfoot .textcontrols a:hover img, .postbit .postfoot .textcontrols a:hover img {
top: {vb:math {vb:stylevar padding}/5};
}

/*post bit deleted*/
.postbitdeleted, .postbitignored {
margin-bottom: {vb:stylevar padding};
display:block;
width: 100%;
clear:both;
position: relative;
color: {vb:stylevar body_color};
border: {vb:stylevar postbit_border};
float: {vb:stylevar left};
background: {vb:stylevar postbit_deleted_background};
_background-image: none;
}

.postbitdeleted hr, .postbitignored hr {
display: none;
}

.postbitdeleted .posthead, .postbitignored .posthead {
display:table;
background: {vb:stylevar postbithead_background};
_background-image: none;
border: {vb:stylevar postbithead_border};
height: {vb:math {vb:stylevar padding}+6};
padding: {vb:math {vb:stylevar padding}/5+2} 0;
color: {vb:stylevar postbithead_color};
width: 100%;
margin: -{vb:stylevar postbithead_border.borderWidth}{vb:stylevar postbithead_border.units} -{vb:stylevar postbithead_border.borderWidth}{vb:stylevar postbithead_border.units} 0;
font: {vb:stylevar postbithead_font};
}

.postbitdeleted .posthead .date, .postbitignored .posthead .date {
display:inline-block;
padding-{vb:stylevar left}: {vb:math {vb:stylevar padding}+4};
margin-{vb:stylevar left}: {vb:stylevar padding};
color: {vb:stylevar postbithead_color};
background:transparent url({vb:stylevar imgdir_statusicon}/post_old.png) no-repeat center {vb:stylevar left};
font: {vb:stylevar postbithead_font};
}

.postbitdeleted .posthead .date .time, .postbitignored .date .time {
color: {vb:stylevar postbithead_color};
margin-{vb:stylevar left}: {vb:stylevar padding};
font: {vb:stylevar postbithead_font};
}

.postbitdeleted .posthead .postimod, .postbitignored .posthead .postimod {
position: absolute;
{vb:stylevar right}: {vb:stylevar padding};
top: {vb:math {vb:stylevar padding}/2};
}

.postbitdeleted .postbody, .postbitignored .postbody {
padding: 0;
}

.postbitdeleted .postrow, .postbitignored .postrow {
padding: {vb:stylevar padding};
}

.postbitdeleted .userinfo .memberaction, .postbitignored .userinfo .memberaction {
display: block;
}


.postbitdeleted .userinfo, .postbitignored .userinfo {
display:block;
background: transparent;
position: relative;
clear: both;
padding: {vb:math {vb:stylevar padding}/2} {vb:stylevar padding};
border-bottom: {vb:stylevar postbit_border};
word-wrap: break-word;
}

.postbitdeleted .userinfo .username, .postbitignored .userinfo .username {
display:block;
float: {vb:stylevar left};
clear: {vb:stylevar right};
font-size: {vb:stylevar font.fontSize}{vb:stylevar font.units};
/*font-weight:bold;*/
}

.postbitdeleted .userinfo .moreinfo, .postbitignored .userinfo .moreinfo {
float: {vb:stylevar left};
display:block;
position: relative;
top: -5px;
}

.postbitdeleted .userinfo .usertitle, .postbitignored .userinfo .usertitle {
clear:both;
display:block
width: 100%;
}

.postbitdeleted .userinfo .popupmenu a.popupctrl:hover, .postbitignored .userinfo .popupmenu a.popupctrl:hover {
color: {vb:stylevar link_color};
text-decoration: {vb:stylevar linkhover_textDecoration};
}

.postbitdeleted .title, .postbitignored .title {
font: {vb:stylevar post_title_font};
}

.postbitdeleted .nodecontrols, .postbitignored .nodecontrols {
padding: 4px 0;
padding-{vb:stylevar right}: {vb:stylevar padding};
text-align: {vb:stylevar right};
background: {vb:stylevar postbit_foot_background};
_background-image: none;
font: {vb:stylevar postbit_control_font};
height: 16px;
}

.postbitdeleted .nodecontrols .textcontrol, .postbitignored .nodecontrols .textcontrol {
background: {vb:stylevar postbit_control_background};
_background-image: none;
border: {vb:stylevar postbit_control_border};
font: {vb:stylevar postbit_control_font};
}

.postbitdeleted .nodecontrols a.textcontrol:hover, .postbitignored .nodecontrols a.textcontrol:hover {
background: {vb:stylevar postbit_control_hover_background};
_background-image: none;
border: {vb:stylevar postbit_control_border};
}

.userinfo .popupmenu:hover a.popupctrl {
background-color:transparent;
}

.userinfo .popupgroup .popupmenu:hover a.popupctrl.active,
.userinfo .popupmenu a.popupctrl.active {
background-color:transparent;
color:inherit;
}
.postbit .userinfo .popupmenu .popupctrl {
color:auto;
}

.postbit.imod_highlight .userinfo_noavatar,
.postbit.imod_highlight .userinfo,
.postbit.imod_highlight .postbody,
.postbitlegacy.imod_highlight .postdetails,
.postbitlegacy.imod_highlight .userinfo,
.postbitlegacy.imod_highlight .postbody,
.postbitdeleted.imod_highlight,
.postbitignored.imod_highlight {
background:{vb:stylevar imodhilite_backgroundColor};
color: {vb:stylevar body_color};
}


/* start styles for postbit_legacy */
.userinfo .popupmenu:hover a.popupctrl {
background-color:transparent;
}
.userinfo .popupgroup .popupmenu:hover a.popupctrl.active,
.userinfo .popupmenu a.popupctrl.active {
background-color:transparent;
color:inherit;
}
.postbitlegacy .userinfo .popupmenu .popupctrl {
color:auto;
}
/* end styles for postbit_legacy */

img.onlinestatus_noavatar {
position: relative;
top: 5px;
{vb:stylevar left}: -56px;
}
img.onlinestatus {
position: relative;
top: 5px;
{vb:stylevar left}: -4px;
}

/* last edited */
.postbody fieldset {
background: {vb:stylevar postbit_boxed_background};
_background-image: none;
-moz-border-radius: {vb:stylevar border_radius};
padding: {vb:stylevar postbit_boxed_padding};
font-size: {vb:stylevar postbit_boxed_fontSize};
}

.postbody img.inlineimg {
position: relative;
top: 2px;
}

.postbody .lastedited .reason {
font-weight: bold;
}

.postbitlegacy .userinfo .userinfo_extra {
width:{vb:math {vb:stylevar postbitlegacy_userinfo_width}-{vb:math {vb:stylevar padding}*2}};
float: {vb:stylevar left};
font-size: {vb:stylevar small_fontSize};
}

.hasad {
display:block;
margin-{vb:stylevar right}: {vb:stylevar ad_post_maxWidth};
}
/* eTiKeT Postbit_Legacy*/
.eti_postbit_merkezli {
padding-left: 4px;
padding-right: 2px;
padding-top: 2px;
padding-bottom: 2px;
background-color: #efefef;
border-top: 1px solid #dddddd;
border-right: 1px solid #dddddd;
border-left: 1px solid #c4c4c4;
border-bottom: 1px solid #c4c4c4;
margin-bottom: 4px;
text-align:center;
-moz-box-shadow: 0 2px 6px #b3b3b3;
-webkit-box-shadow: -1px 2px 2px #b3b3b3;
-moz-border-radius-bottom{vb:stylevar left}:6px;
-moz-border-radius-top{vb:stylevar right}:6px;
-webkit-border-top-{vb:stylevar right}-radius: {vb:stylevar threadlisthead_top_corner_radius};
-webkit-border-bottom-{vb:stylevar left}-radius: {vb:stylevar threadlisthead_top_corner_radius};}

.eti_postbit {
padding-left: 4px;
padding-right: 2px;
padding-top: 2px;
padding-bottom: 2px;
background-color: #efefef;
border-top: 1px solid #dddddd;
border-right: 1px solid #dddddd;
border-left: 1px solid #c4c4c4;
border-bottom: 1px solid #c4c4c4;
margin-bottom: 4px;
-moz-box-shadow: 0 2px 6px #b3b3b3;
-webkit-box-shadow: -1px 2px 2px #b3b3b3;
-moz-border-radius-bottom{vb:stylevar left}:6px;
-moz-border-radius-top{vb:stylevar right}:6px;
-webkit-border-top-{vb:stylevar right}-radius: {vb:stylevar threadlisthead_top_corner_radius};
-webkit-border-bottom-{vb:stylevar left}-radius: {vb:stylevar threadlisthead_top_corner_radius};
}

.itvnn_postbit {
text-align:center;
}

HTT.itvn
08-09-2010, 11:45 AM
Bạn cho mình code trong postbit_legacy nhé .

emngheodo
08-09-2010, 11:51 AM
dạ đây anh ơi chẳng hiểu sao không được anh ạ

{vb:raw template_hook.postbit_start}
<li class="postbitlegacy postbitim postcontainer" id="post_{vb:raw post.postid}">
<!-- see bottom of postbit.css for .userinfo .popupmenu styles -->

<div class="posthead">
<vb:if condition="$show['inlinemod']"><label for="post_imod_checkbox_{vb:raw post.postid}"></vb:if>
<span class="postdate {vb:raw post.statusicon}">
<vb:if condition="$show['announcement']">
<span class="date">{vb:rawphrase x_until_y, {vb:raw post.startdate}, {vb:raw post.enddate}}</span>
<vb:else />
<span class="date">{vb:raw post.postdate}<vb:if condition="!$show['detailedtime']">&nbsp;<span class="time">{vb:raw post.posttime}</span></vb:if></span>
</vb:if>
</span>
<span class="nodecontrols">
<vb:if condition="$post['postid'] AND $post['threadid'] AND !$show['moderated']">
<a name="post{vb:raw post.postid}" href="{vb:link thread, {vb:raw thread}, {vb:raw pageinfo_post}}#post{vb:raw post.postid}" class="postcounter">#{vb:raw post.postcount}</a><a id="postcount{vb:raw post.postid}" name="{vb:raw post.postcount}"></a>
</vb:if>
<vb:if condition="$show['moderated']">{vb:rawphrase moderated_post}</vb:if>
<vb:if condition="$show['inlinemod']">
<input class="postimod" type="checkbox" id="post_imod_checkbox_{vb:raw post.postid}" name="plist[{vb:raw post.postid}]" value="{vb:raw post.checkbox_value}" />
</vb:if>
</span>
<vb:if condition="$show['inlinemod']"></label></vb:if>
</div>
<div class="postdetails">
<div class="userinfo">
<div class="username_container">
<vb:if condition="$post['userid']">
<div class="itvnn_postbit">
{vb:raw memberaction_dropdown}
{vb:raw post.onlinestatus}
<vb:else />
<span class="username guest">{vb:raw post.musername}</span>
</vb:if>
</div></div>
<span class="usertitle">
{vb:raw post.usertitle}
</span>
<vb:if condition="$post['rank']">
<span class="rank">{vb:raw post.rank}</span>
</vb:if>
{vb:raw template_hook.postbit_userinfo_left}
<vb:if condition="$show['reputation']">
<span class="postbit_reputation" id="repdisplay_{vb:raw post.postid}_{vb:raw post.userid}">{vb:raw post.reputationdisplay}</span>
</vb:if>
<vb:if condition="$show['avatar']">
<a class="postuseravatar" href="{vb:link member, {vb:raw post}}" title="{vb:rawphrase {vb:raw post['onlinestatusphrase']}, {vb:raw post.username}}">
<img src="{vb:raw post.avatarurl}" alt="{vb:rawphrase xs_avatar, {vb:raw post.username}}" title="{vb:rawphrase xs_avatar, {vb:raw post.username}}" />
</a>
</vb:if>
<vb:if condition="$post['userid']">
<hr />
<dl class="userinfo_extra">
<vb:if condition="$post['joindate']"><dt>{vb:rawphrase join_date}</dt> <dd>{vb:raw post.joindate}</dd></vb:if>
<vb:if condition="$post['field2']"><dt>{vb:rawphrase location_perm}</dt> <dd>{vb:raw post.field2}</dd></vb:if>
<vb:if condition="$post['age']"><dt>{vb:rawphrase age}</dt> <dd>{vb:raw post.age}</dd></vb:if>
<dt>{vb:rawphrase 'posts'}</dt> <dd>{vb:raw post.posts}</dd>
{vb:raw template_hook.postbit_userinfo_right_after_posts}
</dl>
<vb:if condition="$show['infraction'] OR $show['reppower']">
<dl class="user_rep">
<vb:if condition="$show['infraction']">
<dt>{vb:rawphrase infractions}</dt>
<dd>{vb:raw post.warnings}/{vb:raw post.infractions} ({vb:raw post.ipoints})</dd>
</vb:if>
<vb:if condition="$show['reputation']">
<vb:if condition="$show['reppower']">
<dt>{vb:rawphrase reppower}</dt>
<dd id="reppower_{vb:raw post.postid}_{vb:raw post.userid}">{vb:raw post.reppower}</dd>
</vb:if>
</vb:if>
</dl>
</vb:if>
{vb:raw template_hook.postbit_userinfo_right}
<div class="imlinks">
{vb:raw post.icqicon} {vb:raw post.aimicon} {vb:raw post.msnicon} {vb:raw post.yahooicon} {vb:raw post.skypeicon}
</div>
</vb:if>
</div>
<div class="postbody">
<div class="postrow<vb:if condition="$show['postedited'] || $post['signature']"> has_after_content</vb:if>">
{vb:raw template_hook.postbit_messagearea_start}
<vb:if condition="$post['title'] OR $show['messageicon']">
<h2 class="title icon">
<vb:if condition="$show['messageicon']"><img src="{vb:raw post.iconpath}" alt="{vb:raw post.icontitle}" /> </vb:if>{vb:raw post.title}
</h2>
</vb:if>


<vb:if condition="$post['isfirstshown']">
{vb:raw ad_location.ad_showthread_firstpost_start}
{vb:raw ad_location.thread_first_post_content}
</vb:if>
<vb:if condition="$post['islastshown']">
{vb:raw ad_location.thread_last_post_content}
</vb:if>
<div class="content<vb:if condition="$show['first_ad'] OR $show['last_ad']"> hasad</vb:if>">
<div id="post_message_{vb:raw post.postid}">
<blockquote class="postcontent restore ">
{vb:raw post.message}
</blockquote>
</div>

<vb:if condition="$show['attachments']">
<div class="attachments">

<vb:if condition="$show['thumbnailattachment']">
<fieldset class="postcontent">
<legend><img src="{vb:stylevar imgdir_misc}/paperclip.png" class="inlineimg" alt="{vb:rawphrase attached_thumbnails}" /> {vb:rawphrase attached_thumbnails}</legend>
{vb:raw post.thumbnailattachments}
</fieldset>
</vb:if>

<vb:if condition="$show['imageattachment']">
<fieldset class="postcontent">
<legend><img src="{vb:stylevar imgdir_misc}/paperclip.png" class="inlineimg" /> {vb:rawphrase attached_images}</legend>
{vb:raw post.imageattachments}
</fieldset>
</vb:if>

<vb:if condition="$show['imageattachmentlink']">
<fieldset class="postcontent">
<legend><img src="{vb:stylevar imgdir_misc}/paperclip.png" class="inlineimg" /> {vb:rawphrase attached_images}</legend>
<ul>
{vb:raw post.imageattachmentlinks}
</ul>
</fieldset>
</vb:if>

<vb:if condition="$show['otherattachment']">
<fieldset class="postcontent">
<legend><img src="{vb:stylevar imgdir_misc}/paperclip.png" class="inlineimg" /> {vb:rawphrase attached_files}</legend>
<ul>
{vb:raw post.otherattachments}
</ul>
</fieldset>
</vb:if>

<vb:if condition="$show['moderatedattachment']">
<fieldset class="postcontent">
<legend><img src="{vb:stylevar imgdir_misc}/paperclip.png" class="inlineimg" /> {vb:rawphrase attachments_pending_approval}</legend>
<ul>
{vb:raw post.moderatedattachments}
</ul>
</fieldset>
</vb:if>

</div>
<!-- / attachments -->
</vb:if>
</div>
</div>
<vb:if condition="$show['postedited'] || $post['signature']">
<div class="after_content">
<vb:if condition="$show['postedited']">
<!-- edit note -->
<blockquote class="postcontent lastedited">
<!-- <img src="{vb:stylevar imgdir_button}/edit_40b.png" class="inlineimg" alt="" /> -->
<vb:if condition="$show['postedithistory']">
{vb:rawphrase last_edited_link_by_x_on_y_at_z_postid, {vb:raw post.edit_username}, {vb:raw post.edit_date},
{vb:raw post.edit_time}, {vb:raw post.historyurl}}
<vb:else />
{vb:rawphrase last_edited_by_x_on_y_at_z, {vb:raw post.edit_username}, {vb:raw post.edit_date}, {vb:raw post.edit_time}}
</vb:if>
<vb:if condition="$post['edit_reason']">
<span class="reason">{vb:rawphrase reason}:</span> {vb:raw post.edit_reason}
</vb:if>
</blockquote>
<!-- / edit note -->
</vb:if>
{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="signaturecontainer">{vb:raw post.signature}</div></blockquote>
</vb:if>
{vb:raw template_hook.postbit_signature_end}
</div>
</vb:if>
<div class="cleardiv"></div>
</div>
</div>
<div class="postfoot">
<!-- <div class="postfoot_container"> -->
<div class="textcontrols">
<span class="postcontrols">
<img style="display:none" id="progress_{vb:raw post.postid}" src="{vb:stylevar imgdir_misc}/progress.gif" alt="{vb:rawphrase loading_editor_please_wait}" />
<vb:if condition="$post['editlink']">
<a class="editpost" href="{vb:raw post.editlink}" name="vB::QuickEdit::{vb:raw post.postid}"><img src="{vb:raw vboptions.cleargifurl}" id="editimg_{vb:raw post.postid}" alt="{vb:rawphrase edit_delete_message}" /> {vb:rawphrase edit_post}</a>
<span class="seperator">&nbsp;</span>
</vb:if>
<vb:if condition="$show['quickreply'] AND !$show['threadedmode']">
<a id="qr_{vb:raw post.postid}" class='quickreply' href="{vb:raw post.replylink}" rel="nofollow"><img id="replyimg_{vb:raw post.postid}" src="{vb:raw vboptions.cleargifurl}" alt="{vb:rawphrase quick_reply_to_this_message}" /> {vb:rawphrase reply}</a>
<span class="seperator">&nbsp;</span>
</vb:if>
<vb:if condition="$post['replylink']">
<a id="qrwq_{vb:raw post.postid}" class="newreply" href="{vb:raw post.replylink}" rel="nofollow"><img id="quoteimg_{vb:raw post.postid}" src="{vb:raw vboptions.cleargifurl}" alt="{vb:rawphrase reply_with_quote}" /> {vb:rawphrase reply_with_quote}</a>
<span class="seperator">&nbsp;</span>
</vb:if>
<vb:if condition="$show['multiquote_post']">

<a class="multiquote" href="{vb:raw post.replylink}" rel="nofollow" onclick="return false;" id="mq_{vb:raw post.postid}"><img id="mq_image_{vb:raw post.postid}" src="{vb:raw vboptions.cleargifurl}" alt="{vb:rawphrase multi_quote_this_message}" />&nbsp;</a>
</vb:if>
</span>
<span class="postlinking">
<vb:if condition="!$post['forwardlink'] && THIS_SCRIPT != 'usernote' && THIS_SCRIPT != 'announcement'">
<vb:if condition="$promote_sectionid AND $promote_sectionid != -1">
<a href="{vb:raw promote_url}" class="promotecms">{vb:rawphrase promote_to_article}</a>
<span class="seperator">&nbsp;</span>
</vb:if>
</vb:if>

{vb:raw template_hook.postbit_controls}
{vb:raw post.iplogged}
<vb:if condition="$show['reputationlink']">
<span class="reputationpopupmenu popupmenu popupcustom" title="{vb:raw post.postid}"><a class="popupctrl reputation" title="{vb:rawphrase reputation}" href="reputation.php?{vb:raw session.sessionurl}do=addreputation&amp;p={vb:raw post.postid}" rel="nofollow" id="reputation_{vb:raw post.postid}"><!--<img src="{vb:stylevar imgdir_button}/reputation-40b.png" alt="{vb:rawphrase reputation}" /> -->&nbsp;</a></span>
</vb:if>

<vb:if condition="$show['infractionlink']">
<a class="infraction" href="infraction.php?{vb:raw session.sessionurl}do=report&amp;p={vb:raw post.postid}" rel="nofollow" title="{vb:rawphrase add_infraction_for_x, {vb:raw post.username}}"><!-- <img src="{vb:stylevar imgdir_button}/add-infraction_sm.png" alt="{vb:rawphrase add_infraction_for_x, {vb:raw post.username}}" /> --> &nbsp;</a> &nbsp;
</vb:if>
<vb:if condition="$show['reportlink']">
<a class="report" href="{vb:raw post.reportlink}" rel="nofollow" title="{vb:rawphrase report_bad_post}"><!-- <img src="{vb:stylevar imgdir_button}/report-40b.png" alt="{vb:rawphrase report_bad_post}" /> -->&nbsp;</a> &nbsp;
</vb:if>

<vb:if condition="$show['moderated']">
<img class="moderated" src="{vb:stylevar imgdir_misc}/moderated_sm.png" alt="{vb:rawphrase moderated_post}" />
</vb:if>
<vb:if condition="$show['spam']">
<img class="spam" src="{vb:stylevar imgdir_misc}/spam_detected.png" alt="{vb:rawphrase spam_post}" />
</vb:if>
<vb:if condition="$show['deletedpost']">
<vb:if condition="$show['managepost']">
<a class="deleted" href="postings.php?{vb:raw session.sessionurl}do=managepost&amp;p={vb:raw post.postid}" title="{vb:rawphrase manage}"><!-- <img src="{vb:stylevar imgdir_misc}/deleted_sm.png" alt="{vb:rawphrase manage}" /> --> &nbsp;</a>
<vb:else />
<img class="deleted_nolink" class="inlineimage" src="{vb:stylevar imgdir_misc}/deleted_sm.png" alt="{vb:rawphrase deleted_post}" />
</vb:if>
</vb:if>
<vb:if condition="$show['redcard']">
<a class="redcard" href="infraction.php?{vb:raw session.sessionurl}do=view&amp;p={vb:raw post.postid}" rel="nofollow" title="{vb:rawphrase received_infraction}"><!-- <img src="{vb:stylevar imgdir_button}/red-card_sm.png" alt="{vb:rawphrase received_infraction}" /> --> &nbsp;</a>
<vb:elseif condition="$show['yellowcard']" />
<a class="yellowcard" href="infraction.php?{vb:raw session.sessionurl}do=view&amp;p={vb:raw post.postid}" rel="nofollow" title="{vb:rawphrase received_warning}"><!--<img src="{vb:stylevar imgdir_button}/yellow-card_sm.png" alt="{vb:rawphrase received_warning}" /> --> &nbsp;</a>
</vb:if>
<vb:if condition="$post['forwardlink']">
<a class="forwardpost" href="{vb:raw post.forwardlink}" rel="nofollow"><img src="{vb:stylevar imgdir_button}/reply_40b.png" alt="{vb:rawphrase forward_message}" /> {vb:rawphrase forward}</a>
</vb:if>
</span>
<!-- </div> -->
</div>
</div>
<hr />
</li>
{vb:raw template_hook.postbit_end}

HTT.itvn
08-09-2010, 11:59 AM
- Thứ 1 : em đóng khung thông tin ngang hay dọc ?
- Thứ 2 : em chưa thực hiện thẻ đóng khung .
- Thứ 3 : Profile em chưa được thiết lập .

Nếu em đóng khung theo profile dọc thì tìm đoạn code sau :


<dl class="userinfo_extra">
<vb:if condition="$post['joindate']"><dt>{vb:rawphrase join_date}</dt> <dd>{vb:raw post.joindate}</dd></vb:if>
<vb:if condition="$post['field2']"><dt>{vb:rawphrase location_perm}</dt> <dd>{vb:raw post.field2}</dd></vb:if>
<vb:if condition="$post['age']"><dt>{vb:rawphrase age}</dt> <dd>{vb:raw post.age}</dd></vb:if>
<dt>{vb:rawphrase 'posts'}</dt> <dd>{vb:raw post.posts}</dd>
{vb:raw template_hook.postbit_userinfo_right_after_posts}
</dl>

Đóng khung nó như sau ( chú ý chữ in đậm ):


<dl class="userinfo_extra">
<vb:if condition="$post['joindate']"><div class="eti_postbit"><dt>{vb:rawphrase join_date}</dt> <dd>{vb:raw post.joindate}</dd></div></vb:if>
<vb:if condition="$post['field2']"><div class="eti_postbit"><dt>{vb:rawphrase location_perm}</dt> <dd>{vb:raw post.field2}</dd></div></vb:if>
<vb:if condition="$post['age']"><div class="eti_postbit"><dt>{vb:rawphrase age}</dt> <dd>{vb:raw post.age}</dd></div></vb:if>
<div class="eti_postbit"><dt>{vb:rawphrase 'posts'}</dt> <dd>{vb:raw post.posts}</dd> </div>
{vb:raw template_hook.postbit_userinfo_right_after_posts}
</dl>

Em nên đọc hết toàn bộ bài viết này và cả phần trả lời nữa nhé .

emngheodo
08-09-2010, 12:01 PM
giông demo dien đàn nay ne anh em làm thư xem

emngheodo
08-09-2010, 12:09 PM
em muốn hỏi 1 câu nữa em mơi add on thêm phần Thanks em muốn đong khung thì làm thế nào anh http://vietteldienbien.com/diendan

HTT.itvn
08-09-2010, 12:13 PM
em muốn hỏi 1 câu nữa em mơi add on thêm phần Thanks em muốn đong khung thì làm thế nào anh http://vietteldienbien.com/diendan

Em nên đọc hết tất cả phần trả lời trong topic này , các câu hỏi liên quan đều có đủ rồi .

emngheodo
08-09-2010, 12:16 PM
dạ vâng cảm ơn anh nhiều em hỏi 1 câu nữa mong anh đừng giận nhé là làm sao cho cái avtar nó căn giữa a

HTT.itvn
08-09-2010, 05:16 PM
dạ vâng cảm ơn anh nhiều em hỏi 1 câu nữa mong anh đừng giận nhé là làm sao cho cái avtar nó căn giữa a

Em tải ebook về tại đây http://itvnn.net/showthread.php?16177-Ebook-VBB-4.X-H%C6%B0%E1%BB%9Bng-d%E1%BA%ABn-l%C3%A0m-forum-VBB-4.x&p=31134#post31134 . Chú ý phần V nhé .

cavang12
24-09-2010, 06:45 AM
Anh ơi cho em hỏi cái đoạn Join date . Point của em đang bị vào giữa vậy làm sao để trở lại lệch về phí bên trái
Đóng khung cái U cash í ạ hix em làm theo anh ơ trên mà nó vẫn bị lệch
Website của em đây ạ goohyesunvn.com
Cái phần thanked em chỉnh như hướng dẫn mà nó vẫn bị thế :(( . Và cho em hỏi 1 câu nữa là cho cái rank xuống dưói avatar thì như thế nào ạ .Với cả em dung K bank vậy thì đóng khung Kbank ở chỗ nào ạ . Em hỏi thêm câu nữa là em phải caid K bank thì nút thank mới hiện lên dù em dung hack thank 7.82 :(

PS :Anh ơi giơ em mới phát hiện là cứ có chữ left lả cái phần đằng saubij xuống dòng
Ví dụ : Post :1000 mà chèn thêm chữ left là thành Post/1000ngay ạ

<vb:if condition="$post['userid']">
<div class="eti_postbit"><dt>{vb:rawphrase post_thanks_thanks}</dt> <dd>{vb:raw post.post_thanks_user_amount_formatted}</dd></div>

<div class="eti_postbit"><vb:if condition="$post['post_thanks_thanked_times'] == 1">
<dd float: {vb:stylevar left};">{vb:rawphrase post_thanks_time_post}</dd>
<vb:elseif condition="$post['post_thanks_thanked_posts'] == 1" />
<dd float: {vb:stylevar left};">{vb:rawphrase post_thanks_times_post, {vb:raw post.post_thanks_thanked_times_formatted}}</dd>
<vb:else />
<dd float: {vb:stylevar left};">{vb:rawphrase post_thanks_times_posts, {vb:raw post.post_thanks_thanked_times_formatted}, {vb:raw post.post_thanks_thanked_posts_formatted}}</dd>
</vb:if></div>
</vb:if>
http://ca6.upanh.com/13.755.17969586.Mc70/untitled1.png

Đây là postbit legacy của em anh xem lỗi chỗ nào ạ


{vb:raw template_hook.postbit_start}
<li class="postbitlegacy postbitim postcontainer" id="post_{vb:raw post.postid}">
<!-- see bottom of postbit.css for .userinfo .popupmenu styles -->

<div class="posthead">
<vb:if condition="$show['inlinemod']"><label for="post_imod_checkbox_{vb:raw post.postid}"></vb:if>
<span class="postdate {vb:raw post.statusicon}">
<vb:if condition="$show['announcement']">
<span class="date">{vb:rawphrase x_until_y, {vb:raw post.startdate}, {vb:raw post.enddate}}</span>
<vb:else />
<span class="date">{vb:raw post.postdate}<vb:if condition="!$show['detailedtime']">&nbsp;<span class="time">{vb:raw post.posttime}</span></vb:if></span>
</vb:if>
</span>
<span class="nodecontrols">
<vb:if condition="$post['postid'] AND $post['threadid'] AND !$show['moderated']">
<a name="post{vb:raw post.postid}" href="{vb:link thread, {vb:raw thread}, {vb:raw pageinfo_post}}#post{vb:raw post.postid}" class="postcounter">#{vb:raw post.postcount}</a><a id="postcount{vb:raw post.postid}" name="{vb:raw post.postcount}"></a>
</vb:if>
<vb:if condition="$show['moderated']">{vb:rawphrase moderated_post}</vb:if>
<vb:if condition="$show['inlinemod']">
<input class="postimod" type="checkbox" id="post_imod_checkbox_{vb:raw post.postid}" name="plist[{vb:raw post.postid}]" value="{vb:raw post.checkbox_value}" />
</vb:if>
</span>
<vb:if condition="$show['inlinemod']"></label></vb:if>
</div>
<div class="postdetails">
<div class="userinfo">
<div class="username_container">



<div class="pbg" align="center">
<div class="ptop"></div>





<div class="info">
<vb:if condition="$post['userid']">
{vb:raw memberaction_dropdown}
<vb:else />
<span class="username guest">{vb:raw post.musername}</span>
</vb:if>
</div>
<div class="info"><span class="usertitle">
{vb:raw post.usertitle}
</span></div>
<vb:if condition="$post['rank']">
<span class="rank">{vb:raw post.rank}</span>
</vb:if>
{vb:raw template_hook.postbit_userinfo_left}
<vb:if condition="$show['reputation']">
<span class="postbit_reputation" id="repdisplay_{vb:raw post.postid}_{vb:raw post.userid}">{vb:raw post.reputationdisplay}</span>
</vb:if>

<vb:if condition="$show['avatar']"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><img src="images/avatar_frame/ava_01.png" width="7" height="9"></td>
<td background="images/avatar_frame/ava_02.png" height="9"></td>
<td><img src="images/avatar_frame/ava_03.png" width="13" height="9"></td>
</tr>


<tr>
<td background="images/avatar_frame/left.png" width="7"></td>
<td>
<a href="{vb:link member, {vb:raw post}}" title="{vb:rawphrase {vb:raw post['onlinestatusphrase']}, {vb:raw post.username}}">
<img src="{vb:raw post.avatarurl}" alt="{vb:rawphrase xs_avatar, {vb:raw post.username}}" title="{vb:rawphrase xs_avatar, {vb:raw post.username}}" />
</a>
</td>
<td background="images/avatar_frame/right.png" width="13"></td>
</tr>



<tr>
<td><img src="images/avatar_frame/ava_04.png" width="7" height="22"></td>
<td background="images/avatar_frame/ava_05.png" height="22"></td>
<td><img src="images/avatar_frame/ava_06.png" width="13" height="22"></td>
</tr>
</table>
</vb:if>
<vb:if condition="$post['userid']">
<hr />
<dl>
<div class="info1"><vb:if condition="$post['joindate']"><div class="info">{vb:rawphrase join_date}: {vb:raw post.joindate}</div></vb:if>
<div class="info1"><vb:if condition="$post['field2']"><div class="info">{vb:rawphrase location_perm}: {vb:raw post.field2}</div></vb:if>
<div class="info1"><vb:if condition="$post['age']"><div class="info">{vb:rawphrase age}: {vb:raw post.age}</div></vb:if>
<div class="info1"><div class="info">{vb:rawphrase 'posts'}: {vb:raw post.posts}</div>
<div class="info">Đang: {vb:raw post.onlinestatus}</div>
{vb:raw template_hook.postbit_userinfo_right_after_posts}
</dl>
<vb:if condition="$show['infraction'] OR $show['reppower']">
<dl class="user_rep">
<vb:if condition="$show['infraction']">
<div class="info">{vb:rawphrase infractions}: {vb:raw post.warnings}/{vb:raw post.infractions} ({vb:raw post.ipoints})</div>
</vb:if>
<vb:if condition="$show['reputation']">
<vb:if condition="$show['reppower']">
<div class="info">{vb:rawphrase reppower}: {vb:raw post.reppower}
</div></vb:if>
</vb:if>
</dl>
</vb:if>
{vb:raw template_hook.postbit_userinfo_right}
<div class="imlinks">
{vb:raw post.icqicon} {vb:raw post.aimicon} {vb:raw post.msnicon} {vb:raw post.yahooicon} {vb:raw post.skypeicon}




</div><div style="clear:both"></div>
<div class="pbottom"></div>
</div>

<!-- abcd -->

</div>
</vb:if>
</div>
<div class="postbody">
<div class="postrow<vb:if condition="$show['postedited'] || $post['signature']"> has_after_content</vb:if>">
{vb:raw template_hook.postbit_messagearea_start}
<vb:if condition="$post['title'] OR $show['messageicon']">
<h2 class="title icon">
<vb:if condition="$show['messageicon']"><img src="{vb:raw post.iconpath}" alt="{vb:raw post.icontitle}" /> </vb:if>{vb:raw post.title}
</h2>
</vb:if>


<vb:if condition="$post['isfirstshown']">
{vb:raw ad_location.ad_showthread_firstpost_start}
{vb:raw ad_location.thread_first_post_content}
</vb:if>
<vb:if condition="$post['islastshown']">
{vb:raw ad_location.thread_last_post_content}
</vb:if>
<div class="content<vb:if condition="$show['first_ad'] OR $show['last_ad']"> hasad</vb:if>">
<div id="post_message_{vb:raw post.postid}">
<blockquote class="postcontent restore ">
{vb:raw post.message}
</blockquote>
</div>

<vb:if condition="$show['attachments']">
<div class="attachments">

<vb:if condition="$show['thumbnailattachment']">
<fieldset class="postcontent">
<legend><img src="{vb:stylevar imgdir_misc}/paperclip.png" class="inlineimg" alt="{vb:rawphrase attached_thumbnails}" /> {vb:rawphrase attached_thumbnails}</legend>
{vb:raw post.thumbnailattachments}
</fieldset>
</vb:if>

<vb:if condition="$show['imageattachment']">
<fieldset class="postcontent">
<legend><img src="{vb:stylevar imgdir_misc}/paperclip.png" class="inlineimg" /> {vb:rawphrase attached_images}</legend>
{vb:raw post.imageattachments}
</fieldset>
</vb:if>

<vb:if condition="$show['imageattachmentlink']">
<fieldset class="postcontent">
<legend><img src="{vb:stylevar imgdir_misc}/paperclip.png" class="inlineimg" /> {vb:rawphrase attached_images}</legend>
<ul>
{vb:raw post.imageattachmentlinks}
</ul>
</fieldset>
</vb:if>

<vb:if condition="$show['otherattachment']">
<fieldset class="postcontent">
<legend><img src="{vb:stylevar imgdir_misc}/paperclip.png" class="inlineimg" /> {vb:rawphrase attached_files}</legend>
<ul>
{vb:raw post.otherattachments}
</ul>
</fieldset>
</vb:if>

<vb:if condition="$show['moderatedattachment']">
<fieldset class="postcontent">
<legend><img src="{vb:stylevar imgdir_misc}/paperclip.png" class="inlineimg" /> {vb:rawphrase attachments_pending_approval}</legend>
<ul>
{vb:raw post.moderatedattachments}
</ul>
</fieldset>
</vb:if>

</div>
<!-- / attachments -->
</vb:if>
</div>
</div>
<vb:if condition="$show['postedited'] || $post['signature']">
<div class="after_content">
<vb:if condition="$show['postedited']">
<!-- edit note -->
<blockquote class="postcontent lastedited">
<!-- <img src="{vb:stylevar imgdir_button}/edit_40b.png" class="inlineimg" alt="" /> -->
<vb:if condition="$show['postedithistory']">
{vb:rawphrase last_edited_link_by_x_on_y_at_z_postid, {vb:raw post.edit_username}, {vb:raw post.edit_date},
{vb:raw post.edit_time}, {vb:raw post.historyurl}}
<vb:else />
{vb:rawphrase last_edited_by_x_on_y_at_z, {vb:raw post.edit_username}, {vb:raw post.edit_date}, {vb:raw post.edit_time}}
</vb:if>
<vb:if condition="$post['edit_reason']">
<span class="reason">{vb:rawphrase reason}:</span> {vb:raw post.edit_reason}
</vb:if>
</blockquote>
<!-- / edit note -->
</vb:if>
<vb:if condition="$post['signature']">
<vb:if condition="$post['signature']">
<!-- sig -->
<div class="sig_02"><div class="sig_01"><div class="sig_03">
</div></div></div>

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


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

</div>
</div>

<div class="sig_05"><div class="sig_04"><div class="sig_06">
</div></div></div>
<!-- / sig -->


</vb:if></vb:if>
</div>
</vb:if>
<div class="cleardiv"></div>
</div>
</div>
<div class="postfoot">
<!-- <div class="postfoot_container"> -->
<div class="textcontrols">
<span class="postcontrols">
<img style="display:none" id="progress_{vb:raw post.postid}" src="{vb:stylevar imgdir_misc}/progress.gif" alt="{vb:rawphrase loading_editor_please_wait}" />
<vb:if condition="$post['editlink']">
<a class="editpost" href="{vb:raw post.editlink}" name="vB::QuickEdit::{vb:raw post.postid}"><img src="{vb:raw vboptions.cleargifurl}" id="editimg_{vb:raw post.postid}" alt="{vb:rawphrase edit_delete_message}" /> {vb:rawphrase edit_post}</a>
<span class="seperator">&nbsp;</span>
</vb:if>
<vb:if condition="$show['quickreply'] AND !$show['threadedmode']">
<a id="qr_{vb:raw post.postid}" class='quickreply' href="{vb:raw post.replylink}" rel="nofollow"><img id="replyimg_{vb:raw post.postid}" src="{vb:raw vboptions.cleargifurl}" alt="{vb:rawphrase quick_reply_to_this_message}" /> {vb:rawphrase reply}</a>
<span class="seperator">&nbsp;</span>
</vb:if>
<vb:if condition="$post['replylink']">
<a id="qrwq_{vb:raw post.postid}" class="newreply" href="{vb:raw post.replylink}" rel="nofollow"><img id="quoteimg_{vb:raw post.postid}" src="{vb:raw vboptions.cleargifurl}" alt="{vb:rawphrase reply_with_quote}" /> {vb:rawphrase reply_with_quote}</a>
<span class="seperator">&nbsp;</span>
</vb:if>
<vb:if condition="$show['multiquote_post']">

<a class="multiquote" href="{vb:raw post.replylink}" rel="nofollow" onclick="return false;" id="mq_{vb:raw post.postid}"><img id="mq_image_{vb:raw post.postid}" src="{vb:raw vboptions.cleargifurl}" alt="{vb:rawphrase multi_quote_this_message}" />&nbsp;</a>{vb:raw template_hook.postbit_controls}
</vb:if>
</span>
<span class="postlinking">
<vb:if condition="!$post['forwardlink'] && THIS_SCRIPT != 'usernote' && THIS_SCRIPT != 'announcement'">
<vb:if condition="$promote_sectionid AND $promote_sectionid != -1">
<a href="{vb:raw promote_url}" class="promotecms">{vb:rawphrase promote_to_article}</a>
<span class="seperator">&nbsp;</span>
</vb:if>
</vb:if>


{vb:raw post.iplogged}
<vb:if condition="$show['reputationlink']">
<span class="reputationpopupmenu popupmenu popupcustom" title="{vb:raw post.postid}"><a class="popupctrl reputation" title="{vb:rawphrase reputation}" href="reputation.php?{vb:raw session.sessionurl}do=addreputation&amp;p={vb:raw post.postid}" rel="nofollow" id="reputation_{vb:raw post.postid}"><!--<img src="{vb:stylevar imgdir_button}/reputation-40b.png" alt="{vb:rawphrase reputation}" /> -->&nbsp;</a></span>
</vb:if>

<vb:if condition="$show['infractionlink']">
<a class="infraction" href="infraction.php?{vb:raw session.sessionurl}do=report&amp;p={vb:raw post.postid}" rel="nofollow" title="{vb:rawphrase add_infraction_for_x, {vb:raw post.username}}"><!-- <img src="{vb:stylevar imgdir_button}/add-infraction_sm.png" alt="{vb:rawphrase add_infraction_for_x, {vb:raw post.username}}" /> --> &nbsp;</a> &nbsp;
</vb:if>
<vb:if condition="$show['reportlink']">
<a class="report" href="{vb:raw post.reportlink}" rel="nofollow" title="{vb:rawphrase report_bad_post}"><!-- <img src="{vb:stylevar imgdir_button}/report-40b.png" alt="{vb:rawphrase report_bad_post}" /> -->&nbsp;</a> &nbsp;
</vb:if>

<vb:if condition="$show['moderated']">
<img class="moderated" src="{vb:stylevar imgdir_misc}/moderated_sm.png" alt="{vb:rawphrase moderated_post}" />
</vb:if>
<vb:if condition="$show['spam']">
<img class="spam" src="{vb:stylevar imgdir_misc}/spam_detected.png" alt="{vb:rawphrase spam_post}" />
</vb:if>
<vb:if condition="$show['deletedpost']">
<vb:if condition="$show['managepost']">
<a class="deleted" href="postings.php?{vb:raw session.sessionurl}do=managepost&amp;p={vb:raw post.postid}" title="{vb:rawphrase manage}"><!-- <img src="{vb:stylevar imgdir_misc}/deleted_sm.png" alt="{vb:rawphrase manage}" /> --> &nbsp;</a>
<vb:else />
<img class="deleted_nolink" class="inlineimage" src="{vb:stylevar imgdir_misc}/deleted_sm.png" alt="{vb:rawphrase deleted_post}" />
</vb:if>
</vb:if>
<vb:if condition="$show['redcard']">
<a class="redcard" href="infraction.php?{vb:raw session.sessionurl}do=view&amp;p={vb:raw post.postid}" rel="nofollow" title="{vb:rawphrase received_infraction}"><!-- <img src="{vb:stylevar imgdir_button}/red-card_sm.png" alt="{vb:rawphrase received_infraction}" /> --> &nbsp;</a>
<vb:elseif condition="$show['yellowcard']" />
<a class="yellowcard" href="infraction.php?{vb:raw session.sessionurl}do=view&amp;p={vb:raw post.postid}" rel="nofollow" title="{vb:rawphrase received_warning}"><!--<img src="{vb:stylevar imgdir_button}/yellow-card_sm.png" alt="{vb:rawphrase received_warning}" /> --> &nbsp;</a>
</vb:if>
<vb:if condition="$post['forwardlink']">
<a class="forwardpost" href="{vb:raw post.forwardlink}" rel="nofollow"><img src="{vb:stylevar imgdir_button}/reply_40b.png" alt="{vb:rawphrase forward_message}" /> {vb:rawphrase forward}</a>
</vb:if>
</span>
<!-- </div> -->
</div>
</div>
<hr />
</li>
{vb:raw template_hook.postbit_end}

cavang12
26-09-2010, 07:51 AM
:(( sao k ai vào trả lời em hết vậy

HTT.itvn
26-09-2010, 12:56 PM
Bạn coppy code đóng khung thank như sau :


<vb:if condition="$post['userid']">
<div class="eti_postbit"><dt>{vb:rawphrase post_thanks_thanks}</dt> <dd>{vb:raw post.post_thanks_user_amount_formatted}</dd></div>

<div class="eti_postbit"><vb:if condition="$post['post_thanks_thanked_times'] == 1">
<dd float: {vb:stylevar left};>{vb:rawphrase post_thanks_time_post}</dd>
<vb:elseif condition="$post['post_thanks_thanked_posts'] == 1" />
<dd float: {vb:stylevar left};>{vb:rawphrase post_thanks_times_post, {vb:raw post.post_thanks_thanked_times_formatted}}</dd>
<vb:else />
<dd float: {vb:stylevar left};>{vb:rawphrase post_thanks_times_posts, {vb:raw post.post_thanks_thanked_times_formatted}, {vb:raw post.post_thanks_thanked_posts_formatted}}</dd>
</vb:if></div>
</vb:if>

Trong postbit_legacy , bạn tìm code sau :


<dl>
<div class="info1"><vb:if condition="$post['joindate']"><div class="info">{vb:rawphrase join_date}: {vb:raw post.joindate}</div></vb:if>
<div class="info1"><vb:if condition="$post['field2']"><div class="info">{vb:rawphrase location_perm}: {vb:raw post.field2}</div></vb:if>
<div class="info1"><vb:if condition="$post['age']"><div class="info">{vb:rawphrase age}: {vb:raw post.age}</div></vb:if>
<div class="info1"><div class="info">{vb:rawphrase 'posts'}: {vb:raw post.posts}</div>
<div class="info">Đang: {vb:raw post.onlinestatus}</div>
{vb:raw template_hook.postbit_userinfo_right_after_posts}
</dl>

Xóa thẻ <div class="info1"> đi . Hoặc chú ý code sau nếu bạn không muốn xóa :


<dl>
<div class="info1"><vb:if condition="$post['joindate']"><div class="info">{vb:rawphrase join_date}: {vb:raw post.joindate}</div></vb:if></div>
<div class="info1"><vb:if condition="$post['field2']"><div class="info">{vb:rawphrase location_perm}: {vb:raw post.field2}</div></vb:if></div>
<div class="info1"><vb:if condition="$post['age']"><div class="info">{vb:rawphrase age}: {vb:raw post.age}</div></vb:if></div>
<div class="info1"><div class="info">{vb:rawphrase 'posts'}: {vb:raw post.posts}</div></div>
<div class="info">Đang: {vb:raw post.onlinestatus}</div>
{vb:raw template_hook.postbit_userinfo_right_after_posts}
</dl>

Còn các mod thì em share lên đây anh kiểm tra chứ nói mù mờ thế anh biết đường nào mà mò ra hả em . Em đưa các MOD mà em cần đóng khung anh cài và fix lỗi ( không phải cái gì anh cũng xài đâu ) . Việc nũa là anh chưa biết code của "info" và "info1" trong CSS templates .

so1.com.vn
30-10-2010, 09:17 AM
xin được giúp đỡ lỗi tem và cách khắc phục. http://img.photo.zing.vn/file_uploads/gallery/1024x768/2010/10/30/09/18331288404971.JPG
http://img.photo.zing.vn/file_uploads/gallery/1024x768/2010/10/30/09/99621288404980.JPG o trang chu forum no k hien thị các menu con nhưng vo các chuyen mục thì nó hiển thị.và mình muốn đóng khung cái thành viên thứ:mong được chỉ giúp

so1.com.vn
01-11-2010, 07:40 AM
sao k thấy ai trả lời vậy nè

ypmv2
05-11-2010, 10:52 AM
Mình đã làm theo hướng dẫn, không được và đã copy thay thế như trên cũng không xong, HTT.itvn giúp mình đóng khung cái Thank, Thanked và cái Tâm trạng với, tiện thể cho mình hỏi luôn nhé, cái Rep Power của mình sao con số nó bị xuống dòng vậy?
đây là diễn đàn của mình http://mobileclub.vn/forumvn/forum.php?styleid=74

Còn code trong post_thanks_postbit_info

<vb:if condition="$post['userid']">
<dt>{vb:rawphrase post_thanks_thanks}</dt> <dd>{vb:raw post.post_thanks_user_amount_formatted}</dd>

<vb:if condition="$post['post_thanks_thanked_times'] == 1">
<dd float: {vb:stylevar left};">{vb:rawphrase post_thanks_time_post}</dd>
<vb:elseif condition="$post['post_thanks_thanked_posts'] == 1" />
<dd float: {vb:stylevar left};">{vb:rawphrase post_thanks_times_post, {vb:raw post.post_thanks_thanked_times_formatted}}</dd>
<vb:else />
<dd float: {vb:stylevar left};">{vb:rawphrase post_thanks_times_posts, {vb:raw post.post_thanks_thanked_times_formatted}, {vb:raw post.post_thanks_thanked_posts_formatted}}</dd>
</vb:if>
</vb:if>

hiện mình đang dùng Post Thank You Hack 7.82

Cảm ơn nhiều.

HTT.itvn
05-11-2010, 08:45 PM
Code ở phần reply 176 ở trên bạn phải thay thế " eti_postbit " thành thẻ đóng khung mà bạn đã đóng khung thanh công ở phần trước . Còn phần Tâm trạng thì bạn vui lòng đưa MOD mình cài vào forum mình rồi mình mới trả lời bạn được .
À , đưa mình code mà bạn đóng khung phần Rep Power nhé .

ypmv2
06-11-2010, 08:35 AM
Code ở phần reply 176 ở trên bạn phải thay thế " eti_postbit " thành thẻ đóng khung mà bạn đã đóng khung thanh công ở phần trước . Còn phần Tâm trạng thì bạn vui lòng đưa MOD mình cài vào forum mình rồi mình mới trả lời bạn được .
À , đưa mình code mà bạn đóng khung phần Rep Power nhé .

Chẳng dấu gì Smod, Skin của mình lấy nguyên đai nguyên kiện chưa đóng khung hay chỉnh sửa gì, mặc định đã có đống khung chút ít rồi, Skin đó giống diễn đàn này 100%:
http://handheld.vn/forum.php

và skin đó mình lấy ở đây với bản 1.2 cho vbb 4.0.5
http://www.vietvbb.vn/up/showthread.php?t=47203

và mình upload riêng ở đây ạ:
http://www.mediafire.com/?kejfqrxeorb3bxa

Còn cái tâm trạng thì mình dùng vmoods mình đã upload ở đây:
http://www.mediafire.com/?wzbkwwysk1yqj63

Loay hoay mãi với cái này mà cũng không được, Smod giúp mình với nhé.

light151
12-12-2010, 12:23 PM
Giúp mình với HTT.itvn ơi,

http://ca7.upanh.com/17.708.22097203.UoL0/untitled.jpg

Giúp mình tách thông tin "tham gia", "đến từ" và "Bài gửi" thành 3 ô riêng biệt cho mình với



<dl class="userinfo_extra">
<vb:if condition="$post['userid']">
<hr />
<vb:if condition="$post['field5']"><div class="eti_postbit"><b><dt>Họ tên
:</dt></b><dd> {vb:raw post.field5}</dd></div></vb:if>

<vb:if condition="$post['userid']"><div class="eti_postbit"><b>Thành Viên Thứ:</b> <b>{vb:raw post.userid}</b></div></vb:if>

<vb:if condition="$post['joindate']"><div class="eti_postbit"><b><dt>Tham gia ngày</dt></b><font color=#0000cd><dd>{vb:raw post.joindate}</font></dd></vb:if>

<vb:if condition="$post['field9']"><div class="eti_postbit"><font color=red><b><dt>Ðến từ
:</dt></b></font><dd> {vb:raw post.field9}</dd></div></vb:if>

<vb:if condition="$post['age']"><dt>{vb:rawphrase age}</dt> <dd>{vb:raw post.age}</dd></vb:if>

<b><dt>Bài gửi:</dt></b> <dd><font color=#0000cd>{vb:raw post.posts}</font></dd>
{vb:raw template_hook.postbit_userinfo_right_after_posts}
</dl>
<vb:if condition="$show['infraction'] OR $show['reppower']">
<dl class="user_rep">
<vb:if condition="$show['infraction']">
<dt>{vb:rawphrase infractions}</dt>
<dd>{vb:raw post.warnings}/{vb:raw post.infractions} ({vb:raw post.ipoints})</dd>
</vb:if>

ko biết code này đã đủ chưa nữa, bạn xem lại và chỉnh giúp mình với
Thanks

Tiểu Bá Vương 1404
12-12-2010, 12:38 PM
Bạn sửa code thiếu thẻ </div> nên có hiện tượng trên.
Bạn thử thay phần từ: <vb:if condition="$post['joindate']"><div class="eti_postbit"><b><dt>Tham gia ngày</dt>... đến phần <b><dt>Bài gửi:</dt></b> <dd><font color=#0000cd>{vb:raw post.posts}</font></dd> bằng đoạn code mình sửa lại thử nha:


<vb:if condition="$post['joindate']"><div class="eti_postbit"><b><dt>Tham gia ngày</dt></b><font color=#0000cd><dd>{vb:raw post.joindate}</font></dd></div></vb:if>

<vb:if condition="$post['field9']"><div class="eti_postbit"><b><dt>Ðến từ
</dt></b><dd> {vb:raw post.field9}</dd></div></vb:if>

<vb:if condition="$post['age']"><dt>{vb:rawphrase age}</dt> <dd>{vb:raw post.age}</dd></vb:if>

<div class="eti_postbit"><b><dt>Bài gửi</dt></b> <dd><font color=#0000cd>{vb:raw post.posts}</font></dd></div>

ypmv2
16-12-2010, 12:25 AM
Bước 2 : Đóng khung từng chi tiết .

- Đưa thông tin tên thành viên vào giữa
Demo : như diễn đàn này .
Admin CP >> Styles & Templates >> Style manager >> Chọn skin cần chỉnh , edit templates >> Postbit templates >> Postbit_legacy >> Tìm đoạn code sau :



Thêm thẻ <div class="itvnn_postbit">......</div> như sau ( chú ý chữ màu đỏ ) .


Save and reload [COLOR=white]( Bài Viết của HTT.itvn)
Vào diễn đàn của bạn để xem kết quả .



Em làm theo hướng dẫn này, tuy nhiên tên thành viên vẫn đứng ở bên tay phải, không chịu vào giữa, HTT.itvn giúp em với.

Tiểu Bá Vương 1404
16-12-2010, 12:40 AM
Để đưa tên thành viên vào giữa bạn vào postbit_legacy, tìm đến đoạn code sau:


<div class="username_container">
<vb:if condition="$post['userid']">
{vb:raw memberaction_dropdown}
{vb:raw post.onlinestatus}
<vb:else />
<span class="username guest">{vb:raw post.musername}</span>
</vb:if>
</div>

và đặt hai thẻ: <center> (vào trước) và </center> (vào sau).

HTT.itvn
16-12-2010, 12:51 AM
Để đưa tên thành viên vào giữa bạn vào postbit_legacy, tìm đến đoạn code sau:


<div class="username_container">
<vb:if condition="$post['userid']">
{vb:raw memberaction_dropdown}
{vb:raw post.onlinestatus}
<vb:else />
<span class="username guest">{vb:raw post.musername}</span>
</vb:if>
</div>

và đặt hai thẻ: <center> (vào trước) và </center> (vào sau).

Thẻ center không có tác dụng với username guest đâu , mà phải thẻ text-align:center mỡi có tác dụng . Em chèn đoạn CSS dưới đâu vào postbit.css nhé .



.username_container {
padding:2px 0;
text-align:center;
}

.username_container .username strong {
font-size: 16pt;
font-weight:400;
}

ypmv2
16-12-2010, 01:22 AM
Để đưa tên thành viên vào giữa bạn vào postbit_legacy, tìm đến đoạn code sau:


<div class="username_container">
<vb:if condition="$post['userid']">
{vb:raw memberaction_dropdown}
{vb:raw post.onlinestatus}
<vb:else />
<span class="username guest">{vb:raw post.musername}</span>
</vb:if>
</div>

và đặt hai thẻ: <center> (vào trước) và </center> (vào sau).


<div class="username_container">
<center><vb:if condition="$post['userid']">
{vb:raw memberaction_dropdown}
{vb:raw post.onlinestatus}
<vb:else /></center>
<span class="username guest">{vb:raw post.musername}</span>
</vb:if>
</div>

Thank mình làm được rồi, phải đóng thế này mới được ạ.

HTT.itvn
16-12-2010, 02:31 AM
<div class="username_container">
<center><vb:if condition="$post['userid']">
{vb:raw memberaction_dropdown}
{vb:raw post.onlinestatus}
<vb:else /></center>
<span class="username guest">{vb:raw post.musername}</span>
</vb:if>
</div>

Thank mình làm được rồi, phải đóng thế này mới được ạ.

Cách đóng khung này không ổn đâu em ạ . Em thử đăng nhập với tư cách thành viên và khách . chèn CSS như của anh là ok , phóng to nick và canh giữa .

davidhuynhvan
20-12-2010, 11:46 AM
Còn mấy chổ vẫn chưa sữa được, ai rành edit lại giúp thanks !
Hình demo:
http://ca9.upanh.com/18.139.22565712.Tta0/aaaaaaaa.gif

Code

{vb:raw template_hook.postbit_start}
<li class="postbitlegacy postbitim postcontainer" id="post_{vb:raw post.postid}">
<!-- see bottom of postbit.css for .userinfo .popupmenu styles -->

<div class="posthead">
<vb:if condition="$show['inlinemod']"><label for="post_imod_checkbox_{vb:raw post.postid}"></vb:if>
<span class="postdate {vb:raw post.statusicon}">
<vb:if condition="$show['announcement']">
<span class="date">{vb:rawphrase x_until_y, {vb:raw post.startdate}, {vb:raw post.enddate}}</span>
<vb:else />
<span class="date">{vb:raw post.postdate}<vb:if condition="!$show['detailedtime']">&nbsp;<span class="time">{vb:raw post.posttime}</span></vb:if></span>
</vb:if>
</span>
<span class="nodecontrols">
<vb:if condition="$post['postid'] AND $post['threadid'] AND !$show['moderated']">
<a name="post{vb:raw post.postid}" href="{vb:link thread, {vb:raw thread}, {vb:raw pageinfo_post}}#post{vb:raw post.postid}" class="<vb:if condition="$show['inlinemod']">ie</vb:if>postcounter">#{vb:raw post.postcount}</a><a id="postcount{vb:raw post.postid}" name="{vb:raw post.postcount}"></a>
</vb:if>
<vb:if condition="$show['moderated']">{vb:rawphrase moderated_post}</vb:if>
<vb:if condition="$show['inlinemod']">
<input class="postimod" type="checkbox" id="post_imod_checkbox_{vb:raw post.postid}" name="plist[{vb:raw post.postid}]" value="{vb:raw post.checkbox_value}" />
</vb:if>
</span>
<vb:if condition="$show['inlinemod']"></label></vb:if>
</div>
<div class="postdetails">
<div class="userinfo">
<div class="username_container">
<vb:if condition="$post['userid']">
{vb:raw memberaction_dropdown}
{vb:raw post.onlinestatus}
<vb:else />
<span class="username guest">{vb:raw post.musername}</span>
</vb:if>
</div>
<span class="usertitle">
{vb:raw post.usertitle}
</span>
<vb:if condition="$post['rank']">
<span class="rank">{vb:raw post.rank}</span>
</vb:if>
{vb:raw template_hook.postbit_userinfo_left}
<vb:if condition="$show['reputation']">
<span class="postbit_reputation" id="repdisplay_{vb:raw post.postid}_{vb:raw post.userid}">{vb:raw post.reputationdisplay}</span>
</vb:if>
<vb:if condition="$show['avatar']">
<a class="postuseravatar" href="{vb:link member, {vb:raw post}}" title="{vb:rawphrase {vb:raw post['onlinestatusphrase']}, {vb:raw post.username}}">
<img src="{vb:raw post.avatarurl}" alt="{vb:rawphrase xs_avatar, {vb:raw post.username}}" title="{vb:rawphrase xs_avatar, {vb:raw post.username}}" />
</a>
</vb:if>
<vb:if condition="$post['userid']">
<hr />
<dl class="userinfo_extra">
<vb:if condition="$post['userid']">
<hr />
<vb:if condition="$post['field5']"><div class="eti_postbit"><b><dt>Họ tên
:</dt></b><dd> {vb:raw post.field5}</dd></div></vb:if>

<vb:if condition="$post['userid']"><div class="eti_postbit"><b>Thành Viên Thứ:</b> <b>{vb:raw post.userid}</b></div></vb:if>

<vb:if condition="$post['joindate']"><div class="eti_postbit"><b><dt>Tham gia ngày</dt></b><font color=#0000cd><dd>{vb:raw post.joindate}</font></dd></div></vb:if>

<vb:if condition="$post['field9']"><div class="eti_postbit"><b><dt>Ðến từ
</dt></b><dd> {vb:raw post.field9}</dd></div></vb:if>

<vb:if condition="$post['age']"><dt>{vb:rawphrase age}</dt> <dd>{vb:raw post.age}</dd></vb:if>

<div class="eti_postbit"><b><dt>Bài gửi</dt></b> <dd><font color=#0000cd>{vb:raw post.posts}</font></dd></div>
{vb:raw template_hook.postbit_userinfo_right_after_posts}
</dl>
<vb:if condition="$show['infraction'] OR $show['reppower']">
<dl class="user_rep">
<vb:if condition="$show['infraction']">
<dt>{vb:rawphrase infractions}</dt>
<dd>{vb:raw post.warnings}/{vb:raw post.infractions} ({vb:raw post.ipoints})</dd>
</vb:if>
<vb:if condition="$show['reputation']">
<vb:if condition="$show['reppower']">
<dt>{vb:rawphrase reppower}</dt>
<dd id="reppower_{vb:raw post.postid}_{vb:raw post.userid}">{vb:raw post.reppower}</dd>
</vb:if>
</vb:if>
</dl>
</vb:if>
{vb:raw template_hook.postbit_userinfo_right}
<div class="imlinks">
{vb:raw post.icqicon} {vb:raw post.aimicon} {vb:raw post.msnicon} {vb:raw post.yahooicon} {vb:raw post.skypeicon}
</div>
</vb:if>
</div>
<div class="postbody">
<div class="postrow<vb:if condition="$show['postedited'] || $post['signature']"> has_after_content</vb:if>">
{vb:raw template_hook.postbit_messagearea_start}
<vb:if condition="$post['title'] OR $show['messageicon']">
<h2 class="title icon">
<vb:if condition="$show['messageicon']"><img src="{vb:raw post.iconpath}" alt="{vb:raw post.icontitle}" /> </vb:if>{vb:raw post.title}
</h2>
</vb:if>


<vb:if condition="$post['isfirstshown']">
{vb:raw ad_location.ad_showthread_firstpost_start}
{vb:raw ad_location.thread_first_post_content}
</vb:if>
<vb:if condition="$post['islastshown']">
{vb:raw ad_location.thread_last_post_content}
</vb:if>
<div class="content<vb:if condition="$show['first_ad'] OR $show['last_ad']"> hasad</vb:if>">
<div id="post_message_{vb:raw post.postid}">
<blockquote class="postcontent restore ">
{vb:raw post.message}
</blockquote>
</div>

<vb:if condition="$show['attachments']">
<div class="attachments">

<vb:if condition="$show['thumbnailattachment']">
<fieldset class="postcontent">
<legend><img src="{vb:stylevar imgdir_misc}/paperclip.png" class="inlineimg" alt="{vb:rawphrase attached_thumbnails}" /> {vb:rawphrase attached_thumbnails}</legend>
{vb:raw post.thumbnailattachments}
</fieldset>
</vb:if>

<vb:if condition="$show['imageattachment']">
<fieldset class="postcontent">
<legend><img src="{vb:stylevar imgdir_misc}/paperclip.png" class="inlineimg" /> {vb:rawphrase attached_images}</legend>
{vb:raw post.imageattachments}
</fieldset>
</vb:if>

<vb:if condition="$show['imageattachmentlink']">
<fieldset class="postcontent">
<legend><img src="{vb:stylevar imgdir_misc}/paperclip.png" class="inlineimg" /> {vb:rawphrase attached_images}</legend>
<ul>
{vb:raw post.imageattachmentlinks}
</ul>
</fieldset>
</vb:if>

<vb:if condition="$show['otherattachment']">
<fieldset class="postcontent">
<legend><img src="{vb:stylevar imgdir_misc}/paperclip.png" class="inlineimg" /> {vb:rawphrase attached_files}</legend>
<ul>
{vb:raw post.otherattachments}
</ul>
</fieldset>
</vb:if>

<vb:if condition="$show['moderatedattachment']">
<fieldset class="postcontent">
<legend><img src="{vb:stylevar imgdir_misc}/paperclip.png" class="inlineimg" /> {vb:rawphrase attachments_pending_approval}</legend>
<ul>
{vb:raw post.moderatedattachments}
</ul>
</fieldset>
</vb:if>

</div>
<!-- / attachments -->
</vb:if>
</div>
</div>
<vb:if condition="$show['postedited'] || $post['signature']">
<div class="after_content">
<vb:if condition="$show['postedited']">
<!-- edit note -->
<blockquote class="postcontent lastedited">
<!-- <img src="{vb:stylevar imgdir_button}/edit_40b.png" class="inlineimg" alt="" /> -->
<vb:if condition="$show['postedithistory']">
{vb:rawphrase last_edited_link_by_x_on_y_at_z_postid, {vb:raw post.edit_username}, {vb:raw post.edit_date},
{vb:raw post.edit_time}, {vb:raw post.historyurl}}
<vb:else />
{vb:rawphrase last_edited_by_x_on_y_at_z, {vb:raw post.edit_username}, {vb:raw post.edit_date}, {vb:raw post.edit_time}}
</vb:if>
<vb:if condition="$post['edit_reason']">
<span class="reason">{vb:rawphrase reason}:</span> {vb:raw post.edit_reason}
</vb:if>
</blockquote>
<!-- / edit note -->
</vb:if>
{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="signaturecontainer">{vb:raw post.signature}</div></blockquote>
</vb:if>
{vb:raw template_hook.postbit_signature_end}
</div>
</vb:if>
<div class="cleardiv"></div>
</div>
</div>
<div class="postfoot">
<!-- <div class="postfoot_container"> -->
<div class="textcontrols floatcontainer">
<span class="postcontrols">
<img style="display:none" id="progress_{vb:raw post.postid}" src="{vb:stylevar imgdir_misc}/progress.gif" alt="{vb:rawphrase loading_editor_please_wait}" />
<vb:if condition="$post['editlink']">
<a class="editpost" href="{vb:raw post.editlink}" name="vB::QuickEdit::{vb:raw post.postid}"><img src="{vb:raw vboptions.cleargifurl}" id="editimg_{vb:raw post.postid}" alt="{vb:rawphrase edit_delete_message}" /> {vb:rawphrase edit_post}</a>
<span class="seperator">&nbsp;</span>
</vb:if>
<vb:if condition="$show['quickreply'] AND !$show['threadedmode']">
<a id="qr_{vb:raw post.postid}" class='quickreply' href="{vb:raw post.replylink}" rel="nofollow"><img id="replyimg_{vb:raw post.postid}" src="{vb:raw vboptions.cleargifurl}" alt="{vb:rawphrase quick_reply_to_this_message}" /> {vb:rawphrase reply}</a>
<span class="seperator">&nbsp;</span>
</vb:if>
<vb:if condition="$post['replylink']">
<a id="qrwq_{vb:raw post.postid}" class="newreply" href="{vb:raw post.replylink}" rel="nofollow"><img id="quoteimg_{vb:raw post.postid}" src="{vb:raw vboptions.cleargifurl}" alt="{vb:rawphrase reply_with_quote}" /> <vb:if condition="$post['forwardlink']">{vb:rawphrase reply_to_private_message}<vb:else />{vb:rawphrase reply_with_quote}</vb:if></a>
<vb:if condition="$show['multiquote_post']"><span class="seperator">&nbsp;</span></vb:if>
</vb:if>
<vb:if condition="$show['multiquote_post']">

<a class="multiquote" href="{vb:raw post.replylink}" rel="nofollow" onclick="return false;" id="mq_{vb:raw post.postid}"><img id="mq_image_{vb:raw post.postid}" src="{vb:raw vboptions.cleargifurl}" alt="{vb:rawphrase multi_quote_this_message}" />&nbsp;</a>
</vb:if>
</span>
<span class="postlinking">
<vb:if condition="!$post['forwardlink'] && THIS_SCRIPT != 'usernote' && THIS_SCRIPT != 'announcement'">
<vb:if condition="$promote_sectionid AND $promote_sectionid != -1">
<a href="{vb:raw promote_url}" class="promotecms">{vb:rawphrase promote_to_article}</a>
<span class="seperator">&nbsp;</span>
</vb:if>
</vb:if>

{vb:raw template_hook.postbit_controls}
{vb:raw post.iplogged}
<vb:if condition="$post['forwardlink']">
<a class="forwardpost" href="{vb:raw post.forwardlink}" rel="nofollow"><img src="{vb:raw vboptions.cleargifurl}" alt="{vb:rawphrase forward_message}" /> {vb:rawphrase forward}</a>
<vb:if condition="$show['reputationlink'] OR $show['infractionlink'] OR $show['moderated'] OR $show['spam'] OR $show['deletedpost'] OR $show['redcard'] OR $show['yellowcard']"><span class="seperator">&nbsp;</span></vb:if>
</vb:if>
<vb:if condition="$show['reputationlink']">
<span class="reputationpopupmenu popupmenu popupcustom" title="{vb:raw post.postid}"><a class="popupctrl reputation" title="{vb:rawphrase reputation}" href="reputation.php?{vb:raw session.sessionurl}do=addreputation&amp;p={vb:raw post.postid}" rel="nofollow" id="reputation_{vb:raw post.postid}"><!--<img src="{vb:stylevar imgdir_button}/reputation-40b.png" alt="{vb:rawphrase reputation}" /> -->&nbsp;</a></span>
</vb:if>

<vb:if condition="$show['infractionlink']">
<a class="infraction" href="infraction.php?{vb:raw session.sessionurl}do=report&amp;p={vb:raw post.postid}" rel="nofollow" title="{vb:rawphrase add_infraction_for_x, {vb:raw post.username}}"><!-- <img src="{vb:stylevar imgdir_button}/add-infraction_sm.png" alt="{vb:rawphrase add_infraction_for_x, {vb:raw post.username}}" /> --> &nbsp;</a> &nbsp;
</vb:if>
<vb:if condition="$show['reportlink']">
<a class="report" href="{vb:raw post.reportlink}" rel="nofollow" title="{vb:rawphrase report_bad_post}"><!-- <img src="{vb:stylevar imgdir_button}/report-40b.png" alt="{vb:rawphrase report_bad_post}" /> -->&nbsp;</a> &nbsp;
</vb:if>

<vb:if condition="$show['moderated']">
<img class="moderated" src="{vb:stylevar imgdir_misc}/moderated_sm.png" alt="{vb:rawphrase moderated_post}" />
</vb:if>
<vb:if condition="$show['spam']">
<img class="spam" src="{vb:stylevar imgdir_misc}/spam_detected.png" alt="{vb:rawphrase spam_post}" />
</vb:if>
<vb:if condition="$show['deletedpost']">
<vb:if condition="$show['managepost']">
<a class="deleted" href="postings.php?{vb:raw session.sessionurl}do=managepost&amp;p={vb:raw post.postid}" title="{vb:rawphrase manage}"><!-- <img src="{vb:stylevar imgdir_misc}/deleted_sm.png" alt="{vb:rawphrase manage}" /> --> &nbsp;</a>
<vb:else />
<img class="deleted_nolink" class="inlineimage" src="{vb:stylevar imgdir_misc}/deleted_sm.png" alt="{vb:rawphrase deleted_post}" />
</vb:if>
</vb:if>
<vb:if condition="$show['redcard']">
<a class="redcard" href="infraction.php?{vb:raw session.sessionurl}do=view&amp;p={vb:raw post.postid}" rel="nofollow" title="{vb:rawphrase received_infraction}"><!-- <img src="{vb:stylevar imgdir_button}/red-card_sm.png" alt="{vb:rawphrase received_infraction}" /> --> &nbsp;</a>
<vb:elseif condition="$show['yellowcard']" />
<a class="yellowcard" href="infraction.php?{vb:raw session.sessionurl}do=view&amp;p={vb:raw post.postid}" rel="nofollow" title="{vb:rawphrase received_warning}"><!--<img src="{vb:stylevar imgdir_button}/yellow-card_sm.png" alt="{vb:rawphrase received_warning}" /> --> &nbsp;</a>
</vb:if>
</span>
<!-- </div> -->
</div>
</div>
<hr />
</li>
{vb:raw template_hook.postbit_end}

HTT.itvn
20-12-2010, 05:51 PM
Chỗ nào vậy ? Còn khung thank thì vui lòng đọc hết bài viết này đi ( đọc cả phần trả lời nữa ) . Vấn đề này lặp đi lặp lại nhiều lần rồi .

PoliceBoss
12-01-2011, 02:09 PM
Mình gặp trường hợp bị lệch như davidhuynhvan => danh hiệu và avatar bên lệch qua bên trái, hiện chưa biết chỉnh sưa sao T_T. Admin và các bạn giúp dum T_T

http://img42.imageshack.us/img42/221/errorbk.jpg

_Tự nhiên nó x2 khung Thank luôn :-S,ko biết sao >.<
_Mà trên cái ô Họ tên có 1 ô nào thì phải :|

Tiểu Bá Vương 1404
12-01-2011, 02:54 PM
...danh hiệu và avatar bên lệch qua bên trái...
_Tự nhiên nó x2 khung Thank...
_Mà trên cái ô Họ tên có 1 ô nào thì phải :|
Về phần cái danh hiệu và avatar:
-Tìm code sau:


<span class="usertitle">
{vb:raw post.usertitle}
</span>
<vb:if condition="$post['rank']">
<span class="rank">{vb:raw post.rank}</span>
</vb:if>
{vb:raw template_hook.postbit_userinfo_left}
<vb:if condition="$show['reputation']">
<span class="postbit_reputation" id="repdisplay_{vb:raw post.postid}_{vb:raw post.userid}">{vb:raw post.reputationdisplay}</span>
</vb:if>
<vb:if condition="$show['avatar']">
<a class="postuseravatar" href="{vb:link member, {vb:raw post}}" title="{vb:rawphrase {vb:raw post['onlinestatusphrase']}, {vb:raw post.username}}">
<img src="{vb:raw post.avatarurl}" alt="{vb:rawphrase xs_avatar, {vb:raw post.username}}" title="{vb:rawphrase xs_avatar, {vb:raw post.username}}" />
</a>
</vb:if>
-Bạn thay thế code trên bằng code sau:


<center><span class="usertitle">
{vb:raw post.usertitle}
</span></center>
<vb:if condition="$post['rank']"><center>
<span class="rank">{vb:raw post.rank}</span>
</center></vb:if>
{vb:raw template_hook.postbit_userinfo_left}
<vb:if condition="$show['reputation']">
<span class="postbit_reputation" id="repdisplay_{vb:raw post.postid}_{vb:raw post.userid}">{vb:raw post.reputationdisplay}</span>
</vb:if>
<vb:if condition="$show['avatar']"><center>
<a class="postuseravatar" href="{vb:link member, {vb:raw post}}" title="{vb:rawphrase {vb:raw post['onlinestatusphrase']}, {vb:raw post.username}}">
<img src="{vb:raw post.avatarurl}" alt="{vb:rawphrase xs_avatar, {vb:raw post.username}}" title="{vb:rawphrase xs_avatar, {vb:raw post.username}}" />
</a></center>
</vb:if>


Còn cái hai khung thank hay có khung nào khác thì bạn phải đưa code postbit_legacy của bạn và code đóng khung thank của bạn thì mình mới kiểm tra được.

PoliceBoss
12-01-2011, 05:45 PM
thay rồi bạn ơi....avatar vẫn ko vào giữa @@

Tiểu Bá Vương 1404
12-01-2011, 08:10 PM
...avatar vẫn ko vào giữa...
Bạn thử dùng code đóng khung avatar của anh HTT thử xem!

PoliceBoss
13-01-2011, 09:10 AM
Okie thanks :D

Riêng phần hiển thị 2 khung Thanks thì tìm đâu xóa bớt 1 cái vậy bạn :-S

http://img42.imageshack.us/img42/221/errorbk.jpg

Tiểu Bá Vương 1404
13-01-2011, 07:04 PM
...2 khung Thanks thì tìm đâu xóa bớt 1 cái...
Bạn đưa mình code chỗ bạn đóng khung cái thanks đó (có thể kèm theo code của postbit_legacy)

kevotinh113
01-02-2011, 08:28 AM
mục Description gõ Tỉnh/Thành Phố và mục Tùy Chọn gõ tên các tỉnh thành , phân biệt lựa chọn bởi 1 dấu xuống dòng :
Sao em kiếm hoài mà không thấy Mục Tuỳ chọn. Đây là ảnh trang admin của em
http://cB5.upanh.com/19.0.24809984.UE30/upanh.jpg

HTT.itvn
01-02-2011, 08:38 AM
Admin CP >> User Profile Fields >> Add New User Profile Field >> Ở mục Profile Field Type chọn Single-Selection Menu >> Continue >> Sẽ thấy mục tùy chọn .

Tiểu Bá Vương 1404
01-02-2011, 09:41 AM
@kevotinh: bạn chọn chế độ Single-Line Text Box trong khi yêu cầu là Single-Selection Menu, bạn làm lại đi nhé !

bboytido
24-02-2011, 12:44 AM
đọc lòi cả mắt cả ebook cả ở đây mà em vẫn chả biết làm sao có thể hiển thị tuổi
như bên trái?
Trong profile đã chọn Display Age and Full Date of Birth rồi
còn trong postbit_legacy thì như này rồi
<vb:if condition="$post['age']"><div class="eti_postbit"><dt>{vb:rawphrase age}</dt> <dd>{vb:raw post.age}</dd></div></vb:if>

Tiểu Bá Vương 1404
24-02-2011, 11:47 AM
Nếu không có thì thật sự vô lí. Anh thử revert lại temp rồi xem nó có hiển thị hay không. Nếu có thì lỗi từ việc edit temp.

bboytido
24-02-2011, 02:40 PM
Nếu không có thì thật sự vô lí. Anh thử revert lại temp rồi xem nó có hiển thị hay không. Nếu có thì lỗi từ việc edit temp.

hôm qua mình đã thử revert cái postbit_legacy 1 lần rồi không có được =.=
và lần thứ 2 này cũng vẫn thế

vietspace
06-04-2011, 04:57 AM
Mình làm theo hướng dẫn thì được hết rồi nhưng ko hiểu sao cảm ơn nó nhảy lên con sô to khủng khiếp
Thanks:4,294,967,295 và đc cảm ơn thì nó tính bằng (cảm ơn + đc cảm ơn)
làm cách nào cho nó trở lại đúng con số thật ko vậy???? (Admin thì bị còn tất cả ko bị)

HTT.itvn
06-04-2011, 10:15 PM
Mình làm theo hướng dẫn thì được hết rồi nhưng ko hiểu sao cảm ơn nó nhảy lên con sô to khủng khiếp
Thanks:4,294,967,295 và đc cảm ơn thì nó tính bằng (cảm ơn + đc cảm ơn)
làm cách nào cho nó trở lại đúng con số thật ko vậy???? (Admin thì bị còn tất cả ko bị)

Em coppy và thay thế toàn bộ code sau vào post_thanks_postbit_info :


<vb:if condition="$post['userid']">
<div class="eti_postbit"><dt>{vb:rawphrase post_thanks_thanks}</dt> <dd>{vb:raw post.post_thanks_user_amount_formatted}</dd></div>

<div class="eti_postbit"><vb:if condition="$post['post_thanks_thanked_times'] == 1">
<dd float: {vb:stylevar left};">{vb:rawphrase post_thanks_time_post}</dd>
<vb:elseif condition="$post['post_thanks_thanked_posts'] == 1" />
<dd float: {vb:stylevar left};">{vb:rawphrase post_thanks_times_post, {vb:raw post.post_thanks_thanked_times_formatted}}</dd>
<vb:else />
<dd float: {vb:stylevar left};">{vb:rawphrase post_thanks_times_posts, {vb:raw post.post_thanks_thanked_times_formatted}, {vb:raw post.post_thanks_thanked_posts_formatted}}</dd>
</vb:if></div>
</vb:if>

vietspace
07-04-2011, 02:48 PM
Em coppy và thay thế toàn bộ code sau vào post_thanks_postbit_info :

thì mình copy hết cái này vô nè, nhưng vẫn bị. Có khi nào do mod bi lỗi ko bạn, mình thấy nhiều người dùng cũng bị trường hợp như mình, số lần bị ảo (có mỗi admin bị thôi)

Tiểu Bá Vương 1404
07-04-2011, 03:49 PM
thì mình copy hết cái này vô nè, nhưng vẫn bị. Có khi nào do mod bi lỗi ko bạn, mình thấy nhiều người dùng cũng bị trường hợp như mình, số lần bị ảo (có mỗi admin bị thôi)
Trường hợp này không thể nào mà chỉnh trong temp được rồi, có thể bị hỏng table nào đó, hoặc anh repair table hoặc gỡ ra và cài lại xem !

trandiem2210
08-04-2011, 09:58 PM
Anh Thanh hướng dẫn đóng khung avatar như ITVNN luôn nào :)

Tiểu Bá Vương 1404
08-04-2011, 10:07 PM
Anh Thanh hướng dẫn đóng khung avatar như ITVNN luôn nào :)
Cái này có trong ebook cả rồi nhá anh !

x2team
14-04-2011, 12:29 AM
bác admin ơi!
Hiện mình đang sử dụng SKIN mặc định của forum 4.x.x.
Có thể hướng dẫn mình chỉnh sửa chỗ nào trong Code CSS của phần tạo khung để cho khung của mình nó có nền màu trắng như của itvnn với.
Thanks bác rất nhiều :)

http://hostpixs.com/images/8911.jpghttp://hostpixs.com/images/9782.jpg

trh_itm
14-04-2011, 01:47 AM
Ác thiệt! http://cB8.upanh.com/21.246.28191207.0yM0/kivay.png
]Mình cũng chèn và làm theo hướng dẫn của HTT, nhưng nó cũng ko ra cái khung thông tin thành viên

Tiểu Bá Vương 1404
14-04-2011, 12:45 PM
Đây là hàng nguyên chủng của ITVNN, các anh lưu vào additional.css nhé, sau đó sửa lại trong postbit_legacy là được :


.post_field {
background: #fff;
color: #414141;
border: 1px solid #d3d3d3;
padding: 3px 3px 3px 10px;
margin-top: 2px;
text-align:left;
}
.post_field strong {
color: #5b9d16;
}
.post_field dt {
color: #5b9d16;
font-weight:700;
}

trh_itm
14-04-2011, 01:04 PM
Đây là hàng nguyên chủng của ITVNN, các anh lưu vào additional.css nhé, sau đó sửa lại trong postbit_legacy là được :


.post_field {
background: #fff;
color: #414141;
border: 1px solid #d3d3d3;
padding: 3px 3px 3px 10px;
margin-top: 2px;
text-align:left;
}
.post_field strong {
color: #5b9d16;
}
.post_field dt {
color: #5b9d16;
font-weight:700;
}


Cụ thể hơn xíu đi Hùng, hjx

Dunglx
14-04-2011, 01:09 PM
Cụ thể hơn xíu đi Hùng, hjx

Admin >>> Styles & Templates >> chọn Skin cần sửa >>> CSS Template >> additional.css
Chèn vào thôi bác à

x2team
14-04-2011, 05:07 PM
Mình đã thao giống như trong ebook và đã đóng được gần giống như thông tin của itvnn rồi, vấn đề của mình bây giờ là mình muốn chỉnh sửa như thế nào trong phần tạo css tạo khung nữa để cho màu bên trong của khung thông tin cá nhân nó có nền màu trắng giống như của itvnn đó, chứ cứ làm như trong ebook thì nền của nó là màu xám trông không được thẫm mỹ cho lắm. Mong bác admin giúp với. Rât thanks bác :)


Đây là hàng nguyên chủng của ITVNN, các anh lưu vào additional.css nhé, sau đó sửa lại trong postbit_legacy là được :


.post_field {
background: #fff;
color: #414141;
border: 1px solid #d3d3d3;
padding: 3px 3px 3px 10px;
margin-top: 2px;
text-align:left;
}
.post_field strong {
color: #5b9d16;
}
.post_field dt {
color: #5b9d16;
font-weight:700;
}


Mình đã thêm đoạn này vào rồi nhưng mà nền của mình nó cũng vẫn là như cũ, không có gì thay đổi cả, có thể chỉ cho mình chỉnh sữa lại trong postbit_legacy như thế nào để được như vậy có được không ?

Tiểu Bá Vương 1404
14-04-2011, 07:36 PM
...Mình đã thêm đoạn này vào rồi nhưng mà nền của mình nó cũng vẫn là như cũ, không có gì thay đổi cả, có thể chỉ cho mình chỉnh sữa lại trong postbit_legacy như thế nào để được như vậy có được không ?
Không phải thêm code vào là xong đâu, anh phải sửa lại class đã đóng khung, ví dụ, nếu anh dùng là : <div class="eti_postbit"> thì phải sửa lại là <div class="post_field">

daikamam
14-04-2011, 07:59 PM
bữa nào HTT làm cái cho Posblit nha

HTT.itvn
14-04-2011, 09:54 PM
bữa nào HTT làm cái cho Posblit nha

Posbit chứ không phải Postblit . postbit hay postbit_legacy cũng giống nhau thôi bạn à . Như trong ebook , bạn thay làm việc ở postbit_legacy thành làm việc ở postbit là làm được mà .

profesionalbk
19-04-2011, 09:54 PM
Em mới mò mẫm vbb, cái phần đóng khung cac thông tin thành viên đó em mò mẫm mãi mà không được, đóng khung được mấy cái mặc định của vbb như thành viên thứ;bài gửi;tham gia ngày, sau đó thêm các thông tin khác như tên, đến từ,nghề nghiệp.. rồi lấy code của các dòng trên xuống để sửa lại các thông tin vừa thêm đó nhưng không đóng khung dược giống như trên, mong bác admin có thể chỉ cho em cách đóng khung các thông tin như forum mình được không ạ, em thấy nó rất đẹp, cảm ơn anh trước nha
Em chỉ đóng khung được các thông tin mặc định như thế này thôi, thêm các thông tin khác là nó chỉ ra chữ chứ khong nằm trong khung, mong các anh giúp

Dunglx
19-04-2011, 11:20 PM
Bạn chịu khó đọc hết 22 trang này đi vì những gì bạn hỏi đã có người hỏi và bạn có thể ghe quá một số topic cũng hoi tương tự đó

keroppi
21-04-2011, 12:09 AM
+ Nếu bạn dùng Mod level như diễn đàn này thì bạn đóng khung như sau :
Admin CP >> Styles & Templates >> Style manager >> Chọn skin cần chỉnh , edit templates >> Postbit templates >> postbit_userlevel >> Chèn code sau lên đầu :
< div class="eti_postbit">
Chèn code sau nằm cuối :
</div>

Uả, cái này nếu em không đóng khung thì nó ko bị sao cả. Nhưng làm đóng khung theo anh HTT hướng dẫn í. Thì nó bị lỗi. Toàn bộ phần bài viết nó trắng hết ra, thò ra mấy chữ bên phải thôi. Anh hướng dẫn cho em đóng khung với

tuanxa90
21-04-2011, 09:31 AM
anh ơi em đã chèn đoạn code vào rùi nhưng vẫn không đóng đc khung thông tin anh giúp em sửa đoạn code nhé :

{vb:raw template_hook.postbit_start}
<li class="postbitlegacy postbitim postcontainer" id="post_{vb:raw post.postid}">
<!-- see bottom of postbit.css for .userinfo .popupmenu styles -->

<div class="posthead">
<vb:if condition="$show['inlinemod']"><label for="post_imod_checkbox_{vb:raw post.postid}"></vb:if>
<span class="postdate {vb:raw post.statusicon}">
<vb:if condition="$show['announcement']">
<span class="date">{vb:rawphrase x_until_y, {vb:raw post.startdate}, {vb:raw post.enddate}}</span>
<vb:else />
<span class="date">{vb:raw post.postdate}<vb:if condition="!$show['detailedtime']">&nbsp;<span class="time">{vb:raw post.posttime}</span></vb:if></span>
</vb:if>
</span>
<span class="nodecontrols">
<vb:if condition="$post['postid'] AND $post['threadid'] AND !$show['moderated']">
<a name="post{vb:raw post.postid}" href="{vb:link thread, {vb:raw thread}, {vb:raw pageinfo_post}}#post{vb:raw post.postid}" class="<vb:if condition="$show['inlinemod']">ie</vb:if>postcounter">#{vb:raw post.postcount}</a><a id="postcount{vb:raw post.postid}" name="{vb:raw post.postcount}"></a>
</vb:if>
<vb:if condition="$show['moderated']">{vb:rawphrase moderated_post}</vb:if>
<vb:if condition="$show['inlinemod']">
<input class="postimod" type="checkbox" id="post_imod_checkbox_{vb:raw post.postid}" name="plist[{vb:raw post.postid}]" value="{vb:raw post.checkbox_value}" />
</vb:if>
</span>
<vb:if condition="$show['inlinemod']"></label></vb:if>
</div>
<div class="postdetails">
<div class="userinfo">
<div class="username_container">
<vb:if condition="$post['userid']">
<div class="itvnn_postbit">
{vb:raw memberaction_dropdown}
{vb:raw post.onlinestatus}
<vb:else />
<span class="username guest">{vb:raw post.musername}</span>
</vb:if></div>
</div>
<span class="usertitle">
{vb:raw post.usertitle}
</span>
<vb:if condition="$post['rank']">
<span class="rank">{vb:raw post.rank}</span>
</vb:if>
{vb:raw template_hook.postbit_userinfo_left}
<vb:if condition="$show['reputation']">
<span class="postbit_reputation" id="repdisplay_{vb:raw post.postid}_{vb:raw post.userid}">{vb:raw post.reputationdisplay}</span>
</vb:if>
<vb:if condition="$show['avatar']">
<a class="postuseravatar" href="{vb:link member, {vb:raw post}}" title="{vb:rawphrase {vb:raw post['onlinestatusphrase']}, {vb:raw post.username}}">
<img src="{vb:raw post.avatarurl}" alt="{vb:rawphrase xs_avatar, {vb:raw post.username}}" title="{vb:rawphrase xs_avatar, {vb:raw post.username}}" />
</a>
</vb:if>
<vb:if condition="$post['userid']">
<hr />
<dl class="userinfo_extra">
<vb:if condition="$post['joindate']"><dt>{vb:rawphrase join_date}</dt> <dd>{vb:raw post.joindate}</dd></vb:if>

<vb:if condition="$post['field5']"><div class="eti_postbit">Họ tên : {vb:raw post.field5}</div></vb:if>
<vb:if condition="$post['field6']"><div class="eti_postbit">Ðến từ : {vb:raw post.field6}</div></vb:if>
<vb:if condition="$post['field7']"><div class="eti_postbit">Năm sinh : {vb:raw post.field7}</div></vb:if>
<vb:if condition="$post['field8']"><div class="eti_postbit">Giới tính : {vb:raw post.field8}</div></vb:if>

<vb:if condition="$post['field2']"><dt>{vb:rawphrase location_perm}</dt> <dd>{vb:raw post.field2}</dd></vb:if>
<vb:if condition="$post['age']"><dt>{vb:rawphrase age}</dt> <dd>{vb:raw post.age}</dd></vb:if>
<div class="eti_postbit"><dt>{vb:rawphrase 'posts'}</dt> <dd>{vb:raw post.posts}</dd></div>
{vb:raw template_hook.postbit_userinfo_right_after_posts}
</dl>

{vb:raw template_hook.postbit_userinfo_right_after_posts}
</dl>
<vb:if condition="$show['infraction'] OR $show['reppower']">
<dl class="user_rep">
<vb:if condition="$show['infraction']">
<dt>{vb:rawphrase infractions}</dt>
<dd>{vb:raw post.warnings}/{vb:raw post.infractions} ({vb:raw post.ipoints})</dd>
</vb:if>
<vb:if condition="$show['reputation']">
<vb:if condition="$show['reppower']">
<dt>{vb:rawphrase reppower}</dt>
<dd id="reppower_{vb:raw post.postid}_{vb:raw post.userid}">{vb:raw post.reppower}</dd>
</vb:if>
</vb:if>
</dl>
</vb:if>
{vb:raw template_hook.postbit_userinfo_right}
<div class="imlinks">
{vb:raw post.icqicon} {vb:raw post.aimicon} {vb:raw post.msnicon} {vb:raw post.yahooicon} {vb:raw post.skypeicon}
</div>
</vb:if>
</div>
<div class="postbody">
<div class="postrow<vb:if condition="$show['postedited'] || $post['signature']"> has_after_content</vb:if>">
{vb:raw template_hook.postbit_messagearea_start}
<vb:if condition="$post['title'] OR $show['messageicon']">
<h2 class="title icon">
<vb:if condition="$show['messageicon']"><img src="{vb:raw post.iconpath}" alt="{vb:raw post.icontitle}" /> </vb:if>{vb:raw post.title}
</h2>
</vb:if>


<vb:if condition="$post['isfirstshown']">
{vb:raw ad_location.ad_showthread_firstpost_start}
{vb:raw ad_location.thread_first_post_content}
</vb:if>
<vb:if condition="$post['islastshown']">
{vb:raw ad_location.thread_last_post_content}
</vb:if>
<div class="content<vb:if condition="$show['first_ad'] OR $show['last_ad']"> hasad</vb:if>">
<div id="post_message_{vb:raw post.postid}">
<blockquote class="postcontent restore ">
{vb:raw post.message}
</blockquote>
</div>

<vb:if condition="$show['attachments']">
<div class="attachments">

<vb:if condition="$show['thumbnailattachment']">
<fieldset class="postcontent">
<legend><img src="{vb:stylevar imgdir_misc}/paperclip.png" class="inlineimg" alt="{vb:rawphrase attached_thumbnails}" /> {vb:rawphrase attached_thumbnails}</legend>
{vb:raw post.thumbnailattachments}
</fieldset>
</vb:if>

<vb:if condition="$show['imageattachment']">
<fieldset class="postcontent">
<legend><img src="{vb:stylevar imgdir_misc}/paperclip.png" class="inlineimg" /> {vb:rawphrase attached_images}</legend>
{vb:raw post.imageattachments}
</fieldset>
</vb:if>

<vb:if condition="$show['imageattachmentlink']">
<fieldset class="postcontent">
<legend><img src="{vb:stylevar imgdir_misc}/paperclip.png" class="inlineimg" /> {vb:rawphrase attached_images}</legend>
<ul>
{vb:raw post.imageattachmentlinks}
</ul>
</fieldset>
</vb:if>

<vb:if condition="$show['otherattachment']">
<fieldset class="postcontent">
<legend><img src="{vb:stylevar imgdir_misc}/paperclip.png" class="inlineimg" /> {vb:rawphrase attached_files}</legend>
<ul>
{vb:raw post.otherattachments}
</ul>
</fieldset>
</vb:if>

<vb:if condition="$show['moderatedattachment']">
<fieldset class="postcontent">
<legend><img src="{vb:stylevar imgdir_misc}/paperclip.png" class="inlineimg" /> {vb:rawphrase attachments_pending_approval}</legend>
<ul>
{vb:raw post.moderatedattachments}
</ul>
</fieldset>
</vb:if>

</div>
<!-- / attachments -->
</vb:if>
</div>
</div>
<vb:if condition="$show['postedited'] || $post['signature']">
<div class="after_content">
<vb:if condition="$show['postedited']">
<!-- edit note -->
<blockquote class="postcontent lastedited">
<!-- <img src="{vb:stylevar imgdir_button}/edit_40b.png" class="inlineimg" alt="" /> -->
<vb:if condition="$show['postedithistory']">
{vb:rawphrase last_edited_link_by_x_on_y_at_z_postid, {vb:raw post.edit_username}, {vb:raw post.edit_date},
{vb:raw post.edit_time}, {vb:raw post.historyurl}}
<vb:else />
{vb:rawphrase last_edited_by_x_on_y_at_z, {vb:raw post.edit_username}, {vb:raw post.edit_date}, {vb:raw post.edit_time}}
</vb:if>
<vb:if condition="$post['edit_reason']">
<span class="reason">{vb:rawphrase reason}:</span> {vb:raw post.edit_reason}
</vb:if>
</blockquote>
<!-- / edit note -->
</vb:if>
{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="signaturecontainer">{vb:raw post.signature}</div></blockquote>
</vb:if>
{vb:raw template_hook.postbit_signature_end}
</div>
</vb:if>
<div class="cleardiv"></div>
</div>
</div>
<div class="postfoot">
<!-- <div class="postfoot_container"> -->
<div class="textcontrols floatcontainer">
<span class="postcontrols">
<img style="display:none" id="progress_{vb:raw post.postid}" src="{vb:stylevar imgdir_misc}/progress.gif" alt="{vb:rawphrase loading_editor_please_wait}" />
<vb:if condition="$post['editlink']">
<a class="editpost" href="{vb:raw post.editlink}" name="vB::QuickEdit::{vb:raw post.postid}"><img src="{vb:raw vboptions.cleargifurl}" id="editimg_{vb:raw post.postid}" alt="{vb:rawphrase edit_delete_message}" /> {vb:rawphrase edit_post}</a>
<span class="seperator">&nbsp;</span>
</vb:if>
<vb:if condition="$show['quickreply'] AND !$show['threadedmode']">
<a id="qr_{vb:raw post.postid}" class='quickreply' href="{vb:raw post.replylink}" rel="nofollow"><img id="replyimg_{vb:raw post.postid}" src="{vb:raw vboptions.cleargifurl}" alt="{vb:rawphrase quick_reply_to_this_message}" /> {vb:rawphrase reply}</a>
<span class="seperator">&nbsp;</span>
</vb:if>
<vb:if condition="$post['replylink']">
<a id="qrwq_{vb:raw post.postid}" class="newreply" href="{vb:raw post.replylink}" rel="nofollow"><img id="quoteimg_{vb:raw post.postid}" src="{vb:raw vboptions.cleargifurl}" alt="{vb:rawphrase reply_with_quote}" /> <vb:if condition="$post['forwardlink']">{vb:rawphrase reply_to_private_message}<vb:else />{vb:rawphrase reply_with_quote}</vb:if></a>
<vb:if condition="$show['multiquote_post']"><span class="seperator">&nbsp;</span></vb:if>
</vb:if>
<vb:if condition="$show['multiquote_post']">

<a class="multiquote" href="{vb:raw post.replylink}" rel="nofollow" onclick="return false;" id="mq_{vb:raw post.postid}"><img id="mq_image_{vb:raw post.postid}" src="{vb:raw vboptions.cleargifurl}" alt="{vb:rawphrase multi_quote_this_message}" />&nbsp;</a>
</vb:if>
</span>
<span class="postlinking">
<vb:if condition="!$post['forwardlink'] && THIS_SCRIPT != 'usernote' && THIS_SCRIPT != 'announcement'">
<vb:if condition="$promote_sectionid AND $promote_sectionid != -1">
<a href="{vb:raw promote_url}" class="promotecms">{vb:rawphrase promote_to_article}</a>
<span class="seperator">&nbsp;</span>
</vb:if>
</vb:if>

{vb:raw template_hook.postbit_controls}
{vb:raw post.iplogged}
<vb:if condition="$post['forwardlink']">
<a class="forwardpost" href="{vb:raw post.forwardlink}" rel="nofollow"><img src="{vb:raw vboptions.cleargifurl}" alt="{vb:rawphrase forward_message}" /> {vb:rawphrase forward}</a>
<vb:if condition="$show['reputationlink'] OR $show['infractionlink'] OR $show['moderated'] OR $show['spam'] OR $show['deletedpost'] OR $show['redcard'] OR $show['yellowcard']"><span class="seperator">&nbsp;</span></vb:if>
</vb:if>
<vb:if condition="$show['reputationlink']">
<span class="reputationpopupmenu popupmenu popupcustom" title="{vb:raw post.postid}"><a class="popupctrl reputation" title="{vb:rawphrase reputation}" href="reputation.php?{vb:raw session.sessionurl}do=addreputation&amp;p={vb:raw post.postid}" rel="nofollow" id="reputation_{vb:raw post.postid}"><!--<img src="{vb:stylevar imgdir_button}/reputation-40b.png" alt="{vb:rawphrase reputation}" /> -->&nbsp;</a></span>
</vb:if>

<vb:if condition="$show['infractionlink']">
<a class="infraction" href="infraction.php?{vb:raw session.sessionurl}do=report&amp;p={vb:raw post.postid}" rel="nofollow" title="{vb:rawphrase add_infraction_for_x, {vb:raw post.username}}"><!-- <img src="{vb:stylevar imgdir_button}/add-infraction_sm.png" alt="{vb:rawphrase add_infraction_for_x, {vb:raw post.username}}" /> --> &nbsp;</a> &nbsp;
</vb:if>
<vb:if condition="$show['reportlink']">
<a class="report" href="{vb:raw post.reportlink}" rel="nofollow" title="{vb:rawphrase report_bad_post}"><!-- <img src="{vb:stylevar imgdir_button}/report-40b.png" alt="{vb:rawphrase report_bad_post}" /> -->&nbsp;</a> &nbsp;
</vb:if>

<vb:if condition="$show['moderated']">
<img class="moderated" src="{vb:stylevar imgdir_misc}/moderated_sm.png" alt="{vb:rawphrase moderated_post}" />
</vb:if>
<vb:if condition="$show['spam']">
<img class="spam" src="{vb:stylevar imgdir_misc}/spam_detected.png" alt="{vb:rawphrase spam_post}" />
</vb:if>
<vb:if condition="$show['deletedpost']">
<vb:if condition="$show['managepost']">
<a class="deleted" href="{vb:raw $vboptions.vbforum_url}{vb:if "$vboptions['vbforum_url']", '/', ''}postings.php?{vb:raw session.sessionurl}do=managepost&amp;p={vb:raw post.postid}" title="{vb:rawphrase manage}">&nbsp;</a>
<vb:else />
<img class="deleted_nolink" class="inlineimage" src="{vb:stylevar imgdir_button}/deleted_sm.png" alt="{vb:rawphrase deleted_post}" />
</vb:if>
</vb:if>
<vb:if condition="$show['redcard']">
<a class="redcard" href="infraction.php?{vb:raw session.sessionurl}do=view&amp;p={vb:raw post.postid}" rel="nofollow" title="{vb:rawphrase received_infraction}"><!-- <img src="{vb:stylevar imgdir_button}/red-card_sm.png" alt="{vb:rawphrase received_infraction}" /> --> &nbsp;</a>
<vb:elseif condition="$show['yellowcard']" />
<a class="yellowcard" href="infraction.php?{vb:raw session.sessionurl}do=view&amp;p={vb:raw post.postid}" rel="nofollow" title="{vb:rawphrase received_warning}"><!--<img src="{vb:stylevar imgdir_button}/yellow-card_sm.png" alt="{vb:rawphrase received_warning}" /> --> &nbsp;</a>
</vb:if>
</span>
<!-- </div> -->
</div>
</div>
<hr />
</li>
{vb:raw template_hook.postbit_end}
2836

HTT.itvn
21-04-2011, 11:24 AM
@Tuanxa90 : Em đã chèn đoạn CSS vào chưa ? Nếu chưa chèn đoạn css vào thì không thể đóng khung được . Em xem lại bài đầu tiên ( Buoc 1 ) của topic này nhé .

tuanxa90
21-04-2011, 12:51 PM
anh ơi em đã chèn đoạn code vào đó rùi mà không đc anh xem lại cho em với code của em ở trên đó ? giúp em nha .
ko thì anh cho em xin code của anh đã làm em copy save cũng đc hihi .thanks

Tiểu Bá Vương 1404
21-04-2011, 12:58 PM
Xem lại css anh bỏ vào là gì, class là eti_postbit hay post_field hay ... ?

tuanxa90
21-04-2011, 01:19 PM
anh ơi ::::Tiểu Bá Vương 1404 :::::Xem lại css anh bỏ vào là gì, class là eti_postbit hay post_field hay ... ?
:::::::::::::::cái đó là gì em ko pít ?em làm như trên vd rùi mà .chỉ cho em với . thanks

Tiểu Bá Vương 1404
21-04-2011, 01:24 PM
...cái đó là gì em ko pít ?em làm như trên vd rùi mà .chỉ...với...
Gửi lại đoạn code đã chèn vào postbit.css hoặc bất kì temp css nào khác để đóng khung.

tuanxa90
21-04-2011, 02:09 PM
anh oi css của em ở phàn bên trên đó anh xem giùm em ?thanks

ko ai giúp em ah nả quá

HTT.itvn
21-04-2011, 07:05 PM
ko ai giúp em ah nả quá

Trên kia anh nhìn mãi không thấy đoạn CSS ở đâu cả . Em có hiểu ngôn ngữ lập trình CSS là gì không vậy ?

Em đã thực hiện bước này chưa ?

Bước 1 : vào Admin CP >> Styles & Templates >> Search in Templates >> ở mục Search for Text gõ posbit.css ( nhớ tick vào ô Đồng ý ở mục Tìm trong tựa đề >> Find >> Kick vào postbit.css >> Dán code sau vào cuối cùng :
(Bài viết của HTT.itvn )


/* eTiKeT Postbit_Legacy*/
.eti_postbit_merkezli {
padding-left: 4px;
padding-right: 2px;
padding-top: 2px;
padding-bottom: 2px;
background-color: #efefef;
border-top: 1px solid #dddddd;
border-right: 1px solid #dddddd;
border-left: 1px solid #c4c4c4;
border-bottom: 1px solid #c4c4c4;
margin-bottom: 4px;
text-align:center;
-moz-box-shadow: 0 2px 6px #b3b3b3;
-webkit-box-shadow: -1px 2px 2px #b3b3b3;
-moz-border-radius-bottom{vb:stylevar left}:6px;
-moz-border-radius-top{vb:stylevar right}:6px;
-webkit-border-top-{vb:stylevar right}-radius: {vb:stylevar threadlisthead_top_corner_radius};
-webkit-border-bottom-{vb:stylevar left}-radius: {vb:stylevar threadlisthead_top_corner_radius};}

.eti_postbit {
padding-left: 4px;
padding-right: 2px;
padding-top: 2px;
padding-bottom: 2px;
background-color: #efefef;
border-top: 1px solid #dddddd;
border-right: 1px solid #dddddd;
border-left: 1px solid #c4c4c4;
border-bottom: 1px solid #c4c4c4;
margin-bottom: 4px;
-moz-box-shadow: 0 2px 6px #b3b3b3;
-webkit-box-shadow: -1px 2px 2px #b3b3b3;
-moz-border-radius-bottom{vb:stylevar left}:6px;
-moz-border-radius-top{vb:stylevar right}:6px;
-webkit-border-top-{vb:stylevar right}-radius: {vb:stylevar threadlisthead_top_corner_radius};
-webkit-border-bottom-{vb:stylevar left}-radius: {vb:stylevar threadlisthead_top_corner_radius};
}

.itvnn_postbit {
text-align:center;
}

Nhấn Save

keroppi
21-04-2011, 08:18 PM
+ Nếu bạn dùng Mod level như diễn đàn này thì bạn đóng khung như sau :
Admin CP >> Styles & Templates >> Style manager >> Chọn skin cần chỉnh , edit templates >> Postbit templates >> postbit_userlevel >> Chèn code sau lên đầu :
< div class="eti_postbit">
Chèn code sau nằm cuối :
</div>


Uả, cái này nếu em không đóng khung thì nó ko bị sao cả. Nhưng làm đóng khung theo anh HTT hướng dẫn í. Thì nó bị lỗi. Toàn bộ phần bài viết nó trắng hết ra, thò ra mấy chữ bên phải thôi. Anh hướng dẫn cho em đóng khung với
Anh HTT vào giúp em với. Mà cái mod này em cài xong thì ở cái thanh ngang dưới Next level sao nó ko có màu xanh giống của ITVNN mình mà chỉ là màu trắng nhỉ

Tiểu Bá Vương 1404
22-04-2011, 09:29 PM
...cái thanh ngang dưới Next level sao nó ko có màu xanh giống của ITVNN...
Đây là lỗi về hình ảnh, một anh up cái hình userlever.gif (images/misc/) vào thư mục tuơng ứng của style anh dùng.
Hai là anh thay đổi cái code sau :

<div style="width:{vb:raw ewidth}; height:9px; margin:1px; background-image: url({vb:stylevar imgdir_misc}/userlevel.gif); background-repeat:repeat-x;"></div>
chỗ : background-image: url({vb:stylevar imgdir_misc}/userlevel.gif) sửa lại thành background-image: url(images/misc/userlevel.gif)

Còn đóng khung thì anh chú ý, <div class="eti_postbit"> chứ không phải < div class="eti_postbit"> như của anh Thanh (chắc anh ấy gõ nhầm thêm dấu cách).

keroppi
22-04-2011, 11:09 PM
ừ. okie. Anh sửa đc rồi. Thank em

babylovevt
23-04-2011, 12:20 AM
Các anh ơi, sao em làm y chang mà không được nhỉ. Hix.
Anh có thời gian thì giúp em với. Rất hy vọng các anh admin và anh Tiểu Bá Vương giúp em ạh.
Đây là postbit_legacy của em. Các anh giúp em sửa lại cho được cái nhé.Em đã cố gắng cả ngày hum nay rùi mà không được.Của em là vb 4.1.3
Em xin cảm ơn và hứa nhiệt tình với web chúng ta.

{vb:raw template_hook.postbit_start}
<li class="postbitlegacy postbitim postcontainer" id="post_{vb:raw post.postid}">
<!-- see bottom of postbit.css for .userinfo .popupmenu styles -->

<div class="posthead">
<vb:if condition="$show['inlinemod']"><label for="post_imod_checkbox_{vb:raw post.postid}"></vb:if>
<span class="postdate {vb:raw post.statusicon}">
<vb:if condition="$show['announcement']">
<span class="date">{vb:rawphrase x_until_y, {vb:raw post.startdate}, {vb:raw post.enddate}}</span>
<vb:else />
<span class="date">{vb:raw post.postdate}<vb:if condition="!$show['detailedtime']">&nbsp;<span class="time">{vb:raw post.posttime}</span></vb:if></span>
</vb:if>
</span>
<span class="nodecontrols">
<vb:if condition="$post['postid'] AND $post['threadid'] AND !$show['moderated']">
<a name="post{vb:raw post.postid}" href="{vb:link thread, {vb:raw thread}, {vb:raw pageinfo_post}}#post{vb:raw post.postid}" class="<vb:if condition="$show['inlinemod']">ie</vb:if>postcounter">#{vb:raw post.postcount}</a><a id="postcount{vb:raw post.postid}" name="{vb:raw post.postcount}"></a>
</vb:if>
<vb:if condition="$show['moderated']">{vb:rawphrase moderated_post}</vb:if>
<vb:if condition="$show['inlinemod']">
<input class="postimod" type="checkbox" id="post_imod_checkbox_{vb:raw post.postid}" name="plist[{vb:raw post.postid}]" value="{vb:raw post.checkbox_value}" />
</vb:if>
</span>
<vb:if condition="$show['inlinemod']"></label></vb:if>
</div>
<div class="postdetails">
<div class="userinfo">
<div class="username_container">
<vb:if condition="$post['userid']">

{vb:raw memberaction_dropdown}
{vb:raw post.onlinestatus}
<vb:else />
<span class="username guest">{vb:raw post.musername}</span>
</vb:if>
</div>

<span class="usertitle">
{vb:raw post.usertitle}
</span>
<vb:if condition="$post['rank']">
<span class="rank">{vb:raw post.rank}</span>
</vb:if>
{vb:raw template_hook.postbit_userinfo_left}



<vb:if condition="$show['reputation']">
<span class="postbit_reputation" id="repdisplay_{vb:raw post.postid}_{vb:raw post.userid}">{vb:raw post.reputationdisplay}</span>
</vb:if>
<vb:if condition="$show['avatar']">
<a class="postuseravatar" href="{vb:link member, {vb:raw post}}" title="{vb:rawphrase {vb:raw post['onlinestatusphrase']}, {vb:raw post.username}}">
<img src="{vb:raw post.avatarurl}" alt="{vb:rawphrase xs_avatar, {vb:raw post.username}}" title="{vb:rawphrase xs_avatar, {vb:raw post.username}}" />
</a>
</vb:if>
<vb:if condition="$post['userid']">
<hr />


<dl class="userinfo_extra">
<vb:if condition="$post['field5']">
Tên Thật: {vb:raw post.field5}</vb:if><p>


<vb:if condition="$post['field6']">
Giới Tính: {vb:raw post.field6}</vb:if><p>

<vb:if condition="$post['field4']">
Nghề nghiệp: {vb:raw post.field4}</vb:if><p>

<vb:if condition="$post['field3']">
Sở thích: {vb:raw post.field3}</vb:if><p>

<vb:if condition="$post['field10']">
Yahoo: {vb:raw post.field10}</vb:if><p>

<vb:if condition="$post['joindate']"><dt>{vb:rawphrase join_date}</dt> <dd>{vb:raw post.joindate}</dd></vb:if>
<vb:if condition="$post['field2']"><dt>{vb:rawphrase location_perm}</dt> <dd>{vb:raw post.field2}</dd></vb:if>


<vb:if condition="$post['age']"><dt>{vb:rawphrase age}</dt> <dd>{vb:raw post.age}</dd></vb:if>
<dt>{vb:rawphrase 'posts'}</dt> <dd>{vb:raw post.posts}</dd>

{vb:raw template_hook.postbit_userinfo_right_after_posts}
</dl>
<vb:if condition="$show['infraction'] OR $show['reppower']">
<dl class="user_rep">
<vb:if condition="$show['infraction']">
<dt>{vb:rawphrase infractions}</dt>
<dd>{vb:raw post.warnings}/{vb:raw post.infractions} ({vb:raw post.ipoints})</dd>
</vb:if>
<vb:if condition="$show['reputation']">
<vb:if condition="$show['reppower']">
<dt>{vb:rawphrase reppower}</dt>
<dd id="reppower_{vb:raw post.postid}_{vb:raw post.userid}">{vb:raw post.reppower}</dd>
</vb:if>
</vb:if>
</dl>
</vb:if>
{vb:raw template_hook.postbit_userinfo_right}
<div class="imlinks">
{vb:raw post.icqicon} {vb:raw post.aimicon} {vb:raw post.msnicon} {vb:raw post.yahooicon} {vb:raw post.skypeicon}
</div>
</vb:if>
</div>
<div class="postbody">
<div class="postrow<vb:if condition="$show['postedited'] || $post['signature']"> has_after_content</vb:if>">
{vb:raw template_hook.postbit_messagearea_start}
<vb:if condition="$post['title'] OR $show['messageicon']">
<h2 class="title icon">
<vb:if condition="$show['messageicon']"><img src="{vb:raw post.iconpath}" alt="{vb:raw post.icontitle}" /> </vb:if>{vb:raw post.title}
</h2>
</vb:if>


<vb:if condition="$post['isfirstshown']">
{vb:raw ad_location.ad_showthread_firstpost_start}
{vb:raw ad_location.thread_first_post_content}
</vb:if>
<vb:if condition="$post['islastshown']">
{vb:raw ad_location.thread_last_post_content}
</vb:if>
<div class="content<vb:if condition="$show['first_ad'] OR $show['last_ad']"> hasad</vb:if>">
<div id="post_message_{vb:raw post.postid}">
<blockquote class="postcontent restore ">
{vb:raw post.message}
</blockquote>
</div>

<vb:if condition="$show['attachments']">
<div class="attachments">

<vb:if condition="$show['thumbnailattachment']">
<fieldset class="postcontent">
<legend><img src="{vb:stylevar imgdir_misc}/paperclip.png" class="inlineimg" alt="{vb:rawphrase attached_thumbnails}" /> {vb:rawphrase attached_thumbnails}</legend>
{vb:raw post.thumbnailattachments}
</fieldset>
</vb:if>

<vb:if condition="$show['imageattachment']">
<fieldset class="postcontent">
<legend><img src="{vb:stylevar imgdir_misc}/paperclip.png" class="inlineimg" /> {vb:rawphrase attached_images}</legend>
{vb:raw post.imageattachments}
</fieldset>
</vb:if>

<vb:if condition="$show['imageattachmentlink']">
<fieldset class="postcontent">
<legend><img src="{vb:stylevar imgdir_misc}/paperclip.png" class="inlineimg" /> {vb:rawphrase attached_images}</legend>
<ul>
{vb:raw post.imageattachmentlinks}
</ul>
</fieldset>
</vb:if>

<vb:if condition="$show['otherattachment']">
<fieldset class="postcontent">
<legend><img src="{vb:stylevar imgdir_misc}/paperclip.png" class="inlineimg" /> {vb:rawphrase attached_files}</legend>
<ul>
{vb:raw post.otherattachments}
</ul>
</fieldset>
</vb:if>

<vb:if condition="$show['moderatedattachment']">
<fieldset class="postcontent">
<legend><img src="{vb:stylevar imgdir_misc}/paperclip.png" class="inlineimg" /> {vb:rawphrase attachments_pending_approval}</legend>
<ul>
{vb:raw post.moderatedattachments}
</ul>
</fieldset>
</vb:if>

</div>
<!-- / attachments -->
</vb:if>
</div>
</div>
<vb:if condition="$show['postedited'] || $post['signature']">
<div class="after_content">
<vb:if condition="$show['postedited']">
<!-- edit note -->
<blockquote class="postcontent lastedited">
<!-- <img src="{vb:stylevar imgdir_button}/edit_40b.png" class="inlineimg" alt="" /> -->
<vb:if condition="$show['postedithistory']">
{vb:rawphrase last_edited_link_by_x_on_y_at_z_postid, {vb:raw post.edit_username}, {vb:raw post.edit_date},
{vb:raw post.edit_time}, {vb:raw post.historyurl}}
<vb:else />
{vb:rawphrase last_edited_by_x_on_y_at_z, {vb:raw post.edit_username}, {vb:raw post.edit_date}, {vb:raw post.edit_time}}
</vb:if>
<vb:if condition="$post['edit_reason']">
<span class="reason">{vb:rawphrase reason}:</span> {vb:raw post.edit_reason}
</vb:if>
</blockquote>
<!-- / edit note -->
</vb:if>
{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="signaturecontainer">{vb:raw post.signature}</div></blockquote>
</vb:if>
{vb:raw template_hook.postbit_signature_end}
</div>
</vb:if>
<div class="cleardiv"></div>
</div>
</div>
<div class="postfoot">
<!-- <div class="postfoot_container"> -->
<div class="textcontrols floatcontainer">
<span class="postcontrols">
<img style="display:none" id="progress_{vb:raw post.postid}" src="{vb:stylevar imgdir_misc}/progress.gif" alt="{vb:rawphrase loading_editor_please_wait}" />
<vb:if condition="$post['editlink']">
<a class="editpost" href="{vb:raw post.editlink}" name="vB::QuickEdit::{vb:raw post.postid}"><img src="{vb:raw vboptions.cleargifurl}" id="editimg_{vb:raw post.postid}" alt="{vb:rawphrase edit_delete_message}" /> {vb:rawphrase edit_post}</a>
<span class="seperator">&nbsp;</span>
</vb:if>
<vb:if condition="$show['quickreply'] AND !$show['threadedmode']">
<a id="qr_{vb:raw post.postid}" class='quickreply' href="{vb:raw post.replylink}" rel="nofollow"><img id="replyimg_{vb:raw post.postid}" src="{vb:raw vboptions.cleargifurl}" alt="{vb:rawphrase quick_reply_to_this_message}" /> {vb:rawphrase reply}</a>
<span class="seperator">&nbsp;</span>
</vb:if>
<vb:if condition="$post['replylink']">
<a id="qrwq_{vb:raw post.postid}" class="newreply" href="{vb:raw post.replylink}" rel="nofollow"><img id="quoteimg_{vb:raw post.postid}" src="{vb:raw vboptions.cleargifurl}" alt="{vb:rawphrase reply_with_quote}" /> <vb:if condition="$post['forwardlink']">{vb:rawphrase reply_to_private_message}<vb:else />{vb:rawphrase reply_with_quote}</vb:if></a>
<vb:if condition="$show['multiquote_post']"><span class="seperator">&nbsp;</span></vb:if>
</vb:if>
<vb:if condition="$show['multiquote_post']">

<a class="multiquote" href="{vb:raw post.replylink}" rel="nofollow" onclick="return false;" id="mq_{vb:raw post.postid}"><img id="mq_image_{vb:raw post.postid}" src="{vb:raw vboptions.cleargifurl}" alt="{vb:rawphrase multi_quote_this_message}" />&nbsp;</a>
</vb:if>
</span>
<span class="postlinking">
<vb:if condition="!$post['forwardlink'] && THIS_SCRIPT != 'usernote' && THIS_SCRIPT != 'announcement'">
<vb:if condition="$promote_sectionid AND $promote_sectionid != -1">
<a href="{vb:raw promote_url}" class="promotecms">{vb:rawphrase promote_to_article}</a>
<span class="seperator">&nbsp;</span>
</vb:if>
</vb:if>

{vb:raw template_hook.postbit_controls}
{vb:raw post.iplogged}
<vb:if condition="$post['forwardlink']">
<a class="forwardpost" href="{vb:raw post.forwardlink}" rel="nofollow"><img src="{vb:raw vboptions.cleargifurl}" alt="{vb:rawphrase forward_message}" /> {vb:rawphrase forward}</a>
<vb:if condition="$show['reputationlink'] OR $show['infractionlink'] OR $show['moderated'] OR $show['spam'] OR $show['deletedpost'] OR $show['redcard'] OR $show['yellowcard']"><span class="seperator">&nbsp;</span></vb:if>
</vb:if>
<vb:if condition="$show['reputationlink']">
<span class="reputationpopupmenu popupmenu popupcustom" title="{vb:raw post.postid}"><a class="popupctrl reputation" href="reputation.php?{vb:raw session.sessionurl}do=addreputation&amp;p={vb:raw post.postid}" title="{vb:rawphrase add_reputation}" rel="nofollow" id="reputation_{vb:raw post.postid}"><!--<img src="{vb:stylevar imgdir_button}/reputation-40b.png" alt="{vb:rawphrase add_reputation}" /> -->&nbsp;</a></span>
</vb:if>

<vb:if condition="$show['infractionlink']">
<a class="infraction" href="infraction.php?{vb:raw session.sessionurl}do=report&amp;p={vb:raw post.postid}" rel="nofollow" title="{vb:rawphrase add_infraction_for_x, {vb:raw post.username}}"><!-- <img src="{vb:stylevar imgdir_button}/add-infraction_sm.png" alt="{vb:rawphrase add_infraction_for_x, {vb:raw post.username}}" /> --> &nbsp;</a> &nbsp;
</vb:if>
<vb:if condition="$show['reportlink']">
<a class="report" href="{vb:raw post.reportlink}" rel="nofollow" title="{vb:rawphrase report_bad_post}"><!-- <img src="{vb:stylevar imgdir_button}/report-40b.png" alt="{vb:rawphrase report_bad_post}" /> -->&nbsp;</a> &nbsp;
</vb:if>

<vb:if condition="$show['moderated']">
<img class="moderated" src="{vb:stylevar imgdir_misc}/moderated_sm.png" alt="{vb:rawphrase moderated_post}" />
</vb:if>
<vb:if condition="$show['spam']">
<img class="spam" src="{vb:stylevar imgdir_misc}/spam_detected.png" alt="{vb:rawphrase spam_post}" />
</vb:if>
<vb:if condition="$show['deletedpost']">
<vb:if condition="$show['managepost']">
<a class="deleted" href="{vb:raw $vboptions.vbforum_url}{vb:if "$vboptions['vbforum_url']", '/', ''}postings.php?{vb:raw session.sessionurl}do=managepost&amp;p={vb:raw post.postid}" title="{vb:rawphrase manage}">&nbsp;</a>
<vb:else />
<img class="deleted_nolink" class="inlineimage" src="{vb:stylevar imgdir_button}/deleted_sm.png" alt="{vb:rawphrase deleted_post}" />
</vb:if>
</vb:if>
<vb:if condition="$show['redcard']">
<a class="redcard" href="infraction.php?{vb:raw session.sessionurl}do=view&amp;p={vb:raw post.postid}" rel="nofollow" title="{vb:rawphrase received_infraction}"><!-- <img src="{vb:stylevar imgdir_button}/red-card_sm.png" alt="{vb:rawphrase received_infraction}" /> --> &nbsp;</a>
<vb:elseif condition="$show['yellowcard']" />
<a class="yellowcard" href="infraction.php?{vb:raw session.sessionurl}do=view&amp;p={vb:raw post.postid}" rel="nofollow" title="{vb:rawphrase received_warning}"><!--<img src="{vb:stylevar imgdir_button}/yellow-card_sm.png" alt="{vb:rawphrase received_warning}" /> --> &nbsp;</a>
</vb:if>
</span>
<!-- </div> -->
</div>
</div>
<hr />
</li>
{vb:raw template_hook.postbit_end}

Tiểu Bá Vương 1404
23-04-2011, 12:30 AM
Đề nghị lần sau ai có post code lên đây thì dùng cái bbcode nhé !
Cái này tối mai giải quyết, nếu có ai giải quyết trước thì chúc mừng !

babylovevt
23-04-2011, 10:59 AM
Cảm ơn mọi người đã quan tâm. Em làm đc rùi

quanquy6c
24-04-2011, 09:55 AM
mình không tìm thấy đoạn này trong postbit_legacy

<div class="username_container">
<vb:if condition="$post['userid']">

{vb:raw memberaction_dropdown}
{vb:raw post.onlinestatus}
<vb:else />
<span class="username guest">{vb:raw post.musername}</span>
</vb:if>
</div>mình sử dụng vbb4.05

babylovevt
24-04-2011, 11:01 AM
mình không tìm thấy đoạn này trong postbit_legacy

<div class="username_container">
<vb:if condition="$post['userid']">

{vb:raw memberaction_dropdown}
{vb:raw post.onlinestatus}
<vb:else />
<span class="username guest">{vb:raw post.musername}</span>
</vb:if>
</div>mình sử dụng vbb4.05


Bạn đừng tìm cả đoạn trên, chỉ cần tìm dòng mình bôi đỏ là thấy.

beodenls1
17-05-2011, 03:47 PM
Với skin đen thì làm thế nào để được nền khung màu đen ?

t8mclub
17-05-2011, 11:52 PM
Bị vỡ khung trong IE, còn trình duyệt khác bình thường.
Demo: http://t8mclub.com/forum

Tiểu Bá Vương 1404
18-05-2011, 12:36 AM
Em thề, code chèn như thế mà không lỗi em cắm đầu chết mất ! Sao mà ghét mấy cái code trời ơi thế không biết.
Đây là code em đã tuốt lại cho anh, xem đi !

Code sai, bỏ !

t8mclub
18-05-2011, 04:14 AM
Tút lại còn lỗi hơn xưa bạn ơi, dù sao cũng cảm ơn bạn đã rất nhiệt tình. Thank bạn...

Dunglx
18-05-2011, 08:03 AM
Nói chung code đó chỉ để bạn tham khảo còn chủ yếu do bạn tự tùy chỉnh theo ý mình thôi

HTT.itvn
18-05-2011, 11:23 AM
Tút lại còn lỗi hơn xưa bạn ơi, dù sao cũng cảm ơn bạn đã rất nhiệt tình. Thank bạn...

Bạn chú ý lỗi này :


<dl class="user_rep" class="bppostbit">

Không thể khai báo 2 lớp class trong 1 thẻ . IE thì nó không hiểu là sử dụng lớp nào , còn Chrome thì nó hiểu lớp class đầu tiên . Bạn xóa 1 class đi nhé ( class in đậm )

Bạn cho mình hình ảnh minh họa lỗi của bạn nhé . Mình dùng IE9 nên không thấy vỡ khung ở đâu cả . Bạn chú ý là VBB4 nếu xem bằng IE7 trở xuống thì sẽ vỡ giao diện .

@Tiểu Bá Vương : Em không nên tự hạ thấp bản thân mình khi mà fix cho người khác lại dùng từ ngữ như trên . Ban đầu em học VBB cũng có rất nhiều lỗ hổng về VBB đấy thôi .

HTT.itvn
18-05-2011, 12:53 PM
Với skin đen thì làm thế nào để được nền khung màu đen ?

Bạn post CODE CSS đóng khung của bạn mình xem nhé .

t8mclub
18-05-2011, 01:24 PM
Bạn chú ý lỗi này :



Không thể khai báo 2 lớp class trong 1 thẻ . IE thì nó không hiểu là sử dụng lớp nào , còn Chrome thì nó hiểu lớp class đầu tiên . Bạn xóa 1 class đi nhé ( class in đậm )

Bạn cho mình hình ảnh minh họa lỗi của bạn nhé . Mình dùng IE9 nên không thấy vỡ khung ở đâu cả . Bạn chú ý là VBB4 nếu xem bằng IE7 trở xuống thì sẽ vỡ giao diện .

@Tiểu Bá Vương : Em không nên tự hạ thấp bản thân mình khi mà fix cho người khác lại dùng từ ngữ như trên . Ban đầu em học VBB cũng có rất nhiều lỗ hổng về VBB đấy thôi .

Em hết lỗi rồi, cảm ơn anh. Anh ơi, em hỏi cách đưa cái avatar vào giữa với, e thử đặt nó vào <center> mà không được.

HTT.itvn
18-05-2011, 01:46 PM
Em hết lỗi rồi, cảm ơn anh. Anh ơi, em hỏi cách đưa cái avatar vào giữa với, e thử đặt nó vào <center> mà không được.
Nếu em không thực hiện đóng khung mà chỉ dùng avatar mặc định thì làm theo cách sau :

Vào AdminCP >> Styles & Templates >> Style Manager >> Chọn style >> Edit Templates >> Postbit Templates >> Postbit_legacy , tìm code sau :



<vb:if condition="$show['avatar']">
<a class="postuseravatar" href="{vb:link member, {vb:raw post}}" title="{vb:rawphrase {vb:raw post['onlinestatusphrase']}, {vb:raw post.username}}">
<img src="{vb:raw post.avatarurl}" alt="{vb:rawphrase xs_avatar, {vb:raw post.username}}" title="{vb:rawphrase xs_avatar, {vb:raw post.username}}" />
</a>
</vb:if>

Thay thế thành :


<center>
<table>
<tr>
<td>
<vb:if condition="$show['avatar']">
<a class="postuseravatar" href="{vb:link member, {vb:raw post}}" title="{vb:rawphrase {vb:raw post['onlinestatusphrase']}, {vb:raw post.username}}">
<img src="{vb:raw post.avatarurl}" alt="{vb:rawphrase xs_avatar, {vb:raw post.username}}" title="{vb:rawphrase xs_avatar, {vb:raw post.username}}" />
</a>
</vb:if>
</td>
</tr>
</table>
</center>

t8mclub
18-05-2011, 04:05 PM
Em làm được roài, cảm ơn anh...hjhj...:MatCuoi (3):

t8mclub
18-05-2011, 04:51 PM
Vẫn còn 1 lỗi nhỏ nữa anh ơi, giúp em...

http://cB1.upanh.com/22.572.29577060.TNv0/capture.gif

Postbit_galecy của em nè


{vb:raw template_hook.postbit_start}
<li class="postbitlegacy postbitim postcontainer" id="post_{vb:raw post.postid}">
<!-- see bottom of postbit.css for .userinfo .popupmenu styles -->

<div class="posthead">
<vb:if condition="$show['inlinemod']"><label for="post_imod_checkbox_{vb:raw post.postid}"></vb:if>
<span class="postdate {vb:raw post.statusicon}">
<vb:if condition="$show['announcement']">
<span class="date">{vb:rawphrase x_until_y, {vb:raw post.startdate}, {vb:raw post.enddate}}</span>
<vb:else />
<span class="date">{vb:raw post.postdate}<vb:if condition="!$show['detailedtime']">&nbsp;<span class="time">{vb:raw post.posttime}</span></vb:if></span>
</vb:if>
</span>
<span class="nodecontrols">
<vb:if condition="$post['postid'] AND $post['threadid'] AND !$show['moderated']">
<a name="post{vb:raw post.postid}" href="{vb:link thread, {vb:raw thread}, {vb:raw pageinfo_post}}#post{vb:raw post.postid}" class="<vb:if condition="$show['inlinemod']">ie</vb:if>postcounter">#{vb:raw post.postcount}</a><a id="postcount{vb:raw post.postid}" name="{vb:raw post.postcount}"></a>
</vb:if>
<vb:if condition="$show['moderated']">{vb:rawphrase moderated_post}</vb:if>
<vb:if condition="$show['inlinemod']">
<input class="postimod" type="checkbox" id="post_imod_checkbox_{vb:raw post.postid}" name="plist[{vb:raw post.postid}]" value="{vb:raw post.checkbox_value}" />
</vb:if>
</span>
<vb:if condition="$show['inlinemod']"></label></vb:if>
</div>
<div class="postdetails">
<div class="userinfo">
<div class="username_container">
<center><vb:if condition="$post['userid']">
{vb:raw memberaction_dropdown}
<!--{vb:raw post.onlinestatus}-->
<vb:else />
<span class="username guest">{vb:raw post.musername}</span>
</vb:if>
</center>
</div>
<span class="usertitle">
<center>{vb:raw post.usertitle}</center>
</span>
<vb:if condition="$post['rank']">
<span class="rank">{vb:raw post.rank}</span>
</vb:if>
{vb:raw template_hook.postbit_userinfo_left}
<vb:if condition="$show['reputation']">
<span class="postbit_reputation" id="repdisplay_{vb:raw post.postid}_{vb:raw post.userid}">{vb:raw post.reputationdisplay}</span>
</vb:if>
<!--Avatar chuẩn-->
<center>
<table>
<tr>
<td>
<vb:if condition="$show['avatar']">
<a class="postuseravatar" href="{vb:link member, {vb:raw post}}" title="{vb:rawphrase {vb:raw post['onlinestatusphrase']}, {vb:raw post.username}}">
<img src="{vb:raw post.avatarurl}" alt="{vb:rawphrase xs_avatar, {vb:raw post.username}}" title="{vb:rawphrase xs_avatar, {vb:raw post.username}}" />
</a>
</vb:if>
</td>
</tr>
</table>
</center>
<!--Avatar chuẩn-->
<vb:if condition="$post['userid']">
<hr />
<dl class="userinfo_extra">
<vb:if condition="$post['userid']"><div class="bppostbit"><dt>Thành viên thứ</dt> <dd>{vb:raw post.userid}</dd></div></vb:if>
<vb:if condition="$post['joindate']"><div class="bppostbit"><dt>{vb:rawphrase join_date}</dt> <dd>{vb:raw post.joindate}</dd></div></vb:if>
<vb:if condition="$post['field12']"><div class="bppostbit"><dt>{vb:rawphrase location_perm}</dt> <dd>{vb:raw post.field12}</dd></div></vb:if>
<vb:if condition="$post['field11']"><div class="bppostbit"><dt>Số điện thoại</dt> <dd>{vb:raw post.field11}</dd></div></vb:if>
<vb:if condition="$post['age']"><div class="bppostbit"><dt>{vb:rawphrase age}</dt> <dd>{vb:raw post.age}</dd></div></vb:if>
<div class="bppostbit"><dt>{vb:rawphrase 'posts'}</dt> <dd>{vb:raw post.posts}</dd> </div>
{vb:raw template_hook.postbit_userinfo_right_after_posts}
</dl>
<vb:if condition="$show['infraction'] OR $show['reppower']">
<dl class="user_rep">
<vb:if condition="$show['infraction']">
<div class="bppostbit"><dt>{vb:rawphrase infractions}</dt>
<dd>{vb:raw post.warnings}/{vb:raw post.infractions} ({vb:raw post.ipoints})</dd></div>
</vb:if>
<vb:if condition="$show['reputation']">
<vb:if condition="$show['reppower']">
<div class="bppostbit"><dt>{vb:rawphrase reppower}</dt>
<dd id="reppower_{vb:raw post.postid}_{vb:raw post.userid}">{vb:raw post.reppower}</dd></div>
</vb:if>
</vb:if>
</dl>
</vb:if>
<!--ngan luong--><center>
<vb:if condition="$post['field8']">
<div class="bppostbit">
<a target="_blank" href="https://www.nganluong.vn/send_order.php?&email={vb:raw post.field8}">
<img src="https://www.nganluong.vn/data/images/merchant/button/btn-paynow-125.png" border="0" alt="Thanh toán an toàn tuyệt đối với Ngân Lượng !"></a>
</div>
</vb:if>
<!--ngan luong--></center>
<!--baokim--><center>
<vb:if condition="$post['field9']">
<div class="bppostbit">
<a target="_blank" href="https://www.baokim.vn/payment/deal_payment/product?receiver={vb:raw post.field9}">
<img src="https://www.baokim.vn/application/uploads/buttons/btn_safety_payment_3.png" alt="Thanh toán an toàn tuyệt đối với Bảo Kim !" border="0" ></a>
</div>
</vb:if>
<!--endbaokim--></center>
<!--bieu tuong yahoo lon--><center>
<vb:if condition="$post['field6']"> <div class="bppostbit"><a href="ymsgr:sendIM?{vb:raw post.field6}" target="_blank"><img src="http://opi.yahoo.com/online?u={vb:raw post.field6}&amp;m=g&amp;t=2" alt="Liên hệ bằng Chat Yahoo !" border="0" /></a></div></vb:if>
<!--bieu tuong yahoo lon--></center>
{vb:raw template_hook.postbit_userinfo_right}
<!--bieu tuong yahoo nho
<div class="imlinks">
{vb:raw post.icqicon} {vb:raw post.aimicon} {vb:raw post.msnicon} {vb:raw post.yahooicon} {vb:raw post.skypeicon}
</div>
bieu tuong yahoo nhỏ-->
</vb:if>
</div>
<div class="postbody">
<div class="postrow<vb:if condition="$show['postedited'] || $post['signature']"> has_after_content</vb:if>">
{vb:raw template_hook.postbit_messagearea_start}
<vb:if condition="$post['title'] OR $show['messageicon']">
<h2 class="title icon">
<vb:if condition="$show['messageicon']"><img src="{vb:raw post.iconpath}" alt="{vb:raw post.icontitle}" /> </vb:if>{vb:raw post.title}
</h2>
</vb:if>
<vb:if condition="$post['isfirstshown']">
{vb:raw ad_location.ad_showthread_firstpost_start}
{vb:raw ad_location.thread_first_post_content}
</vb:if>
<vb:if condition="$post['islastshown']">
{vb:raw ad_location.thread_last_post_content}
</vb:if>
<div class="content<vb:if condition="$show['first_ad'] OR $show['last_ad']"> hasad</vb:if>">

<center>
<!-- $Id: Đóng khung Thông Tin bài trên $ --> <vb:if condition="!$GLOBALS['FIRSTPOSTID']">
<div>
<table cellSpacing="0" cellPadding="0" border="0" style="width:100%">
<tr>
<td style="padding: 0px"><img src="images/info/nnt1.png"></td>
<td style="padding: 0px" background="images/info/nnt2.png"></td>
<td style="padding: 0px"><img src="images/info/nnt3.png"></td>
</tr>
<tr>
<td valign="top" style="padding: 0px" background="images/info/nnt4.png"></td>
<td style="padding: 0px; background-color: #ffffff" bgColor="#ffffff">
<!-- $Id: images Đóng khung Thông Tin bài trên $ -->

<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr>
<td>
{vb:raw template_hook.postbit_messagearea_start}
<vb:if condition="$post['title'] OR $show['messageicon']">
<h2 class="title icon" align="center">
Chủ Đề: <vb:if condition="$show['messageicon']"><img src="{vb:raw post.iconpath}" alt="{vb:raw post.icontitle}" /> </vb:if>
<font color="#000080">{vb:raw post.title}</font>
</h2></vb:if>
</td>
</tr>
<tr>
<td>
<table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr>
<td width="35%" align="left">►Lượt Xem: <b>{vb:raw thread.views}</b></td>
<td width="25%" align="left">►Trả Lời: <b>{vb:raw thread.replycount}</td>
<td align="left">

<div>
<!-- $Id: Share $ -->
►Chia Sẽ:
<a title="Gửi bài này cho bạn bè qua yahoo" href="ymsgr:im?+&msg=Đây là bài viết hay: {vb:raw post.title} --> http://forum.t8mclub.com/{vb:raw relpath} Hãy chia sẻ với mọi người bạn nhé"><img border="0" src="images/share/yahoo.gif"></a>
<a title="Ðăng lên FaceBook" target="_blank" href="http://www.facebook.com/share.php?u=http://forum.t8mclub.com/{vb:raw relpath}"><img border="0" src="images/share/facebook.png"></a>
<a title="Ðăng lên ZingMe" target="_blank" href="http://link.apps.zing.vn/pro/view/conn/share?u=http://forum.t8mclub.com/{vb:raw relpath}&t={vb:raw post.title}&desc=Nếu bạn thích, bạn có thể ghé qua Diễn Đàn của chúng tôi ^^!"><img border="0" src="images/share/zing.gif"></a>
<a title="Ðăng lên Google" target="_blank" href="https://www.google.com.vn/bookmarks/mark?op=add&bkmk=http://forum.t8mclub.com/{vb:raw relpath}&title={vb:raw post.title}&annotation="><img border="0" src="images/share/google.png"></a>
<a title="Ðăng lên TangVn" target="_blank" href="http://www.tagvn.com/submit?url=http://forum.t8mclub.com/{vb:raw relpath}"><img border="0" src="images/share/tagvn.gif"></a>
<a title="Bookmark lại bài này" href="javascript:bookmarksite('{vb:raw post.title}', 'http://forum.t8mclub.com/{vb:raw relpath}')"><img border="0" src="images/share/favorites.png"></a>
<a title="In trang này" href="javascript:window.print()"><img border="0" src="images/share/print.gif"></a>

<!-- $Id: Share $ -->
</div>

</td>
</tr>

<tr>
<td width="35%" align="left">►Ngày Gửi: <b>{vb:raw post.postdate}</b></td>
<td width="25%" align="left">►Đánh Giá: <b>{vb:raw thread.rating}Sao</b></td>
<td align="left">
</td>
</tr>

</table>
</td>
</tr>
</table>

<!-- $Id: Đóng khung Thông Tin bài dưới $ -->
</td>
<td style="padding: 0px" background="images/info/nnt6.png"></td>
</tr>
<tr>
<td style="padding: 0px"><img src="images/info/nnt7.png"></td>
<td style="padding: 0px" background="images/info/nnt8.png"></td>
<td style="padding: 0px"><img src="images/info/nnt9.png"></td>
</tr>
</table>
<!-- $Id: Đóng khung Thông Tin bài dưới $ --></div></vb:if>
</center>
<br/>
<!--dong khung bai viet chuan-->
<div id="post_message_{vb:raw post.postid}">
<blockquote class="postcontent restore ">
{vb:raw post.message}
</blockquote>
<!--ket thuc dong khung bai viet chuan-->
</div>

<vb:if condition="$show['attachments']">
<div class="attachments">

<vb:if condition="$show['thumbnailattachment']">
<fieldset class="postcontent">
<legend><img src="{vb:stylevar imgdir_misc}/paperclip.png" class="inlineimg" alt="{vb:rawphrase attached_thumbnails}" /> {vb:rawphrase attached_thumbnails}</legend>
{vb:raw post.thumbnailattachments}
</fieldset>
</vb:if>

<vb:if condition="$show['imageattachment']">
<fieldset class="postcontent">
<legend><img src="{vb:stylevar imgdir_misc}/paperclip.png" class="inlineimg" /> {vb:rawphrase attached_images}</legend>
{vb:raw post.imageattachments}
</fieldset>
</vb:if>

<vb:if condition="$show['imageattachmentlink']">
<fieldset class="postcontent">
<legend><img src="{vb:stylevar imgdir_misc}/paperclip.png" class="inlineimg" /> {vb:rawphrase attached_images}</legend>
<ul>
{vb:raw post.imageattachmentlinks}
</ul>
</fieldset>
</vb:if>

<vb:if condition="$show['otherattachment']">
<fieldset class="postcontent">
<legend><img src="{vb:stylevar imgdir_misc}/paperclip.png" class="inlineimg" /> {vb:rawphrase attached_files}</legend>
<ul>
{vb:raw post.otherattachments}
</ul>
</fieldset>
</vb:if>

<vb:if condition="$show['moderatedattachment']">
<fieldset class="postcontent">
<legend><img src="{vb:stylevar imgdir_misc}/paperclip.png" class="inlineimg" /> {vb:rawphrase attachments_pending_approval}</legend>
<ul>
{vb:raw post.moderatedattachments}
</ul>
</fieldset>
</vb:if>

</div>
<!-- / attachments -->
</vb:if>
</div>
</div>
<vb:if condition="$show['postedited'] || $post['signature']">
<div class="after_content">
<vb:if condition="$show['postedited']">
<!-- edit note -->
<blockquote class="postcontent lastedited">
<!-- <img src="{vb:stylevar imgdir_button}/edit_40b.png" class="inlineimg" alt="" /> -->
<vb:if condition="$show['postedithistory']">
{vb:rawphrase last_edited_link_by_x_on_y_at_z_postid, {vb:raw post.edit_username}, {vb:raw post.edit_date},
{vb:raw post.edit_time}, {vb:raw post.historyurl}}
<vb:else />
{vb:rawphrase last_edited_by_x_on_y_at_z, {vb:raw post.edit_username}, {vb:raw post.edit_date}, {vb:raw post.edit_time}}
</vb:if>
<vb:if condition="$post['edit_reason']">
<span class="reason">{vb:rawphrase reason}:</span> {vb:raw post.edit_reason}
</vb:if>
</blockquote>
<!-- / edit note -->
</vb:if>
{vb:raw template_hook.postbit_signature_start}
{vb:raw ad_location.ad_showthread_firstpost_sig}

<!-- $Id: NNT Giới Thiệu Qua Y!M $ -->
<vb:if condition="!$GLOBALS['FIRSTPOSTID']">
<br />
<div class="smallfont" align="center" style="width: 515; height: 19">
<font color="black">--------</font><font color="black"><b>Đây là link nhanh của bài viết này </b></font><font color="black">--------</font>
</div>
<div align="center">
<table>
<TR><TD>
<p align="center"><font color="red"><b>Khi trích dẫn, bạn vui lòng ghi rõ nguồn là: "Theo T8mClub.Com"!</b></font><br>
<textarea style="width: 500; height: 25" rows="1" name="embedhtml" cols="100" readonly="readonly" align="center" onclick="this.select()" id="embedhtml">
http://t8mclub.com/forum/{vb:raw relpath}
</textarea>
</TD></TR>
</table></div>
</vb:if>
<!-- $Id: NNT Giới Thiệu Qua Y!M $ -->

<vb:if condition="$post['signature']">
<blockquote class="signature restore"><div class="signaturecontainer">{vb:raw post.signature}</div></blockquote>
</vb:if>
{vb:raw template_hook.postbit_signature_end}
</div>
</vb:if>
<div class="cleardiv"></div>
</div>
</div>
<div class="postfoot">
<!-- <div class="postfoot_container"> -->
<div class="textcontrols floatcontainer">
<span class="postcontrols">
<img style="display:none" id="progress_{vb:raw post.postid}" src="{vb:stylevar imgdir_misc}/progress.gif" alt="{vb:rawphrase loading_editor_please_wait}" />
<vb:if condition="$post['editlink']">
<a class="editpost" href="{vb:raw post.editlink}" name="vB::QuickEdit::{vb:raw post.postid}"><img src="{vb:raw vboptions.cleargifurl}" id="editimg_{vb:raw post.postid}" alt="{vb:rawphrase edit_delete_message}" /> {vb:rawphrase edit_post}</a>
<span class="seperator">&nbsp;</span>
</vb:if>
<vb:if condition="$show['quickreply'] AND !$show['threadedmode']">
<a id="qr_{vb:raw post.postid}" class='quickreply' href="{vb:raw post.replylink}" rel="nofollow"><img id="replyimg_{vb:raw post.postid}" src="{vb:raw vboptions.cleargifurl}" alt="{vb:rawphrase quick_reply_to_this_message}" /> {vb:rawphrase reply}</a>
<span class="seperator">&nbsp;</span>
</vb:if>
<vb:if condition="$post['replylink']">
<a id="qrwq_{vb:raw post.postid}" class="newreply" href="{vb:raw post.replylink}" rel="nofollow"><img id="quoteimg_{vb:raw post.postid}" src="{vb:raw vboptions.cleargifurl}" alt="{vb:rawphrase reply_with_quote}" /> <vb:if condition="$post['forwardlink']">{vb:rawphrase reply_to_private_message}<vb:else />{vb:rawphrase reply_with_quote}</vb:if></a>
<vb:if condition="$show['multiquote_post']"><span class="seperator">&nbsp;</span></vb:if>
</vb:if>
<vb:if condition="$show['multiquote_post']">

<a class="multiquote" href="{vb:raw post.replylink}" rel="nofollow" onclick="return false;" id="mq_{vb:raw post.postid}"><img id="mq_image_{vb:raw post.postid}" src="{vb:raw vboptions.cleargifurl}" alt="{vb:rawphrase multi_quote_this_message}" />&nbsp;</a>
</vb:if>
</span>
<span class="postlinking">
<vb:if condition="!$post['forwardlink'] && THIS_SCRIPT != 'usernote' && THIS_SCRIPT != 'announcement'">
<vb:if condition="$promote_sectionid AND $promote_sectionid != -1">
<a href="{vb:raw promote_url}" class="promotecms">{vb:rawphrase promote_to_article}</a>
<span class="seperator">&nbsp;</span>
</vb:if>
</vb:if>

{vb:raw template_hook.postbit_controls}
{vb:raw post.iplogged}
<vb:if condition="$post['forwardlink']">
<a class="forwardpost" href="{vb:raw post.forwardlink}" rel="nofollow"><img src="{vb:raw vboptions.cleargifurl}" alt="{vb:rawphrase forward_message}" /> {vb:rawphrase forward}</a>
<vb:if condition="$show['reputationlink'] OR $show['infractionlink'] OR $show['moderated'] OR $show['spam'] OR $show['deletedpost'] OR $show['redcard'] OR $show['yellowcard']"><span class="seperator">&nbsp;</span></vb:if>
</vb:if>
<vb:if condition="$show['reputationlink']">
<span class="reputationpopupmenu popupmenu popupcustom" title="{vb:raw post.postid}"><a class="popupctrl reputation" href="reputation.php?{vb:raw session.sessionurl}do=addreputation&amp;p={vb:raw post.postid}" title="{vb:rawphrase add_reputation}" rel="nofollow" id="reputation_{vb:raw post.postid}"><!--<img src="{vb:stylevar imgdir_button}/reputation-40b.png" alt="{vb:rawphrase add_reputation}" /> -->&nbsp;</a></span>
</vb:if>

<vb:if condition="$show['infractionlink']">
<a class="infraction" href="infraction.php?{vb:raw session.sessionurl}do=report&amp;p={vb:raw post.postid}" rel="nofollow" title="{vb:rawphrase add_infraction_for_x, {vb:raw post.username}}"><!-- <img src="{vb:stylevar imgdir_button}/add-infraction_sm.png" alt="{vb:rawphrase add_infraction_for_x, {vb:raw post.username}}" /> --> &nbsp;</a> &nbsp;
</vb:if>
<vb:if condition="$show['reportlink']">
<a class="report" href="{vb:raw post.reportlink}" rel="nofollow" title="{vb:rawphrase report_bad_post}"><!-- <img src="{vb:stylevar imgdir_button}/report-40b.png" alt="{vb:rawphrase report_bad_post}" /> -->&nbsp;</a> &nbsp;
</vb:if>

<vb:if condition="$show['moderated']">
<img class="moderated" src="{vb:stylevar imgdir_misc}/moderated_sm.png" alt="{vb:rawphrase moderated_post}" />
</vb:if>
<vb:if condition="$show['spam']">
<img class="spam" src="{vb:stylevar imgdir_misc}/spam_detected.png" alt="{vb:rawphrase spam_post}" />
</vb:if>
<vb:if condition="$show['deletedpost']">
<vb:if condition="$show['managepost']">
<a class="deleted" href="{vb:raw $vboptions.vbforum_url}{vb:if "$vboptions['vbforum_url']", '/', ''}postings.php?{vb:raw session.sessionurl}do=managepost&amp;p={vb:raw post.postid}" title="{vb:rawphrase manage}">&nbsp;</a>
<vb:else />
<img class="deleted_nolink" class="inlineimage" src="{vb:stylevar imgdir_button}/deleted_sm.png" alt="{vb:rawphrase deleted_post}" />
</vb:if>
</vb:if>
<vb:if condition="$show['redcard']">
<a class="redcard" href="infraction.php?{vb:raw session.sessionurl}do=view&amp;p={vb:raw post.postid}" rel="nofollow" title="{vb:rawphrase received_infraction}"><!-- <img src="{vb:stylevar imgdir_button}/red-card_sm.png" alt="{vb:rawphrase received_infraction}" /> --> &nbsp;</a>
<vb:elseif condition="$show['yellowcard']" />
<a class="yellowcard" href="infraction.php?{vb:raw session.sessionurl}do=view&amp;p={vb:raw post.postid}" rel="nofollow" title="{vb:rawphrase received_warning}"><!--<img src="{vb:stylevar imgdir_button}/yellow-card_sm.png" alt="{vb:rawphrase received_warning}" /> --> &nbsp;</a>
</vb:if>
</span>
<!-- </div> -->
</div>
</div>
<hr />
</li>
{vb:raw template_hook.postbit_end}

HTT.itvn
18-05-2011, 05:37 PM
Cho anh xem đoạn CSS đóng khung của em .

t8mclub
18-05-2011, 05:42 PM
Cái postbit.css của em nà


@charset "UTF-8";
/* CSS Document */

/* last edited notice */
.lastedited {
font-style:italic;
padding-top: 1em;
color: {vb:stylevar body_color};
font-size: {vb:stylevar small_fontSize};
/* clear:both; */
}

.lastedited a {
color: {vb:stylevar body_color};
}
/* reputation image */
.postbit_reputation {
padding:0 0 0 3px;
clear:both;
display:block;
}
img.repimg {
padding:0;
margin:0 0 0 -3px;
display:inline;
}

.quickedit {
border-top: {vb:stylevar tabslight_border};
}
/*signature */
.signature {
padding-top: 1em;
border-top: {vb:stylevar signature_border};
margin-top: 2em;
}


/*post bit*/
.postbit, .postbitlegacy, .eventbit {
margin-bottom: {vb:stylevar padding};
display:block;
width: 100%;
clear:both;
position: relative;
float: {vb:stylevar left};
color: {vb:stylevar body_color};
border: {vb:stylevar postbit_border};
}

.postbit object {
clear:both;
}

.postbit .postdetails {
width: 100%;
display:block;
float: {vb:stylevar left};
}

.postrow {
overflow: auto;
}

.postbit .posthead, .postbitlegacy .posthead, .eventbit .eventhead {
background: {vb:stylevar postbithead_background};
_background-image: none;
border: {vb:stylevar postbithead_border};
clear:both;
display:block;
float: {vb:stylevar left};
width: 100%;
color: {vb:stylevar postbithead_color};
margin: -{vb:stylevar postbithead_border.borderWidth}{vb:stylevar postbithead_border.units} -{vb:stylevar postbithead_border.borderWidth}{vb:stylevar postbithead_border.units} 0;
font: {vb:stylevar postbithead_font};
padding: 4px 0;
}

.postbit .posthead .postdate, .postbitlegacy .posthead .postdate {
display:block;
float:{vb:stylevar left};
clear:{vb:stylevar right};
width: 49%;
margin-{vb:stylevar left}: 10px;
font: {vb:stylevar postbithead_font};
padding-{vb:stylevar left}: 15px;
}

.postbit .posthead .postdate.old, .postbitlegacy .posthead .postdate.old {
background:transparent url({vb:stylevar imgdir_statusicon}/post_old.png) no-repeat center {vb:stylevar left};
}

.postbit .posthead .postdate.new, .postbitlegacy .posthead .postdate.new {
background:transparent url({vb:stylevar imgdir_statusicon}/post_new.png) no-repeat center {vb:stylevar left};
}

.postbit .postdate .time {
color: {vb:stylevar postbithead_color};
margin-{vb:stylevar left}: {vb:stylevar padding};
}

.postbithead .postdate .time {
color: {vb:stylevar body_color};
}

.postbit .userinfo .contact, .postbit .userinfo_noavatar .contact {
position: relative;
float: {vb:stylevar left};
clear: {vb:stylevar right};
width: 50%;
display:block;
}
.postbit .postuseravatarlink {
display:block;
text-align: center;
position: relative;
top: 0;
margin-{vb:stylevar left}: {vb:math {vb:stylevar padding}+5};
float: {vb:stylevar left};
clear: {vb:stylevar right};
}

.postbit .postuseravatarlink img {
}


.postbit .nodecontrols .postimod{
top: 0;
position:relative;
margin-{vb:stylevar left}: {vb:stylevar padding};
}

.postbit .userinfo, .postbit .userinfo_noavatar {
background: {vb:stylevar postbit_userinfo_background};
_background-image: none;
clear:both;
min-height: {vb:math {vb:stylevar postbit_avatar_maxSize}+1-{vb:math {vb:math {vb:math {vb:stylevar font.fontSize}-1}*1.230}+{vb:stylevar padding}}};
height: auto !important;
border-bottom:{vb:stylevar postbit_border};
padding: 0.5em 0;
width: 100%;
float: {vb:stylevar left};
}

.postbit .userinfo .contact, .userinfo .userinfo_extra, .postbit .userinfo_noavatar .contact {
display:inline-block;
min-height: {vb:math {vb:stylevar postbit_avatar_maxSize}+1-{vb:math {vb:math {vb:math {vb:stylevar font.fontSize}-1}*1.230}+{vb:stylevar padding}}};
height: auto !important;
height: {vb:math {vb:stylevar postbit_avatar_maxSize}+1-{vb:math {vb:math {vb:math {vb:stylevar font.fontSize}-1}*1.230}+{vb:stylevar padding}}};
}
.postbit .username_container {
float: {vb:stylevar left};
clear: {vb:stylevar right};
display:block;
margin-{vb:stylevar left}: {vb:stylevar padding};
}
.postbit .userinfo .username_container .memberaction, .postbit .userinfo_noavatar .username_container .memberaction {
display: inline;
}

.postbit .postdetails_noavatar .posthead, .postbit .postdetails_noavatar .userinfo .contact {
margin-{vb:stylevar left}: 0;
}
/*
.postbit .userinfo .postbit_reputation {
margin-{vb:stylevar left}: {vb:math {vb:stylevar postbit_avatar_maxSize} + {vb:stylevar padding} + 5px};
}
*/
.postbit .userinfo .username, .postbit .userinfo_noavatar .username {
font-size: {vb:stylevar font.fontSize}{vb:stylevar font.units};
font-weight: bold;
}

.postbit .userinfo_noavatar .imlinks img {
display:inline;
}
.postbit .userinfo .username.guest, .postbit .userinfo_noavatar .username.guest {
font-weight:normal;
}

.postbit .userinfo_noavatar .usertitle, .postbit .userinfo .usertitle, .postbit .userinfo_noavatar .rank, .postbit .userinfo .rank {
font-size: {vb:stylevar small_fontSize};
font-weight: bold;
display:block;
clear:both;
}
.postbit .userinfo .userinfo_extra, .postbit .userinfo_noavatar .userinfo_extra {
text-align: {vb:stylevar right};
width: 300px;
float: {vb:stylevar right};
font-size: {vb:stylevar small_fontSize};
}

.postbit .userinfo .userinfo_extra dl, .postbit .userinfo_noavatar .userinfo_extra dl {
margin-{vb:stylevar right}: {vb:stylevar padding};
float: {vb:stylevar right};
width: 150px;
}

.postbit .userinfo_extra dl dt {
float:{vb:stylevar left};
display:block;
margin-{vb:stylevar right}: {vb:math {vb:stylevar padding}/2};
}

.postbit .userinfo_extra dl dt:after {
content:":";
}
.postbit .userinfo_extra dl dt.blank:after {
content:none;
}
.postbit .userinfo_extra dl dd {
display:block;
}

.postbit .userinfo .moreinfo, .postbit .userinfo_noavatar .moreinfo {
float: {vb:stylevar left};
display: inline;
}

.postbit .userinfo .popupmenu a.popupctrl, .postbit .userinfo_noavatar .popupmenu a.popupctrl {
font-size: {vb:stylevar mid_fontSize};
background: transparent;
padding: 0;
display:inline-block;
}

.postbit .userinfo .popupmenu a.popupctrl:hover, .postbit .userinfo_noavatar .popupmenu a.popupctrl:hover {
color: {vb:stylevar link_color};
text-decoration: {vb:stylevar linkhover_hoverDecoration};
}

.postbit .postbody {
clear: both;
color: {vb:stylevar postbit_color};
}


.postbit .postrow {
font-family: {vb:stylevar forum_msg_font.fontFamily};
}
.postbit .postrow {
padding: {vb:math {vb:stylevar padding}/2} {vb:stylevar padding} 3em;
font: {vb:stylevar forum_msg_font};
}
.postbit hr {
display:none;
}

.postcontent {
word-wrap: break-word;
}


.postbit .posttitle {
display:block;
padding: {vb:stylevar padding};
font-weight:bold;
font: {vb:stylevar post_title_font};
margin: 0;
}

.postbit .content img, .postbitlegacy .content img, .postbitdeleted .content img, .postbitignored .content img, .eventbit .content img {
max-width: {vb:stylevar image_medium_max};
}

/*postbit legacy*/

.postbitlegacy hr, .eventbit hr {
display: none;
}

.postbitlegacy .postdetails, .eventbit .eventdetails {
float: {vb:stylevar left};
width: 100%;
background: {vb:stylevar postbit_userinfo_background};
_background-image: none;
}

.postbitlegacy .posthead .time {
font: {vb:stylevar postbithead_font};
color: {vb:stylevar postbithead_color};
}

.postbit .posthead .nodecontrols, .postbitlegacy .posthead .nodecontrols, .eventbit .eventhead .nodecontrols {
position: absolute;
color: {vb:stylevar postbithead_color};
{vb:stylevar right}: 0;
top: 0;
width: 50% ;
padding: 4px {vb:stylevar padding} 0;
text-align: {vb:stylevar right};
font: {vb:stylevar postbithead_font};
vertical-align: middle;
}

.postbit .posthead .nodecontrols a, .postbitlegacy .posthead .nodecontrols a, .eventbit .eventhead .nodecontrols a {
color: {vb:stylevar postbithead_color};
top: -2px;
position:relative;
}

.postbitlegacy .posthead .nodecontrols img, .eventbit .eventhead .nodecontrols img {
position: relative;
top: 2px;
padding: 0;
}

.postbitlegacy .posthead .nodecontrols .postimod, .eventbit .eventhead .nodecontrols .postimod {
top: 0px;
position:relative;
margin-{vb:stylevar left}: 5px;
}

.postbitlegacy .postbody, .eventbit .eventdetails .eventbody {
margin-{vb:stylevar left}: {vb:stylevar postbitlegacy_userinfo_width};
border-{vb:stylevar left}: {vb:stylevar postbit_userinfo_border};
background: {vb:stylevar postbit_background};
_background-image: none;
padding-bottom: 1em;
}

.postbitlegacy .postrow, .eventbit .eventrow, .postbitdeleted .postrow, .postbitignored .postrow {
padding: {vb:math {vb:stylevar padding}/2} {vb:stylevar padding} {vb:stylevar padding};
font: {vb:stylevar forum_msg_font};
color: {vb:stylevar postbit_color};
}

.postbitlegacy .userinfo {
float:{vb:stylevar left};
position: relative;
width:{vb:math {vb:stylevar postbitlegacy_userinfo_width}-{vb:math {vb:stylevar padding}*2}};
padding: 2px {vb:stylevar padding} {vb:math {vb:stylevar padding}/2};
font-size: {vb:stylevar small_fontSize};
display:block;
background: {vb:stylevar postbit_userinfo_background};
clear:both;
}

.postbitlegacy .userinfo .rank, .postbitlegacy .userinfo .usertitle {
font-size: {vb:stylevar small_fontSize};
display:block;
clear:both;
}

.postbitlegacy .userinfo .username_container {
margin-bottom: 8px;
}


.postbitlegacy .userinfo .username_container .memberaction {
display: inline;
}

.postbitlegacy .userinfo .postuseravatar, .eventbit .userinfo .eventuseravatar {
display:block;
margin:{vb:math {vb:stylevar padding}/3} auto 0;
text-align:{vb:stylevar left};
width: auto;
float: {vb:stylevar left};
clear: both;
}

.postbitlegacy .userinfo .postuseravatar img, .eventbit .userinfo .eventuseravatar img {
border: {vb:stylevar postbitlegacy_avatar_border};
outline: {vb:stylevar postbitlegacy_avatar_outline};
max-width: {vb:math {vb:stylevar postbitlegacy_userinfo_width} - {vb:math {vb:stylevar padding}*2}- {vb:math {vb:stylevar postbitlegacy_avatar_outline.borderWidth}*2} - {vb:math {vb:stylevar postbitlegacy_avatar_border.borderWidth}*2}};
}

.postbitlegacy .userinfo a.username, .eventbit .userinfo a.username {
clear:{vb:stylevar right};
font-size:{vb:stylevar font.fontSize}{vb:stylevar font.units};
font-weight:bold;
width: auto;
max-width:{vb:math {vb:stylevar postbitlegacy_userinfo_width} - {vb:math {vb:stylevar padding}*2} - 20px};
word-wrap:break-word;
}

.postbitlegacy .userinfo .guest.username, .eventbit .userinfo .guest.username {
padding-top: {vb:math {vb:stylevar padding}/2};
display:block;
font-size: {vb:stylevar font.fontSize}{vb:stylevar font.units};
}

.postbitlegacy dl.userinfo_extra, .postbitlegacy dl.user_rep {
margin: {vb:math {vb:stylevar padding}/2} 0;
display:block;
float: {vb:stylevar left};
width: {vb:math {vb:stylevar postbitlegacy_userinfo_width}-{vb:math {vb:stylevar padding}*2}};
}
.postbitlegacy dl.userinfo_extra dt, .postbitlegacy dl.user_rep dt {
float: {vb:stylevar left};
text-align: {vb:stylevar left};
/*color: {vb:stylevar shade_color};*/
margin-{vb:stylevar right}: {vb:stylevar padding};
margin-{vb:stylevar left}: 0;
min-width:60px;
width:auto !important;
width:60px;
}

.postbitlegacy dl.userinfo_extra dt:after, .postbitlegacy dl.user_rep dt:after {
content: ":";
}

.postbitlegacy dl.user_rep dt.blank:after {
content: none;
}

.postbitlegacy dl.userinfo_extra dd, .postbitlegacy dl.userinfo_extra dd a, .postbitlegacy dl.user_rep dd {
padding-bottom: 3px;
}

.postbitlegacy dl.user_rep img {
margin-top: {vb:stylevar padding};
}

.postbitlegacy .imlinks {
width: 100%;
float: {vb:stylevar left};
}

.postbitlegacy .imlinks img {
display:inline;
}

.postbitlegacy .title, .eventbit .title {
display:block;
padding: {vb:stylevar padding};
padding-{vb:stylevar left}: 0;
font: {vb:stylevar post_title_font};
}

.postbit .postfoot, .postbitlegacy .postfoot, .eventbit .eventfoot {
display:block;
position: relative;
{vb:stylevar right}: 0;
float: {vb:stylevar left};
clear:both;
/*vertical-align: bottom;*/
background: transparent;
/*height: {vb:math 16px + {vb:math 5px * 2}};*/
font: {vb:stylevar postbit_control_font};
width: 100%;
}

.postbitlegacy .postrow.has_after_content {
padding-bottom: 4em;
}

.postbitlegacy .after_content {
position: relative;
width: 100%;
clear:both;
}

.postbitlegacy .signature, .postbitlegacy .lastedited {
margin-top: 1em;
padding: 1em {vb:stylevar padding} 0;
}

.postbit .postfoot .textcontrols, .postbitlegacy .postfoot .textcontrols, .eventbit .eventfoot .eventcontrols {
padding: 6px 0 4px;
display:block;
background: {vb:stylevar postbit_foot_background};
_background-image: none;
font: {vb:stylevar postbit_control_font};
width: 100%;
margin-{vb:stylevar right}: 10px;
}
.postbitlegacy .postfoot .postcontrols, .postbit .postfoot .postcontrols {
float:{vb:stylevar right};
padding-{vb:stylevar right}:{vb:stylevar padding};
text-align:{vb:stylevar right};
width:50%;
}

.postbitlegacy .postfoot .postlinking, .postbit .postfoot .postlinking {
padding-{vb:stylevar left}:{vb:stylevar padding};
}

.postbitlegacy .postfoot .textcontrols img.inline, .postbit .postfoot .textcontrols img.inline {
position: absolute;
top: 2px;
{vb:stylevar left}: -1px;
margin-{vb:stylevar right}: 1px;
}
.postbitlegacy .postfoot .textcontrols span.seperator, .postbit .postfoot .textcontrols span.seperator {
border-right:{vb:stylevar postfoot_separator_width} solid {vb:stylevar postfoot_separator_color};
display: inline;
width: {vb:stylevar postfoot_separator_width};
margin: 0 5px;
}
.postbitlegacy .postfoot .textcontrols a, .postbit .postfoot .textcontrols a, .eventbit .eventfoot .eventcontrols a {
-moz-border-radius: 0px;
-webkit-border-radius: 0px;
border-radius: 0px;
padding: 0;
padding-{vb:stylevar left}: {vb:math 3px+20px};
border: {vb:stylevar postbit_control_border};
background: {vb:stylevar postbit_control_background};
_background-image: none;
color: {vb:stylevar postbit_control_color};
font: {vb:stylevar postbit_control_font};
display:inline-block;
/* margin needs to be left invariant of the text direction (LTR-RTL) */
margin-left: 5px;
}

/* Text button hover images */
.postbitlegacy .postfoot .textcontrols img.spam, .postbit .postfoot .textcontrols img.spam {
padding-top: 2px;
}
.postbitlegacy .postfoot .textcontrols img.moderated, .postbit .postfoot .textcontrols img.moderated, .postbitlegacy .postfoot .textcontrols img.spam, .postbit .postfoot .textcontrols img.spam, .postbitlegacy .postfoot .textcontrols img.deleted_nolink, .postbit .postfoot .textcontrols img.deleted_nolink {
padding-top: 2px;
}
.postbitlegacy .postfoot .textcontrols a.editpost, .postbit .postfoot .textcontrols a.editpost, .eventbit .eventfoot .textcontrols a.editevent {
background: url({vb:stylevar imgdir_button}/edit_40b.png) no-repeat {vb:stylevar postbit_control_background} {vb:stylevar left} ;
padding: {vb:stylevar postbit_control_padding};
padding-{vb:stylevar left}: {vb:math {vb:stylevar postbit_control_padding}+20};
border: {vb:stylevar postbit_control_border};
}
.postbitlegacy .postfoot .textcontrols a.editpost:hover, .postbit .postfoot .textcontrols a.editpost:hover, .eventbit .eventfoot .textcontrols a.editevent:hover {
background: url({vb:stylevar imgdir_button}/edit_40b-hover.png) no-repeat {vb:stylevar postbit_control_hover_background} {vb:stylevar left};
padding: {vb:stylevar postbit_control_padding};
padding-{vb:stylevar left}: {vb:math {vb:stylevar postbit_control_padding}+20};
border: {vb:stylevar postbit_control_hover_border};
}
.postbitlegacy .postfoot .textcontrols a.quickreply, .postbit .postfoot .textcontrols a.quickreply, .postbitlegacy .postfoot .textcontrols a.forwardpost, .postbit .postfoot .textcontrols a.forwardpost {
background: url({vb:stylevar imgdir_button}/reply_40b.png) no-repeat {vb:stylevar postbit_control_background} {vb:stylevar left};
padding: {vb:stylevar postbit_control_padding};
padding-{vb:stylevar left}: {vb:math {vb:stylevar postbit_control_padding}+20};
border: {vb:stylevar postbit_control_border};
}
.postbitlegacy .postfoot .textcontrols a.quickreply:hover, .postbit .postfoot .textcontrols a.quickreply:hover, .postbitlegacy .postfoot .textcontrols a.forwardpost:hover, .postbit .postfoot .textcontrols a.forwardpost:hover {
background: url({vb:stylevar imgdir_button}/reply_40b-hover.png) no-repeat {vb:stylevar postbit_control_hover_background} {vb:stylevar left};
padding: {vb:stylevar postbit_control_padding};
padding-{vb:stylevar left}: {vb:math {vb:stylevar postbit_control_padding}+20};
border: {vb:stylevar postbit_control_hover_border};
}
.postbitlegacy .postfoot .textcontrols a.newreply, .postbit .postfoot .textcontrols a.newreply {
background: url({vb:stylevar imgdir_button}/quote_40b.png) no-repeat {vb:stylevar postbit_control_background} {vb:stylevar left};
padding: {vb:stylevar postbit_control_padding};
padding-{vb:stylevar left}: {vb:math {vb:stylevar postbit_control_padding}+20};
border: {vb:stylevar postbit_control_border};
}
.postbitlegacy .postfoot .textcontrols a.newreply:hover, .postbit .postfoot .textcontrols a.newreply:hover {
background: url({vb:stylevar imgdir_button}/quote_40b-hover.png) no-repeat {vb:stylevar postbit_control_hover_background} {vb:stylevar left};
padding: {vb:stylevar postbit_control_padding};
padding-{vb:stylevar left}: {vb:math {vb:stylevar postbit_control_padding}+20};
border: {vb:stylevar postbit_control_hover_border};
}
.postbitlegacy .postfoot .textcontrols a.multiquote, .postbit .postfoot .textcontrols a.multiquote {
background: url({vb:stylevar imgdir_button}/multiquote-back_40b.png) no-repeat {vb:stylevar postbit_control_background} {vb:stylevar left};
padding: {vb:stylevar postbit_control_padding};
padding-{vb:stylevar left}: {vb:math {vb:stylevar postbit_control_padding}+20};
padding-bottom:1px;
border: {vb:stylevar postbit_control_border};
}
.postbitlegacy .postfoot .textcontrols a.multiquote:hover, .postbit .postfoot .textcontrols a.multiquote:hover {
background: url({vb:stylevar imgdir_button}/multiquote_40b-hover.png) no-repeat {vb:stylevar postbit_control_hover_background} {vb:stylevar left};
}
.postbitlegacy .postfoot .textcontrols a.promotecms, .postbit .postfoot .textcontrols a.promotecms {
background: url({vb:stylevar imgdir_cms}/promote_small.png) no-repeat {vb:stylevar postbit_control_background} {vb:stylevar left};
padding: {vb:stylevar postbit_control_padding};
padding-{vb:stylevar left}: {vb:math {vb:stylevar postbit_control_padding}+20};
border: {vb:stylevar postbit_control_border};
}
.postbitlegacy .postfoot .textcontrols a.promotecms:hover, .postbit .postfoot .textcontrols a.promotecms:hover {
background: url({vb:stylevar imgdir_cms}/promote_small-hover.png) no-repeat {vb:stylevar postbit_control_hover_background} {vb:stylevar left};
padding: {vb:stylevar postbit_control_padding};
padding-{vb:stylevar left}: {vb:math {vb:stylevar postbit_control_padding}+20};
border: {vb:stylevar postbit_control_hover_border};
}
.postbitlegacy .postfoot .textcontrols a.infraction, .postbit .postfoot .textcontrols a.infraction {
background: url({vb:stylevar imgdir_button}/add-infraction_sm.png) no-repeat {vb:stylevar postbit_control_background} {vb:stylevar left};
padding: {vb:stylevar postbit_control_padding};
padding-{vb:stylevar left}: {vb:math {vb:stylevar postbit_control_padding}+20};
border: {vb:stylevar postbit_control_border};
}
.postbitlegacy .postfoot .textcontrols a.infraction:hover, .postbit .postfoot .textcontrols a.infraction:hover {
background: url({vb:stylevar imgdir_button}/add-infraction_sm-hover.png) no-repeat {vb:stylevar postbit_control_hover_background} {vb:stylevar left};
padding: {vb:stylevar postbit_control_padding};
padding-{vb:stylevar left}: {vb:math {vb:stylevar postbit_control_padding}+20};
border: {vb:stylevar postbit_control_hover_border};
}
.postbitlegacy .postfoot .textcontrols a.report, .postbit .postfoot .textcontrols a.report {
background: url({vb:stylevar imgdir_button}/report-40b.png) no-repeat {vb:stylevar postbit_control_background} {vb:stylevar left};
padding: {vb:stylevar postbit_control_padding};
padding-{vb:stylevar left}: {vb:math {vb:stylevar postbit_control_padding}+20};
border: {vb:stylevar postbit_control_border};
}
.postbitlegacy .postfoot .textcontrols a.report:hover, .postbit .postfoot .textcontrols a.report:hover {
background: url({vb:stylevar imgdir_button}/report-40b-hover.png) no-repeat {vb:stylevar postbit_control_hover_background} {vb:stylevar left};
padding: {vb:stylevar postbit_control_padding};
padding-{vb:stylevar left}: {vb:math {vb:stylevar postbit_control_padding}+20};
border: {vb:stylevar postbit_control_hover_border};
}
.postbitlegacy .postfoot .textcontrols a.blog, .postbit .postfoot .textcontrols a.blog {
background: url({vb:stylevar imgdir_misc}/blog/blogpost_40b.png) no-repeat {vb:stylevar postbit_control_background} {vb:stylevar left};
padding: {vb:stylevar postbit_control_padding};
padding-{vb:stylevar left}: {vb:math {vb:stylevar postbit_control_padding}+20};
border: {vb:stylevar postbit_control_border};
}
.postbitlegacy .postfoot .textcontrols a.blog:hover, .postbit .postfoot .textcontrols a.blog:hover {
background: url({vb:stylevar imgdir_misc}/blog/blogpost_40b-hover.png) no-repeat {vb:stylevar postbit_control_hover_background} {vb:stylevar left} ;
padding: {vb:stylevar postbit_control_padding};
padding-{vb:stylevar left}: {vb:math {vb:stylevar postbit_control_padding}+20};
border: {vb:stylevar postbit_control_hover_border};
}
.postbitlegacy .postfoot .textcontrols a.reputation, .postbit .postfoot .textcontrols a.reputation {
background: url({vb:stylevar imgdir_button}/reputation-40b.png) no-repeat {vb:stylevar postbit_control_background} {vb:stylevar left};
padding: {vb:stylevar postbit_control_padding};
padding-{vb:stylevar left}: {vb:math {vb:stylevar postbit_control_padding}+20};
border: {vb:stylevar postbit_control_border};
}
.postbitlegacy .postfoot .textcontrols a.reputation:hover, .postbit .postfoot .textcontrols a.reputation:hover {
background: url({vb:stylevar imgdir_button}/reputation-40b-hover.png) no-repeat {vb:stylevar postbit_control_hover_background} {vb:stylevar left};
padding: {vb:stylevar postbit_control_padding};
padding-{vb:stylevar left}: {vb:math {vb:stylevar postbit_control_padding}+20};
border: {vb:stylevar postbit_control_hover_border};
}
.postbitlegacy .postfoot .textcontrols a.ip, .postbit .postfoot .textcontrols a.ip {
background: url({vb:stylevar imgdir_button}/ip-40b.png) no-repeat {vb:stylevar postbit_control_background} {vb:stylevar left};
padding: {vb:stylevar postbit_control_padding};
padding-{vb:stylevar left}: {vb:math {vb:stylevar postbit_control_padding}+20};
border: {vb:stylevar postbit_control_border};
}
.postbitlegacy .postfoot .textcontrols a.ip:hover, .postbit .postfoot .textcontrols a.ip:hover {
background: url({vb:stylevar imgdir_button}/ip-40b-hover.png) no-repeat {vb:stylevar postbit_control_hover_background} {vb:stylevar left};
padding: {vb:stylevar postbit_control_padding};
padding-{vb:stylevar left}: {vb:math {vb:stylevar postbit_control_padding}+20};
border: {vb:stylevar postbit_control_hover_border};
}
.postbitlegacy .postfoot .textcontrols a.redcard, .postbit .postfoot .textcontrols a.redcard {
background: url({vb:stylevar imgdir_button}/red-card_sm.png) no-repeat {vb:stylevar postbit_control_background} {vb:stylevar left};
padding: {vb:stylevar postbit_control_padding};
padding-{vb:stylevar left}: {vb:math {vb:stylevar postbit_control_padding}+20};
border: {vb:stylevar postbit_control_border};
}
.postbitlegacy .postfoot .textcontrols a.redcard:hover, .postbit .postfoot .textcontrols a.redcard:hover {
background: url({vb:stylevar imgdir_button}/red-card_sm-hover.png) no-repeat {vb:stylevar postbit_control_hover_background} {vb:stylevar left};
padding: {vb:stylevar postbit_control_padding};
padding-{vb:stylevar left}: {vb:math {vb:stylevar postbit_control_padding}+20};
border: {vb:stylevar postbit_control_hover_border};
}
.postbitlegacy .postfoot .textcontrols a.yellowcard, .postbit .postfoot .textcontrols a.yellowcard {
background: url({vb:stylevar imgdir_button}/yellow-card_sm.png) no-repeat {vb:stylevar postbit_control_background} {vb:stylevar left};
padding: {vb:stylevar postbit_control_padding};
padding-{vb:stylevar left}: {vb:math {vb:stylevar postbit_control_padding}+20};
border: {vb:stylevar postbit_control_border};
}
.postbitlegacy .postfoot .textcontrols a.yellowcard:hover, .postbit .postfoot .textcontrols a.yellowcard:hover {
background: url({vb:stylevar imgdir_button}/yellow-card_sm-hover.png) no-repeat {vb:stylevar postbit_control_hover_background} {vb:stylevar left};
padding: {vb:stylevar postbit_control_padding};
padding-{vb:stylevar left}: {vb:math {vb:stylevar postbit_control_padding}+20};
border: {vb:stylevar postbit_control_hover_border};
}
.postbitlegacy .postfoot .textcontrols a.deleted, .postbit .postfoot .textcontrols a.deleted {
background: url({vb:stylevar imgdir_button}/deleted_sm.png) no-repeat {vb:stylevar postbit_control_background} {vb:stylevar left};
padding: {vb:stylevar postbit_control_padding};
padding-{vb:stylevar left}: {vb:math {vb:stylevar postbit_control_padding}+20};
border: {vb:stylevar postbit_control_border};
}
.postbitlegacy .postfoot .textcontrols a.deleted:hover, .postbit .postfoot .textcontrols a.deleted:hover {
background: url({vb:stylevar imgdir_button}/deleted_sm-hover.png) no-repeat {vb:stylevar postbit_control_hover_background} {vb:stylevar left};
padding: {vb:stylevar postbit_control_padding};
padding-{vb:stylevar left}: {vb:math {vb:stylevar postbit_control_padding}+20};
border: {vb:stylevar postbit_control_hover_border};
}
.postbitlegacy .postfoot .textcontrols a:hover, .postbit .postfoot .textcontrols a:hover {
color: {vb:stylevar postbit_control_hover_color};
background: {vb:stylevar postbit_control_hover_background};
_background-image: none;
}

.postbitlegacy .postfoot .textcontrols a.highlight, .postbit .postfoot .textcontrols a.highlight {
background-color: {vb:stylevar postbit_control_hover_background.backgroundColor};
}

.postbitlegacy .postfoot .textcontrols a img, .postbit .postfoot .textcontrols a img {
position: absolute;
top: {vb:math {vb:stylevar padding}/5};
{vb:stylevar left}: {vb:math {vb:stylevar padding}/5+1};
}

.postbitlegacy .postfoot .textcontrols a:hover img, .postbit .postfoot .textcontrols a:hover img {
top: {vb:math {vb:stylevar padding}/5};
}

/*post bit deleted*/
.postbitdeleted, .postbitignored {
margin-bottom: {vb:stylevar padding};
display:block;
width: 100%;
clear:both;
position: relative;
color: {vb:stylevar body_color};
border: {vb:stylevar postbit_border};
float: {vb:stylevar left};
background: {vb:stylevar postbit_deleted_background};
_background-image: none;
}

.postbitdeleted hr, .postbitignored hr {
display: none;
}

.postbitdeleted .posthead, .postbitignored .posthead {
display:table;
background: {vb:stylevar postbithead_background};
_background-image: none;
border: {vb:stylevar postbithead_border};
height: {vb:math {vb:stylevar padding}+6};
padding: {vb:math {vb:stylevar padding}/5+2} 0;
color: {vb:stylevar postbithead_color};
width: 100%;
margin: -{vb:stylevar postbithead_border.borderWidth}{vb:stylevar postbithead_border.units} -{vb:stylevar postbithead_border.borderWidth}{vb:stylevar postbithead_border.units} 0;
font: {vb:stylevar postbithead_font};
}

.postbitdeleted .posthead .date, .postbitignored .posthead .date {
display:inline-block;
padding-{vb:stylevar left}: {vb:math {vb:stylevar padding}+4};
margin-{vb:stylevar left}: {vb:stylevar padding};
color: {vb:stylevar postbithead_color};
background:transparent url({vb:stylevar imgdir_statusicon}/post_old.png) no-repeat center {vb:stylevar left};
font: {vb:stylevar postbithead_font};
}

.postbitdeleted .posthead .date .time, .postbitignored .date .time {
color: {vb:stylevar postbithead_color};
margin-{vb:stylevar left}: {vb:stylevar padding};
font: {vb:stylevar postbithead_font};
}

.postbitdeleted .posthead .postimod, .postbitignored .posthead .postimod {
position: absolute;
{vb:stylevar right}: {vb:stylevar padding};
top: {vb:math {vb:stylevar padding}/2};
}

.postbitdeleted .postbody, .postbitignored .postbody {
padding: 0;
}

.postbitdeleted .postrow, .postbitignored .postrow {
padding: {vb:stylevar padding};
}

.postbitdeleted .userinfo .memberaction, .postbitignored .userinfo .memberaction {
display: block;
}


.postbitdeleted .userinfo, .postbitignored .userinfo {
display:block;
background: transparent;
position: relative;
clear: both;
padding: {vb:math {vb:stylevar padding}/2} {vb:stylevar padding};
border-bottom: {vb:stylevar postbit_border};
word-wrap: break-word;
}

.postbitdeleted .userinfo .username, .postbitignored .userinfo .username {
display:block;
float: {vb:stylevar left};
clear: {vb:stylevar right};
font-size: {vb:stylevar font.fontSize}{vb:stylevar font.units};
/*font-weight:bold;*/
}

.postbitdeleted .userinfo .moreinfo, .postbitignored .userinfo .moreinfo {
float: {vb:stylevar left};
display:block;
position: relative;
top: -5px;
}

.postbitdeleted .userinfo .usertitle, .postbitignored .userinfo .usertitle {
clear:both;
display:block
width: 100%;
}

.postbitdeleted .userinfo .popupmenu a.popupctrl:hover, .postbitignored .userinfo .popupmenu a.popupctrl:hover {
color: {vb:stylevar link_color};
text-decoration: {vb:stylevar linkhover_textDecoration};
}

.postbitdeleted .title, .postbitignored .title {
font: {vb:stylevar post_title_font};
}

.postbitdeleted .nodecontrols, .postbitignored .nodecontrols {
padding: 4px 0;
padding-{vb:stylevar right}: {vb:stylevar padding};
text-align: {vb:stylevar right};
background: {vb:stylevar postbit_foot_background};
_background-image: none;
font: {vb:stylevar postbit_control_font};
height: 16px;
}

.postbitdeleted .nodecontrols .textcontrol, .postbitignored .nodecontrols .textcontrol {
background: {vb:stylevar postbit_control_background};
_background-image: none;
border: {vb:stylevar postbit_control_border};
font: {vb:stylevar postbit_control_font};
}

.postbitdeleted .nodecontrols a.textcontrol:hover, .postbitignored .nodecontrols a.textcontrol:hover {
background: {vb:stylevar postbit_control_hover_background};
_background-image: none;
border: {vb:stylevar postbit_control_border};
}

.userinfo .popupmenu:hover a.popupctrl {
background-color:transparent;
}

.userinfo .popupgroup .popupmenu:hover a.popupctrl.active,
.userinfo .popupmenu a.popupctrl.active {
background-color:transparent;
color:inherit;
}
.postbit .userinfo .popupmenu .popupctrl {
color:auto;
}

.postbit.imod_highlight .userinfo_noavatar,
.postbit.imod_highlight .userinfo,
.postbit.imod_highlight .postbody,
.postbitlegacy.imod_highlight .postdetails,
.postbitlegacy.imod_highlight .userinfo,
.postbitlegacy.imod_highlight .postbody,
.postbitdeleted.imod_highlight,
.postbitignored.imod_highlight {
background:{vb:stylevar imodhilite_backgroundColor};
color: {vb:stylevar body_color};
}


/* start styles for postbit_legacy */
.userinfo .popupmenu:hover a.popupctrl {
background-color:transparent;
}
.userinfo .popupgroup .popupmenu:hover a.popupctrl.active,
.userinfo .popupmenu a.popupctrl.active {
background-color:transparent;
color:inherit;
}
.postbitlegacy .userinfo .popupmenu .popupctrl {
color:auto;
}
/* end styles for postbit_legacy */

img.onlinestatus_noavatar {
position: relative;
top: 5px;
{vb:stylevar left}: -56px;
}
img.onlinestatus {
position: relative;
top: 5px;
{vb:stylevar left}: -4px;
}

/* last edited */
.postbody fieldset {
background: {vb:stylevar postbit_boxed_background};
_background-image: none;
-moz-border-radius: {vb:stylevar border_radius};
-webkit-border-radius: {vb:stylevar border_radius};
border-radius: {vb:stylevar border_radius};
padding: {vb:stylevar postbit_boxed_padding};
font-size: {vb:stylevar postbit_boxed_fontSize};
}

.postbody img.inlineimg {
position: relative;
top: 2px;
}

.postbody .lastedited .reason {
font-weight: bold;
}

.postbitlegacy .userinfo .userinfo_extra {
width:{vb:math {vb:stylevar postbitlegacy_userinfo_width}-{vb:math {vb:stylevar padding}*2}};
float: {vb:stylevar left};
font-size: {vb:stylevar small_fontSize};
}

.hasad {
display:block;
margin-{vb:stylevar right}: {vb:stylevar ad_post_maxWidth};
}

Còn đây là đóng khung Thank của em


<!-- Thanhk mới -->
<vb:if condition="$post['userid']">
<div class="bppostbit"><dt>{vb:rawphrase post_thanks_thanks}</dt> <dd>{vb:raw post.post_thanks_user_amount_formatted}</dd></div>
<div class="bppostbit"><vb:if condition="$post['post_thanks_thanked_times'] == 1">{vb:rawphrase post_thanks_time_post}
<vb:elseif condition="$post['post_thanks_thanked_posts'] == 1" />{vb:rawphrase post_thanks_times_post, {vb:raw post.post_thanks_thanked_times_formatted}}</dd>
<vb:else />
{vb:rawphrase post_thanks_times_posts, {vb:raw post.post_thanks_thanked_times_formatted}, {vb:raw post.post_thanks_thanked_posts_formatted}}
</vb:if>
</div>
</vb:if>
<!-- Thanhk mới -->

Còn đây là postbit_userlevel của em


<div class="bppostbit">
<div align="left" class="userlevelContainer">
<div class="smallfont">{vb:rawphrase userlevel_level}:&nbsp;{vb:raw showlevel}&nbsp;<vb:if condition="$show['hl']">[<a href="faq.php?{vb:raw session.sessionurl}faq=vb3_user_profile#faq_vb3_us er_level">?</a>]</vb:if><br />
{vb:rawphrase userlevel_experience}:&nbsp;{vb:raw exp}<br />
{vb:rawphrase userlevel_nextlevel}:&nbsp;{vb:raw nextexp}</div>
<div class="alt2" style="text-align:left; width:102px; background-color: #fff; border:1px; height:11px; border-style:solid;" title="{vb:rawphrase userlevel_needexp, {vb:raw nextexp}}">
<div style="width:{vb:raw ewidth}; height:9px; margin:1px; background-image: url({vb:stylevar imgdir_misc}/userlevel.gif); background-repeat:repeat-x;"></div>
</div>
</div></div>

Em chỉ đóng khung trong 3 cái đó thui. Anh xem giúp em với.

HTT.itvn
18-05-2011, 06:04 PM
Phần đóng khung level em thay thế toàn bộ code sau :


<vb:if condition="$post['userid']">
<div class="bppostbit"><dt>{vb:rawphrase post_thanks_thanks}</dt> <dd>{vb:raw post.post_thanks_user_amount_formatted}</dd></div>

<div class="bppostbit"><vb:if condition="$post['post_thanks_thanked_times'] == 1">
<dd float: {vb:stylevar left};">{vb:rawphrase post_thanks_time_post}</dd>
<vb:elseif condition="$post['post_thanks_thanked_posts'] == 1" />
<dd float: {vb:stylevar left};">{vb:rawphrase post_thanks_times_post, {vb:raw post.post_thanks_thanked_times_formatted}}</dd>
<vb:else />
<dd float: {vb:stylevar left};">{vb:rawphrase post_thanks_times_posts, {vb:raw post.post_thanks_thanked_times_formatted}, {vb:raw post.post_thanks_thanked_posts_formatted}}</dd>
</vb:if></div>
</vb:if>

Trong file CSS em vừa gửi anh không tìm thấy lớp bppostbit ở đâu cả . Em đưa file CSS nhầm rồi .