Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/Code)
 Rich Text Editor
 New Topic  Topic Locked
 Printer Friendly
Next Page
Author Previous Topic Topic Next Topic
Page: of 3

suhern
Junior Member

186 Posts

Posted - 03 November 2002 :  03:07:27  Show Profile
Check out this mod. It may be useful for some. You will need the "html on for admin" mod.

http://www.serverhacker.com/forum/topic.asp?TOPIC_ID=707

Tmpj
Junior Member

Denmark
467 Posts

Posted - 03 November 2002 :  14:34:08  Show Profile
Hey Very Nice!!! Looks like we found a good RTE MOD!
Go to Top of Page

Jeepaholic
Average Member

USA
697 Posts

Posted - 03 November 2002 :  16:08:11  Show Profile  Visit Jeepaholic's Homepage
Out of curiosity, are there ANY RTE's out there that also work with Netscape? Every one I've checked out says IE only. Not that I care much for NS, but some of my members are users.

Al Bsharah
Aholics.com

Jeepaholics Anonymous
Broncoholics Anonymous
Network Insight
Go to Top of Page

gibbedhead
Starting Member

USA
4 Posts

Posted - 03 November 2002 :  16:52:22  Show Profile  Visit gibbedhead's Homepage
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).
Go to Top of Page

David K
Junior Member

494 Posts

Posted - 03 November 2002 :  18:14:06  Show Profile  Send David K an AOL message  Send David K an ICQ Message  Send David K a Yahoo! Message
Money makes progrramers program better, that's depressing
Go to Top of Page

terryp
Junior Member

United Kingdom
174 Posts

Posted - 03 November 2002 :  19:58:33  Show Profile  Visit terryp's Homepage
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?

Go to Top of Page

Nathan
Help Moderator

USA
7664 Posts

Posted - 04 November 2002 :  02:29:43  Show Profile  Visit Nathan's Homepage
IE is the only browser with RTE capabilities . . . the next Opera may have it.

Nathan Bales
CoreBoard | Active Users Download
Go to Top of Page

terryp
Junior Member

United Kingdom
174 Posts

Posted - 04 November 2002 :  06:45:55  Show Profile  Visit terryp's Homepage
Is ok, I know why it isn't working...don't have serverhackers full modded on.

Go to Top of Page

suhern
Junior Member

186 Posts

Posted - 04 November 2002 :  08:05:13  Show Profile
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.
Go to Top of Page

terryp
Junior Member

United Kingdom
174 Posts

Posted - 04 November 2002 :  09:02:44  Show Profile  Visit terryp's Homepage
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.

Go to Top of Page

suhern
Junior Member

186 Posts

Posted - 04 November 2002 :  09:24:46  Show Profile
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
Go to Top of Page

terryp
Junior Member

United Kingdom
174 Posts

Posted - 04 November 2002 :  17:51:55  Show Profile  Visit terryp's Homepage
Am going to give it a go now...thank you suhern.

Go to Top of Page

terryp
Junior Member

United Kingdom
174 Posts

Posted - 04 November 2002 :  18:19:30  Show Profile  Visit terryp's Homepage
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.

Go to Top of Page

suhern
Junior Member

186 Posts

Posted - 04 November 2002 :  19:41:06  Show Profile
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
Go to Top of Page

terryp
Junior Member

United Kingdom
174 Posts

Posted - 04 November 2002 :  19:48:40  Show Profile  Visit terryp's Homepage
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.

Go to Top of Page

suhern
Junior Member

186 Posts

Posted - 04 November 2002 :  21:45:16  Show Profile
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
Go to Top of Page
Page: of 3 Previous Topic Topic Next Topic  
Next Page
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.17 seconds. Powered By: Snitz Forums 2000 Version 3.4.07