Hướng dẫn sửa lỗi bbcode style mobile vbb

  • 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 admdincp -> styles manager -> edit style mobile -> BBcode Layout templates
chọn bbcode_code và xóa hết bên code bên trong
dán đoạn này vào
HTML:
<div class="bbcode_container" >     <div class="bbcode_description"  style="padding-bottom:2px">{vb:rawphrase code}:&nbsp;<a  href="#" onclick="selectCode(this); return false;"  style="font-size:11px">(Click Here to Select  All)</a></div> 
  <div  style="width:auto;max-height:150px;white-space:nowrap;overflow:scroll;border:1px inset;padding:4px;background:#f2f6f8;text-align:left;direction:ltr;">  <pre class="bbcode_code"<vb:if  condition="$vboptions['codemaxlines']">style="height:<vb:if  condition="$blockheight<$vboptions['codemaxlines']">{vb:math  {vb:raw blockheight}*{vb:stylevar mid_fontSize}+{vb:stylevar  mid_fontSize}*2}<vb:else />{vb:math {vb:raw  blockheight}*{vb:stylevar mid_fontSize}+{vb:stylevar  mid_fontSize}}</vb:if>;"</vb:if>><p>{vb:raw  code}</p></pre> </div>
</div>
bbcode_html
HTML:
<div class="bbcode_container">     <div class="bbcode_description"  style="padding-bottom:2px">{vb:rawphrase html_code}:&nbsp;<a  href="#" onclick="selectCode(this); return false;"  style="font-size:11px">(Click Here to Select  All)</a></div> 
 <div  style="width:auto;max-height:150px;white-space:nowrap;overflow:scroll;border:1px inset;padding:4px;background:#f2f6f8;text-align:left;direction:ltr;">   <pre class="bbcode_code"<vb:if  condition="$vboptions['codemaxlines']"> style="height:<vb:if  condition="$blockheight<=$vboptions['codemaxlines']">{vb:math  {vb:math {vb:raw blockheight}+2}}*{vb:stylevar mid_fontSize}}<vb:else  />{vb:math {vb:math {vb:raw blockheight}+1}*{vb:stylevar  mid_fontSize}}</vb:if>;"</vb:if>><p>{vb:raw  code}</p></pre> 
</div>  </div>
bbcode_php
HTML:
<div class="bbcode_container">    <div class="bbcode_description"  style="padding-bottom:2px">{vb:rawphrase php_code}:&nbsp;<a  href="#" onclick="selectCode(this); return false;"  style="font-size:11px">(Click Here to Select  All)</a></div>
  <div  style="width:auto;max-height:150px;white-space:nowrap;overflow:scroll;border:1px inset;padding:4px;background:#f2f6f8;text-align:left;direction:ltr;">  <div class="bbcode_code"<vb:if  condition="$vboptions['codemaxlines']">style="height:<vb:if  condition="$blockheight<$vboptions['codemaxlines']">{vb:math  {vb:raw blockheight}*{vb:stylevar mid_fontSize}+{vb:stylevar  mid_fontSize}*2}<vb:else />{vb:math {vb:raw  blockheight}*{vb:stylevar mid_fontSize}+{vb:stylevar  mid_fontSize}}</vb:if>;"</vb:if>><code><p>{vb:raw  code}</p></code></div>
</div>  </div>
 

Facebook Comments

Similar threads

C
Replies
3
Views
2K
thethems
T
A
Replies
0
Views
812
AdminAdmin is verified member.
A
T
Replies
1
Views
700
blog4me
blog4me
A
Replies
0
Views
955
AdminAdmin is verified member.
A
A
Replies
0
Views
1K
AdminAdmin is verified member.
A
Back
Top