Forum option to hide custom titles

Moderator: GZDoom Developers

Post Reply
User avatar
Nash
 
 
Posts: 17439
Joined: Mon Oct 27, 2003 12:07 am
Location: Kuala Lumpur, Malaysia
Contact:

Forum option to hide custom titles

Post by Nash »

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.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49066
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: Forum option to hide custom titles

Post by Graf Zahl »

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?)
User avatar
Nash
 
 
Posts: 17439
Joined: Mon Oct 27, 2003 12:07 am
Location: Kuala Lumpur, Malaysia
Contact:

Re: Forum option to hide custom titles

Post by Nash »

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?)
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.
User avatar
Rachael
Posts: 13542
Joined: Tue Jan 13, 2004 1:31 pm
Preferred Pronouns: She/Her
Contact:

Re: Forum option to hide custom titles

Post by Rachael »

What browser are you using that it actually breaks things? To me they just bleed right off the edge of the screen harmlessly.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49066
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: Forum option to hide custom titles

Post by Graf Zahl »

Avatar on the left side, maybe?
User avatar
Rachael
Posts: 13542
Joined: Tue Jan 13, 2004 1:31 pm
Preferred Pronouns: She/Her
Contact:

Re: Forum option to hide custom titles

Post by Rachael »

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.
User avatar
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

Post by phantombeta »

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)
Last edited by phantombeta on Tue Dec 12, 2017 9:14 am, edited 1 time in total.
User avatar
Rachael
Posts: 13542
Joined: Tue Jan 13, 2004 1:31 pm
Preferred Pronouns: She/Her
Contact:

Re: Forum option to hide custom titles

Post by Rachael »

Give me the proper CSS code and I'll do it. You can use an addon like Stylish / (Firefox) to test it.
User avatar
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

Post by phantombeta »

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:

Code: Select all

.custitle {
    word-wrap: break-word;
}
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".
User avatar
Rachael
Posts: 13542
Joined: Tue Jan 13, 2004 1:31 pm
Preferred Pronouns: She/Her
Contact:

Re: Forum option to hide custom titles

Post by Rachael »

It is done. Clear your cache to see the results.
User avatar
Xaser
 
 
Posts: 10772
Joined: Sun Jul 20, 2003 12:15 pm
Contact:

Re: Forum option to hide custom titles

Post by Xaser »

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. ;]
Post Reply

Return to “Closed Feature Suggestions [GZDoom]”