Author |
Topic |
suhern
Junior Member
186 Posts |
|
Tmpj
Junior Member
Denmark
467 Posts |
Posted - 03 November 2002 : 14:34:08
|
Hey Very Nice!!! Looks like we found a good RTE MOD! |
|
|
Jeepaholic
Average Member
USA
697 Posts |
|
gibbedhead
Starting Member
USA
4 Posts |
Posted - 03 November 2002 : 16:52:22
|
I've been looking for a while and I can tell you that I'be never found a Netscape RTE. Netscapes poor handling of the standards they developed could be the cause of this, that and developers don't like performing mental acrobatics with a crap product to produce result they are not being paid to produce (i.e. It's no FUN programming for netscrap bowsers... bark bark... what a dog). |
|
|
David K
Junior Member
494 Posts |
Posted - 03 November 2002 : 18:14:06
|
Money makes progrramers program better, that's depressing |
|
|
terryp
Junior Member
United Kingdom
174 Posts |
Posted - 03 November 2002 : 19:58:33
|
I've tried this tonight and am having a problem. When I go into the rte option I get an error message telling me include file inc_callout_asp can't be found??? Well it won't find it cos it isn't there, lolol Any ideas anyone please? |
|
|
|
Nathan
Help Moderator
USA
7664 Posts |
Posted - 04 November 2002 : 02:29:43
|
IE is the only browser with RTE capabilities . . . the next Opera may have it. |
Nathan Bales CoreBoard | Active Users Download |
|
|
terryp
Junior Member
United Kingdom
174 Posts |
Posted - 04 November 2002 : 06:45:55
|
Is ok, I know why it isn't working...don't have serverhackers full modded on. |
|
|
|
suhern
Junior Member
186 Posts |
Posted - 04 November 2002 : 08:05:13
|
quote: Originally posted by terryp
I've tried this tonight and am having a problem. When I go into the rte option I get an error message telling me include file inc_callout_asp can't be found??? Well it won't find it cos it isn't there, lolol Any ideas anyone please?
You just need to delete the include file from postrte.asp. In fact you can also/should delete the inc_post_button file also. |
|
|
terryp
Junior Member
United Kingdom
174 Posts |
Posted - 04 November 2002 : 09:02:44
|
I did that suhern and it still wasn't happy, so I'm in the process of trying to put serverhackers modded version on then I'll go back and try the rte again. |
|
|
|
suhern
Junior Member
186 Posts |
Posted - 04 November 2002 : 09:24:46
|
quote: Originally posted by terryp
I did that suhern and it still wasn't happy, so I'm in the process of trying to put serverhackers modded version on then I'll go back and try the rte again.
Actually there is no need to have SH forum.
1. make a copy of your current post.asp and rename it as postrte.asp
2. put this code at the begining of postrte.asp
<!-- ---------------------------------------------------------------------- -->
<!-- START : EDITOR HEADER - INCLUDE THIS IN ANY FILES USING EDITOR -->
<script language="Javascript1.2" src="../htmlarea/editor.js"></script>
<script>
// set this to the URL of editor direcory (with trailing forward slash)
// NOTE: _editor_url MUST be on the same domain as this page or the popups
// won't work (due to IE cross frame/cross window security restrictions).
// example: http://www.hostname.com/editor/
_editor_url = "../htmlarea/";
</script>
<style type="text/css"><!--
.btn { BORDER-WIDTH: 1; width: 26px; height: 24px; }
.btnDN { BORDER-WIDTH: 1; width: 26px; height: 24px; BORDER-STYLE: inset; BACKGROUND-COLOR: buttonhighlight; }
.btnNA { BORDER-WIDTH: 1; width: 26px; height: 24px; filter: alpha(opacity=25); }
--></style>
<!-- END : EDITOR HEADER -->
<!-- ---------------------------------------------------------------------- -->
3. Look for this code in postrte.asp
" <td bgColor=""" & strPopUpTableColor & """><textarea cols=""" & intCols & """ name=""Message"" rows=""" & intRows & """ wrap=""VIRTUAL"" onselect=""storeCaret(this);"" onclick=""storeCaret(this);"" onkeyup=""storeCaret(this);"" onchange=""storeCaret(this);"">" & Trim(CleanCode(TxtMsg)) & "</textarea><br /></td>" & vbNewLine
Insert the following code immediately after it:
if mLev > 2 then
%>
<script language="javascript1.2">
editor_generate('Message'); // field, width, height
</script>
<%
end if
It should look something like this:
Response.Write " </font></td>" & vbNewLine & _
" </tr>" & vbNewLine & _
" </table>" & vbNewLine & _
" </font></td>" & vbNewLine & _
" <td bgColor=""" & strPopUpTableColor & """><textarea cols=""" & intCols & """ name=""Message"" rows=""" & intRows & """ wrap=""VIRTUAL"" onselect=""storeCaret(this);"" onclick=""storeCaret(this);"" onkeyup=""storeCaret(this);"" onchange=""storeCaret(this);"">" & Trim(CleanCode(TxtMsg)) & "</textarea><br /></td>" & vbNewLine
if mLev > 2 then
%>
<script language="javascript1.2">
editor_generate('Message'); // field, width, height
</script>
<%
end if
Response.Write " </tr>" & vbNewLine
4. Update the topic.asp and forum.asp as in the zip - look for rte mod to make the changes |
|
|
terryp
Junior Member
United Kingdom
174 Posts |
Posted - 04 November 2002 : 17:51:55
|
Am going to give it a go now...thank you suhern. |
|
|
|
terryp
Junior Member
United Kingdom
174 Posts |
Posted - 04 November 2002 : 18:19:30
|
Am getting this : Microsoft VBScript compilation error '800a0401'
Expected end of statement
/forum/postrte.asp, line 846
Insert the following code immediately after it: -------^
Course I'm a dummy but I'm sure I've done as you've suggested. |
|
|
|
suhern
Junior Member
186 Posts |
Posted - 04 November 2002 : 19:41:06
|
quote: Originally posted by terryp
Am getting this : Microsoft VBScript compilation error '800a0401'
Expected end of statement
/forum/postrte.asp, line 846
Insert the following code immediately after it: -------^
Course I'm a dummy but I'm sure I've done as you've suggested.
Could you post the few lines before and after line 846 please |
|
|
terryp
Junior Member
United Kingdom
174 Posts |
Posted - 04 November 2002 : 19:48:40
|
This is it : Response.Write " </font></td>" & vbNewLine & _ " </tr>" & vbNewLine & _ " </table>" & vbNewLine & _ " </font></td>" & vbNewLine & _ " <td bgColor=""" & strPopUpTableColor & """><textarea cols=""" & intCols & """ name=""Message"" rows=""" & intRows & """ wrap=""VIRTUAL"" onselect=""storeCaret(this);"" onclick=""storeCaret(this);"" onkeyup=""storeCaret(this);"" onchange=""storeCaret(this);"">" & Trim(CleanCode(TxtMsg)) & "</textarea><br /></td>" & vbNewLine & _ Insert the following code immediately after it:
if mLev > 2 then %> <script language="javascript1.2"> editor_generate('Message'); // field, width, height </script> <% end if
Hope it helps some. |
|
|
|
suhern
Junior Member
186 Posts |
Posted - 04 November 2002 : 21:45:16
|
quote: Originally posted by terryp
This is it : Response.Write " </font></td>" & vbNewLine & _ " </tr>" & vbNewLine & _ " </table>" & vbNewLine & _ " </font></td>" & vbNewLine & _ " <td bgColor=""" & strPopUpTableColor & """><textarea cols=""" & intCols & """ name=""Message"" rows=""" & intRows & """ wrap=""VIRTUAL"" onselect=""storeCaret(this);"" onclick=""storeCaret(this);"" onkeyup=""storeCaret(this);"" onchange=""storeCaret(this);"">" & Trim(CleanCode(TxtMsg)) & "</textarea><br /></td>" & vbNewLine & _ Insert the following code immediately after it:
if mLev > 2 then %> <script language="javascript1.2"> editor_generate('Message'); // field, width, height </script> <% end if
Hope it helps some.
Remove those in red above |
|
|
Topic |
|