PDA

View Full Version : (SpellChecker.net like) SPELL CHECKER for VB 2.x!


Raz
06-15-2002, 10:00 PM
Please use this link instead for the actual code: https://vborg.vbsupport.ru/showthread.php?s=&threadid=41071

Ian
06-16-2002, 05:02 PM
Worked great, thanks!

Chris M
06-16-2002, 05:05 PM
Nice hack...

Satan

Paul
06-16-2002, 05:06 PM
No offense, but a spell checking solution that is dependant on someone else's server being around and accessible isn't really the best solution for serious users.

You can find a great open source solution on the thread below:
https://vborg.vbsupport.ru/showthread.php?s=&threadid=37398

If your host won't support aspell or ispell libraries (which the above "hack" requires), my recommendation is to consider other, more capable hosting providers. They are out there if you do the research.

Paul

Raz
06-16-2002, 05:10 PM
The hack was made virtually identical to SpellChecker.net. Its also very easy to install, without having to install any libraries.

Plus its written in PHP and NOT perl ;)

VirtueTech
06-16-2002, 05:58 PM
No offense Loveshack is right. A company like Spellchecker.net you can trust to be online. This is not a large company like Spellchecker.net so your really at their mercy.

I do like the functionality of this though...much better then the other version Perter Clack pointed us too. So people will just have to weigh their options. :)

Thanks for pointing out another solution Raz.

PhoenixBB
06-16-2002, 07:04 PM
Hi Raz

That`s a nice hack and I`ll be using it, but I`m having a few probs....

The only way I can get anything to come up is by moving the files from the spellcheck directory, to the forum root. Works then.

But when it first opens I get a double "Page cannot be found" swiftly followed by the spellchecking stuff. Sometimes the text appears on it`s own. Other times, the checking box also appears. I find if it hasn`t appeared and I click on one of the highlighted words, then the checking box (with alternate words) appears.

Sometimes when I hit change, everything disappears. It may come back later, but I gave up waiting. Sometimes when you click "Change word" nothing happens and I have to keep clicking and clicking. *sigh* I can`t see anybody having the patience to use it unless I fix it. Any suggestions? Or is this behaviour unique to me?

Raz
06-16-2002, 07:12 PM
We are a pretty big movie site and we have been online for a long time non-stop. We aren't going anywhere ;)

Plus please remember this is a FREE function that I am providing for fellow VBers.

PhoenixBB, could you post your forum URL so that I can check it out?

PhoenixBB
06-16-2002, 07:16 PM
Hi Raz

url:
I`m wondering if it`s my ISP. Been having probs with the DSL connection so it could be because of that. I shall try it later with the 56k. If it works ok when you try, then it`s definitely that.......

Raz
06-16-2002, 07:20 PM
Hi PhoenixBB,

Its not working is because the spellcheck directory needs the "blank.html" from the zip file.

Cheers,
Raz

PhoenixBB
06-16-2002, 07:30 PM
Did I mention I was an idiot?? :o

I always get rid of those blank htmls b/c there is never anything on them, so I figure they have no purpose. LOL I`m now gonna be wondering what is gonna happen with other things where I`ve left off that blank page. :confused:

I`ll go fix it now.........

PhoenixBB
06-16-2002, 07:45 PM
Mmm. Still having the same probs. The initial `page not found` thing has stopped, which is good, but I could have lived with that. I`m still getting problems with the text disappearing. The checking box has been coming up most of the time, so that`s good, but again many times I click to change a word and nothing happens. Or the checking box and buttons disappears.

I`m left with the altered text but no means to input it because the "finish" button has also disappeared along with the rest. I`m using IE6 if that`s any help. Not tested it in NS6 yet.......

Raz
06-16-2002, 07:54 PM
I've checked it with IE5 and 6 and even Netscape 4! And it works perfectly with all of them.

I'll check out your forum.

Raz
06-16-2002, 07:57 PM
Its working for me.

I'll PM you.

PhoenixBB
06-16-2002, 08:01 PM
Thanks!

Vastly relieved it works with NS4 - we had a terrible job tweaking everything to get the site viewable in that browser.

It`ll be great if this can be made to work, as it`s very easy to use. :)

Erwin
06-17-2002, 02:19 AM
Thanks Raz. You are very kind to let us use your server. That's very nice of you. The hack works well, and fast too.

Good job.

Smoothie
06-17-2002, 05:13 AM
Hello Raz! I got this to work with IE, but with Mozilla it comes up as a blank window. Can you help?

Raz
06-17-2002, 09:23 AM
I just tested with Mozilla aswell and its not working either.

I followed Netscapes JavaScript reference to the T - so not sure where the problem is.

Only explanation is that Mozilla is still in development so it might be a bug on their side.

Heres something from their website:Mozilla 1.0 is our most recent stable release. We make binary versions of Mozilla 1.0 available for testing purposes only! We provide no end user support.

bluecat
06-17-2002, 02:27 PM
Excellent. Thank you. :)

freeshares1
06-17-2002, 07:39 PM
Raz,

This is one great hack. Where is the spellchecker hosted?

Thanks for sharing this.

Phil

Raz
06-17-2002, 08:48 PM
Hi,

The actual spellchecking is performed on spellchecker.killermovies.com

Superman53142
06-17-2002, 11:36 PM
Cool beans! Hey, does this use pspell? Can you post the source code for the checking on your server if it does indeed use pspell?

Paul
06-18-2002, 12:00 AM
Cool beans! Hey, does this use pspell? Can you post the source code for the checking on your server if it does indeed use pspell?

I think this would be a more effective hack if the original author included the source for the script on his server which does the actual checking, regardless of what libraries it uses.

Paul

Prince
06-18-2002, 01:42 AM
What would happen if 5,000 vB sites used this spell checker? Wouldn't that cause you some problems?

Superman53142
06-18-2002, 03:20 AM
Originally posted by LoveShack


I think this would be a more effective hack if the original author included the source for the script on his server which does the actual checking, regardless of what libraries it uses.

Paul

Yeah, that would be awesome. I'm just even more interested if it uses pspell as I have been fiddling with that for months but have yet to achieve a speedy spell checker using it.

Raz
06-18-2002, 12:00 PM
Originally posted by LoveShack


I think this would be a more effective hack if the original author included the source for the script on his server which does the actual checking, regardless of what libraries it uses.

Paul I won't be doing that any time soon, sorry.

I am only providing the service - for free.

Raz
06-18-2002, 12:01 PM
Originally posted by Prince
What would happen if 5,000 vB sites used this spell checker? Wouldn't that cause you some problems? Nope, we have a VERY fast server :D

Plus the script is also very efficient.

Superman53142
06-18-2002, 03:35 PM
Can you at least tell us if it uses pspell? :D

So what if I'm a little obsessed :)

Prince
06-18-2002, 04:06 PM
Originally posted by Raz
Nope, we have a VERY fast server :D

Plus the script is also very efficient.

Cool. Thanks for the hack and service.

I installed this and it works perfectly about 90% of the time. Sometimes it comes up with a blank box, other times it will not finish the spell checking, etc. Is this a issue with the script or your server?

freeshares1
06-18-2002, 07:15 PM
Originally posted by Prince


Cool. Thanks for the hack and service.

I installed this and it works perfectly about 90% of the time. Sometimes it comes up with a blank box, other times it will not finish the spell checking, etc. Is this a issue with the script or your server?

I have these same problems

Phil

Raz
06-18-2002, 07:20 PM
Hi,

I'm working on it now.

I'll let you know how I progress.

Ian
06-18-2002, 07:53 PM
Originally posted by freeshares1
I have these same problems
Same with me.

Raz
06-18-2002, 07:55 PM
Yep, I have just come across this problem myself.

I've fixed the problem, and will be releasing v1.1 in the next couple of hours.

Marshalus
06-18-2002, 07:59 PM
Bug: If you include a ; ) smilie in a post, it comes up with JavaScript errors.

Raz
06-18-2002, 08:40 PM
Released new version which fixes problem with blank pages.

Marshalus - I can't reproduce this error message. I will check out your forum and PM you with details.

Ian
06-18-2002, 08:53 PM
I found a bug or maybe I just screwed up installing it... When I create a new thread and click submit, even without spellchecking, right when I click submit it comes up with a JS error and for some reason it wont let me view the source of the page to find line 125, the line the error is on. This only happens when creating a new thread. The URL to my forum is http://forums.zforcenetwork.com/ and I'm using IE6 for a browser.

Raz
06-18-2002, 08:57 PM
Hi Ian,

Do you get the same error in the demo on the first page?

Ian
06-18-2002, 09:09 PM
Originally posted by Raz
Hi Ian,

Do you get the same error in the demo on the first page?
No, but than again, there's no submit page... I double checked the install and it seems to be working... I'm going to try to revert the template to original and re-apply the hack.

Ian
06-18-2002, 09:11 PM
I checked the other demo, the one on your forum and it didn't have the error... I'm going to try what I posted above.

Ian
06-18-2002, 09:15 PM
I re-applied the hack to that template and all looks good, thanks for the hack and the support!

Raz
06-18-2002, 09:16 PM
I tested on your forum and I didn't have problem in IE6 or Netscape 4.

Try uploading all files again in ASCII mode and emptying out your cache on your browser.

Raz
06-18-2002, 09:18 PM
Originally posted by Ian
I re-applied the hack to that template and all looks good, thanks for the hack and the support! Excellent :)

Smoothie
06-18-2002, 09:18 PM
Raz-

I have the original hack installed. Now that its been updated, what files do I need to change/install?

Raz
06-18-2002, 09:20 PM
You need to re-upload spch_v2.js and spellcheck.php

No templates need to be changed.

Smoothie
06-18-2002, 09:32 PM
Just checked, and it seems to work better than before, where I would also get a blank window. Thanks for the update!

Prince
06-18-2002, 09:38 PM
Yup, it's working fine now. :)

Erwin
06-18-2002, 11:06 PM
Thanks for the update. Works great!

dawl
06-19-2002, 12:27 PM
I'm still getting blank pages :-( Does this work on other versions of VB other than 2.2.6 ?

Raz
06-19-2002, 01:40 PM
Create me a test user and PM me the details. I will check out your installation.

Prince
06-19-2002, 03:50 PM
Originally posted by dawl
I'm still getting blank pages :-( Does this work on other versions of VB other than 2.2.6 ?

it should, there are no vB code modifications.

Kaelon
06-19-2002, 06:01 PM
I just wanted to really thank you for this great offering. I know that many of my users have been repeatedly asking for a Spell Checker - and your solution is definitely the best one out there. Please let me know if there's anything that I can do to support your endeavor.

Thanks again.

Juan

dawl
06-19-2002, 11:54 PM
details sent :-) thanks

Raz
06-20-2002, 08:46 AM
Originally posted by Superman53142


Yeah, that would be awesome. I'm just even more interested if it uses pspell as I have been fiddling with that for months but have yet to achieve a speedy spell checker using it. Yes it does use pspell - and I may be releasing the hack very soon, and ceasing the "service".

Prince
06-20-2002, 09:29 PM
Uh Oh!

I figured this might happen...I am getting "Server is too busy" when I try and use the spell check. :(

I guess you better post the entire hack, otherwise we're gonna kill your server! :D

Raz
06-23-2002, 01:40 PM
The only reason I imposed this was because of my host. They have become very strict about server load - so I've put up this limit.

Anyway, I have decided it would be best if I just released the hack so you guys can run it on your own servers.

I need to make some modifications, once done - I will post it. :)

yngwie
06-23-2002, 10:06 PM
I don't know if this has been addressed or not, but it would appear that you need to escape all characters in the to-be-spellchecked-text that will be interpreted by the browser's javascript parser. Namely a double quote anywhere in the text will screw up the javascript in the "Finish checking" code (at least on IE 5.1 on the Macintosh).

This is the javascript that gets generated (which fails on my browser) when using your test page over here (http://spellchecker.killermovies.com/demo/):

<!-- KMC Spell Checker v1.1 (1)//--><html><script language="JavaScript">
parent.window.opener.ftext.value = "receive that'll be "a day!";
parent.close();
</script></html>

The input string was this:
receive that'll be "a day!

Note that the double quote in the text prematurely terminates the parent.window.opener.ftext.value javascript line...

Prince
06-26-2002, 12:13 AM
Please post the full hack soon :), it's getting to the point where I cannot even use the spell check unless it's 1am because of the "Server is too busy" thing. :(

Keta
06-26-2002, 01:32 AM
i am going to install this now...some of my posters need it badly

Prince
06-26-2002, 02:00 PM
Originally posted by Keta
i am going to install this now...some of my posters need it badly

You may want to wait until Raz posts the full hack, you will get a lot of "Server is too busy" errors right now.

Raz
06-27-2002, 09:14 AM
Which should be by this weekend.

Gazer
07-01-2002, 02:49 PM
Any more news on this hack Raz

Cheers m8

Regards Gazer.

Gazer
07-01-2002, 08:39 PM
Just noticed if you edit a posting the spellchecker does not show up, is this the case or have i installed it wrong ???

regards Gazer.

scsa20
07-01-2002, 08:47 PM
you so'posed to edit 4 templetes, one of those templates was editpost (I think that's it)

Prince
07-01-2002, 08:48 PM
Originally posted by Gazer
Just noticed if you edit a posting the spellchecker does not show up, is this the case or have i installed it wrong ???

regards Gazer.

you did not put the button code in the edit post template.

Gazer
07-01-2002, 09:44 PM
you did not put the button code in the edit post template.

Thats what it was :classic: Thanks guys

And a big thankyou to Raz for the hack in the first place.

Just one thing when you start a new thread the spell checker on my board, is at the top of the page,
but when you reply to the thread it's under the posting next to submit reply and preview reply where it should be any thoughts on this please.

http://www.world-of-digital.com/forums/index.php

Regards Gazer.

Prince
07-01-2002, 09:53 PM
you put the spell check button code in the wrong place in the new post template is my best guess.

Gazer
07-01-2002, 10:07 PM
Found it thanks Prince :classic:

It was in the newthread Template.

All working fine now.

Regards Gazer.

exodus
07-02-2002, 02:40 AM
I keep getting the server too busy errors.

When are you going to release the server side of this?

Prince
07-02-2002, 03:15 AM
hopefully soon.

exodus
07-03-2002, 04:21 AM
yah..

i like this spellcheck better than the cgi one, it just needs to be run on my own server so that I don't get the damn too busy errors.

Raz
07-03-2002, 05:36 PM
Sorry for not releasing the hack on the weekend. I've had tons of work, and this is currently low priority.

Anyway, I will hopefully be releasing this in a couple of hours.

The hack won't work for you if you don't have the pspell library installed.

Prince
07-03-2002, 06:08 PM
Originally posted by Raz

The hack won't work for you if you don't have the pspell library installed.

Is that something that your web host installs?

Prince
07-03-2002, 09:34 PM
I have stopped using this hack until the full version gets posted.

Gazer
07-03-2002, 09:40 PM
This is there home page: http://aspell.net/

Regards Gazer.

Prince
07-03-2002, 09:46 PM
Originally posted by Gazer
This is there home page: http://aspell.net/

Regards Gazer.

yeah, I've been there...it seems like something your web host has to have installed.

Raz
07-04-2002, 09:44 AM
Yes you need to have it built in - by your web host if your shared.

I've done the code, but I'm going to test it for a bit before I release it.

kvk007
07-04-2002, 10:49 AM
Raz, great hack! But can you also provide us with libraries, instead of using your servers. because 50% of the time, when my members click on spell check, it says "Server busy". Maybe if I can install the libraries on my server, would be smoother.

regards

Raz
07-05-2002, 10:54 PM
Can a couple of people PM me so that I can test it out and iron out any bugs?

Thanks,
Raz

freeshares1
07-06-2002, 03:31 PM
I have pm'd you..

Ian
07-06-2002, 03:48 PM
pm'd you...

Prince
07-06-2002, 06:39 PM
so did I, last night.

Gazer
07-09-2002, 03:05 PM
Raz Can a couple of people PM me so that I can test it out and iron out any bugs?

PM you a couple of days ago raz.

Plus it looks like you have turned us all off now, from using your spell checker, as all its doing is Advertiseing your forum.

Gazer.

Ian
07-09-2002, 03:20 PM
How am I supposed to un-install this hack if you removed the original zip file? Please re-post it so I can remove all parts of it.

Kaelon
07-09-2002, 06:04 PM
This is basically all that he included in the zipfile, in addition to the spellcheck libraries:

==========================================
======= SPELL CHECKER FOR VBULLETIN ======
============ for VBulletin v2.x ==========
==========================================
=============== by Raz ===================
========== raz@killermovies.com ==========
==========================================

File Contents:
spellcheck.php
spch_v2.js
blank.html

Upload the contents of the ZIP file to the 'spellcheck' directory under your forums directory
(e.g. /{PATH TO YOUR HOME}/forums/spellcheck)

Edit templates newreply, newthread, priv_sendprivmsg, editpost with the following:
(Tip: Do a template search for - spch)

In the <HEAD> section replace (or add):

<script type="text/javascript" language="javascript" src="$bburl/spellcheck/spch_v2.js"></script>

Near the submit buttons replace (or add):

<input type="button" class="bginput" value="Spell Check" onclick="var f=document.forms['vbform']; doSpell(f.message, '$bburl/spellcheck/spellcheck.php');">

Note: look for commented out code and replace with above.

Once you've changed all 4 templates its all done! You now have a spellchecker!

Enjoy!
Raz
raz@killermovies.com

Ian
07-09-2002, 06:50 PM
Thanks Kaelon.

Prince
07-09-2002, 09:04 PM
is this going to be released any time soon?

button
07-10-2002, 02:21 AM
Hello!

I'm trying to get spellcheck on my board. It says installed hack but where? It didn't ask me where I wanted it saved.

Thanks for the help.

Carol

Andy R
07-11-2002, 08:07 PM
What is going on with this hack/feature? I really enjoyed the hack. How can we install the spell checking libararies on our server to move forward?

Thanks for your efforts RAZ!

Littlebit
07-11-2002, 10:38 PM
I'm also interested and will keep checking back to see how it's coming along. Thank you from me too~!

Raz
07-12-2002, 07:51 AM
Sorry but I've been *very* busy with work lately and haven't had time to look at and distribute the code.

Hopefully I will have some time this weekend. I will also look into the possibility of using pspell on a shared account.

Cheers,
Raz

PS. I removed the Zip file at the advice of my host.

Admin
07-12-2002, 01:53 PM
I promised to try this out but I can't seem to find the installation file...?

Raz
07-12-2002, 11:20 PM
I'm going to be releasing the full code soon, so you should be able to check it out then :)

Admin
07-13-2002, 06:44 PM
OK... let me know when you do, I might install this here.

exodus
07-14-2002, 09:33 PM
I have pspell installed on my server and I have no bandwith limits so once the full code is released I will install it on my server and allow people to use it if they wish to.

Prince
07-14-2002, 09:37 PM
Originally posted by exodus
I have pspell installed on my server and I have no bandwith limits so once the full code is released I will install it on my server and allow people to use it if they wish to.

I do not think that bandwidth is the issue, it's Apache processes, and unless you're on a dedicated server you have limits.

exodus
07-14-2002, 10:17 PM
I have my own server. :)

So, no limits. And I don't mind 1000 apache processes running, it's a Dual Pentium III 800 Xeon box. It's pretty quick. :)
http://monster.demented.org/sysinfo/

So. I will still offer it for people when I can. :)

Paul
07-14-2002, 10:26 PM
See https://vborg.vbsupport.ru/showthread.php?postid=262223#post262223

Anyone seriously considering hosting their own forum using vBulletin and including a spell check solution is going to either have to 1.) pay for someone else's server, such as spellchecker.net, or 2.) host a solution on their own server. Your server simply cannot (regardless of system stats) host spell checking solutions for even a fraction of all vBulletin users. This might be a fine solution for a handful of small club sites with less than 100 registered users and no more than 2 or 3 users on the site at a time. Any more than that will cripple your personal server and eventually lead to you discontinuing the service.

Raz
07-14-2002, 10:29 PM
Hey Guys, can you please check out this thread for the full code:
https://vborg.vbsupport.ru/showthread.php?s=&threadid=41071

Thanks,
Raz

Prince
07-14-2002, 10:31 PM
Originally posted by LoveShack
See https://vborg.vbsupport.ru/showthread.php?postid=262223#post262223

Anyone seriously considering hosting their own forum using vBulletin and including a spell check solution is going to either have to 1.) pay for someone else's server, such as spellchecker.net, or 2.) host a solution on their own server. Your server simply cannot (regardless of system stats) host spell checking solutions for even a fraction of all vBulletin users. This might be a fine solution for a handful of small club sites with less than 100 registered users and no more than 2 or 3 users on the site at a time. Any more than that will cripple your personal server and eventually lead to you discontinuing the service.

I agree, that's why I questioned Raz when he first released this "hosted" spellcheck solution (his reply was I have a fast server), and I do not think he even has a dedicated server.

Raz
07-14-2002, 10:31 PM
Originally posted by exodus
I have pspell installed on my server and I have no bandwith limits so once the full code is released I will install it on my server and allow people to use it if they wish to. Exodus, I'm afraid its not as easy as that.

You will require some additional code to allow people to use your spellchecker.

Raz
07-14-2002, 10:33 PM
Originally posted by Prince


I agree, that's why I questioned Raz when he first released this "hosted" spellcheck solution (his reply was I have a fast server), and I do not think he even has a dedicated server. We do actually have a dedicated server.

I just couldn't justify giving up our resources any more (without displaying ads OC).

ryanhulce
08-02-2002, 03:32 PM
When will the Full Release be available to download?

Thanks...

Prince
08-02-2002, 03:48 PM
Originally posted by ryanhulce
When will the Full Release be available to download?

Thanks...

it's in the beta forum, I am using it now.

WcGalaxy
11-20-2002, 07:55 AM
where is the File?
?

Paul
11-21-2002, 03:44 AM
STOP!!!

If you are looking for this hack, see this thread:
https://vborg.vbsupport.ru/showthread.php?s=&threadid=41071


Does that help?

:)

hpsonline
01-23-2003, 01:48 PM
hi, this sounds great, easy and quick, uses someone elses servers.. fine for now,,,, lets get started,,, but i see you have removed the zip file... when will it be back up? please advise.

peace.

hpsonline
01-26-2003, 01:36 PM
anybody know where the zip file is??? it says removed... please advise. thanks.

PbNetwork
03-26-2003, 02:07 AM
I would like to have this hack as well - please advise.

PbNetwork
03-26-2003, 02:08 AM
I would like to have this hack as well - please advise.

PhoenixBB
03-26-2003, 03:17 AM
As far as I know he's stopped developing it. :(

I had it, but it was rarely working, so in the end I took it down.

However....a solution:

Go to http://www.iespell.com/ and download their product. It's amazing - and free!! Any website where you input text can be spellchecked! It attaches to your browser and is so cool!! Just tell all your members to download it and you're sorted. :D

Unfortunately it's only for IE, Mac users are stuffed, but the majority of your users will likely be able to use it.

I just double checked I got the right url, and it said the bandwidth was exceeded, so keep trying. Be well worth it. You can add your own words to the dictionary, and it can choose from American, Canadian, or English spelling. Groovy, 'eh?