[Hướng dẫn] thêm chữ ký ở style mobile for vbb4.1.x

  • Thread starter Thread starter AdminAdmin is verified member.
  • Start date Start date
A

AdminAdmin is verified member.

Well-Known Member
Staff member
Administrator
Vào admincp -> styles Manager -> Edit Templates (chon style mobile cần edit) -> Postbit Templates -> chọn postbit hoặc posbit legacy tùy theo forum của bạn nhé
tìm:
PHP:
<div class="postbg">{vb:raw post.message}
thêm vào sau:
PHP:
<hr>
{vb:raw template_hook.postbit_signature_start}{vb:raw ad_location.ad_showthread_firstpost_sig}<vb:if condition="$post['signature']">{vb:raw post.signature}</vb:if> {vb:raw template_hook.postbit_signature_end}
nhớ save lại nha.
tiếp tục vào admincp -> styles Manager -> Edit Templates (chon style mobile cần edit) -> Show Thread Templates -> SHOWTHREAD
tìm:
PHP:
<input type="submit" id="btn" value="Gửi bài" />
thêm vào trước:
PHP:
<vb:if condition="$bbuserinfo['signature']">
<label for="cb_signature">
<input type="checkbox" name="signature" id="cb_signature" value="1" checked="checked" tabindex="1" />
{vb:rawphrase show_your_signature}
</label>
</vb:if><br>
Save lại là ok
 

Facebook Comments

Similar threads

A
Replies
0
Views
1K
AdminAdmin is verified member.
A
A
Replies
2
Views
800
AdminAdmin is verified member.
A
N
Replies
3
Views
717
AdminAdmin is verified member.
A
A
Replies
8
Views
1K
AdminAdmin is verified member.
A
A
Replies
7
Views
1K
congtust24
congtust24
A
Replies
0
Views
974
AdminAdmin is verified member.
A
Back
Top