Minor annoyance when editing.

From: harvey1941 2 Nov 2007 19:23
To: Matt 9 of 14
Matt, thank you for the information and for the link to that explanation.
I will give that a try.

Appreciate your response, that was rather quick.

I was trying to link our site into the site registry at the beehive forum but it kept asking for a forum login and I had none. Any idea, would that now be the same as the login I use for this forum. Are they linked?

Thanks again, I truly appreciate your help.
From: Matt 2 Nov 2007 19:27
To: harvey1941 10 of 14
You need to sign up for a user account on the 'Test Forum' on beehiveforum.net, which is separate from here. It's simply to prevent spammers from hitting the page. Same with the Wiki.
From: harvey1941 2 Nov 2007 19:37
To: Matt 11 of 14
Aha, makes sense.  Thanks much.
HH
From: andy 2 Nov 2007 21:34
To: Matt 12 of 14
aha. brilliant. that involves message_split_fiddle doesn't it?
From: Matt 2 Nov 2007 22:10
To: andy 13 of 14

Nope, it turned out it was the MessageText class in post.inc.php.

 

Splitting the signature from the post content resulted in a trailing new-line char being added to the post content which when passed through add_paragraphs() was converted to a <br /> which forced Beehive to use full HTML mode rather than auto-line break mode.

 

Fixed it by simply trim()-ing the content before passing it through add_paragraphs().

From: andy 2 Nov 2007 23:57
To: Matt 14 of 14
niice. i bet i'd hate my old code so much if i looked at it now - i tend to find fault with code i wrote a week before, nevermind [however many years it's been since i did anything for BH]!