Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Problem with Quotes
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Problem with Quotes

 Post Reply Post Reply Page  <1 234
Author
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post 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.



Edited by -boRg- - 19 August 2006 at 7:43pm
Back to Top
jeffdaro View Drop Down
Groupie
Groupie


Joined: 15 April 2005
Status: Offline
Points: 171
Post Options Post Options   Thanks (0) Thanks(0)   Quote jeffdaro Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
jeffdaro View Drop Down
Groupie
Groupie


Joined: 15 April 2005
Status: Offline
Points: 171
Post Options Post Options   Thanks (0) Thanks(0)   Quote jeffdaro Quote  Post ReplyReply Direct Link To This Post Posted: 22 August 2006 at 6:08pm
I love the usage of CSS. 
Back to Top
SilverGTP View Drop Down
Newbie
Newbie


Joined: 02 November 2006
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote SilverGTP Quote  Post ReplyReply Direct Link To This Post 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...
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
SilverGTP View Drop Down
Newbie
Newbie


Joined: 02 November 2006
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote SilverGTP Quote  Post ReplyReply Direct Link To This Post 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

Back to Top
Hannu View Drop Down
Newbie
Newbie


Joined: 03 November 2006
Location: Sweden
Status: Offline
Points: 1
Post Options Post Options   Thanks (0) Thanks(0)   Quote Hannu Quote  Post ReplyReply Direct Link To This Post Posted: 03 November 2006 at 7:25am
That sounds great -boRg-  Thumbs%20Up
 
So far the forum has worked perfectly for me and you've done a great work with it I think.
 
 
Back to Top
 Post Reply Post Reply Page  <1 234

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.