Author |
Topic |
Nathan
Help Moderator
USA
7664 Posts |
Posted - 12 January 2002 : 03:38:26
|
thanks
Nathan Bales - Romans 15:13 --------------------------------- Snitz Exchange | Mod Resource |
|
|
Dan Martin
Average Member
USA
528 Posts |
Posted - 02 February 2002 : 22:30:06
|
I have a few things I'd like to see for the future version. Some of them I've mentioned elsewhere, but I'm repeating to
- A Quote tool as you mention in this thread is definitely at the top of my list.
- "Reply With Quote" link should show actual RTE style output, rather than Forum Code
- RTE used for editing your Signature
- Background color that matches your Forum. You'd need to determine the next posts color. Sometimes it could be wrong if two people are posting at the same time, but I think that's acceptable and unavoidable.
- Ability to change the background color of an entire post. If the forum is black, but I need a white background to make my post effective, highlighting doesn't look too good sometimes.
I know I have others, but that's all I can think of right now.
|
|
|
Dan Martin
Average Member
USA
528 Posts |
Posted - 02 February 2002 : 22:41:45
|
Oh yeah, I remember the others.
- Perhaps I'm nitpicking, but the Mode: tool should disappear if there is only one option available (Rich Text if you don't allow Source editing)
- It would be nice to have a control on the right and on the bottom to increase the size of the editor dynamically. The Screensize tool just doesn't quite do enough for me (not to mention, screensize is a horible indication of browser size - something I said when they were building the Screensize tool to begin with). I administer a forum at work that we use to record research information. Alot of it is full blown Research Reports, and such. Often it involves large pastes from other websites (particularly News articles about technology). Sometimes, I need it larger verticle, and other times horizontally. Ideally, it would be nice to drag something in the lower right hand corner, but I know that's pretty hard to achieve.
|
|
|
Nathan
Help Moderator
USA
7664 Posts |
Posted - 02 February 2002 : 23:20:22
|
I do not know if the drag is possible to achieve outside an RTE environment. I dont think I want to put an RTE inside another RTE.
The mode tool has come up before. I plan on adding more options.
Nathan Bales - Romans 15:13 --------------------------------- Snitz Exchange | Mod Resource |
|
|
Azaniah
Senior Member
United Kingdom
1004 Posts |
Posted - 03 February 2002 : 08:53:10
|
One nice thing, to add if possible, is that if you are using RTE, when you do a TopicQuote, or Reply Quote, that the quote is already formated in RTE, (as it would appear in the final post).
Kinda defeats the RTE point if you still see [ quote ] [ b ] etc..
Also, if you have a multiline siggy, it "displays" ok, but as soon as you edit a post, or quote it looses the double lines...
Cheers Az
------- Eagles fly!, but weasels don't get sucked into jet engines. |
|
|
Dan Martin
Average Member
USA
528 Posts |
Posted - 04 February 2002 : 12:50:57
|
Yeah, Az, that's precisely what I mean.
Hey, I just had an idea for a superior quote tool. I'm working up source now, but I think it will work. Picture this:
When you reply, we already have the entire message thread below the post area. Have each post a link that does a Javascript function that adds the a quote of that post to the Reply. It doesn't just say "Quote:" like Snitz does now, it says "Originally posted by Nathan:".
What I've got so far seems to be working okay - just need to fix it up. I'll post some source for review sometime this week.
|
|
|
Nathan
Help Moderator
USA
7664 Posts |
Posted - 04 February 2002 : 12:58:05
|
Is that a function for the RTE or for forum code. It would be neet to have it done like that in forum code. If it is forum code, post it in the dev discussions general forum.
Nathan Bales - Romans 15:13 --------------------------------- Snitz Exchange | Mod Resource |
|
|
Azaniah
Senior Member
United Kingdom
1004 Posts |
Posted - 04 February 2002 : 13:09:44
|
Forcing a <p> after the lines in the siggy (by shoving them directly into the db) appears to fix the line issue.
Tried various chr(10) replaces, and so on.. but not tracked it down yet.
One other idea for RTE, is if it is enabled and the user can use it, is to offer a default font, colour, size etc. I know it's not "smart" in the sense of clean looking, but some people might like it.
Cheers Az
------- Eagles fly!, but weasels don't get sucked into jet engines. |
|
|
Dan Martin
Average Member
USA
528 Posts |
Posted - 04 February 2002 : 13:57:24
|
quote:
Is that a function for the RTE or for forum code. It would be neet to have it done like that in forum code. If it is forum code, post it in the dev discussions general forum.
Well, I had intended to do it for RTE only. But, I suppose the true solution should be both - detect if RTE is on, otherwise use FC.
I guess I could release a RTE version, and a standard version. Bit more work than I was intending though. I'll think about it. And if I do it, I'll post the non-RTE version in the Dev general. Guess I'm going to have to install a non-RTE board on my server to test.
|
|
|
Dan Martin
Average Member
USA
528 Posts |
Posted - 04 February 2002 : 14:01:01
|
On another note, one bug in the RTE that I fixed is that the thread on post.asp?method=Reply doesn't have the proper formatting. This is fixed pretty easy by adding the <span class=.... code.
|
|
|
Dan Martin
Average Member
USA
528 Posts |
Posted - 04 February 2002 : 16:28:08
|
I figured out how to repeatably cause the "Complete" bug I have reported. You'll love this. Since you select and copy parts of web pages - if you copy a form (even a hidden one you don't even know is there) into the RTE, you can mess up the submission. At least that's what I think is happening.
Try this: Right click anywhere on this page, Select All, and CTRL-C to copy. Now go to a RTE capable site, make a new post, and hit CTRL-V to paste this page into the message. Now try to post.
What happens is in post_info we fall through the Select statement:
select case MethodType case "Edit" ..... case "EditForum" ..... case "EditTopic" ..... case "EditURL" ..... case "Reply", "ReplyQuote", "TopicQuote" ..... case "Topic" ..... case "Forum" ..... case "URL" ..... case "Category" ..... case else Response.Write("Complete!") DoPCount DoUCount Request.Form("UserName") DoULastPost Request.Form("UserName") end select
Now I relize, that's an obscure bug. Perhaps it's not worth fixing. Considering what I use the RTE for though, I've had it happen quite often (using RTE for 2 weeks now, and it's happened many times already). Perhaps I'm...unique since no one else is reporting it.
Edited by - Dan Martin on 04 February 2002 16:29:45
Edited by - Dan Martin on 04 February 2002 16:30:26 |
|
|
Nathan
Help Moderator
USA
7664 Posts |
Posted - 04 February 2002 : 17:37:56
|
I think I will just make the <form> element off limits.
Nathan Bales - Romans 15:13 --------------------------------- Snitz Exchange | Mod Resource |
|
|
Dan Martin
Average Member
USA
528 Posts |
Posted - 05 February 2002 : 04:02:48
|
Here's some code I've worked out:
To fix the "Reply With Quote" function (Minus the space in the quote tags): In post.asp, appx line 371:
if strRqMethod = "Edit" then TxtMsg = rs("R_MESSAGE") else if strRqMethod = "ReplyQuote" then '## RTE MOD CODE : 3 LINES Replaced If strRteOn = "1" Then TxtMsg = "<BLOCKQUOTE id=quote><font size=" & strFooterFontSize & " face=""" & strDefaultFontFace & """ id=quote>quote:<hr height=1 noshade id=quote>" TxtMsg = TxtMsg & rs("R_MESSAGE") & vbNewline TxtMsg = TxtMsg & "<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face=""" & strDefaultFontFace & """ size=" & strDefaultFontSize & " id=quote>" Else TxtMsg = "[ quote]" & vbNewline TxtMsg = TxtMsg & rs("R_MESSAGE") & vbNewline TxtMsg = TxtMsg & "[ /quote]" end if '## END RTE CODE end if end if
Then down at appx line 408:
if strRqMethod = "TopicQuote" then '## RTE MOD CODE : 3 LINES Replaced If strRteOn = "1" Then TxtMsg = "<BLOCKQUOTE id=quote><font size=" & strFooterFontSize & " face=""" & strDefaultFontFace & """ id=quote>quote:<hr height=1 noshade id=quote>" TxtMsg = TxtMsg & rs("T_MESSAGE") & vbNewline TxtMsg = TxtMsg & "<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face=""" & strDefaultFontFace & """ size=" & strDefaultFontSize & " id=quote>" Else TxtMsg = "[ quote]" & vbNewline TxtMsg = TxtMsg & rs("T_MESSAGE") & vbNewline TxtMsg = TxtMsg & "[ /quote]" end if '## END RTE CODE end if
To fix the issue of the spacing on the thread below the editor on post.asp during a reply: Appx line 1310:
if lcase(strTopicNoWrapLeft) = "1" then Response.Write " nowrap" end if RTE MOD CODE : LINE CHANGED Response.Write "><font color='" & strForumFontColor & "' face='" & strDefaultFontFace & "' size='2'><span class=""spnMessageText""><b>" & ChkString(rs("M_NAME"),"display") & "</b></span></font></td>" & vbNewline Response.Write " <td bgcolor='" & strForumCellColor & "' valign='top' width='" & strTopicWidthRight & "'" if lcase(strTopicNoWrapRight) = "1" then Response.Write " nowrap" end if
And Appx line 1353:
if lcase(strTopicNoWrapRight) = "1" then Response.Write " nowrap" end if 'RTE MOD CODE : LINE CHANGED Response.Write "><font color='" & strForumFontColor & "' face='" & strDefaultFontFace & "' size='2'><span class=""spnMessageText"">" & formatStr(rs("R_MESSAGE")) & "</span></font></td>" & vbNewline & _ " </tr>" & vbNewline rs.MoveNext strI = strI + 1
Hows that look?
Edited by - Dan Martin on 05 February 2002 04:31:29 |
|
|
Azaniah
Senior Member
United Kingdom
1004 Posts |
Posted - 05 February 2002 : 04:49:42
|
quote:
On another note, one bug in the RTE that I fixed is that the thread on post.asp?method=Reply doesn't have the proper formatting. This is fixed pretty easy by adding the <span class=.... code.
Thanks
Cheers Az
------- Eagles fly!, but weasels don't get sucked into jet engines. |
|
|
Azaniah
Senior Member
United Kingdom
1004 Posts |
Posted - 05 February 2002 : 05:16:23
|
Thats looking pretty good....
Now all we need is the siggy mutliline thingy sorted
Cheers Az
------- Eagles fly!, but weasels don't get sucked into jet engines. |
|
|
Topic |
|