PDA

View Full Version : New Thread Button on post viewing



admin
21-11-2009, 04:56 PM
I find that members post more when there is a post new thread option after they have posted / when there reading thread so i have done the following with a little bit of help from Lynne (thanks)

Go to the Showthread template :

First find :

<a href="newreply.php?{vb:raw session.sessionurl}p={vb:raw LASTPOSTID}"
class="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>
<img style="display:none" id="progress_newreplylink_top" src="images/misc/progress.gif" alt="" />

then after add :

<a href="newthread.php?{vb:raw session.sessionurl}do=newthread&amp;f={vb:raw thread.forumid}" rel="nofollow" class="textcontrol" id="newthreadlink_top"><span>+</span> {vb:rawphrase post_new_thread}</a>

then find :

<a href="newreply.php?{vb:raw session.sessionurl}p={vb:raw LASTPOSTID}"
class="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>

Then after add :

&nbsp <span style="padding-left:140px">
<a href="newthread.php?{vb:raw session.sessionurl}do=newthread&amp;f={vb:raw thread.forumid}" rel="nofollow" class="textcontrol" id="newthreadlink_bottom"><span>+</span> {vb:rawphrase post_new_thread}</a></span>

Screenshots
http://img.photo.zing.vn/file_uploads/gallery/sources/2009/11/21/06/75541258802816.jpg