New Thread next to New reply

kaitrac

New Member
I want to add a New Thread button next to New Reply.

This is very common to most forums these days but i still havent figured out yet on wich template to edit.
 
Here you go, next time try to use the search feature!

Add The New Thread Button

In SHOWTHREAD Template...
Find (Two instances):
Code:
<if condition="$show['largereplybutton']"> <td class="smallfont"><if condition="$show['closethread']">[img]$stylevar[imgdir_button]/reply.gif[/img]<else />[img]$stylevar[imgdir_button]/threadclosed.gif[/img]</if></td> <else />


Replace it with:
Code:
<if condition="$show['largereplybutton']"> <td class="smallfont"> [img]$stylevar[imgdir_button]/newthread.gif[/img]* <if condition="$show['closethread']">[img]$stylevar[imgdir_button]/reply.gif[/img]<else />[img]$stylevar[imgdir_button]/threadclosed.gif[/img]</if></td> <else />

Enjoy
 
That doesn't work for me.

It doesn't show the image.

It shows
 
kaitrac said:
That doesn't work for me.

It doesn't show the image.

It shows

Another suggestion,

find in SHOWTREAD :
Code:
<if condition="$show['largereplybutton']">
		<td class="smallfont"><a href="newreply.php?$session[sessionurl]do=newreply&noquote=1&p=$FIRSTPOSTID" rel="nofollow"><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>

add above it:
Code:
<td class="smallfont"><a href="newthread.php?$session[sessionurl]do=newthread&f=$foruminfo[forumid]" rel="nofollow"><img src="$stylevar[imgdir_button]/newthread.gif" alt="$vbphrase[post_new_thread]" border="0" /></a><else />&nbsp;</td>

credits goes to: pandusetiawan

screenshot:
http://www.vbteam.info/48390-post3.html
 
Back
Top