• Downloading from our site will require you to have a paid membership. Upgrade to a Premium Membership from 10$ a month today!

    Dont forget read our Rules! Also anyone caught Sharing this content will be banned. By using this site you are agreeing to our rules so read them. Saying I did not know is simply not an excuse! You have been warned.

Hướng dẫn thêm nút viết chủ đề mới bên cạnh nút trả lời bài viết

Admin

Well-Known Member
Staff member
Administrator
Search template : SHOWTHREAD
ACP > Styles & Templates > Search in Templates >
Search Titles Only: YES >
PHP:
<div id="above_postlist" class="above_postlist">
        <vb:if condition="$show['largereplybutton']">
            <a href="newreply.php?{vb:raw session.sessionurl}p={vb:raw LASTPOSTID}&amp;noquote=1"
class="newcontent_textcontrol" id="newreplylink_top"><vb:if condition="$show['closethread']"><span>+</span> {vb:rawphrase reply_to_thread}<vb:else />{vb:rawphrase closed_thread}</vb:if></a>


Thêm vào đằng sau </a>

PHP:
<a href="newthread.php?{vb:raw session.sessionurl}do=newthread&amp;f={vb:raw thread.forumid}" rel="nofollow" class="newcontent_textcontrol" id="newthreadlink_top"  style="margin-left:10px;"><span>+</span> {vb:rawphrase post_new_thread}</a>


Chú ý: có 2 chỗ nhé, vì ở trên và ở dưới.

 

Facebook Comments

New posts New threads New resources

Back
Top