Author |
Topic  |
|
lcs78816
Junior Member
 
195 Posts |
Posted - 13 December 2000 : 03:31:21
|
Here's code: go to line 392 in inc_functions.asp
replace:
<pre id=code><font face=courier size=2 id=code>if fField_Type = "display" then if strAllowHTML <> "1" then fString = Replace(fString, "<", "<") fString = Replace(fString, ">", ">") end if ChkString = fString exit function</font id=code></pre id=code> with this:
<pre id=code><font face=courier size=2 id=code>if fField_Type = "display" then if strAllowHTML <> "1" then fString = Replace(fString, "<", "<") fString = Replace(fString, ">", ">") end if <font color=red>if Len(fstring)>20 and instr(left(fstring,20)," ") = 0 and instr(left (fstring,20)," ")=0 then fstring=Left(fstring,20)&" "&Right(fstring,(len(fstring)-20)) fstring=Left(fstring,18)&"..." end if</font id=red> ChkString = fString exit function</font id=code></pre id=code>
Edited by - lcs78816 on 13 December 2000 03:33:23 |
|
HuwR
Forum Admin
    
United Kingdom
20587 Posts |
Posted - 13 December 2000 : 03:41:51
|
what do you mean by going endless?
If you mean when you have to scroll sideways to view all the message?
If so, it is supposed to do this so we can insert lines of code without them being wrapped.
I am currently working on an idea where the code tags are replaced by a scrollable region in the message rather than extending the screen. this way you will not loose the[code] functionality.
<font color=blue>'Resistance is futile'</font id=blue>
I just read your other post, are the two related. if so ignore my comment as you are talking about the topic title.
Edited by - huwr on 13 December 2000 03:51:44 |
 |
|
lcs78816
Junior Member
 
195 Posts |
Posted - 13 December 2000 : 04:02:03
|
ya....I am talking about Topic title, this is different from the message area
I know it's not clean coded, but least it fixed. Have to thank Dave Ross from proxyresource.com for providing the code.
Edited by - lcs78816 on 13 December 2000 04:03:22 |
 |
|
Da_Stimulator
DEV Team Forum Moderator
    
USA
3373 Posts |
Posted - 13 December 2000 : 10:19:37
|
I dont think the Topic Title can go endless... there is a maxlength set in the input tag, so you cant really type that large of a title.
<font color=red>Da_Stimulator</font id=red> <font color=red>http://www.cfm-resources.com/s/stimmy/</font id=red> <font color=blue>response.write("I know what you coded last summer!")</font id=blue> http://www.tek-tips.com - The community where computer proffesionals meet and talk. |
 |
|
|
Topic  |
|
|
|