View Full Version : Giúp em tạo nút viết bài mới
hivaids2512
20-06-2011, 04:58 PM
Như thế này ạ(ở phần đính kèm),mong các pro giúp,em xin cám ơn trước
http://cC9.upanh.com/23.948.31017678.11P0/thank.pnghttp://cC9.upanh.com/23.948.31017678.11P0/thank.pnghttp://cC9.upanh.com/23.948.31017678.11P0/thank.png
Dunglx
20-06-2011, 05:10 PM
Bạn load gói mod này về nhé
http://itvnn.net/showthread.php?29420-Tổng-hợp-mod-cơ-bản-cho-vbb4-by-dunglx
(http://itvnn.net/showthread.php?29420-Tổng-hợp-mod-cơ-bản-cho-vbb4-by-dunglx)
AMP New Thread Button in Showthread
http://itvnn.net/showthread.php?26686-AMP-New-Thread-Button-in-Showthread
(http://itvnn.net/showthread.php?29420-Tổng-hợp-mod-cơ-bản-cho-vbb4-by-dunglx)
hoangduykt7990
20-06-2011, 05:12 PM
đây là cách làm thủ công
Add Button New Thread on SHOWTHREAD - Thêm nút Gửi Chủ Đề Mới khi xem bài viết
]
Add Button New Thread on SHOWTHREAD - Thêm nút Gửi Chủ Đề Mới khi xem bài viết
Thực hiện:
Vào template SHOWTHREAD của skin đang dùng:
1. Tìm:
Code: [/URL]
<div id="above_postlist" class="above_postlist"> <vb:if condition="$show['largereplybutton']"> <a href="newreply.php?{vb:raw session.sessionurl}p={vb:raw LASTPOSTID}&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 bên dưới:
Code: (http://svkrb.com/@4r/#)
<!-- New Thread Button - MINHLOI.NET --><a href="newthread.php?{vb:raw session.sessionurl}do=newthread&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><!-- /New Thread Button - MINHLOI.NET -->
2. Tìm:
Code:
<div id="below_postlist" class="below_postlist"> <vb:if condition="$show['largereplybutton']"> <a href="newreply.php?{vb:raw session.sessionurl}p={vb:raw LASTPOSTID}&noquote=1" class="newcontent_textcontrol" id="newreplylink_bottom" ><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 bên dưới:
Code: (http://svkrb.com/@4r/#)
<!-- New Thread Button - MINHLOI.NET --><a href="newthread.php?{vb:raw session.sessionurl}do=newthread&f={vb:raw thread.forumid}" rel="nofollow" class="newcontent_textcontrol" id="newthreadlink_top" style="margin-left:150px;"><span>+</span> {vb:rawphrase post_new_thread}</a><!-- /New Thread Button - MINHLOI.NET -->
Thay đổi margin-left:150px sao cho phù hợp với skin đang dùng.
Screenshots:
http://gallery.minhloi.net/vb/general/2010/08/Add-Button-New-Thread-on-SHOWTHREAD-01.png (http://gallery.minhloi.net/vb/general/2010/08/Add-Button-New-Thread-on-SHOWTHREAD-01.png)
[URL="http://gallery.minhloi.net/vb/general/2010/08/Add-Button-New-Thread-on-SHOWTHREAD-02.png"]http://gallery.minhloi.net/vb/general/2010/08/Add-Button-New-Thread-on-SHOWTHREAD-02.png (http://gallery.minhloi.net/vb/general/2010/08/Add-Button-New-Thread-on-SHOWTHREAD-02.png)
hoangduykt7990
20-06-2011, 05:13 PM
Trong 4rum cũng có mod Add new thread button, thử tim xem sao
Powered by vBulletin® Version 4.2.5 Copyright © 2025 vBulletin Solutions Inc. All rights reserved.