Author |
Topic |
Iron Heart
New Member
USA
66 Posts |
Posted - 14 March 2001 : 08:40:12
|
Me again. I decided to address all the issues at once. Again - great MOD. Installed it, works just fine... however:
- replaces ' with " for some reason (it's, can't, what's, couldn't - become - it"s, can"t, what"s, couldn"t) - treats apostraphes as spaces (should've is checked as "should" and "ve")
Any tips on fixing this? (Again, address is http://www.someplacesomewhere.com if you need to see this first hand.)
|
|
RichardKinser
Snitz Forums Admin
USA
16655 Posts |
|
Iron Heart
New Member
USA
66 Posts |
Posted - 15 March 2001 : 02:03:56
|
Doesn't seem like so... the one you pointed to deals with + signs and spaces..
Plus, it's only for IIS4 - I'm running IIS5.5
Edited by - Iron Heart on 15 March 2001 02:04:21 |
|
|
RichardKinser
Snitz Forums Admin
USA
16655 Posts |
Posted - 15 March 2001 : 02:28:26
|
ok, try this:
in pop_spellcheck.asp on line #191
change this code:
<% = checkSpelling(formatStr(ChkString(strMessagePreview,"message"))) %>
to this:
<% = checkSpelling(formatStr(ChkString(strMessagePreview,"preview"))) %> |
|
|
shahid
Starting Member
31 Posts |
Posted - 16 March 2001 : 12:09:45
|
i dont have line 191 in my pop_spellcheck.asp
|
|
|
shahid
Starting Member
31 Posts |
Posted - 16 March 2001 : 12:12:35
|
i get this message when i do spell check error '800401e5' No object for moniker
/forum/inc_functions.asp, line 1956
any help
|
|
|
Iron Heart
New Member
USA
66 Posts |
Posted - 17 March 2001 : 14:37:41
|
Thanks so much Richard! Everything works fine now after that change.
|
|
|
Blade
New Member
66 Posts |
Posted - 24 April 2001 : 11:43:02
|
That fixes the problem with replacing the ' character, but it still treats words with a ' as two separate words. Such as the word "wasn't", is checked as "wasn" and "t" resulting in a misspelled word "wasn". Any ideas?
Edited by - blade on 24 April 2001 13:41:33 |
|
|
HuwR
Forum Admin
United Kingdom
20584 Posts |
Posted - 24 April 2001 : 13:25:05
|
if I get chance I will look into this , but you will have to live with it for a while
|
|
|
Blade
New Member
66 Posts |
Posted - 24 April 2001 : 13:39:53
|
Thanks... |
|
|
HuwR
Forum Admin
United Kingdom
20584 Posts |
|
Blade
New Member
66 Posts |
Posted - 24 April 2001 : 15:04:27
|
When typing in the word "wasn't", I get the preview:
wasn"t wasn"t
And, when I change: <% = checkSpelling(formatStr(ChkString(strMessagePreview,"message"))) %> to: <% = checkSpelling(formatStr(ChkString(strMessagePreview,"preview"))) %>
as Richard stated above, I get the following error:
Error Type: Microsoft JET Database Engine (0x80040E14) Syntax error (missing operator) in query expression 'word in ('wasn't')'. /pop_spellcheck.asp, line 95
Edited by - blade on 24 April 2001 18:51:27 |
|
|
HuwR
Forum Admin
United Kingdom
20584 Posts |
Posted - 24 April 2001 : 15:55:45
|
quote:
When typing in the word "wasn't", I get the preview:
wasn"t wasn"t
do a quick search for response.write var and remove it.
quote:
And, when I change: <% = checkSpelling(formatStr(ChkString(strMessagePreview,"message"))) %> to: <% = checkSpelling(formatStr(ChkString(strMessagePreview,"preview"))) %>
as you stated above, I get the following error:
Error Type: Microsoft JET Database Engine (0x80040E14) Syntax error (missing operator) in query expression 'word in ('wasn't')'. /pop_spellcheck.asp, line 95
Edited by - blade on 24 April 2001 15:14:10
Do not make the change that Richard suggested change it to this instead <% = replace(checkSpelling(formatStr(ChkString(strMessagePreview,"message"))),"''","'" %>
|
|
|
Blade
New Member
66 Posts |
Posted - 24 April 2001 : 17:23:00
|
You da man! That seems to work. I had to add a ")" to the end of the line:
<% = replace(checkSpelling(formatStr(ChkString(strMessagePreview,"message"))),"''","'") %>
I'll start updating the database and send you a copy when I'm done.
One weird thing I did notice, although I don't think it's that big of a problem, if you were to enter just an ascii character, or a number, and click the spellcheck, the script errors out with a 500 error that reads:
Error Type: Microsoft JET Database Engine (0x80040E14) In operator without () in query expression 'word in )'. /pop_spellcheck.asp, line 95 |
|
|
ki5ck
New Member
69 Posts |
Posted - 24 April 2001 : 19:43:18
|
I'd like to get a copy of the updated database, if you're going to make it available.
Paul Wood SLT Webmaster |
|
|
HuwR
Forum Admin
United Kingdom
20584 Posts |
|
Topic |
|