MyBB Community Forums

Full Version: Swithcing buttons?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Hi there.
One of my members that use phpBB suggested this.
In the topic view, can I switch the positions of "Post Reply" and "Post Thread" buttons?
I tried to look, but point me in the write direction please ^^

Thanks,
- Poomie
Anybody?

- Poomie
You mean switch it so "New Reply" is on the right instead of the left?

You can do it in the Admin CP under the Template management section.

Expand your template set, expand "Show Thread Templates" (the group) and click on Edit/Change Original for "showthread". In it find:
{$newreply}{$newthread}

Replace it with:
{$newthread}{$newreply}
Knew it had to be something simple Smile
I just didn't know where to look for those snippets Wink

- Poomie
But now how would I move them over to the left (both of them)?
By aligning them to the left?

- Poomie
By floating them left.
How'd I manage that then?
Never "floated" something before Toungue

- Poomie
Quote:<div style="float: right; padding-bottom: 4px;">
{$newreply}{$newthread}
</div>
Over the line chris told you, you have the style of the div, just change right to left.
In Admin CP >  Templates > Modify / Delete > Expand > Show thread templates > showthread template

find
<div style="float: right; padding-bottom: 4px;">
	{$newreply}{$newthread}
</div>

replace with
<div style="float: left; padding-bottom: 4px;">
	{$newreply}{$newthread}
</div>


You might also want to do the same for the threads list to float the New thread button from the right to the left.. for that reason go to Admin CP > Templates > Modify / Delete > Expand > Forum Display Templates > forumdisplay_threadlist

find
<div class="float_right" style="padding-bottom: 4px;">
	{$newthread}
</div>

replace with

 <div class="float_left" style="padding-bottom: 4px;">
	{$newthread}
</div>
And what about moving the New Thread button over to the left in the forum view?
What file to edit?

- Poomie
Pages: 1 2