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

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: MOD Implementation
 HuwR Spell Checking Problem
 New Topic  Topic Locked
 Printer Friendly
Next Page
Author Previous Topic Topic Next Topic
Page: of 2

Iron Heart
New Member

USA
66 Posts

Posted - 14 March 2001 :  08:40:12  Show Profile
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

Posted - 14 March 2001 :  09:33:26  Show Profile
Since this is dealing with cookies also, the problem with the apostrophes is probably related to the problem discussed here:

http://forum.snitz.com/forum/link.asp?TOPIC_ID=6345
Go to Top of Page

Iron Heart
New Member

USA
66 Posts

Posted - 15 March 2001 :  02:03:56  Show Profile
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
Go to Top of Page

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 15 March 2001 :  02:28:26  Show Profile
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"))) %>
Go to Top of Page

shahid
Starting Member

31 Posts

Posted - 16 March 2001 :  12:09:45  Show Profile  Send shahid an AOL message
i dont have line 191 in my pop_spellcheck.asp

Go to Top of Page

shahid
Starting Member

31 Posts

Posted - 16 March 2001 :  12:12:35  Show Profile  Send shahid an AOL message
i get this message when i do spell check
error '800401e5'
No object for moniker

/forum/inc_functions.asp, line 1956

any help

Go to Top of Page

Iron Heart
New Member

USA
66 Posts

Posted - 17 March 2001 :  14:37:41  Show Profile
Thanks so much Richard! Everything works fine now after that change.

Go to Top of Page

Blade
New Member

66 Posts

Posted - 24 April 2001 :  11:43:02  Show Profile
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
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 24 April 2001 :  13:25:05  Show Profile  Visit HuwR's Homepage
if I get chance I will look into this , but you will have to live with it for a while

Go to Top of Page

Blade
New Member

66 Posts

Posted - 24 April 2001 :  13:39:53  Show Profile
Thanks...
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 24 April 2001 :  14:42:51  Show Profile  Visit HuwR's Homepage
try this

http://www.magicmushroom.org.uk/snitzmods/pop_spellcheck.txt

you will need to add the relevant words to the dictionary. but it won't split them anymore

Go to Top of Page

Blade
New Member

66 Posts

Posted - 24 April 2001 :  15:04:27  Show Profile
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
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 24 April 2001 :  15:55:45  Show Profile  Visit HuwR's Homepage
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"))),"''","'" %>




Go to Top of Page

Blade
New Member

66 Posts

Posted - 24 April 2001 :  17:23:00  Show Profile
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
Go to Top of Page

ki5ck
New Member

69 Posts

Posted - 24 April 2001 :  19:43:18  Show Profile  Visit ki5ck's Homepage
I'd like to get a copy of the updated database, if you're going to make it available.

Paul Wood
SLT Webmaster
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 24 April 2001 :  20:01:46  Show Profile  Visit HuwR's Homepage
indexed dictionary (think this one is 2000) if you need 97 let me know

http://www.magicmushroom.org.uk/snitzmods/dictionary.zip

Go to Top of Page
Page: of 2 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.37 seconds. Powered By: Snitz Forums 2000 Version 3.4.07