Bug in V3 B2 WWF Forum version
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=13885
Printed Date: 12 April 2026 at 6:11am Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com
Topic: Bug in V3 B2 WWF Forum version
Posted By: dj air
Subject: Bug in V3 B2 WWF Forum version
Date 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
|
Replies:
Posted By: WebWiz-Bruce
Date 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.
------------- 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: dj air
Date 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.
|
Posted By: WebWiz-Bruce
Date 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?
------------- 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: Scotty32
Date 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
|
Posted By: dj air
Date 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(">")
|
|
Posted By: WebWiz-Bruce
Date 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.
------------- 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: dj air
Date Posted: 19 February 2005 at 4:26pm
good point forgot them.

will keep on thinking.
|
Posted By: WebWiz-Bruce
Date Posted: 20 February 2005 at 5:38am
Maybe just some sort of pop-up message to the user saying RTE loading
please wait so that there is a delay before people try typing in the
message box would do the trick
------------- 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: Scotty32
Date Posted: 20 February 2005 at 5:47am
ummm first time the page loaded, i couldnt type in the box and when i
tried i got a pop up box that said something like "object not loaded"
then 2nd time it did the "Find" thing again....
so am typing in NotePad and am gunna C&P this over..
anyway wouldnt a popup box be annoying?
and how would the user know its loaded?
you cant use them "Web Dialog" boxs as people might not be acctually typing, they maybe just viewing the posts
maybe you could have a "Quick Reply" on pages that use the non RTE and then have a special page for posts?
i think VBulletin does that
that way you COULD have a pop up box warning the user as it wouldnt get in the way of anything
|
Posted By: theSCIENTIST
Date Posted: 20 February 2005 at 3:10pm
What about creating an IFRAME body and set there the onLoad event?
Or, everytime you want to go RTE, post (form) something to be picked up by header.asp, then in header.asp, dynamically create the body tag accordingly, observe:
<%
If Request.Form("GoingRTE") = "YesPlease" Then
'/* Write here the body with onLoad */
Response.Write("<BODY ...>")
Else
'/* Write here the body for all non RTE pages */
Response.Write("<BODY ...>")
End If
%> |
You just have to make sure you are posting (YesPlease) when you want to go RTE.
This is just theory, no tests were made and no animals were injured.
------------- :: http://www.mylittlehost.com/ - www.mylittlehost.com
|
Posted By: WebWiz-Bruce
Date Posted: 21 February 2005 at 12:13pm
For the web wiz forums version of the RTE I've gone back to the old
method of opening a pre-existing iframe with the onLoad event to
enable the RTE features in the iframe opening tag.
This should hopefully get rid of all these problems that people have had with the RTE in the forum.
I've also made the area that you type the post into bigger, let me know what you think???
------------- 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
|
|