Hmm, we ned some way so display names can have line breaks before a space for things like this. I have a few users who like long display names too.
http://www.simplemachines.org/community/index.php?threadid=1624
How would you suggest this be changed?
-[Unknown]
Well you could check it whenever it is set but I think this is something the admin or moderators can deal with by simply telling the person to change their display name.
Would it be worth having a function that checks new display names? Basically you would count how many characters in the string and if its more than say 25 it throws an error. If its more than say, 16 it counts back from the 16th position and the first white space it finds it replaces with a line break. This or something similar to this may work?
IMHO, it's not worth the trouble.
-[Unknown]
Please post this in the Feature Requests (http://www.simplemachines.org/community/index.php?board=3) board if you want it to be considered... it's not really a bug.
Thank you,
-[Unknown]
maybe wrapping the display name with this where it's stretching your layout?
http://www.php.net/manual/en/function.wordwrap.php
That is probably the most worthless function PHP has. Trust me, it won't do the job properly...
-[Unknown]
Why won't that work, it looks just like what is needed. Have a long string, insert a br after X characters.
That function causes nothing but trouble when working with html, accented characters, and the like.
-[Unknown]