Pirates@Home logo

Pirates@Home

Berkeley Open Infrastructure
BOINC!
for Network Computing
Home Help Status Forums Glossary Account

Broken formatting of Message 4164

log in

Advanced search

Questions and Answers : Pirates@Home Problems : Broken formatting of Message 4164

Author Message
Profile Pepo
Chief Petty Officer
Volunteer tester
Avatar
Send message
Joined: 13 Sep 04
Slovakia
TeamVision42
Credit: 928.1
RAC: 0.00
Joined: Sep 13, 2004
Verified: Aug 4, 2009
Dubloons: 3
Pieces of Eight: 5
Punishment: Cat o' Nine Tails
Message 4166 - Posted: 30 Nov 2006 | 16:18:36 UTC

Capt'n, my Message 4164 in Pirate Applications : cube 5.05 thread is displayed with broken formatting. When I try to reply to this message, even the preview is not possible. When I copy the original contents into the reply (or try to edit the problem message), the preview is broken the same way.

When posting, the preview and message were OK, I swear as a pirate!
____________
Peter .-)

Profile Ageless
Chief Petty Officer
Volunteer tester
Avatar
Send message
Joined: 20 Jul 04
Netherlands
Machinae Supremacy
Credit: 1,524.1
RAC: 0.00
Joined: Jul 20, 2004
Verified: Jul 9, 2011
Dubloons: 3
Pieces of Eight: 7
Punishment: Walk Plank
Message 4167 - Posted: 30 Nov 2006 | 16:25:40 UTC

Pepo wrote:
PovAddict wrote:
I'm [...] waiting for "some more mature 5.7.x" ;-)

As far as I know, that throttling works horrible. In fact it worked badly on previous 5.7.x version. Ask Kathryn, she tested a broken-throttling client.

I know, I'm reading her notes here-and-there. Therefore I'm waiting for... :-)

So what's wrong with it? ;-)

Do tell though what browser you use.
____________
Jord.

Used to be a single voice that vanished in a crowd. Vague just like a distant sun when hidden by the clouds.
Found a way to surface and to speak my truth aloud. Be powerful. Stand fast and proud

Profile Pepo
Chief Petty Officer
Volunteer tester
Avatar
Send message
Joined: 13 Sep 04
Slovakia
TeamVision42
Credit: 928.1
RAC: 0.00
Joined: Sep 13, 2004
Verified: Aug 4, 2009
Dubloons: 3
Pieces of Eight: 5
Punishment: Cat o' Nine Tails
Message 4171 - Posted: 30 Nov 2006 | 17:05:04 UTC - in response to Message 4167.

Ageless wrote:

So what's wrong with it? ;-)

Do tell though what browser you use.

The new IE7, see the result.

I noticed, during last few hours, something has changed... for instance, between the outer quote box and reply, I think there was automatically some vertical space insterted. Now, as you can see in my screenshot, they overlap. And the spacing between "Someone wrote:" and the box is overly large. As if the quoting box was moved some 5-10 pixels downwards.
____________
Peter .-)

Profile Pepo
Chief Petty Officer
Volunteer tester
Avatar
Send message
Joined: 13 Sep 04
Slovakia
TeamVision42
Credit: 928.1
RAC: 0.00
Joined: Sep 13, 2004
Verified: Aug 4, 2009
Dubloons: 3
Pieces of Eight: 5
Punishment: Cat o' Nine Tails
Message 4172 - Posted: 30 Nov 2006 | 17:23:06 UTC

I started a new instance of IE - the same. Then tried good ol' Netscape 7.2 - it's nearly OK, no overlapping (nearly!), but the vertically moved quote boxes can be seen too. Large gap between "Xxxx wrote:" and missing (at least little) gap between the box and a reply.
No, at some browser font sizes they overlap in Netscape too.

Capt'n, any comment?
____________
Peter .-)

Nicolas
Volunteer tester
Avatar
Send message
Joined: 6 Apr 05
Argentina
The Final Front Ear
Credit: 147.9
RAC: 0.00
Joined: Apr 6, 2005
Verified: NEVER
Message 4173 - Posted: 30 Nov 2006 | 17:30:22 UTC - in response to Message 4171.

Pepo wrote:
Ageless wrote:

So what's wrong with it? ;-)

Do tell though what browser you use.

The new IE7, see the result.

Get Firefox, problem solved *GRIN*

Profile Wormholio
Captain
Avatar
Send message
Joined: 6 Jun 04
United States
Away
Credit: 4,065.6
RAC: 0.00
Joined: Jun 6, 2004
Verified: Mar 13, 2008
Dubloons: 3
Pieces of Eight: 10
Punishment: Aztec curse
Message 4176 - Posted: 30 Nov 2006 | 19:41:15 UTC

Yesterday I adjusted the spacing below the quote boxes in the style sheet, so that it would look right (or at least readable) with or without a blank line after the [/quote]. It looked okay to me on Firefox.

Was it okay on IE7 before that?



____________
-- Eric Myers

"Education is not the filling of a pail, but the lighting of a fire." -- William Butler Yeats

Nicolas
Volunteer tester
Avatar
Send message
Joined: 6 Apr 05
Argentina
The Final Front Ear
Credit: 147.9
RAC: 0.00
Joined: Apr 6, 2005
Verified: NEVER
Message 4177 - Posted: 30 Nov 2006 | 20:44:21 UTC - in response to Message 4176.
Last modified: 30 Nov 2006 | 20:47:17 UTC

Wormholio wrote:
Yesterday I adjusted the spacing below the quote boxes in the style sheet, so that it would look right (or at least readable) with or without a blank line after the [/ quote]. It looked okay to me on Firefox.

As long as it's valid CSS, and designed to look like what the standards say it should look, it should be OK on all browsers. If it's not, it's browser's fault, not yours.

EDIT: oh my gawd, look at this mess. Happened both in preview and in actual post.

EDIT2: added a space to the [/ quote] Wormholio had typed and it kind of solved it...

Profile Wormholio
Captain
Avatar
Send message
Joined: 6 Jun 04
United States
Away
Credit: 4,065.6
RAC: 0.00
Joined: Jun 6, 2004
Verified: Mar 13, 2008
Dubloons: 3
Pieces of Eight: 10
Punishment: Aztec curse
Message 4178 - Posted: 30 Nov 2006 | 22:04:59 UTC - in response to Message 4177.

PovAddict wrote:
As long as it's valid CSS, and designed to look like what the standards say it should look, it should be OK on all browsers. If it's not, it's browser's fault, not yours.


Well, thanks to the validator I found some errors in the CSS, including some stray text at the head of the file. Different browsers will react to errors in different ways, but now it should be valid CSS. How do quotes look now on IE7?

____________
-- Eric Myers

"Education is not the filling of a pail, but the lighting of a fire." -- William Butler Yeats

Profile Pepo
Chief Petty Officer
Volunteer tester
Avatar
Send message
Joined: 13 Sep 04
Slovakia
TeamVision42
Credit: 928.1
RAC: 0.00
Joined: Sep 13, 2004
Verified: Aug 4, 2009
Dubloons: 3
Pieces of Eight: 5
Punishment: Cat o' Nine Tails
Message 4179 - Posted: 30 Nov 2006 | 22:23:42 UTC - in response to Message 4177.

PovAddict wrote:
Wormholio wrote:
Yesterday I adjusted the spacing below the quote boxes in the style sheet, so that it would look right (or at least readable) with or without a blank line after the [/ quote]. It looked okay to me on Firefox.

As long as it's valid CSS, and designed to look like what the standards say it should look, it should be OK on all browsers. If it's not, it's browser's fault, not yours.

CSS, CSS, did you further check the HTML validity? ;-) It fails a bit.
(But I do agree about the browsers.)

EDIT: oh my gawd, look at this mess. Happened both in preview and in actual post.

EDIT2: added a space to the [/ quote] Wormholio had typed and it kind of solved it...

So now maybe you would believe me that indeed, as Marcellus said, "Something is rotten in the state of Denmark". It definitely did not behave like that previously.

BTW, where did you add the space top solve it? I'm not able to find out. ([edit]Later I've got it what you meant, the broken quote.[/edit])) (Anyway, am I (or, as Germans say, "der Otto Normalverbraucher") supposed to find any workarounds to solve such quirks in maybe two simple lines?
____________
Peter .-)

Nicolas
Volunteer tester
Avatar
Send message
Joined: 6 Apr 05
Argentina
The Final Front Ear
Credit: 147.9
RAC: 0.00
Joined: Apr 6, 2005
Verified: NEVER
Message 4180 - Posted: 30 Nov 2006 | 22:32:17 UTC

Forum is broken! forum_forum.php gets an empty page. I guess there are also some PHP errors but they aren't shown because error reporting is off (my guess).

Profile Pepo
Chief Petty Officer
Volunteer tester
Avatar
Send message
Joined: 13 Sep 04
Slovakia
TeamVision42
Credit: 928.1
RAC: 0.00
Joined: Sep 13, 2004
Verified: Aug 4, 2009
Dubloons: 3
Pieces of Eight: 5
Punishment: Cat o' Nine Tails
Message 4181 - Posted: 30 Nov 2006 | 22:40:47 UTC - in response to Message 4178.
Last modified: 30 Nov 2006 | 22:42:11 UTC

Wormholio wrote:
Well, thanks to the validator I found some errors in the CSS, including some stray text at the head of the file. Different browsers will react to errors in different ways, but now it should be valid CSS. How do quotes look now on IE7?

See the attachment, I'd say the same, both in old Mozilla (just OK, as noted here, overlapping at most by 1 pixel) and IE7 (overlapping and stripped last line of many quotes - actually last line of each inner quote in multi-level quotes).

And I still mean that the automatic few-pixel gaps above and below a quote should be vice-versa.
____________
Peter .-)

Profile Pepo
Chief Petty Officer
Volunteer tester
Avatar
Send message
Joined: 13 Sep 04
Slovakia
TeamVision42
Credit: 928.1
RAC: 0.00
Joined: Sep 13, 2004
Verified: Aug 4, 2009
Dubloons: 3
Pieces of Eight: 5
Punishment: Cat o' Nine Tails
Message 4182 - Posted: 30 Nov 2006 | 22:44:03 UTC - in response to Message 4180.

PovAddict wrote:
Forum is broken! forum_forum.php gets an empty page. I guess there are also some PHP errors but they aren't shown because error reporting is off (my guess).


Please, [size=+1]keep PANIC![/size]
____________
Peter .-)

Nicolas
Volunteer tester
Avatar
Send message
Joined: 6 Apr 05
Argentina
The Final Front Ear
Credit: 147.9
RAC: 0.00
Joined: Apr 6, 2005
Verified: NEVER
Message 4183 - Posted: 30 Nov 2006 | 22:49:35 UTC - in response to Message 4182.

Pepo wrote:
PovAddict wrote:
Forum is broken!


Please, [size=+1]keep PANIC![/size]

I will [size=+1]I will![/size]

*panics*

Profile Contact
Volunteer tester
Avatar
Send message
Joined: 29 Aug 04
Canada
BOINC Synergy
Credit: 37,127.0
RAC: 0.00
Joined: Aug 29, 2004
Verified: Nov 10, 2011
Dubloons: 3
Pieces of Eight: 3
Punishment: Misfit
Message 4185 - Posted: 1 Dec 2006 | 2:29:55 UTC - in response to Message 4183.

PovAddict wrote:
Pepo wrote:
PovAddict wrote:
Forum is broken!


Please, [size=+1]keep PANIC![/size]

I will [size=+1]I will![/size]

*panics*


Thanks to Preview feature i can see forum quotes are ok with Firefox and Opera but very recently broken with IE6 and IE7.
____________
have fun

Nicolas
Volunteer tester
Avatar
Send message
Joined: 6 Apr 05
Argentina
The Final Front Ear
Credit: 147.9
RAC: 0.00
Joined: Apr 6, 2005
Verified: NEVER
Message 4186 - Posted: 1 Dec 2006 | 2:44:47 UTC - in response to Message 4180.

PovAddict wrote:
Forum is broken! forum_forum.php gets an empty page.

This seems to be fixed.

Profile Pepo
Chief Petty Officer
Volunteer tester
Avatar
Send message
Joined: 13 Sep 04
Slovakia
TeamVision42
Credit: 928.1
RAC: 0.00
Joined: Sep 13, 2004
Verified: Aug 4, 2009
Dubloons: 3
Pieces of Eight: 5
Punishment: Cat o' Nine Tails
Message 4255 - Posted: 11 Dec 2006 | 0:04:11 UTC

Capt'n, seems like you've got it! The whole forum (especially the main page) and messages looks somehow cleen and tidy to me (did I miss a tidy-up round?) and the nested comments are again rendered correctly on my IE7.
____________
Peter .-)

Profile Wormholio
Captain
Avatar
Send message
Joined: 6 Jun 04
United States
Away
Credit: 4,065.6
RAC: 0.00
Joined: Jun 6, 2004
Verified: Mar 13, 2008
Dubloons: 3
Pieces of Eight: 10
Punishment: Aztec curse
Message 4259 - Posted: 12 Dec 2006 | 13:17:07 UTC - in response to Message 4255.

Pepo wrote:
Capt'n, seems like you've got it! The whole forum (especially the main page) and messages looks somehow cleen and tidy to me (did I miss a tidy-up round?) and the nested comments are again rendered correctly on my IE7.


I did some work on the CSS after your initial posting, and I ran it through the validator. I'm glad to hear it now works with IE7. And I finally broke down and installed IE7 on one of my machines, though I have not yet checked things in detail.

I got my self confused at one point when sorting this thread by date. The question stayed at the top, and I thought there were no new posts. But of course this is the Q&A format, the question is always at the top. So I made a little tweak to change the background color of the question to show that. Maybe it helps, maybe not. Comments?
____________
-- Eric Myers

"Education is not the filling of a pail, but the lighting of a fire." -- William Butler Yeats

Profile Ageless
Chief Petty Officer
Volunteer tester
Avatar
Send message
Joined: 20 Jul 04
Netherlands
Machinae Supremacy
Credit: 1,524.1
RAC: 0.00
Joined: Jul 20, 2004
Verified: Jul 9, 2011
Dubloons: 3
Pieces of Eight: 7
Punishment: Walk Plank
Message 4260 - Posted: 12 Dec 2006 | 13:41:19 UTC

Comments? Um yes... use something else than hard yellow. :)
____________
Jord.

Used to be a single voice that vanished in a crowd. Vague just like a distant sun when hidden by the clouds.
Found a way to surface and to speak my truth aloud. Be powerful. Stand fast and proud

Profile Ageless
Chief Petty Officer
Volunteer tester
Avatar
Send message
Joined: 20 Jul 04
Netherlands
Machinae Supremacy
Credit: 1,524.1
RAC: 0.00
Joined: Jul 20, 2004
Verified: Jul 9, 2011
Dubloons: 3
Pieces of Eight: 7
Punishment: Walk Plank
Message 4261 - Posted: 12 Dec 2006 | 16:20:16 UTC

That's better, Eric. :)

The all new Pirates ice salon, now opened!
Raspberry blue -- $0.50
Banana yello -- $0.55
Pistachio green -- $0.75


____________
Jord.

Used to be a single voice that vanished in a crowd. Vague just like a distant sun when hidden by the clouds.
Found a way to surface and to speak my truth aloud. Be powerful. Stand fast and proud

Profile Ageless
Chief Petty Officer
Volunteer tester
Avatar
Send message
Joined: 20 Jul 04
Netherlands
Machinae Supremacy
Credit: 1,524.1
RAC: 0.00
Joined: Jul 20, 2004
Verified: Jul 9, 2011
Dubloons: 3
Pieces of Eight: 7
Punishment: Walk Plank
Message 4262 - Posted: 12 Dec 2006 | 18:05:51 UTC

colorblind me... blueberry blue. :)

Nicolas
Volunteer tester
Avatar
Send message
Joined: 6 Apr 05
Argentina
The Final Front Ear
Credit: 147.9
RAC: 0.00
Joined: Apr 6, 2005
Verified: NEVER
Message 4263 - Posted: 12 Dec 2006 | 18:41:25 UTC

Question list shows BBcode tags. It should either convert to HTML or remove them.

Profile Wormholio
Captain
Avatar
Send message
Joined: 6 Jun 04
United States
Away
Credit: 4,065.6
RAC: 0.00
Joined: Jun 6, 2004
Verified: Mar 13, 2008
Dubloons: 3
Pieces of Eight: 10
Punishment: Aztec curse
Message 4264 - Posted: 12 Dec 2006 | 19:39:26 UTC - in response to Message 4263.

PovAddict wrote:
Question list shows BBcode tags. It should either convert to HTML or remove them.


I agree, but which is it?

____________
-- Eric Myers

"Education is not the filling of a pail, but the lighting of a fire." -- William Butler Yeats

Profile Pepo
Chief Petty Officer
Volunteer tester
Avatar
Send message
Joined: 13 Sep 04
Slovakia
TeamVision42
Credit: 928.1
RAC: 0.00
Joined: Sep 13, 2004
Verified: Aug 4, 2009
Dubloons: 3
Pieces of Eight: 5
Punishment: Cat o' Nine Tails
Message 4265 - Posted: 12 Dec 2006 | 20:00:15 UTC
Last modified: 12 Dec 2006 | 20:01:23 UTC

Maybe (at least links) to convert them to plain text with attached link in parenthesis?
..... this-is-the-link-text (http://the.link.text/file.html) ....

This (the same) one:
"Capt'n, my [ url=http://pirates.spy-hill.net/forum_thread.php?id=670#4164 ]Message 4164[ /url ] in [ u ]Pirate Applications :..."
____________
Peter .-)

Profile Wormholio
Captain
Avatar
Send message
Joined: 6 Jun 04
United States
Away
Credit: 4,065.6
RAC: 0.00
Joined: Jun 6, 2004
Verified: Mar 13, 2008
Dubloons: 3
Pieces of Eight: 10
Punishment: Aztec curse
Message 4268 - Posted: 13 Dec 2006 | 12:59:32 UTC

The easiest thing to do is to convert to HTML. There is already a function for that.

But the right thing to do is to convert to plain text. In this context, it's just the text which begins the posting. Plain text is fine, and the links or other formatting will be there when the thread is read.
____________
-- Eric Myers

"Education is not the filling of a pail, but the lighting of a fire." -- William Butler Yeats

Nicolas
Volunteer tester
Avatar
Send message
Joined: 6 Apr 05
Argentina
The Final Front Ear
Credit: 147.9
RAC: 0.00
Joined: Apr 6, 2005
Verified: NEVER
Message 4272 - Posted: 13 Dec 2006 | 15:18:12 UTC - in response to Message 4268.
Last modified: 13 Dec 2006 | 15:18:43 UTC

Wormholio wrote:
The easiest thing to do is to convert to HTML. [...] But the right thing to do is to convert to plain text.

And the easiest thing is converting [.*] to nothing. But then things like [...] would go away as well. Another way, probably not efficient, but easy, is converting to HTML and striping HTML tags afterwards; that would keep invalid BBcode tags, remove links etc, and still keep < and > symbols (the function to convert BBcode->HTML converts them to &lt; &gt;).

Profile Wormholio
Captain
Avatar
Send message
Joined: 6 Jun 04
United States
Away
Credit: 4,065.6
RAC: 0.00
Joined: Jun 6, 2004
Verified: Mar 13, 2008
Dubloons: 3
Pieces of Eight: 10
Punishment: Aztec curse
Message 4273 - Posted: 13 Dec 2006 | 18:13:09 UTC - in response to Message 4272.

PovAddict wrote:
Another way, probably not efficient, but easy, is converting to HTML and striping HTML tags afterwards

This turns out to be the easiest to implement. There is already a vestigial strip_tags() to remove HTML from the excerpt. Converting BB code to HTML just before that strips out both.

____________
-- Eric Myers

"Education is not the filling of a pail, but the lighting of a fire." -- William Butler Yeats

Nicolas
Volunteer tester
Avatar
Send message
Joined: 6 Apr 05
Argentina
The Final Front Ear
Credit: 147.9
RAC: 0.00
Joined: Apr 6, 2005
Verified: NEVER
Message 4274 - Posted: 13 Dec 2006 | 19:25:09 UTC - in response to Message 4273.

Wormholio wrote:
There is already a vestigial strip_tags() to remove HTML from the excerpt. Converting BB code to HTML just before that strips out both.

strip_tags is currently not used. I think it was used before to strip all HTML except some tags, before BBcode was used. It's a PHP builtin function.
I think all we have now is a function to convert < to &lt; etc. so HTML can't be inserted (shows as plain text). Afterwards the BBcode to HTML translation is done. We would then do strip_tags for the question list.

Profile Wormholio
Captain
Avatar
Send message
Joined: 6 Jun 04
United States
Away
Credit: 4,065.6
RAC: 0.00
Joined: Jun 6, 2004
Verified: Mar 13, 2008
Dubloons: 3
Pieces of Eight: 10
Punishment: Aztec curse
Message 4275 - Posted: 13 Dec 2006 | 20:37:06 UTC - in response to Message 4274.

PovAddict wrote:
Wormholio wrote:
There is already a vestigial strip_tags() to remove HTML from the excerpt...

strip_tags is currently not used....

I think you misunderstand me. In the code I'm working on there was already a strip_tags(), probably left over from the days before BBcode. So converting from BBcode to HTML and then letting that strip_tags() remove the HTML does the trick. Easy.
____________
-- Eric Myers

"Education is not the filling of a pail, but the lighting of a fire." -- William Butler Yeats

Nicolas
Volunteer tester
Avatar
Send message
Joined: 6 Apr 05
Argentina
The Final Front Ear
Credit: 147.9
RAC: 0.00
Joined: Apr 6, 2005
Verified: NEVER
Message 4276 - Posted: 13 Dec 2006 | 22:25:49 UTC - in response to Message 4275.

Wormholio wrote:
PovAddict wrote:

strip_tags is currently not used....

I think you misunderstand me. In the code I'm working on there was already a strip_tags(), probably left over from the days before BBcode.

Exactly what I said, strip_tags call was left over from days before BBcode, now that we have BBcode, it's not being used. I know tags are not currently being stripped:
<b>test</b>

Post to thread

Questions and Answers : Pirates@Home Problems : Broken formatting of Message 4164

Home Help Status Forums Glossary Account


Return to Pirates@Home main page


Copyright © 2017 Capt. Jack Sparrow