MyBB Community Forums

Full Version: stretching post (username/custom title)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Greetings,

Reference: link

Member Cromenon's user title would have stretched the post, but I fixed it. It's about the near last post. I've fixed it by changing the width of the author's details.

Though, where can I make usernames/custom titles being put on 2 lines to avoid stretching?

Cheers for any help,
-MV
I don't think you can split the username, you'll have to make the column wider.
Mybb 1.2 had a function that put complete words on a second line if they were too long together. So basically, it wouldn't cut at it irregularly, but whole words. Like Word when you reach the end of the sentence, you start on a new line eventually.
But what if someone's username was 'IHaveAReallyLongUsername'?? If you want it to split after a whole word, and it doesn't do it automatically, I guess it'll need a plugin. I'm not really sure if there is a setting for it now, I've never seen it before.
Hehe luckily that hasn't happened yet.

Maybe I'll set the font a bit smaller. That'll help a bit. (it's not like I want half the size of the author box right now... pretty much back to what it originally was).

Cheers,
-MV
Sorry for double post. I've found the answer to my own question. So for people using search, and find this topic, do this:

Go to Admin CP -> Templates -> Default Templates -> Postbit Templates -> postbit_classic and find this code:

		<td class="{$altbg}" width="15%" valign="top" style="[color=#FF4500]whitespace: nowrap; [/color]text-align: left;"><a name="pid{$post['pid']}" id="pid{$post['pid']}"></a>

And remove the coloured bit.

Cheers,
-MV