Web Wiz - Green Windows Web Hosting - Celebrating 25 Years!

  New Posts New Posts RSS Feed - Bug in V3 B2 WWF Forum version
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Bug in V3 B2 WWF Forum version

 Post Reply Post Reply Page  12>
Author
dj air View Drop Down
Senior Member
Senior Member
Avatar

Joined: 05 April 2002
Location: United Kingdom
Status: Offline
Points: 3627
Post Options Post Options   Thanks (0) Thanks(0)   Quote dj air Quote  Post ReplyReply Direct Link To This Post Topic: Bug in V3 B2 WWF Forum version
    Posted: 18 February 2005 at 2:07pm
hi -boRg-

theres a bug within the new RTE system

justr a mom ent ago i posted a message and then decided to edit.

and the edit returned no content within my post, even though i posted it.

also the edited by section is moved into te post area at normal size, you can see on the topic below

http://forums.webwiz.net/forum_posts.asp?TID=13848&PN=1

also when posting i tried without any content and it still alowed me to submit the post (edit version not new topic/post).

im using Firefox on XP SP2

i posted here as its a WWF coding Error
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: 19 February 2005 at 5:26am
I've just clicked on about 30 different 'Edit' buttons on verious posts and they all worked fine.

It sounds like Firefox just didn't fire the initilise for the RTE in time as becuase of the header.asp file I couldn't use the body onLoad event to start the RTE, instead I had to place it just after textarea with a delay on it.

Hitting refresh should solve the problem for the moment till I can find a better solution.
Back to Top
dj air View Drop Down
Senior Member
Senior Member
Avatar

Joined: 05 April 2002
Location: United Kingdom
Status: Offline
Points: 3627
Post Options Post Options   Thanks (0) Thanks(0)   Quote dj air Quote  Post ReplyReply Direct Link To This Post Posted: 19 February 2005 at 6:05am
ok -boRg-.. i had to edit another of my posts yesterday and it was ok.. it seems to be as you said.
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: 19 February 2005 at 7:20am
I can still see there being problems with people with slow connections, as for the RTE initialise function to run the external javascript file needs to be loaded first.

Really the initialise command needs to be an onLoad event in the body of the page, so that it is only fired when all elements and external elements for the page have loaded.

The problem is due to the header.asp file in the forum to make customisation simpler, that the body tag for all the pages is kept in this file.

It then makes it difficult to add the onLoad event required for the RTE into the body tag of just those pages that have the RTE as they are all sharing this same header.asp include file with the body tag being within this file.

It then also makes customisation more difficult as it means if someone customises the header.asp file so the forum fits in better with their site, if they forget to place the onLoad event into the body tag the RTE will fail to load correctly.

Does anyone know of anyway to get around this problem?
Back to Top
Scotty32 View Drop Down
Moderator Group
Moderator Group


Joined: 30 November 2002
Location: Manchester, UK
Status: Offline
Points: 1682
Post Options Post Options   Thanks (0) Thanks(0)   Quote Scotty32 Quote  Post ReplyReply Direct Link To This Post Posted: 19 February 2005 at 9:28am
not sure if this is to do with what you was talking about or not but...

just now i was about to post a suggestion

and as i use FireFox, when i typed it put wot i typed in the text box as normal, and also in the "Find" box, maybe i just clicked this box to fast to type, before it had loaded so firefox was confused and thought i wanted to 'find' a word
Back to Top
dj air View Drop Down
Senior Member
Senior Member
Avatar

Joined: 05 April 2002
Location: United Kingdom
Status: Offline
Points: 3627
Post Options Post Options   Thanks (0) Thanks(0)   Quote dj air Quote  Post ReplyReply Direct Link To This Post Posted: 19 February 2005 at 2:45pm
-boRg- what about using a veriable .

have

if blnRTEActive = True then response.write ("onload='run RTE javascript'")

and on the pages that hold the RTE have the veriable set at the top of the page before the is written/header.asp. that way you can add it to the pages. that require it?

i mean use something like


response.write ("<body ")
if blnRTEActive = True then response.write (" onload='run RTE javascript'")

response.write(">")







Edited by dj air - 19 February 2005 at 2:47pm
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: 19 February 2005 at 4:10pm
It's a bit more complex than that deciding if the RTE will appear in the page and sometimes can only been done after all the other code is loaded, like the reply box on this page.
Back to Top
dj air View Drop Down
Senior Member
Senior Member
Avatar

Joined: 05 April 2002
Location: United Kingdom
Status: Offline
Points: 3627
Post Options Post Options   Thanks (0) Thanks(0)   Quote dj air Quote  Post ReplyReply Direct Link To This Post Posted: 19 February 2005 at 4:26pm
good point forgot them.

Embarrassed

will keep on thinking.
Back to Top
 Post Reply Post Reply Page  12>

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.