For Vb 4.0.2:
Install the product. Do the follow 3 template edits in FORUMDISPLAY template:
1) Find the code for "Create New Thread" top button:
PHP Code:
<vb:if condition="$show['newthreadlink']"><a href="newthread.php?{vb:raw session.sessionurl}do=newthread&f={vb:raw foruminfo.forumid}" rel="nofollow" class="newcontent_textcontrol" id="newthreadlink_top"><span>+</span> {vb:rawphrase post_new_thread}</a></vb:if>
Replace with:
PHP Code:
<vb:if condition="$show['newthreadlink']"><vb:if condition="$foruminfo['edit_new_thread_button']"><a href="{vb:raw foruminfo.edit_new_thread_button}" rel="nofollow" class="newcontent_textcontrol" id="newthreadlink_top"><span>+</span> {vb:rawphrase post_new_thread}</a>
<vb:else />
<a href="newthread.php?{vb:raw session.sessionurl}do=newthread&f={vb:raw foruminfo.forumid}" rel="nofollow" class="newcontent_textcontrol" id="newthreadlink_top"><span>+</span> {vb:rawphrase post_new_thread}</a></vb:if>
</vb:if>
2) Find the code for "Create New Thread" on Forum Tools menu:
PHP Code:
<vb:if condition="$show['newthreadlink']">
<li>
<a href="newthread.php?{vb:raw session.sessionurl}do=newthread&f={vb:raw foruminfo.forumid}" rel="nofollow">
{vb:rawphrase post_a_new_thread}…
</a>
</li>
</vb:if>
Replace with:
PHP Code:
<vb:if condition="$show['newthreadlink']">
<li>
<vb:if condition="$foruminfo['edit_new_thread_button']">
<a href="{vb:raw foruminfo.edit_new_thread_button}" rel="nofollow"> {vb:rawphrase post_a_new_thread}…
</a>
<vb:else />
<a href="newthread.php?{vb:raw session.sessionurl}do=newthread&f={vb:raw foruminfo.forumid}" rel="nofollow">
{vb:rawphrase post_a_new_thread}…
</a>
</vb:if>
</li>
</vb:if>
3) Find the code for "Create New Thread" bottom button:
PHP Code:
<vb:if condition="$show['newthreadlink'] AND $show['threadslist']">
<a href="newthread.php?{vb:raw session.sessionurl}do=newthread&f={vb:raw foruminfo.forumid}" rel="nofollow" class="newcontent_textcontrol" id="newthreadlink_bottom"><span>+</span> {vb:rawphrase post_new_thread}</a>
</vb:if>
Replace with:
PHP Code:
<vb:if condition="$show['newthreadlink'] AND $show['threadslist']"><vb:if condition="$foruminfo['edit_new_thread_button']"><a href="{vb:raw foruminfo.edit_new_thread_button}" rel="nofollow" class="newcontent_textcontrol" id="newthreadlink_bottom"><span>+</span> {vb:rawphrase post_new_thread}</a>
<vb:else />
<a href="newthread.php?{vb:raw session.sessionurl}do=newthread&f={vb:raw foruminfo.forumid}" rel="nofollow" class="newcontent_textcontrol" id="newthreadlink_bottom"><span>+</span> {vb:rawphrase post_new_thread}</a></vb:if>
</vb:if>
Hope that helps all "4.x people" to keep this mod working.