Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Free Spellchecking is Here Details »»
Free Spellchecking is Here
Version: 1.00, by Parker Clack Parker Clack is offline
Developer Last Online: Nov 2013 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 04-13-2002 Last Update: Never Installs: 36
 
No support by the author.

There has been a PERL script out for some time that allows you to make use of aspell libraries that you can have installed on your server with PHP.

I have also included a text file that has the javascript that you insert into your editpost, newthread and newreply templates to add spell checking to your forums. The edited text is then inserted into the original document when submitted.

You need to have a cgi-bin, or similar directory, set up on your server and the aspell or ispell libraries for PHP on your server. (Do a look up for aspell or ispell on google, etc. on these libraries if you don't know about them.)

If someone wants to look over the enclosed PERL script and write it in PHP that would be great and make it to were you didn't have to have PERL on your server.

Enjoy!

Parker

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #72  
Old 11-08-2002, 09:28 PM
rfdesq rfdesq is offline
 
Join Date: Oct 2002
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Has anyone found Chris' bug? I am registered at dbstalk.com and earlier emailed Chris about which spell checker he uses. I am a licensed user of vb 2.2.8 and after only two weeks of use I'm getting complaints about the lack of a spell checker. Also, I have read all the posts here but can someone point me to the latest install information. There have been many modifications but the posts all seem so dated. I do have a request into my hosting company (ventures online) to determine if they have aspell installed.

Thanks,

Robert
Reply With Quote
  #73  
Old 11-08-2002, 10:10 PM
Paul Paul is offline
 
Join Date: Jan 2002
Posts: 211
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi,

I used this hack on Ventures Online for a long time without problems. Recently, I've worked on modifying the php spell checker released by Raz in the beta hacks forum--I find it's interface to be more user-friendly. See the last posts in that thread for an attached zip file I uploaded that fixes fundamental design issues with the hack he developed.

Hope this helps,
Paul

Edit: Here's a direct link to my post. You'll need to download the original zip file for installation instructions. The files in my zip are to be uploaded over the files in the original release. https://vborg.vbsupport.ru/showthrea...200#post319200
Reply With Quote
  #74  
Old 11-10-2002, 11:52 PM
rfdesq rfdesq is offline
 
Join Date: Oct 2002
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks Paul,

Here is the message I received from Ventures Online:

Yes aspell is installed on the server.
The version that is installed is: aspell-0.33.7.1-9

I downloaded your .zip file and it extracted one file spellcheckerv2. I've gone through the beta forum and the full releases forum but I'm still not sure which original .zip I'm supposed to download and where the install instructions are. If you could help me weed through the 10 pages of posts to find just the original files and install information I need, that would be much appreciated.

Thanks,

Robert
Reply With Quote
  #75  
Old 11-10-2002, 11:58 PM
Paul Paul is offline
 
Join Date: Jan 2002
Posts: 211
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi Robert,

I edited my post to be a bit more clearer.

The original files and install instructions can be found here.

The files in my update to the hack need to be used in place of the original hack release by Raz. Essentially, follow his instructions, but use my files.

You can find the files inside of the spellcheckerv2 folder.

Reply With Quote
  #76  
Old 11-11-2002, 12:02 AM
rfdesq rfdesq is offline
 
Join Date: Oct 2002
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Unzipped it and reading it now.

Thanks,

Robert
Reply With Quote
  #77  
Old 11-11-2002, 12:56 AM
rfdesq rfdesq is offline
 
Join Date: Oct 2002
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Paul:

Uploaded all six files in your latest .zip to a new folder I created called spellcheck. Edited all four templates, example below. Do not see the spell check button anywhere. Sorry, I'm new at this stuff, what did I do wrong? Thanks, Robert

{htmldoctype}
<html>
<head><title>$bbtitle - Reply to Topic</title>
$headinclude
<!--<script type="text/javascript" language="javascript" src="$bburl/spellcheck/spch_v2.js"></script>
<script language="javascript">
<!--
var postmaxchars = $postmaxchars;
function validate(theform) {
if (theform.message.value=="") {
alert("Please complete the message field.");
return false; }
if (postmaxchars != 0) {
if (theform.message.value.length > $postmaxchars) {
alert("Your message is too long.\n\nReduce your message to $postmaxchars characters.\nIt is currently "+theform.message.value.length+" characters long.");
return false; }
else { return true; }
} else { return true; }
}
function checklength(theform) {
if (postmaxchars != 0) { message = "\nThe maximum permitted length is $postmaxchars characters."; }
else { message = ""; }
alert("Your message is "+theform.message.value.length+" characters long."+message);
}
//-->
</script>
</head>
<body>
$header

<!-- breadcrumb -->
<table cellpadding="2" cellspacing="0" border="0" width="{contenttablewidth}" {tableinvisibleextra} align="center">
<tr>
<td width="100%">$navbar</td>
</tr>
</table>
<!-- /breadcrumb -->

$postpreview

<br>

<form $enctype action="newreply.php3" name="vbform" method="post" onSubmit="return validate(this)">
<input type="hidden" name="s" value="$session[sessionhash]">
<input type="hidden" name="action" value="postreply">
<input type="hidden" name="threadid" value="$threadid">

<table cellpadding="{tableouterborderwidth}" cellspacing="0" border="0" bgcolor="{tablebordercolor}" {tableouterextra} width="{contenttablewidth}" align="center"><tr><td>
<table cellpadding="4" cellspacing="{tableinnerborderwidth}" border="0" {tableinnerextra} width="100%">
<tr>
<td bgcolor="{tableheadbgcolor}" colspan="2"><normalfont color="{tableheadtextcolor}" class="thtcolor"><b>Post Reply</b></normalfont></td>
</tr>
$logincode
<tr>
<td bgcolor="{secondaltcolor}"><normalfont><b>Post subject:</b></normalfont></td>
<td bgcolor="{secondaltcolor}"><normalfont><input type="text" class="bginput" name="title" value="$title" size="40" maxlength="85" tabindex="1"></normalfont> <smallfont>(Optional)</smallfont></td>
</tr>
$posticons
$vbcode_buttons
<tr>
<td bgcolor="{secondaltcolor}" valign="top" nowrap><normalfont><b>Your Reply:</b></normalfont>
<p><smallfont>
See Forum Rules (below) for<br>
more information about what<br>
codes you are allowed to use<br>
in your posts.</smallfont></p>
$vbcode_smilies</td>
<td bgcolor="{secondaltcolor}">
<table cellpadding="0" cellspacing="0" border="0">
<tr valign="top">
<td><textarea name="message" rows="20" cols="$textareacols" wrap="virtual" tabindex="2">$message</textarea><br>
<smallfont><a href="javascript:checklength(document.vbform);">[check message length]</a></smallfont></td>
</tr>
</table>
</td>
</tr>
<tr>
<td bgcolor="{firstaltcolor}" valign="top"><normalfont><b>Options:</b></normalfont></td>
<td bgcolor="{firstaltcolor}" valign="top"><smallfont>
<input type="checkbox" name="parseurl" value="yes" $parseurlchecked> <b>Automatically parse URLs:</b> automatically adds and around internet addresses.
<br><input type="checkbox" name="email" value="yes" $emailchecked> <b>Email Notification:</b> emails sent to you whenever someone replies. Only registered users are eligible.
$disablesmiliesoption
<br><input type="checkbox" name="signature" value="yes" $signaturechecked> <b>Show Signature:</b> include your profile signature. Only registered users may have signatures.
</smallfont></td>
</tr>
$attachmentoption
$threadratingoption
</table>
</td></tr></table>

<br>

<table cellpadding="2" cellspacing="0" border="0" width="{contenttablewidth}" {tableinvisibleextra} align="center">
<tr>
<td align="center"><normalfont>
<input type="submit" class="bginput" name="submit" value="Submit Reply" accesskey="s" tabindex="3">
<input type="submit" class="bginput" name="preview" value="Preview Reply" accesskey="p" tabindex="4">
<!--<input type="button" class="bginput" value="Spell Check" onclick="var f=document.forms['vbform']; doSpell(f.message, '$bburl/spellcheck/spellcheck.php');">
</normalfont></td>
</tr>
</table>

</form>

<table cellpadding="2" cellspacing="0" border="0" width="{contenttablewidth}" {tableinvisibleextra} align="center">
<tr>
<td><smallfont><b>Forum Rules:</b><br>$forumrules</smallfont></td>
</tr>
</table>

<br>

<!-- end main table from header -->
</td>
</tr>
</table>
<!-- /end main table from header -->

<!-- spacer -->
<table cellpadding="0" cellspacing="0" border="0" width="{tablewidth}" bgcolor="{pagebgcolor}"><tr>
<td><img src="{imagesfolder}/clear.gif" alt="" width="10" height="1"></td><td width="100%">
<!-- /spacer -->
<table cellpadding="{tableouterborderwidth}" cellspacing="0" border="0" bgcolor="{tablebordercolor}" {tableouterextra} width="{contenttablewidth}" align="center"><tr><td>
<table cellpadding="4" cellspacing="{tableinnerborderwidth}" border="0" {tableinnerextra} width="100%">
<tr>
<td bgcolor="{tableheadbgcolor}" colspan="2" align="center"><normalfont color="{tableheadtextcolor}"><b>Topic Review (Newest First)</b></normalfont></td>
</tr>
</table>
</td></tr></table>
<!-- spacer -->
</td><td><img src="{imagesfolder}/clear.gif" alt="" width="10" height="1"></td></tr></table>
<!-- /spacer -->


$threadreviewbits

<!-- restart main table -->
<table bgcolor="{pagebgcolor}" width="{tablewidth}" cellpadding="10" cellspacing="0" border="0">
<tr>
<td>&nbsp;

$footer

</body>
</html>
Reply With Quote
  #78  
Old 11-11-2002, 06:24 AM
Dynamic One's Avatar
Dynamic One Dynamic One is offline
 
Join Date: Nov 2001
Location: Somewhere on the net
Posts: 64
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks need this 1. make a lot of error latley .
Reply With Quote
  #79  
Old 11-11-2002, 06:18 PM
rfdesq rfdesq is offline
 
Join Date: Oct 2002
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Paul:

I don't think I mentioned that I am using version 2.2.8.

Thanks,

Robert
Reply With Quote
  #80  
Old 11-26-2002, 05:41 PM
?J?stMe? ?J?stMe? is offline
 
Join Date: Nov 2002
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am an Admin on a forum and we are trying to get this hack activated.

The server is a Win2K server with VBull 2.2.8 running. We have a few hacks installed and all are running smoothly. My question revolves around the use of Perl. We have ActiveState Perl installed in the C:\Perl directory.

What I am confused about is how to 'point' the HTML files to the Perl directory.

For example:

<form name="send" action="/cgi-bin/spell.pl" method="POST" target="SpellChecker">

I am thinking I need to create a virtual DIR in IIS that points to the C:\Perl DIR, but I am not sure. Then the spell.pl and other Perl files would be placed in to that DIR.

Has anyone put this hack on to an IIS server with ActiveState that could offer someone some guidance ?

Thanks in advance.

JustMe

Reply With Quote
  #81  
Old 01-14-2003, 07:06 AM
94supratt 94supratt is offline
 
Join Date: Dec 2002
Posts: 60
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I get no drop down box for misspelled words. HELP!
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 11:26 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04663 seconds
  • Memory Usage 2,317KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete