@ 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 .
Printable View
@ 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 .
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 ?
bạn thêm thẻ làđc thôiCode:<left></left>
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 :
Trích:
<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>
của mình không đóng khung chăng hiểu sao đã làm ở bước 1 rồiTrích:
@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;
}
Bạn cho mình code trong postbit_legacy nhé .
dạ đây anh ơi chẳng hiểu sao không được anh ạ
Trích:
{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']"> <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"> </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"> </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"> </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}" /> </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"> </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&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}" /> --> </a></span>
</vb:if>
<vb:if condition="$show['infractionlink']">
<a class="infraction" href="infraction.php?{vb:raw session.sessionurl}do=report&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}}" /> --> </a>
</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}" /> --> </a>
</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&p={vb:raw post.postid}" title="{vb:rawphrase manage}"><!-- <img src="{vb:stylevar imgdir_misc}/deleted_sm.png" alt="{vb:rawphrase manage}" /> --> </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&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}" /> --> </a>
<vb:elseif condition="$show['yellowcard']" />
<a class="yellowcard" href="infraction.php?{vb:raw session.sessionurl}do=view&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}" /> --> </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}
- 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 :
Đóng khung nó như sau ( chú ý chữ in đậm ):Trích:
<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>
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é .Trích:
<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>
giông demo dien đàn nay ne anh em làm thư xem
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
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?1617...1134#post31134 . Chú ý phần V nhé .
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 ạ
http://ca6.upanh.com/13.755.17969586.Mc70/untitled1.pngTrích:
<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>
Đây là postbit legacy của em anh xem lỗi chỗ nào ạ
Trích:
{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']"> <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"> </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"> </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"> </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}" /> </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"> </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&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}" /> --> </a></span>
</vb:if>
<vb:if condition="$show['infractionlink']">
<a class="infraction" href="infraction.php?{vb:raw session.sessionurl}do=report&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}}" /> --> </a>
</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}" /> --> </a>
</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&p={vb:raw post.postid}" title="{vb:rawphrase manage}"><!-- <img src="{vb:stylevar imgdir_misc}/deleted_sm.png" alt="{vb:rawphrase manage}" /> --> </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&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}" /> --> </a>
<vb:elseif condition="$show['yellowcard']" />
<a class="yellowcard" href="infraction.php?{vb:raw session.sessionurl}do=view&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}" /> --> </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}
:(( sao k ai vào trả lời em hết vậy
Bạn coppy code đóng khung thank như sau :
Trong postbit_legacy , bạn tìm code sau :Trích:
<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>
Xóa thẻ <div class="info1"> đi . Hoặc chú ý code sau nếu bạn không muốn xóa :Trích:
<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>
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 .Trích:
<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>
xin được giúp đỡ lỗi tem và cách khắc phục. http://img.photo.zing.vn/file_upload...1288404971.JPG
http://img.photo.zing.vn/file_upload...1288404980.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
sao k thấy ai trả lời vậy nè
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
hiện mình đang dùng Post Thank You Hack 7.82Code:<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>
Cảm ơn nhiều.
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é.
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
ko biết code này đã đủ chưa nữa, bạn xem lại và chỉnh giúp mình vớiTrích:
<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>
Thanks
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:
PHP Code:
<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>
Để đưa tên thành viên vào giữa bạn vào postbit_legacy, tìm đến đoạn code sau:
và đặt hai thẻ: <center> (vào trước) và </center> (vào sau).Code:<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ẻ 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é .
Trích:
.username_container {
padding:2px 0;
text-align:center;
}
.username_container .username strong {
font-size: 16pt;
font-weight:400;
}
Thank mình làm được rồi, phải đóng thế này mới được ạ.Code:<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>
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
PHP 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']"> <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"> </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"> </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"> </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}" /> </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"> </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"> </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&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}" /> --> </a></span>
</vb:if>
<vb:if condition="$show['infractionlink']">
<a class="infraction" href="infraction.php?{vb:raw session.sessionurl}do=report&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}}" /> --> </a>
</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}" /> --> </a>
</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&p={vb:raw post.postid}" title="{vb:rawphrase manage}"><!-- <img src="{vb:stylevar imgdir_misc}/deleted_sm.png" alt="{vb:rawphrase manage}" /> --> </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&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}" /> --> </a>
<vb:elseif condition="$show['yellowcard']" />
<a class="yellowcard" href="infraction.php?{vb:raw session.sessionurl}do=view&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}" /> --> </a>
</vb:if>
</span>
<!-- </div> -->
</div>
</div>
<hr />
</li>
{vb:raw template_hook.postbit_end}
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 .
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 :|
Về phần cái danh hiệu và avatar:
-Tìm code sau:
-Bạn thay thế code trên bằng code sau:PHP Code:
<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>
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.PHP Code:
<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>
thay rồi bạn ơi....avatar vẫn ko vào giữa @@
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
Sao em kiếm hoài mà không thấy Mục Tuỳ chọn. Đây là ảnh trang admin của emTrí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 :
http://cB5.upanh.com/19.0.24809984.UE30/upanh.jpg
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 .
@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é !
đọ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>