Forum option to hide custom titles
Moderator: GZDoom Developers
Forum option to hide custom titles
There are users here who're using custom titles that break the forum layout (if it's an overly long one with no spaces) and I'd like the option to just hide custom titles from my view.
- Graf Zahl
- Lead GZDoom+Raze Developer
- Posts: 49067
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: Forum option to hide custom titles
How about just reporting such users to the admins so that they can take some action (e.g. changing the custom title, or if possible, block those users from setting a custom title?)
Re: Forum option to hide custom titles
I haven't reported, but I have (politely) PMed said person on Discord about their custom title a few days ago, with no response. Perhaps they are busy. Perhaps they don't care? If the latter; there's nothing I can do, which was why I made this thread.Graf Zahl wrote:How about just reporting such users to the admins so that they can take some action (e.g. changing the custom title, or if possible, block those users from setting a custom title?)
Re: Forum option to hide custom titles
What browser are you using that it actually breaks things? To me they just bleed right off the edge of the screen harmlessly.
- Graf Zahl
- Lead GZDoom+Raze Developer
- Posts: 49067
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: Forum option to hide custom titles
Avatar on the left side, maybe?
Re: Forum option to hide custom titles
I reduced the maximum characters to 25. I have a feeling I know who Nash is talking about - that's enough to make his title barely smidge things off, rather than utterly destroying things.
- phantombeta
- Posts: 2088
- Joined: Thu May 02, 2013 1:27 am
- Operating System Version (Optional): Windows 10
- Graphics Processor: nVidia with Vulkan support
- Location: Brazil
Re: Forum option to hide custom titles
IMO 25 characters is a bit too restricted. Nash's own title is 58 characters, and even making it just "Nash Muhandes [Audio Engineer]" would still be 30 characters, which is too long for the new limit.
Also, shouldn't it be line-breaking the title so it can't break the forum layout anyway? The location text already seems to do this, so it shouldn't be impossible to change the CSS to do that for titles too.
(And just to make sure it works correctly, I'd say set it to line-break mid-word, so if someone sets their title to "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", it still line-breaks it)
Also, shouldn't it be line-breaking the title so it can't break the forum layout anyway? The location text already seems to do this, so it shouldn't be impossible to change the CSS to do that for titles too.
(And just to make sure it works correctly, I'd say set it to line-break mid-word, so if someone sets their title to "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", it still line-breaks it)
Last edited by phantombeta on Tue Dec 12, 2017 9:14 am, edited 1 time in total.
- phantombeta
- Posts: 2088
- Joined: Thu May 02, 2013 1:27 am
- Operating System Version (Optional): Windows 10
- Graphics Processor: nVidia with Vulkan support
- Location: Brazil
Re: Forum option to hide custom titles
Well, in my browser it seems it already does it for both location and title, so I guess it was just the default word-wrap method...
Here it is:
Took about a few seconds of actual writing, and at most two or three minutes of googling to find the correct keyword that'd work for all browsers.
Alternatively, if that doesn't fully work in Nash's specific case, use "break-all" instead of "break-word".
Here it is:
Code: Select all
.custitle {
word-wrap: break-word;
}
Alternatively, if that doesn't fully work in Nash's specific case, use "break-all" instead of "break-word".
Re: Forum option to hide custom titles
It is done. Clear your cache to see the results.
Re: Forum option to hide custom titles
Whoops, I found this thread a bit too late. Nevertheless, this is indeed the proper fix; kudos @phantombeta!
[silly Discord got me typing @'s when they don't matter. ;]
[silly Discord got me typing @'s when they don't matter. ;]