vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Free Spellchecking is Here (https://vborg.vbsupport.ru/showthread.php?t=37398)

Parker Clack 04-17-2002 02:42 AM

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

Darren Lewis 04-17-2002 01:07 PM

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:

Latest Source: Aspell .33.7.1, Aspell Patch .33-fix2 (download and apply to Aspell tree),
Thanks.

Darren.

Hooper 04-17-2002 01:45 PM

Quote:

Originally posted by Darren Lewis
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"

Thanks.

Darren.


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

Parker Clack 04-17-2002 02:03 PM

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

Darren Lewis 04-17-2002 08:33 PM

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

Parker Clack 04-17-2002 08:41 PM

Darren:

Glad to hear that you got it working.

Parker

Hooper 04-17-2002 08:53 PM

Ya, I edited the post to be a bit nicer to your *hidden host flame* host.

Glad you moved and have it working Darren. ;)

bitbender 04-18-2002 04:40 PM

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 ??

Parker Clack 04-20-2002 08:52 AM

bitbinder:

I am not sure but I think you have to compile the Aspell libraries in order for them to work.

Parker

jjj0923 05-10-2002 11:27 AM

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

JAC 05-19-2002 02:37 PM

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.

Paul 05-19-2002 02:41 PM

You could try checking the output of the following:

PHP Code:

<?
     phpinfo();
?>


JAC 05-19-2002 03:11 PM

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

Paul 05-19-2002 03:38 PM

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?

JAC 05-19-2002 03:57 PM

They told me ispell wasn't installed but I'll check.

JAC 05-19-2002 04:02 PM

Apparently my host tech support doesn't know much because ispell works. Thanks for all the help :)

Lucrecia 05-28-2002 03:08 AM

I can't find this aspell and ispell to d/l

ixian 06-02-2002 07:55 AM

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!

ixian 06-02-2002 07:59 AM

Quote:

Originally posted by Lucrecia
I can't find this aspell and ispell to d/l
http://aspell.sourceforge.net

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!

Lucrecia 06-02-2002 08:54 PM

Thanks

Parker Clack 06-02-2002 08:56 PM

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

Lucrecia 06-03-2002 12:03 AM

Once I upload it, how do I install it?

Chris Blount 06-16-2002 08:03 PM

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?

Raz 06-16-2002 08:13 PM

Make sure you upload in ASCII mode.

Chris Blount 06-17-2002 02:25 AM

Never mind. I figured it out. Dopey me had the spell.pl file on CHMOD 655. Duh!

Chris Blount 06-18-2002 05:14 PM

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.

Paul 06-18-2002 07:02 PM

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

dawl 06-20-2002 12:41 PM

This script worked great ...thanks :-)

Chris Blount 06-20-2002 12:52 PM

Quote:

Originally posted by LoveShack
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

Thanks Paul! I found the list of words that the spell checker ignores and added to it. What's really funny is that I had to add contraction words like hadn't, couldn't, shouldn't and so on becuase the spell checker would pick up the first part of the word as misspelled.

Anyway, thanks for the help. Great hack! My users love it.

Chris Blount 06-20-2002 01:11 PM

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?

rfdesq 11-08-2002 09:28 PM

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

Paul 11-08-2002 10:10 PM

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

rfdesq 11-10-2002 11:52 PM

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

Paul 11-10-2002 11:58 PM

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.

:)

rfdesq 11-11-2002 12:02 AM

Unzipped it and reading it now.

Thanks,

Robert

rfdesq 11-11-2002 12:56 AM

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>

Dynamic One 11-11-2002 06:24 AM

Thanks need this 1. make a lot of error latley :D.

rfdesq 11-11-2002 06:18 PM

Paul:

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

Thanks,

Robert

?J?stMe? 11-26-2002 05:41 PM

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

:)

94supratt 01-14-2003 07:06 AM

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
  • Page Generation 0.01673 seconds
  • Memory Usage 1,845KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_php_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete