MyBB Community Forums

Full Version: New Button?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
How i can add new button on forum?

Picture:

[Image: 11izvwl.jpg]
That is in the ACP > Templates & Styles > Templates > select template > showthread > showthread_newreply template I think.
How i can now add there new button? What code to use?
Just simple HTML, eg:
<a href="whateverlink.html"><img scr="whateverimg.jpg" alt="Whateveralt" /></a>
Image is not showing.

Look at code:

<a href="newthread.php?fid=6"><img scr="{$theme['imglangdir']}/newthread.gif" alt="New Thread" /></a>
It's {$theme['imgdir']}, but if you want to put in a new thread button, just put in {$newthread}.
Its good now. Thanks a lot Wink
What is problem in this code for making one more button:

<a href="newthread.php?fid={$tid}"><img src="images/orange14/english/newthread.gif" alt="Post Thread" title="Post Thread" /></a>

when i click on that button it says me:

Invalid forum
Because the $tid is not the $fid. And if you're adding a new thread button to the location in your first post you can use {$newthread} as I said above...
Thanks friend Big Grin