Shoutbox

Name wrapping in HTML log files - Printable Version

-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: Messenger Plus! for Live Messenger (/forumdisplay.php?fid=4)
+---- Forum: WLM Plus! Help (/forumdisplay.php?fid=12)
+----- Thread: Name wrapping in HTML log files (/showthread.php?tid=96965)

Name wrapping in HTML log files by KiwiDude on 02-28-2011 at 09:37 PM

Hi, I've noticed that in the HTML log files that Messenger Plus records, the name is always wrapped after 9 characters.

For example, if I'm chatting with someone named "Mickey Mouse", the log file will look like this:

(07:18 pm) Mickey Mo   Hello there
use

Looking at the HTML code, I can see that there's a <br> tag in the middle of the name.

Could we please have the option for disabling the word wrap in the log files please? If it's optional then only those of us who want it can enable it.

(I don't know how else to make this suggestion to the developers, so I hope they are reading these messages!)

Thanks,
Jeremy


RE: Name wrapping in HTML log files by Arcticwolfx on 02-28-2011 at 10:40 PM

Hi there KiwiDude.

This option is already available in your Messenger Plus! "Preferences & Options!" :)

[Image: plus520chatlogs.jpg]

Un-check (or change the value) of "Truncate contact names longer than (Characters)"

Suggestions are always welcome and should be read by developers as well. Since this feature already exists, your post is in the right forum, however the "MsgPlus! General Talk" forum seems to be designated for suggestions. :)


RE: Name wrapping in HTML log files by Spunky on 03-01-2011 at 05:05 PM

Truncating wouldn't cause word wrapping though would it? Sounds a bit more than just that option tbh


RE: Name wrapping in HTML log files by Apatik on 03-01-2011 at 07:47 PM

It seems to be the opposite, by design the nickname is wrapped when truncation is disabled. Just activate nickname truncation and set the length to whatever you like :)


RE: RE: Name wrapping in HTML log files by KiwiDude on 03-09-2011 at 02:43 PM

quote:
Originally posted by Apatik
It seems to be the opposite, by design the nickname is wrapped when truncation is disabled. Just activate nickname truncation and set the length to whatever you like :)

Apatik got it right: when truncation is disabled, the name gets wrapped. I wonder if this is a bug? It's certainly annoying in any case, and I hope the developers might notice this and either remove the wrapping completely, or at least give us the option to remove it.

For now, I've worked around this by enabling the trunation and setting the truncation limit to 100 characters. :)
RE: Name wrapping in HTML log files by Apatik on 03-09-2011 at 03:43 PM

I think it really depends how you see it, wrapping the nickname when the user did not choose to truncate it allows for displaying the whole nickname without impairing the logs layout/readability too much. If you really want to have 100 chars wide nicknames on the left of your logs, then you can do just what you did, enable truncation at 100 chars :)


RE: RE: Name wrapping in HTML log files by KiwiDude on 03-09-2011 at 03:55 PM

quote:
Originally posted by Apatik
I think it really depends how you see it, wrapping the nickname when the user did not choose to truncate it allows for displaying the whole nickname without impairing the logs layout/readability too much. If you really want to have 100 chars wide nicknames on the left of your logs, then you can do just what you did, enable truncation at 100 chars :)

Perhaps, but we have no control over where the wrapping takes place - ie. after how many characters. And we shouldn't have to enable an unrelated feature (truncation) in order to skip the wrapping. I favour allowing the user to control such settings, not having them hard-wired in. And I rather suspect that's the purpose of Messenger Plus as well - to give extra control to the user over how Messenger works.
RE: Name wrapping in HTML log files by Apatik on 03-09-2011 at 04:37 PM

I was not saying your point does not stand though, maybe we could have a different layout like two radio buttons for either "truncate nicknames" or "wrap nicknames"... That doesn't sound bad actually :)

And if you need to know, for some reason the truncation limit does impact the wrapping as well. IIRC the wrapping is done at something like ( length of the timestamp + truncation limit ) / 2, or something. Don't ask me why it's like that, I have no idea :zippy:

Edit: or maybe it's (length of the timestamp / 2) + truncation limit ... :^)


RE: Name wrapping in HTML log files by KiwiDude on 03-09-2011 at 05:08 PM

Yes, having two radio buttons like that would be a perfect solution! That gets my vote. :)


RE: Name wrapping in HTML log files by CookieRevised on 03-10-2011 at 12:40 AM

quote:
Originally posted by KiwiDude
quote:
Originally posted by Apatik
I was not saying your point does not stand though, maybe we could have a different layout like two radio buttons for either "truncate nicknames" or "wrap nicknames"... That doesn't sound bad actually :)
Yes, having two radio buttons like that would be a perfect solution! That gets my vote. :)
It would only solve something when you also can select after how many characters the wrapping should occur. Otherwise there is no functional difference at all between how it is now (the checkbox). The only difference would be that you would have two lines instead of 1 to do the same thing.
RE: Name wrapping in HTML log files by Apatik on 03-10-2011 at 01:25 AM

But it would be so much more explicit :zippy:

Joke aside, yeah, it would take another edit box to set the wrapping length, and without any dodgy maths going on :-P