2008-10-25, 02:15 PM
2008-10-25, 03:09 PM
(2008-10-25, 02:15 PM)Mr. Chinn Wrote: [ -> ]We are wanting to add the New Thread button/feature to posts next to the New Reply button/feature. Anyone know how we would do this, thanks
Open your templates, and open "Show Thread Templates". Edit the "showthread_newreply", and change the contents to:
<a href="newreply.php?tid={$tid}"><img src="{$theme['imglangdir']}/newreply.gif" alt="{$lang->post_reply_img}" title="{$lang->post_reply_img}" /></a> <a href="newthread.php?fid={$fid}"><img src="{$theme['imglangdir']}/newthread.gif" alt="{$lang->post_thread}" title="{$lang->post_thread}" /></a>
That will probably work...
2008-10-25, 04:39 PM
had to make a couple of changes to that code but you pushed me in the right direction
Thank you!
Thank you!
2008-10-26, 03:01 AM
You probably want to put it just in the "showthread" template, because if you have a closed thread, it will use the showthread_reply_closed template instead of showthread_reply. So you can either add the code to showthread or showthread_reply_closed. Then it will always be shown