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
 Spell checker MOD database
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

keng38
New Member

United Kingdom
80 Posts

Posted - 03 February 2005 :  09:33:22  Show Profile  Visit keng38's Homepage
I am only allowed one ODBC database by my hosting company and want to use the spell checker mod which has a dictionery database.
If I import the dictionery table from the database into my snitz forum database (So I only have 1 database)
What changes to the code do I have to make (I assume it's only the code in the pop_spellcheck.asp file) to point to the table within my snitz database?

spellConnStr = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & Server.MapPath("/database/dictionary2000.mdb")

Podge
Support Moderator

Ireland
3775 Posts

Posted - 03 February 2005 :  10:00:37  Show Profile  Send Podge an ICQ Message  Send Podge a Yahoo! Message
Why don't you try the IESpell mod. You can see it in action on this forum.
Lot easier to implement.

Podge.

The Hunger Site - Click to donate free food | My Blog | Snitz 3.4.05 AutoInstall (Beta!)

My Mods: CAPTCHA Mod | GateKeeper Mod
Tutorial: Enable subscriptions on your board

Warning: The post above or below may contain nuts.
Go to Top of Page

keng38
New Member

United Kingdom
80 Posts

Posted - 04 February 2005 :  04:56:05  Show Profile  Visit keng38's Homepage
It looks like the IEspell has to be downloaded to each user.
The problem I have is that some people are posting messages in "Text talk" and the rest of us are struggling to understand what they are on about.
I want to try and force them to type in english on my forum!

Edited by - keng38 on 04 February 2005 05:00:02
Go to Top of Page

Podge
Support Moderator

Ireland
3775 Posts

Posted - 04 February 2005 :  05:18:10  Show Profile  Send Podge an ICQ Message  Send Podge a Yahoo! Message
OK. You don't need more than 1 ODBC connection. You can have multiple OLE DB ones and two databases. OLE DB is faster anyway.

You should be able to set up a second connection for the dictionary database.

Podge.

The Hunger Site - Click to donate free food | My Blog | Snitz 3.4.05 AutoInstall (Beta!)

My Mods: CAPTCHA Mod | GateKeeper Mod
Tutorial: Enable subscriptions on your board

Warning: The post above or below may contain nuts.
Go to Top of Page

DJGray
New Member

USA
68 Posts

Posted - 04 February 2005 :  09:16:05  Show Profile  Visit DJGray's Homepage
kenq38,

YES! You absolutely can do this. Just to verify it, I did it on my dev server and it worked just fine.

Open your dictionary2000 database, right click on the dictionary table and copy it. Now open your Snitz database and paste that dictionary table into it. Include both the structure and the data. Save it. Now, open the pop_spellcheck.asp file and go to roughly line 47. It will be the line where you define the path to the dictionary2000.mdb file. Alter that line and point it to your Snitz database. Since the Snitz db has the dictionary table in it, the spell checker will work just fine.
Go to Top of Page

keng38
New Member

United Kingdom
80 Posts

Posted - 04 February 2005 :  10:14:52  Show Profile  Visit keng38's Homepage
Cheers DJGray, it working.....now the fun question.
Is there a way of getting the Popup window to
automatically popup upon posting the topic without
having to hit the spell check button?
Go to Top of Page

DJGray
New Member

USA
68 Posts

Posted - 05 February 2005 :  14:42:46  Show Profile  Visit DJGray's Homepage
keng38, I'm really new to Snitz. Been using it for just a few weeks, so I am not real familiar with the code yet, but I'd have to think that you could tie the functionality of the spell check button to the "submit" button so that it does not submit until after the user has cleared the spell check window.

Go to Top of Page

keng38
New Member

United Kingdom
80 Posts

Posted - 07 February 2005 :  05:45:04  Show Profile  Visit keng38's Homepage
I wouldn't even have a clue where to start on that one!
It does sound like the best way though.
Thanks for your help
Go to Top of Page
  Previous Topic Topic Next Topic  
 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.27 seconds. Powered By: Snitz Forums 2000 Version 3.4.07