Author |
Topic  |
slim_ops
Starting Member
USA
45 Posts |
Posted - 09 July 2002 : 18:12:51
|
is there something wrong with my setup? i notice that it limits the size of each posting...
if i have a posting that is normally 2 pages long in ms word, it won't post it all. i have to post it in two or three different postings. can this be fixed?
i'm running 3.3.03 on a win2kserv w/iis5 on access2k
Read the Bible. Often!
Slim :0) ><)))> www.glory2him.com John 15:5 |
|
redbrad0
Advanced Member
    
USA
3725 Posts |
|
richfed
Average Member
  
United States
999 Posts |
Posted - 09 July 2002 : 18:44:46
|
I love Snitz Forums ... but, this drawback really frustrates me [might be the only one!]. I noticed it right off ... Here's the URL to my original thread & the responses - perhaps you'll find it relevant:
http://forum.snitz.com/forum/topic.asp?TOPIC_ID=28565
I would absolutely go bananas if that could be "fixed"!
Rich |
 |
|
RichardKinser
Snitz Forums Admin
    
USA
16655 Posts |
Posted - 09 July 2002 : 19:07:06
|
quote: but, this drawback really frustrates me [might be the only one!].
What do you mean exactly? That the textarea doesn't grow, or that when you post, some of the text in the textarea doesn't get posted?
If it's the latter, there is nothing in the forum that limits that.
If it's the former, the following might help you:
http://www.flws.com.au/showusyourcode/codeLib/code/dynamicLength.asp?catID=2 |
 |
|
richfed
Average Member
  
United States
999 Posts |
Posted - 09 July 2002 : 19:45:52
|
Well, I mean ... and it sounds as if slim_op means the same ... the latter.
Typing away, hit preview, and after a certain point ... the text cuts off mid-stream ... We find ourselves, at times, seeing what shows up in Preview, then copying the remainder, posting, and then pasting the remainder in another post (or 2, or 3).
What can I do about that? Using IE 6 [the same occurs in Netscape 6] ... database, if that's relevant is Access 97, though I've switched the code in config.asp to what Davio & someone else suggested to me ... But, it's not just me ... users have "complained" about the same. It's really not a big deal, just annoying!
If it's not a forum limitation, and not an individual user's problem, that leaves the server, I guess?
Now, as to the former, that javascript looks interesting!
Rich |
 |
|
richfed
Average Member
  
United States
999 Posts |
Posted - 09 July 2002 : 20:01:29
|
quote:
it should work fine. i went to your website and posted a long text filler that was posted here on this forum. you can view it on your site at...
http://www.glory2him.com/forum/topic.asp?TOPIC_ID=25
I just went to the above URL, copied the "filler," and then returned to my own forum to try a test post with it.
ALL the text appeared in the composition area, but when I clicked on "Preview," it ran out somewhere in the middle, as per usual. HOWEVER, I decided to try to post it anyway, and see what happened. It was all there! So, the "problem" would seem to lie in the "Preview" function.
What to do?
Rich |
 |
|
RichardKinser
Snitz Forums Admin
    
USA
16655 Posts |
Posted - 09 July 2002 : 20:04:59
|
so all along it was the preview that you are having a problem with? The current Preview function (in v3.3.05 and earlier versions) uses a javascript cookie. The preview that we use here on this forum (we installed it here to test it out), uses a form resubmittal, so it doesn't have the limitation that javascript does. It will be included in v3.4.
There are instructions in the following topic for adding this functionality to v3.3.0x & v4.x:
http://forum.snitz.com/forum/topic.asp?TOPIC_ID=17270 |
 |
|
Gremlin
General Help Moderator
    
New Zealand
7528 Posts |
Posted - 09 July 2002 : 20:06:12
|
Only the Preview is truncated, this is becuase of the way it works and I think I recall Richard saying that this may have been changed in 3.4
Ignore what you see on the preview as the entire message WILL still be posted.
EDIT: Well I guess that confirms what I though I recalled Richard saying lol
www.daoc-halo.com
Edited by - Gremlin on 09 July 2002 20:07:02 |
 |
|
richfed
Average Member
  
United States
999 Posts |
Posted - 09 July 2002 : 20:57:04
|
quote:
There are instructions in the following topic for adding this functionality to v3.3.0x & v4.x:
http://forum.snitz.com/forum/topic.asp?TOPIC_ID=17270
Excellent!!! Will try that out as soon as I find some peace & quiet around here!!!
Thank you!
Rich |
 |
|
slim_ops
Starting Member
USA
45 Posts |
Posted - 09 July 2002 : 21:37:39
|
i get it, it WAS my preview!! thanks guys! i'd proof read the thing before posting it. now i just do it ms word and then preview to see where it cuts off then continue from there.
now i know i don't have to!
thanks so much all!! 
Read the Bible. Often!
Slim :0) ><)))> www.glory2him.com John 15:5 |
 |
|
richfed
Average Member
  
United States
999 Posts |
Posted - 13 July 2002 : 06:57:51
|
quote:
There are instructions in the following topic for adding this functionality to v3.3.0x & v4.x:
http://forum.snitz.com/forum/topic.asp?TOPIC_ID=17270
Tried to implement that, Richard ... twice [I started from scratch again in case I made a copy error] ... Received the following error when clicking on "Preview":
quote: Microsoft VBScript compilation error '800a0400'
Expected statement
/messageboard/pop_preview.asp, line 42
<script language="JavaScript"> ^
My problem, I think, is your meaning of the word "insert". I took that to mean to leave the existing code in, but I'm not sure. Anyway, I played around with the little <% sign, and the best I could do was to get a blank Preview screen to show, with the text "No Text To Preview" up above it [with the code showing] ... What am I doing wrong?
Here's my pop_preview code that produces the above compilation error ... oh, and I did make the necessary change to post.asp:
quote: %> <!--#INCLUDE FILE="config.asp" --> <!--#INCLUDE FILE="inc_functions.asp" --> <% <!--#INCLUDE FILE="inc_top_short.asp"--> <script language="JavaScript"> function submitPreview() { document.previewTopic.message.value = window.opener.document.PostTopic.Message.value; document.previewTopic.submit() } </script> <% if request("mode") = "" then %> <form action="pop_preview.asp" method="post" name="previewTopic"> <input type="hidden" name="message" value=""> <input type="hidden" name="mode" value="display"> </form> <script language="JavaScript">submitPreview();</script> <% else %> strMessagePreview = Request.Form("message") if strMessagePreview = "" or IsNull(strMessagePreview) then strMessagePreview = "< There is no text to preview ! >" end if %> <table border="0" width="100%" height="80%" cellspacing="0" cellpadding="0" align="center"> <tr> <td bgcolor="<% =strTableBorderColor %>"> <table border="0" width="100%" height="100%" cellspacing="1" cellpadding="4"> <tr> <td align="center" bgcolor="<% =strHeadCellColor %>" width="<% =strTopicWidthRight %>" height="20" <% if lcase(strTopicNoWrapRight) = "1" then Response.Write(" nowrap") %>><b><font face="<% =strDefaultFontFace %>" size="<% =strDefaultFontSize %>" color="<% =strHeadFontColor %>">Preview</font></b></td> </tr> <tr> <td bgcolor="<% =strForumCellColor %>" valign="top"> <font color="<% =strForumFontColor %>" face="<% =strDefaultFontFace %>" size="<% =strDefaultFontSize %>"><% =formatStr(chkString(strMessagePreview,"preview")) %></font> </td> </tr> </table> </td> </tr> </table> </div> <% end if %> <!--#INCLUDE FILE="inc_footer_short.asp" -->
Rich |
 |
|
Davio
Development Team Member
    
Jamaica
12217 Posts |
Posted - 13 July 2002 : 14:09:18
|
Remove the tag in red.quote: %> <!--#INCLUDE FILE="config.asp" --> <!--#INCLUDE FILE="inc_functions.asp" --> <% <!--#INCLUDE FILE="inc_top_short.asp"--> <script language="JavaScript"> function submitPreview() { document.previewTopic.message.value = window.opener.document.PostTopic.Message.value; document.previewTopic.submit() } </script> <% if request("mode") = "" then %> <form action="pop_preview.asp" method="post" name="previewTopic"> <input type="hidden" name="message" value=""> <input type="hidden" name="mode" value="display"> </form> <script language="JavaScript">submitPreview();</script> <% else %> strMessagePreview = Request.Form("message") if strMessagePreview = "" or IsNull(strMessagePreview) then strMessagePreview = "< There is no text to preview ! >" end if %> <table border="0" width="100%" height="80%" cellspacing="0" cellpadding="0" align="center"> <tr> <td bgcolor="<% =strTableBorderColor %>"> <table border="0" width="100%" height="100%" cellspacing="1" cellpadding="4"> <tr> <td align="center" bgcolor="<% =strHeadCellColor %>" width="<% =strTopicWidthRight %>" height="20" <% if lcase(strTopicNoWrapRight) = "1" then Response.Write(" nowrap") %>><b><font face="<% =strDefaultFontFace %>" size="<% =strDefaultFontSize %>" color="<% =strHeadFontColor %>">Preview</font></b></td> </tr> <tr> <td bgcolor="<% =strForumCellColor %>" valign="top"> <font color="<% =strForumFontColor %>" face="<% =strDefaultFontFace %>" size="<% =strDefaultFontSize %>"><% =formatStr(chkString(strMessagePreview,"preview")) %></font> </td> </tr> </table> </td> </tr> </table> </div> <% end if %> <!--#INCLUDE FILE="inc_footer_short.asp" -->
«------------------------------------------------------» What new features are going to be in the 3.4 version? See the 3.4 UnOfficial Features List ! |
 |
|
richfed
Average Member
  
United States
999 Posts |
Posted - 13 July 2002 : 15:18:19
|
quote:
Remove the tag in red.quote: %> <!--#INCLUDE FILE="config.asp" --> <!--#INCLUDE FILE="inc_functions.asp" --> <%
I believe doing that caused the other error ... a complete, but devoid of text, preview screen, with the javascript code line written ABOVE it with the "no text to preview message." [though there should have been text] ...
I'll go try it right now & see what happens ...
EDITED: As I thought, doing that resulted in the following error:
[quote]strMessagePreview = Request.Form("message") if strMessagePreview = "" or IsNull(strMessagePreview) then strMessagePreview = "< There is no text to preview ! >" end if %>
The preview screen is there, just empty ... the "error" sits up above the preview area ...
Edited by - richfed on 13 July 2002 15:32:57 |
 |
|
RichardKinser
Snitz Forums Admin
    
USA
16655 Posts |
Posted - 13 July 2002 : 15:42:57
|
can you e-mail me your pop_preview.asp file and your post.asp file ?
(it's best to put them in a .zip file first)
mail them to: richard_kinser@yahoo.com
(I've got to go finish mowing my yard before it starts raining but I'll have the files ready for you within the hour if you want to send them to me). |
 |
|
richfed
Average Member
  
United States
999 Posts |
Posted - 13 July 2002 : 17:06:30
|
Well, THAT was easy! [For you! ] Working just fine! Thank you for taking the time to give personal attention to one who is struggling, but building a pretty neat forum ... the latter in great part to you & your compatriots!
Now ... what did you do? Just so I can learn ... a little!
Rich |
 |
|
RichardKinser
Snitz Forums Admin
    
USA
16655 Posts |
Posted - 13 July 2002 : 17:35:45
|
for the pop_preview.asp I just copied the code from the one we are using here on this forum, into your file.
in the post.asp file, I just added a little bit to the OpenPreview() javascript function. (wasn't necessary, but try to preview a post with no text now.) |
 |
|
Topic  |
|