|
Embedding SpellChecker Support into WebBBS version 4.33 +
Revision 09-12-2000
Web BBS version 4.33 includes support for the SpellChecker feature. If you have this version, follow the instructions in this document to embed SpellChecker. Instructions for embedding SpellChecker support into previous versions of WebBBS are also available.
Follow four steps to add SpellChecker support to WebBBS 4.33:
- Register and receive a customerID (Optional)
- Download the SPROXY.CGI script file
- Download a JavaScript File (Optional)
- Modify the Bulletin Board code
| Register and
receive a customerID (Optional) |
You may use SpellChecker within WebBBS version 4.33+ with or without registering on our web site.
If you prefer to register yourself as SpellChecker.net user, go to the Sign Up page
and fill out our short form. We will send you an e-mail containing your customer ID. Please save this number, as
it will be required for the rest of the installation.
Top of page
| Download the SPROXY.CGI Script File
|
The sproxy.cgi script file returns data corrected by SpellChecker to the text-box on your web page.
Download the file "sproxy.cgi". Please login to "My Account" Section of the SpellChecker.net site using customerid and password sent to you in the registration email.
Please open "Download SPROXY.CGI script" page for currently supported versions of the file. Click on the "Download SPROXY script" link.
Note: WebBBS archive contains a copy of sproxy.cgi file but it is outdated.
Top of page
| Download
the Customized JavaScript File (Optional)
File |
WebBBS archive contains a version of spch.js file. If you chose not to sign up for a User ID on the SpellChecker.net web site, this version may be used.
Note: Do not place this file in the cgi-bin directory of your server.
If you have registered on the SpellChecker.net web site and received a customer ID, do not use the spch.js included in WebBBS distribution. Instead, download the customized version of this file.
Visit our JavaScript Download page and enter your Customer ID and e-mail address in the boxes provided. Next, press the "Download JavaScript" button to download the spch.js JavaScript file (please select "Save to Disk" if prompted). This file should be placed in a directory on your web server that has "read" permission enabled (a good place for this file is the root directory of your web site).
This JavaScript file contains information specific to each customer's web site, so it should not be used on or obtained from another site.
Top of
page
| Modify the
Bulletin Board code |
Edit the following four parameters within the file webbbs_settings.pl:
$SpellCheckerID - This string identifies the user to the SpellChecker.net server. Replace this parameter with 'WebBBS' if you chose not to sign up for a Customer ID. Alternately, replace this parameter with your Customer ID number.
$SpellCheckerPath - Replace this parameter with the URL path to the sproxy.cgi script on your server. For example, '/cgi-bin/sproxy.cgi'.
$SpellCheckerJS - Replace this parameter with the URL path to the spch.js file on your server. For example, 'http://www.yourdomain.com/spch.js'.
$SpellCheckerLang - Change this parameter to one of the following values for the default spell-checking language:
"en" - American English
"uk" - British English
"fr" - French
"ge" - German
"it" - Italian
"sp" - Spanish
"dk" - Danish
"br" - Brazilian Portuguese
"nl" -- Dutch
"no" -- Norwegian
"pt" - Portuguese
"se" - Swedish
Top of page
|