PDA

View Full Version : New thread button in Showthread


Julio
04-02-2005, 12:42 PM
I am filling several forums with lots of articles.

I am tired of having to go back to the forum and click "New Thread".

I mean, after you add a thread, it will re-direct you to that thread. I would like to have a New Thread button right next to the "Post Reply" in that Showthread so I don't have to go back to the forum to click "New Thread".

mindfrost82
10-16-2005, 04:33 AM
Have you been able to do this? I'm interested in the same thing.

peterska2
10-16-2005, 11:10 PM
<a href="newthread.php?$session[sessionurl]do=newthread&amp;f=$foruminfo[forumid]" rel="nofollow"><img src="$stylevar[imgdir_button]/newthread.gif" alt="$vbphrase[post_new_thread]" border="0" /></a>

Add this in your SHOWTHREAD template either before or after (depends which way round you want them to show)


<if condition="$show['largereplybutton']">
<td class="smallfont"><a href="newreply.php?$session[sessionurl]do=newreply&amp;noquote=1&amp;p=$FIRSTPOSTID"><if condition="$show['closethread']"><img src="$stylevar[imgdir_button]/reply.gif" alt="$vbphrase[reply]" border="0" /><else /><img src="$stylevar[imgdir_button]/threadclosed.gif" alt="$vbphrase[closed_thread]" border="0" /></if></a></td>
<else />
<td class="smallfont">&nbsp;</td>
</if>