![]() |
mvigod:
I would go to the WBOSS site, listed in at http://www.dontpokebadgers.com/spellchecker/ and get the latest version of spell.pl. Or if you would rather not just put in words like can't don't, etc. in the $wordignore= in the spell.pl file. Don't separate the words with a comma though just use spaces. Parker |
Well my web hosts won't install it - they say it will use up to many resources on my shared server. I have the option to try to install it in the root of my webspace, but only if I upgrade my package to allow SSH access (and of course pay more).
So I'm moving web hosts (they would only give me one MySQL database too). My new hosts are more than happy to help, but want to know which version of Aspell to install. Is it the one listed as "old" Quote:
Darren. |
Quote:
Darren, I just installed this on a shared account and my host had no problems with it. They installed it in 5 minutes. It will not eat up bandwidth no more than any other program that barely gets used. Plus.... Look at the code. All it's doing is using what comes in Red Hat Linux. I'de have a talk with them. They "should" have absolutley no problem with it. Id'e ask them again, If you move hosts, be sure to tell them the why(s). Hooper |
Darren:
I would tell them to just go to http://aspell.sourceforge.net/ and have them get the latest version. From reading over the site (briefly) it looks like they will have to install pspell too. I would just have your new web host look over the aspell page and make a determination from there. Parker |
I've got it!! :)
I had to move my web host to a decent one but I've got it!! Hooper, I think you were correct in the first version of your reply ;) They didn't seem that bothered about helping me and didn't know a thing about vBulletin. Parker, thank you for making this script known to us. And a final thank you has to go to Karl at KDA Web Services for sorting it all out (and reinstalling the MySQL database) - a truly first rate service. Darren |
Darren:
Glad to hear that you got it working. Parker |
Ya, I edited the post to be a bit nicer to your *hidden host flame* host.
Glad you moved and have it working Darren. ;) |
OK.. I installed this puppy on my test server, and it allworks with the exception that no drop down boxes appear as described in diet's post above.
I went back and double checked the Win32 permissions I have set, and they appear to be fine. (stripped W2K w/SP2 and current SP bundles) What does stand as a question is that do I have to compile the Aspell libraries after they have been d/led from Sourceforge ? I know it's something silly, as it appears to work for most just fine. I run Apache with Perl mod so this shouldnt be an issue. Any Ideas ?? |
bitbinder:
I am not sure but I think you have to compile the Aspell libraries in order for them to work. Parker |
I have a question for everyone - is there any advantage when using this hack to compile aspell into php, because it is a compile time option...???
- jeff |
Is there a way to verify that aspell is installed? The script works except that I don't get any drop down boxes, and my host says aspell is installed. All my permissions are set correctly.
|
You could try checking the output of the following:
PHP Code:
|
Here is the url to the php info file, where should aspll be listed at? I don't see it anywhere.
http://www.jcsworld.net/info.php |
Actually, that's incorrect. While there is php support for aspell (built into pspell), the spelling script uses perl. Sorry, I neglected to realize that.
I believe there is a perl script out there that let's you check for installed perl modules. I can't seem to find it though. Have you tried the Ispell support to see if that works? |
They told me ispell wasn't installed but I'll check.
|
Apparently my host tech support doesn't know much because ispell works. Thanks for all the help :)
|
I can't find this aspell and ispell to d/l
|
Parker, THANKS
This little trick works GREAT. Btw, the code in your post is an older script from http://www.dontpokebadgers.com/spellchecker/ - the latest on on there also works fine. Just thought I'd mention it. The latest script has custom dictionary support, although it's a little cumbersome right now. I am running this on 2.2.6 with no problems at all so far. Finally, a Spellchecking solution again for vb! |
Quote:
The link is also in an earlier post in this thread. You don't need both. One or the other will do, and if you have the choice, by all means take Aspell, as it is basically a better version of iSpell in the first place. If you're using a linux distro based off Redhat (such as Mandrake) you can probably get away with installing via RPM. There's a Win32 binary for you MS guys too. Why anyone would use either of those when there's FreeBSD is beyond me, but different strokes for different folks I guess :) There's also a FreeBSD/BSD source port for BSD folks like me. Took about 1 minute to install, then Parkers little hack on top. Up and working great on my 2.2.6 install! |
Thanks
|
Guys I didn't write this. This will all done by the author of the script. I just made it available to all to use. I am still trying to get the script written in PHP instead of PERL.
Parker |
Once I upload it, how do I install it?
|
I would love to get this to work but I keep getting a server error. It says this:
Premature end of script headers Any ideas? |
Make sure you upload in ASCII mode.
|
Never mind. I figured it out. Dopey me had the spell.pl file on CHMOD 655. Duh!
|
One other question and I'm not sure if it was covered in this thread. Is there a way to input custom words? We have a satellite forum with a lot of "non-words" only used while talking about satellite like DirecTV and such. It would be nice if the spell check didn't keep identifying those as misspelled.
|
You can add exceptions within the .cgi file itself. Open it up in notepad and you'll see where to put things in. If memory serves me correctly, I believe it's a list of words with spaces.
Paul |
This script worked great ...thanks :-)
|
Quote:
Anyway, thanks for the help. Great hack! My users love it. |
I found one bug and I'm not sure how to fix it. When someone encloses something in quotes like this,
"quoted word" After spell checking, the checker returns it like this: !QUOT!quoted word!QUOT! Anyone else having this problem? |
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 |
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 |
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 |
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. :) |
Unzipped it and reading it now.
Thanks, Robert |
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> $footer </body> </html> |
Thanks need this 1. make a lot of error latley :D.
|
Paul:
I don't think I mentioned that I am using version 2.2.8. Thanks, Robert |
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 :) |
I get no drop down box for misspelled words. HELP!
|
All times are GMT. The time now is 04:20 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|