Forum Feedback and Support Post forum feedback and related problems, here.

BUG REPORT: colour is improperly remembered for SIG

Old 08-16-01, 01:17 PM
  #1  
DVD Talk Platinum Edition
Thread Starter
 
Join Date: Sep 1999
Location: Seattle, Washington, America the Beautiful
Posts: 3,767
BUG REPORT: colour is improperly remembered for SIG

When using the html commands to change font colour, the SIG tends to re-use the first changed colour (by mistake) even though the colour is later on changed back to default black.
Startide is offline  
Old 08-17-01, 12:25 AM
  #2  
DVD Talk Platinum Edition
Thread Starter
 
Join Date: Sep 1999
Location: Seattle, Washington, America the Beautiful
Posts: 3,767
F O L L O W U P E X A M P L E

<font color=red>This sentence uses red colour.<font color=black> And now the default colour is changed back to black. However, the SIG will use the red colour for regular text instead of the default black.

Last edited by Startide; 08-17-01 at 12:28 AM.
Startide is offline  
Old 08-17-01, 07:20 AM
  #3  
DVD Talk Reviewer/ Admin
 
Adam Tyner's Avatar
 
Join Date: Sep 1999
Location: Greenville, South Cackalack
Posts: 21,693
Looking at the HTML, it's not a bug -- you're just not closing the first font tag.

I'll do my own test really quickly:

<font color="#ff0000">This is red.</font> <font color="#000000">This is not.</font>
Adam Tyner is online now  
Old 08-17-01, 07:23 AM
  #4  
DVD Talk Reviewer/ Admin
 
Adam Tyner's Avatar
 
Join Date: Sep 1999
Location: Greenville, South Cackalack
Posts: 21,693
Sho' 'nuff. Not a vBulletin bug.

vBulletin automatically closes any post with an open font tag, but it only closes <b>one</b> set.

I'm guessing this is what you typed in:

&lt;font color=red&gt;This sentence uses red colour.&lt;font color=black&gt; And now the default colour is changed back to black. However, the SIG will use the red colour for regular text instead of the default black.
The <i>proper</i> HTML would be as follows:

&lt;font color=red&gt;This sentence uses red colour.&lt;/font&gt;&lt;font color=black&gt; And now the default colour is changed back to black. However, the SIG will use the red colour for regular text instead of the default black.&lt;/font&gt;
The software does a pretty good job at fixing most people's bad HTML, but it can't work miracles.
Adam Tyner is online now  
Old 08-17-01, 05:23 PM
  #5  
Mod Emeritus
 
benedict's Avatar
 
Join Date: Oct 1999
Location: Outside of the U.S.A.
Posts: 10,674
I am curious

<font color=orange>Why should the first font colo(u)r tag be remembered in the sig (as demonstrated above) and not the second?

Isn't one of the features of the software that it is said to close tags left unopened in the body text?</font>
benedict is offline  
Old 08-17-01, 06:13 PM
  #6  
DVD Talk Reviewer/ Admin
 
Adam Tyner's Avatar
 
Join Date: Sep 1999
Location: Greenville, South Cackalack
Posts: 21,693
benedict: As I explained above, vBulletin will close an unclosed font tag. It doesn't close two.

Look at it this way:

Here's the original text.
&lt;font color=red&gt;This sentence uses red colour.&lt;font color=black&gt; And now the default colour is changed back to black. However, the SIG will use the red colour for regular text instead of the default black.
vBulletin sees an unclosed font tag and closes it.
&lt;font color=red&gt;This sentence uses red colour.&lt;font color=black&gt; And now the default colour is changed back to black. However, the SIG will use the red colour for regular text instead of the default black.&lt;/font&gt;
The web browser takes the portion in bold and makes it black, as the HTML code specifies.
&lt;font color=red&gt;This sentence uses red colour.<b>&lt;font color=black&gt; And now the default colour is changed back to black. However, the SIG will use the red colour for regular text instead of the default black.&lt;/font&gt;</b>
The 'font color=black' is now closed, but the 'font color=red' remains open. vBulletin handles mistakes pretty well, but it isn't designed to look for every possible error someone unskilled in HTML can possibly make.
Adam Tyner is online now  
Old 08-18-01, 12:58 AM
  #7  
DVD Talk Platinum Edition
Thread Starter
 
Join Date: Sep 1999
Location: Seattle, Washington, America the Beautiful
Posts: 3,767
<font color=red><font color=blue>an apparantly irate ctyner posted:
vBulletin handles mistakes pretty well, but it isn't designed to look for every possible error someone unskilled in HTML can possibly make.<font color=black>

*wink* I had noticed that not all tags needed to be closed in the prior version. In the prior version, I would sometimes deliberately leave tags open because I knew that the next subsection of the thread being built would fix the problem.

However, not all of my assumptions for this new version of vBulletin did not hold true. Some of the assumptions are still holding though, and I still depend on the idiosyncracies to remain. To me, it is part of the "texture" of a particular web forum.

More interesting would be how many open red font tags like <font color=red>Code <font color=blue><font color=red>Red<font color=black> can remain open at a time.

Another reason why was that I sometimes insert two spaces in a row by using the font tag with something innocuous. Yes, I know you are supposed to have just one space after a period in this forum.

This sentence should be tutti-fruity coloured.
Startide is offline  
Old 08-18-01, 05:34 AM
  #8  
Mod Emeritus
 
benedict's Avatar
 
Join Date: Oct 1999
Location: Outside of the U.S.A.
Posts: 10,674
<b>ctyner</b>, yes, I see/saw what you are/were saying.

Somehow I had it in mind that (some?) browsers would treat a closing font tag as closing <i>all</i> behind it and returning to the default. I'm not sure where I picked up this notion.

Anyway, that was the reason behind my query. (oh, and also so I could do a "curious orange/yellow" visual pun: it was an old scandinavian hippy porn film!).

Thanks for responding.
benedict is offline  

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Thread Tools
Search this Thread

Archive Advertising Cookie Policy Privacy Statement Terms of Service

Copyright 2018 MH Sub I, LLC dba Internet Brands. All rights reserved. Use of this site indicates your consent to the Terms of Use.