Print Page | Close Window

Problem with Quotes

Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Forums
Forum Description: Support forum for Web Wiz Forums application.
URL: https://forums.webwiz.net/forum_posts.asp?TID=18998
Printed Date: 08 April 2026 at 5:09pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Problem with Quotes
Posted By: JasonSGN
Subject: Problem with Quotes
Date Posted: 28 March 2006 at 1:07am
I noticed a problem when quoting two quotes. The third unquoted response shows up in the quote.
 
Here's what I mean:
 
Test Post 1 was a post that was quoted by Post Test 2. Test Post 1 and Test Post 2 were both quoted in the response Test Post 3, yet Test Post 3 shows up in the quoted box. I hope I'm explaining this clearly.
 
Originally posted by Jason Jason wrote:

Originally posted by Jason Jason wrote:

Test Post 1
 
Test Post 2
 
Test Post 3



Replies:
Posted By: WebWiz-Bruce
Date Posted: 28 March 2006 at 11:09am
I shall look into this issue, but I don't hold much hope at the moment as crappy old IE creates a real problem with it's shocking and changing code that makes it very difficult to filter quotes properly.

Hopefully one day everyone will see the light and realise that IE is probably the worst browser you can get and change to one of the many better browsers, like Firefox, Mozilla, Opera, Safari, etc.

This would make life for web developers so much easier.


Posted By: JasonSGN
Date Posted: 28 March 2006 at 1:05pm
It displays the same way in Firefox.


Posted By: WebWiz-Bruce
Date Posted: 28 March 2006 at 1:12pm
It's the code in the actual post not the browser rendering.

IE's RTE produces some of the wrost code imaginable and trying to filter that code is a real headache.


Posted By: javi712
Date Posted: 28 March 2006 at 1:46pm
This is the exact same thing that is hapenning on my site also. I'm able to tell apart the posts and who posted them because i've seen the formatting issues... but my members are completely lost and don't know who posted what when there are nested quotes.


Posted By: WebWiz-Bruce
Date Posted: 28 March 2006 at 2:04pm
Best advise I can give you till some way is found to sort out IE or kill it off completely is to tell your users to use better browsers like Firefox.

The way things are going I may look at disabling the RTE altogether for IE users this way it would clear up allot of issues.


Posted By: javi712
Date Posted: 28 March 2006 at 3:20pm
Hi Borg,

The problem is that it displays the exact same way in Firefox also, so letting my users know to use Firefox instead of IE doesn't alleviate the problem.


Posted By: WebWiz-Bruce
Date Posted: 28 March 2006 at 4:17pm
You are getting the wrong end of the stick so please read the posts a bit slower.

The problem is NOT when the page is rendered in a browser, the problem occurs when the post is created.

If the post is written using Firefox then the HTML code that Firefox creates for the post is very nicely done and sticks to the w3 standards.

When you write a post in IE using the WYSIWYG RTE editor the HTML IE produces is shocking. This then courses issues when the post is filtered thus coursing issues with the formatting of items like quotes.

To put it in simple terms, if the post with quotes is created in Firefox you don't get the problem, write the post in IE you do.


Posted By: javi712
Date Posted: 28 March 2006 at 4:48pm
Ahhh, now I see what you mean. I did a test and it does come out fine with firefox.

Question:

IE is the most popular browser out there... its still at 85.5% mark worldwide (weather we like it or not). Knowing this, why would you code things in a way that will not look or function correctly on the most popular browser used?

Now I'm a Firefox guy myself (I can't stand IE) so I'm with you on coding in a way to make it look good in firefox, but that just seems a bit radical no?


Posted By: WebWiz-Bruce
Date Posted: 28 March 2006 at 4:57pm
If you look at the latest stats IE is way below 85% of the market share, somewhere more around 60% now:-

http://www.w3schools.com/browsers/browsers_stats.asp

I do still write the code to work in IE, but to be honest it is such a bad browser I often spend more time trying to get round the bugs in IE than I do writing the code in the first place. With the RTE I probably lost months in time getting around IE's bugs.

IE is promising to sort out allot of these issues with IE7, although from running the beta version I find it more buggy and worse than before.

I do try and find solutions to these types of bugs in IE and find work around for them, but to be honest it drives me mad and the amount of time I spend on this is ridiculous.

I am looking into the issue, but as I have already spent the best part of around 20 hours on trying to get the quote blocks to work correctly in IE I'm still happy at the moment it works at all.

Dropping the single line spacing in IE would help allot and after spending 3 days on sorting out the quote blocks when posting in IE about a month ago I did almost resort to doing this, but decided people liked the single line spacing to much now to drop it.

However, because the quote blocks are produced by filtering the post on the fly, when I do find a solution it should sortout the issue with the present posts.


Posted By: javi712
Date Posted: 28 March 2006 at 5:25pm
cool! I didn't mean in any way to tell you to find a solution now. I know you are busy and we all appreciate all your hard work.

I was just wondering if you were leaning towards firefox or IE or both when coding.

Thanks for the explanation!


Posted By: WebWiz-Bruce
Date Posted: 28 March 2006 at 5:33pm
I've always coded for both but after seeing how appalling IE7 is I really can't see people wanting to use it, and it's nailed the lid in the coffin for me as far as IE is concerned.

Only time will tell if more people will change and move away from IE when IE7 is released (I'm hoping they will).

Most people I find who still use IE only do so because they didn't know you can use an alternative.

For the time being I'm coding not just for Firefox, but IE, Opera, and Safari, as these are the 3 most popular browsers, oh and Netscape, but that just uses the Firefox and IE engines anyway.


Posted By: JasonPEC
Date Posted: 28 March 2006 at 8:14pm
I tried it with Firefox and it worked fine. Thanks for the info.


Posted By: donstar
Date Posted: 08 June 2006 at 11:42pm
Originally posted by JasonSGN JasonSGN wrote:

I noticed a problem when quoting two quotes. The third unquoted response shows up in the quote.
 
Here's what I mean:
 
Test Post 1 was a post that was quoted by Post Test 2. Test Post 1 and Test Post 2 were both quoted in the response Test Post 3, yet Test Post 3 shows up in the quoted box. I hope I'm explaining this clearly.
 
Originally posted by Jason Jason wrote:

Originally posted by Jason Jason wrote:

Test Post 1
 
Test Post 2
 
Test Post 3
 
Not sure if this relevant or not, but I noticied if I put a line break after each ] in the quoted post it displays correctly using IE6


-------------
I still miss my ex, but my aim's much better now.


Posted By: bims
Date Posted: 14 June 2006 at 4:49pm
Sorry, i'm having the same issue. Is there a workaround? The solution above doesn't seem to work for me..


Posted By: WebWiz-Bruce
Date Posted: 14 June 2006 at 7:19pm
The solution is to remove the code that forces IE to only move by 1 line when you hit the 'Enter' key.

If you remove the code that does this it will fix the problem, but you will be left with IE's double line spacing when you hit the 'Enter' button when using it's RTE API, which is used for the WYSIWYG Editor.


-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: bims
Date Posted: 14 June 2006 at 11:06pm

OK, where can i make this change? Would like to give it a go...



Posted By: WebWiz-Bruce
Date Posted: 15 June 2006 at 8:20am
It's not quite as simple as that as quite a number of ASP functions and Javascript functions would need to re-written to remove this feature.

You would need to start with the RTE_javascript.asp file and then also change the quote formatting functions in functions/functions_format_post.asp file. There may also be some other files that require changing.


-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: Ali Bilgrami
Date Posted: 03 July 2006 at 2:11pm

hi

i was having the same problem and thought of giving the default_style.css a try and here is what i found.
 
This is the Original CSS code for Quotes

/* BBcode blocks */
.BBquote{
 border: 1px dotted #999999;
 background-color: #FFFFFF;
 width: 97%;
 padding: 5px;
 margin: 8px 0px;
 text-align: left;
 overflow: auto;
 display: block;
 padding: 5px;
}
 
Noticed the line in red? I did too so what I did is "handle each side seperatly". Replaced the above with this one below, and viola.
 

.BBquote{
 border: 1px;
 border-color: #006600;
 background-color: #FEFDF1;
 width: 97%;
 padding: 5px;
 margin: 8px 0px;
 text-align: left;
 overflow: auto;
 display: block;
 padding: 5px;
 border-top-style: solid;
 border-right-style: solid;
 border-bottom-style: solid;
 border-left-style: solid;
 
change the default code with this one in default_style.sys, it is working at my end on both IE and FireFox. I'll be eager to hear from others so that I know if it works a 100% or not.


Posted By: javi712
Date Posted: 06 July 2006 at 2:54pm
Hi Ali,

I tried your method and so far its working on IE... haven't tested in firefox to see if it changed anything, but it seems to be working perfectly for IE now


Posted By: Ali Bilgrami
Date Posted: 06 July 2006 at 4:26pm
Hi Javier
Thanks for the input. And I am sure if it's working with IE it will work on firefox.


Posted By: jeffdaro
Date Posted: 16 August 2006 at 8:14pm
I tried this CSS fix, and it did not fix the problem, at least not for old posts. Are you suggesting you did this and it fixed old and new posts? Or just posts that were placed with quotes AFTER the fix?


Posted By: WebWiz-Bruce
Date Posted: 17 August 2006 at 9:29am
I have spent many hours looking into solutions for this and must say that changing the CSS file will NOT fix this issue as the problem is in the way browsers use DIV blocks and overlapping DIV blocks, which a CSS hack would not fix.

-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: jeffdaro
Date Posted: 19 August 2006 at 7:06pm
boRg, could you share with us a bit more detail on what the problem is exactly and where it is in the code? Maybe with a few of us looking at the code, we could assist you in finding a solution?

From what I've read before, do I understand that you think the problem is in the creation of the post, and not in the final rendering?


Posted By: WebWiz-Bruce
Date Posted: 19 August 2006 at 7:42pm
The problem is that the code block needs to be in a div tag:-

<div class="QuoteBlock"> quote here </div>

The problem is in order for IE to do single line spacing in the RTE IE uses div tags these div tags can overlap into the quote area coursing the problem eg:-

<div>IE line break
<div class="QuoteBlock">
</div>quote here </div>

This then courses the quote block to be rendered incorrectly.

I have tried using various different tags for the quote block from span tags, to even random HTML tags to make the quote block work. The nearest I have got is using table, but then this can course issues of it's own.



-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: jeffdaro
Date Posted: 20 August 2006 at 6:06am
What changed between wwf 7.x and 8.x that resulted in the problem? I guess maybe I need to go look at some of the data in my DB and see what the line break fuss is all about. I am not famaliar with that issue. I am confused why it worked in 7 but not 8.


Posted By: WebWiz-Bruce
Date Posted: 20 August 2006 at 8:49am
Version 7 used legacy HTML with many nested tables, meaning that pre XHTML/CSS browsers like Netscape 4 were supported but rendering times were bad, bulky page sizes, and difficult to use skins.

Version 8 has changed and nested tables have gone and the code changed to XHTML and CSS.

This means faster page rendering, more standards compliant, less bandwidth used, and simpler to implement skins.


-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: jeffdaro
Date Posted: 22 August 2006 at 6:08pm
I love the usage of CSS. 


Posted By: SilverGTP
Date Posted: 02 November 2006 at 4:08pm
It's funny how I see a lot of blame placed on IE but the same exact problem appears in Firefox, Opera, or whatever browser I use to view/reply posts.
 
I wrote a function to re-format the quote tags directly from the database and that worked for new replies but not for old ones already in the DB. My function just moved the /quote to be in order, so quotes show in order as individual boxes, not nested ones.
 
The problem is incorrect ordering of /quote tags in the DB - it has nothing at all to do with browsers. I wish it was as simple as IE, then I could just detect IE and serve modified content.
 
I'm thinking about using that function and writing another to update old replies so it finally works...


Posted By: WebWiz-Bruce
Date Posted: 02 November 2006 at 5:09pm
I think you are completely missing the point about what IE injects into the page and how by trying to fix the issue with IE it effects other browsers, it's also not the browser it's viewed in but the browser it's posted in that effetc the problem, please search for more posts on this topic so you have a better idea of what the issue is.

Anyway, none of this matters now as the problem has been fixed for 8.5 when it is released


-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: SilverGTP
Date Posted: 03 November 2006 at 4:48am

I'm aware of where the problem lies - so aware that I fixed it. I wrote a function that formats the quotes correctly on the read post page. The same function could easily format the quotes upon insert as well.

IE, Firefox....whatever, it's just data in the end and can be manipulated in many different ways. I use various RTE controls in ASP and .NET apps and I have yet to experience an IE div tag issue, but I haven't written a forum app either.

Check out the working fix here (all posts are formatted):
http://forums.commercialsihate.com/forum_posts.asp?TID=3724 - http://forums.commercialsihate.com/forum_posts.asp?TID=3724



Posted By: Hannu
Date Posted: 03 November 2006 at 7:25am
That sounds great http://forums.webwiz.net/member_profile.asp?PF=1&FID=18 - -boRg-   Thumbs%20Up
 
So far the forum has worked perfectly for me and you've done a great work with it I think.
 
 



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net