MyBB Community Forums

Full Version: mysupport code placement wrong
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

MikeInToshx

Hey guys,

I recently installed mysupport, but im afraid I added some code in the wrong place, or well close to the correct place.. idk.

How do I fix this:
[attachment=30919]

Note that this is only visible for admins. For users it's like this:
[attachment=30920]
In showthread template find:

<div class="float_left">
		{$multipage}{$mysupport_jumpto_bestanswer}{$mysupport_form}
	</div>

And replace with this:
<div class="float_left">
		{$multipage}
<div>
{$mysupport_jumpto_bestanswer}{$mysupport_form}
	</div></div>

Back up your template first!!!

MikeInToshx

Hi,

Didn't help. Made it worse.
The problem is {$multipage} was originally designed to be displayed on the left side but your shows on the right? I suggest you to align new reply button to the right and the multipage to the left then add margin-top:5px;


<div class="float_right">
        {$multipage}
<div>
<div class="float_right" style="margin-top: 5px;">
{$mysupport_jumpto_bestanswer}{$mysupport_form}
    </div>

MikeInToshx

Tried the code but that was messy.

I got it figured out, made the code look lik this and now it aligns perfectly above it:

<div class="float_right">{$mysupport_jumpto_bestanswer}{$mysupport_form}</div> <br /> <br />
<div class="float_right">{$multipage}</div>

[attachment=30921]

Cheers.
messy????? <br /> tag is not cool at all because as you can see it also moved down your replay button Smile you should use CSS Margin to have everything nicely aligned Wink

<div class="float_right">{$mysupport_jumpto_bestanswer}{$mysupport_form}</div>
<div style="margin-top: 5px;" class="float_right">{$multipage}</div>

MikeInToshx

Well adding margin doesn't work. It still overlaps eachother. Using a break just makes it align perfectly under eachother.
Well, it can be done. Send me a test admin account with priviledges to templates & will fix it.

However its useless, since only admin's see it Big Grin

MikeInToshx

Its fine as it is. I don't mind breaktags in my code if it fixes something.
Yeh only admins can see it but still I need to look at it every day lol.
Thanks though.