[King-Game]
New Member
CÁCH ĐÓNG KHUNG TRONG POSTBIT
Bước 1:
>>> ACP >>> Styles & Templates>>> Style Manager >>> Edit Template >>> Post Thank You Hack Templates >>> post_thank_postbit_info
Bước 2: Đóng khung "Thanks"
Trong post_thank_postbit_info, tìm:
Mã: [ Xem ]
<dt>{vb:rawphrase post_thanks_thanks}</dt> <dd>{vb:raw post.post_thanks_user_amount_formatted}</dd>
Thay bằng:
Mã: [ Xem ]
<div align="right" class="eti_postbit"><dt>{vb:rawphrase post_thanks_thanks}</dt> <dd>{vb:raw post.post_thanks_user_amount_formatted}</dd></div>
Bước 3: Đóng khung "Thanked XTimes in Y Posts
Trong post_thank_postbit_info, tìm:
Mã: [ Xem ]
<vb:if condition="$post['post_thanks_thanked_times'] == 1"> <dd style="white-space:nowrap; display:inline; float: {vb:stylevar left};">{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 left};">{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 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>
Thay bằng:
Mã: [ Xem ]
<div align="right" 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> HOẶC NÓI NGẮN GỌN: ĐÓNG KHUNG "THANKS" VÀ "THANKED X TIMES IN Y POSTS"
Copy đoạn code dưới đây thay thế cho toàn bộ code trong post_thank_postbit_info
Mã: [ Xem ]
<vb:if condition="$post['userid']"> <div align="right" class="eti_postbit"><dt>{vb:rawphrase post_thanks_thanks}</dt> <dd>{vb:raw post.post_thanks_user_amount_formatted}</dd></div> <div align="right" 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>
DEMO:
http://www.mediafire.com/?tddq5rhz2i7wwno
Bước 1:
>>> ACP >>> Styles & Templates>>> Style Manager >>> Edit Template >>> Post Thank You Hack Templates >>> post_thank_postbit_info
Bước 2: Đóng khung "Thanks"
Trong post_thank_postbit_info, tìm:
Mã: [ Xem ]
<dt>{vb:rawphrase post_thanks_thanks}</dt> <dd>{vb:raw post.post_thanks_user_amount_formatted}</dd>
Thay bằng:
Mã: [ Xem ]
<div align="right" class="eti_postbit"><dt>{vb:rawphrase post_thanks_thanks}</dt> <dd>{vb:raw post.post_thanks_user_amount_formatted}</dd></div>
Bước 3: Đóng khung "Thanked XTimes in Y Posts
Trong post_thank_postbit_info, tìm:
Mã: [ Xem ]
<vb:if condition="$post['post_thanks_thanked_times'] == 1"> <dd style="white-space:nowrap; display:inline; float: {vb:stylevar left};">{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 left};">{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 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>
Thay bằng:
Mã: [ Xem ]
<div align="right" 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> HOẶC NÓI NGẮN GỌN: ĐÓNG KHUNG "THANKS" VÀ "THANKED X TIMES IN Y POSTS"
Copy đoạn code dưới đây thay thế cho toàn bộ code trong post_thank_postbit_info
Mã: [ Xem ]
<vb:if condition="$post['userid']"> <div align="right" class="eti_postbit"><dt>{vb:rawphrase post_thanks_thanks}</dt> <dd>{vb:raw post.post_thanks_user_amount_formatted}</dd></div> <div align="right" 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>
DEMO:
http://www.mediafire.com/?tddq5rhz2i7wwno