View Full Version : vB Spell :: Spell Checker in WYSIWYG and Standard Modes
ludachris
01-13-2006, 04:10 PM
I have 3.5.2 and what I had to do was uninstall the hack and then reinstall it (completely including template modifications) to get it to work - but I've not even had a single issue with it since the reinstall.
Man, this is frustrating. I've uninstalled and reinstalled completely. No luck. I used to have PungoSpell installed, could that have anything to do with this? Uninstalled that one and tried this one.
vonedaddy
01-15-2006, 07:46 AM
I am having problems also with 3.5.2... I get internal server errors on step 5 of install (Load Dictionary). Then I uninstalled and try to reinstall and got DB errors. Has there been any help with this??
HenryHank
01-17-2006, 02:43 PM
I just installed this on 3.5.2, and it works flawlessly.
The only issue was that I had changed my admin cp directory name, so the install program can't find the dictionary to load ("/admincp/" is hard coded in the install script).
What you need to do is create an admincp directory and move the DICTIONARY.DIC into that directory (if you also changed the admincp directory). Then the install will complete and load the database tables. You might need to uninstall then re-install, since the database table has already been created.
But with my plain vanilla 3.5.2 version (also running with PHPADSNEW), it works perfectly without any other errors or problems.
soravok
01-20-2006, 03:46 AM
I'm still having the same problem as I mentioned in earlier posts. The spell checking window just has garbled php code in it and nothing else. Any thoughts or suggestions folks?
ludachris
01-23-2006, 10:25 PM
Well I guess those of us who have tried installing it multiple times with no luck are... out of luck.
davidw
01-23-2006, 11:18 PM
The only thing I can think of it conflicting hacks. In your plugins, where the vbspell is, something else may be conflicting with it.
ludachris
01-23-2006, 11:32 PM
The only thing I can think of it conflicting hacks. In your plugins, where the vbspell is, something else may be conflicting with it.
This hack doesn't use plugins.
tamarian
01-23-2006, 11:35 PM
Has anyone else experienced Javascript errors, preventing the spell check from working? I ran the install and edited the templates, but when I click the button, nothing happens. I look down in the corner of the IE status bar and there's a JS error. The error says something like:
'document.forms[...].message.value' is null or not an object
Any idea what's going on? The only other thing I have running is phpAdsNew scripts (in js form). I removed all the phpadsnew code and it still gives the same error, so there's no conflict there.
This happens with which template? edit post, reply, new thread ..?
ludachris
01-23-2006, 11:41 PM
It appears there's something wrong with the javascript file. That's where the error is happening - I don't think it's conflicting with another hack.
It's giving me an error with line 25 in the javascript file - here's line 25:
h_spellform.spellstring.value = document.forms[formName]["message"].value;
In the error I'm receiving, it's seeing the variable "formName" as "..." and saying it's null or not an object.
ludachris
01-23-2006, 11:46 PM
This happens with which template? edit post, reply, new thread ..?
Reply, New Thread and Quick Reply are all giving me problems. I didn't try installing in Edit Post.
ludachris
01-25-2006, 10:20 PM
Reply, New Thread and Quick Reply are all giving me problems. I didn't try installing in Edit Post.
tamarian,
Any luck getting this worked out?
tamarian
01-26-2006, 12:01 PM
Any luck getting this worked out?
I have just tried it on a fresh 3.5.3 install, and it worked fine, and didn't encounter any problems.
ludachris
01-26-2006, 03:40 PM
So how does this help me exactly? That's great that you got it to work with no problems. Many others have been able to do that as well. I gave you the javascript errors I'm receiving - I was hoping you could try and figure out why I'm receiving that error. There must be some reason I am getting this error. Telling me that you installed it without a problem does me no good.
ludachris
01-27-2006, 12:33 AM
I just tried uninstalling and reinstalling the whole thing again - even reverted the template I was testing it on. I'm still getting the same javascript error. I don't have any hacks that show up in the newreply.php file. If anyone who knows anything about coding hacks can help me out, I really would like to run this script. Obviously this hack has an issue that an advanced coder needs to look into - someone with javascript experience in particular. The vbspell.js is spitting out an error at line 25. Here is line 25 of that file:
h_spellform.spellstring.value = document.forms[formName]["message"].value;
In the error I'm receiving, it's seeing the variable "formName" as "..." and saying it's null or not an object.
Now, I'm glad that this works on a fresh install of 3.53, but that really does me no good. I have a slightly hacked board and none of my hacks should be conflicting with this. I've even removed a few that I thought might. Does this have anything to do with WYSIWYG settings? Anything to do with server settings? Anyone? Bueller?
I've installed everything exactly the way the instructions say - at least 4 times. That tells me that this script is buggy.
Replicators
01-27-2006, 01:08 AM
My only problem is when i install the dictionary i always reach max questions>8(
Could a sql file be made also for other people that have this problem?
ztempuser
01-27-2006, 01:12 AM
can this work on vb3.5.1?
ludachris
01-27-2006, 08:52 PM
Since the person who wrote this hack can't seem to help me out, can someone else give me some suggestions on why the javascript file used in this hack is giving me errors? I've posted the error above. Any help would be greatly appreciated.
bloodwrath
01-28-2006, 03:06 AM
installed and working great
the spell checker is a tad dump. will keep adding custom works to the .dic file
thanks
mdcarlson
01-28-2006, 08:41 PM
Tamarian,
Great mod! I installed today on vB 3.5.3 and had it working a few minutes. I followed the directions to replace the ieSpell button.
Three quick questions:
I don't see any suggested spellings no matter what value I set for the Levenshtein Distance. What could cause that? The rest of the spelling popup box looks correct.
How does the "learn" function work? Is this per user or for the entire board?
What is the best way to add domain-specific vocabulary to the words list?
Thanks,
Mark
tamarian
01-28-2006, 09:06 PM
Could a sql file be made also for other people that have this problem?
It's attached in a post a couple of pages back.
tamarian
01-28-2006, 09:08 PM
Three quick questions:
I don't see any suggested spellings no matter what value I set for the Levenshtein Distance. What could cause that? The rest of the spelling popup box looks correct.
How does the "learn" function work? Is this per user or for the entire board?
What is the best way to add domain-specific vocabulary to the words list?
1. The disctionary maybe empty
2. Stored in user's cookies
3. No direct way currently.
tamarian
01-28-2006, 09:09 PM
can this work on vb3.5.1?
Should be o.k.
mdcarlson
01-28-2006, 09:45 PM
The Dictionary is fully populated in the MySQL vbspell table and spell-check finds incorrect words OK.
What else would cause the suggested spellings not to appear?
ludachris
01-30-2006, 10:28 PM
tamarian, does the fact that you're ignoring my posts mean that you have no idea why your hack is not working for me? All I really want is some suggestions on what to look for. I narrowed down where the problem is - it's the 24-25th line in the Javascript file. Can't you do anything at all to help me out here? I'm trying to troubleshoot this.
Can ANYONE just tell me why I'd be receiving this javascript error?
Warlockmatized
01-31-2006, 02:48 AM
works GREAT...........
i would however like to see it check the title of a new thread OR reply.
other than that excellent addition to my board.
*clicks install and grins
ludachris
02-01-2006, 09:21 PM
Can ANYONE just tell me why I'd be receiving this javascript error?
zylstra
02-02-2006, 02:10 AM
For step 3.C. of installation shouldn't the default be to incorporate the tabindex:
<input type="button" class="button" value="Spell Check" onClick="spellCheck('vbform', '$editorid', '2');" tabindex="1" /> instead of <input type="button" class="button" value="Spell Check" onClick="spellCheck('vbform', '$editorid', '2');" />?
o0Hubba0o
02-02-2006, 02:39 AM
Been wanting to get this for awhile, but have been avioding thinking it's a long and complex install.
Man was I wrong, this was very easy for anyone who's installed some hacks, and should be easy to figure out for the new ones to the scene too. Took me maybe 15 minutes total.
4number8
02-03-2006, 02:15 AM
This still works great, just do like everyone has said, reinstall except for step 5
quanvo81
02-04-2006, 06:42 AM
I can't pass by the installation step 5, even I have a dedicated server , I edit my php.ini file, fix the max_exection_time to 320. I have also edit the vbspell_install.php file with @set_time_limit(3600);
Everytime when I get to step 5, I got a blank page.
Also why my DICTIONARY.DIC file is only 2MB while I saw somewhere in here that people claim their DICTIONARY.DIC file to be approximately 8MB
Correct me if I am wrong and I really appreciate for all your help.
zylstra
02-04-2006, 10:11 AM
4 forms of the word masturbate are mispelled (masterbate) in your dictionary, among many others.
Who provided the dictionary?
quanvo81
02-05-2006, 04:59 AM
I can't pass by the installation step 5, even I have a dedicated server , I edit my php.ini file, fix the max_exection_time to 320. I have also edit the vbspell_install.php file with @set_time_limit(3600);
Everytime when I get to step 5, I got a blank page.
Also why my DICTIONARY.DIC file is only 2MB while I saw somewhere in here that people claim their DICTIONARY.DIC file to be approximately 8MB
Correct me if I am wrong and I really appreciate for all your help.
bump
anyone can help? :surprised: :nervous:
reismarktq2
02-05-2006, 07:03 PM
My boss has been wanting something like this for months now. Thank you so much for providing this awesome hack!
I do have two issues though, and they both pertain to adding spell check to quickedit. The statements are set up properly in SHOWTHREAD, but when I click the Spell Check button, the window loads up and I promptly get the "Spell Check complete" message, despite there being obvious misspellings in my test message. What's even worse is that if I use a test message with no errors with quickedit, the spell checker will REPLACE the entire contents of my test message with the default "enable Quick Reply" message.
It works great everywhere else, but I'd love to see a fix for these two bugs since quickedit is a place I'm going to want to have this used regularly. :D
(I should add, I am getting these bugs with the most recent version of Firefox.)
jmacieira
02-05-2006, 07:14 PM
hello
Please, somebody could indicate me where to find a Portuguese dictionary for intergrate in the vB Spell ?
best regards
gizmo4321
02-06-2006, 12:51 PM
I have a problem where a couple of users on my system are using large fonts. Because of this, the window is too small to contain all of their text and buttons. Is there any way to make the window adjust its size based on the font being used.
Sinistra
02-06-2006, 04:01 PM
I an having an issue.when I goto the quick edit and use the spell check. it says its complete then deleted severything in the post.any way I can fix this?
clearchannel
02-06-2006, 09:49 PM
I upgraded vb from 3.52 to 3.53. What do I have to do to reinstall vbspell? I'm getting the spell box, but it's blank.
thanks in advance
ludachris
02-08-2006, 03:42 PM
I'll post my weekly plea for help - though it's becoming quite clear that you can't get help with this hack (I've been trying to get support for weeks now and am ignored). It simply will not work. I keep getting a Javascript error. I've reinstalled nearly 5 times with the same results. Here's the error I've been getting:
https://vborg.vbsupport.ru/showpost.php?p=880785&postcount=259
If anyone has any idea why I'd be getting this Javascript error, PLEASE help me out. I don't know what to do at this point, and the person who wrote the hack won't give me any support for this problem. I've tried everything suggested.
gizmo4321
02-08-2006, 04:33 PM
I an having an issue.when I goto the quick edit and use the spell check. it says its complete then deleted severything in the post.any way I can fix this?
I have the same issue. AFAICT, quick edit is just hosed. When I get some time I may look into it and see if I can sus out what the problem is. Right now I'm trying to figure out the other problem that I posted about.
gizmo4321
02-08-2006, 04:35 PM
I'll post my weekly plea for help - though it's becoming quite clear that you can't get help with this hack (I've been trying to get support for weeks now and am ignored). It simply will not work. I keep getting a Javascript error. I've reinstalled nearly 5 times with the same results. Here's the error I've been getting:
https://vborg.vbsupport.ru/showpost.php?p=880785&postcount=259
If anyone has any idea why I'd be getting this Javascript error, PLEASE help me out. I don't know what to do at this point, and the person who wrote the hack won't give me any support for this problem. I've tried everything suggested.
One of my users is reporting what sounds like the same problem, but only when he tries to view the page using the IE Tab or IE View extension for FireFox (Not sure which extension) I haven't been able to reproduce it, so I haven't got a clue what is going on.
ludachris
02-08-2006, 04:49 PM
One of my users is reporting what sounds like the same problem, but only when he tries to view the page using the IE Tab or IE View extension for FireFox (Not sure which extension) I haven't been able to reproduce it, so I haven't got a clue what is going on.
I'm using IE 6.0.2900 and I can reproduce the problem everytime. Many users have the same problem, so I know it's not just me. And once again, just so everyone knows, I've completely uninstalled and reinstalled several times to try and fix this. It doesn't do anything differently.
gizmo4321
02-08-2006, 09:30 PM
Same here, but I have no problems. What version of vBulletin?
tamarian
02-09-2006, 12:40 AM
I'll post my weekly plea for help - though it's becoming quite clear that you can't get help with this hack (I've been trying to get support for weeks now and am ignored).
You did get support, but your sarcasm got in the way. You don't like my suggestions, and you want it fixed exactly your way, which won't work.
tamarian
02-09-2006, 12:41 AM
I upgraded vb from 3.52 to 3.53. What do I have to do to reinstall vbspell? I'm getting the spell box, but it's blank.
Re-run the install script.
ludachris
02-09-2006, 08:19 PM
You did get support, but your sarcasm got in the way. You don't like my suggestions, and you want it fixed exactly your way, which won't work.
tamarian,
I didn't get any suggestions from you that I didn't try. You asked me what templates I was having problems with and I told you. I gave you the error and narrowed down where it was coming from. Then you told me that you tried installing it yourself with no problems. I didn't see that as being a suggestion, but maybe it meant that I should try reinstalling, which I did multiple times without success. What other suggestions did you give that I haven't tried?
I'm not sure what you mean when you say I want it fixed "my way"? I just want to get this working and haven't given any hint that I won't try your way or anyone else's - hell, I've been trying to find anyone that would give me any advice to get this thing working. Aside from reinstaling, what other advice was I given that I missed?
ludachris
02-11-2006, 01:54 AM
You don't like my suggestions, and you want it fixed exactly your way, which won't work.
Again, I'm open to fixing it anyway possible - your way or anyone elses', it doesn't matter to me. I'm open to any advice. I've tried re-running the install script several times with no difference in the outcome. That doesn't seem to work. Am I doing something wrong? What should I try next?
tamarian
02-14-2006, 11:35 AM
Ludachris, we know that it works on a fresh vb, but with your customization, it doesn't. So it will need to be a process of elimination, to find why it's not working for you. Best way to do it is by creating a new style from the default vB style, with no edited templates. Make the vB Spell template edits, and see if it works. If it does, then you need to revert some of your templates to eliminate whatever is there causing it not to work.
ludachris
02-14-2006, 01:47 PM
Ludachris, we know that it works on a fresh vb, but with your customization, it doesn't. So it will need to be a process of elimination, to find why it's not working for you. Best way to do it is by creating a new style from the default vB style, with no edited templates. Make the vB Spell template edits, and see if it works. If it does, then you need to revert some of your templates to eliminate whatever is there causing it not to work.
I'll try this. Just so you know though, I did try something similar before - I reverted my Reply template and Header template and put in the code and it didn't work. I'm guessing there might be other templates involved though? Maybe the Navbar template? Any ideas what other templates I should keep an eye out for that will have an effect on things?
Thanks for the suggestion.
quanvo81
02-14-2006, 02:00 PM
my question get ignored too.
I'm having a problem, trying to do step 5. It always times out.
Princeton
02-21-2006, 12:17 AM
I needed to install this for a client but I noticed that the posbit_edit didn't work.
The reason why it doesn't work is because the vbspell script checks for form name "vbform". The post_edit form doesn't use this 'name'. In fact, I don't think it has a name.
Anyway, the fix is to find the array of form objects within the page. ie. how many <form> objects are found before the postbit_edit form. In a default vbulletin style, the number is 3 ... at least that's what it was for me logged in as admin. :)
So instead of...
document.form["formname"] - uses defined form names
we will have
document.form[3] - uses refrence number within array
If it doesn't work with '3' check with another number.
I can't test this on client site as a registered member so if someone can test and confirm this I would appreciate it. Thanks
Well, here's the fix:
<input type="button" class="button" value="Spell Check" onclick="spellCheck('3', '$editorid', '2');" />
OTHER RECOMMENDATIONS:
Check to see if field exist before ALTERing a table. For example, user table - if field exist ALTER will fail; thus, it may leave someone with missing fields
GREAT JOB
OrangeFlea
02-21-2006, 08:25 PM
Any demo sites? Is anyone running this thing on their forum, I want to check it out.
reismarktq2
02-25-2006, 03:00 AM
Princeton: Works like a charm. Much thanks! :)
Tamarian: Any reason why the install script needs to be re-run after running a vBulletin update? And how much of the install script actually needs to be re-run? I'd rather avoid having to re-install the dictionary each time I run an update, since we are often adding a number of words/phrases that aren't already there as they are discovered and would like to be able to keep these customizations.
tamarian
02-25-2006, 12:39 PM
Princeton: Works like a charm. Much thanks! :)
Post the details, and I'll add it to the first post so others can try it.
Tamarian: Any reason why the install script needs to be re-run after running a vBulletin update? And how much of the install script actually needs to be re-run?
The reason is that this was released prior to product xml files. Converting it to product format is not difficult, but will mess up previous installations. At one point in the future I'll think of a way for a painless upgrade.
You can run the steps until the dictionary step, which does not need to be re-run.
Ambie
03-02-2006, 11:11 PM
I couldn't figure out how to get past step 5 for the life of me. I was desperate,so what I ended up doing was looking at the last word in the VBspell table, then going to the dictionary.dic file and copied the words after that one all the way down. Pasted it into a new file, named it dictionary.dic and uploaded it over the old one.Then ran step 5 again. It loaded the rest of the words and the install finished. Works great now. :)
D|ver
03-04-2006, 12:47 PM
me too interesting... :squareeyed:
me too, that would be great :)
dutchbb
03-06-2006, 06:40 PM
What languages does this support? No dutch right?
kellee88
03-06-2006, 11:06 PM
We upgraded from 3.0.7 to 3.5.4. We had vBSpell in 3.0.7. We have veen trying to install the latest 3.5.3 vBSpell but with no luck. Here is the message we get:
vb spell will not install. I get Warning: Invalid argument supplied for foreach() in /includes/class_core.php on line 2755
Unable to add cookies, header already sent.
File:/includes/class_core.php
Line: 2984
Any suggestions?
Strat
03-07-2006, 02:53 AM
How about having it in QR?
AlchemyX
03-09-2006, 01:10 PM
um.... everything is fine except that my browser times out on step 5...
Tralala
03-09-2006, 03:17 PM
um.... everything is fine except that my browser times out on step 5...
I was removing the SkypeWeb hack from 3.5.3, and had to revert files.
In doing so, vBSpell broke, so I uninstalled it and then re-installed.
I, too, timed out on step 5...
But, I checked and spellcheck appears to be working again.
<shrug>
clearchannel
03-11-2006, 12:21 AM
I have a question concernig usergroups. I have a primary usergroup I do not want to allow to use the spell check. I then add those who make a donation to a secondary usergroup for whom I would like to allow to use spell check.
I installed the spell check using the alternate templates edits ( https://vborg.vbsupport.ru/showpost.php?p=782989&postcount=48 ) I configured the specfic usergroups I want to enable spell check for.
The only problem is, for my secondary usergroup (donating members) the quick reply does not work. Spell check works in all other functions, such as post, reply, and private message.
Does anyone have any suggestions.
Thanks in advance.
Edit: After further investgation, this issue only appears to effect Firefox 1.5.0.1
I really should check these problems out before wasting everyones time. I cleared the cache in firefox and all is working now. Sorry for the intrusion.
I am upgrading to 3.5.4. The spell check was working great prior to the upgrade, but afterwards the pages were blank so I uninstalled and reinstalled vb Spell. During the reinstall I got this error. Please help!
Database error in vBulletin 3.5.4:
Invalid SQL:
CREATE TABLE forumvbspell (
word varchar(30) NOT NULL,
sound varchar(10) NOT NULL,
UNIQUE KEY word (word),
KEY sound (sound)
) TYPE=MyISAM;
MorrisMcD
03-11-2006, 02:08 AM
I am upgrading to 3.5.4. The spell check was working great prior to the upgrade, but afterwards the pages were blank so I uninstalled and reinstalled vb Spell. During the reinstall I got this error. Please help!
I am THINKING you need to just do the templates in the install.. That error is saying its trying to create a database table, but it already exists... I Think
Ah, thanks. The uninstall wasn't deleting that table for some reason. To make sure everything was running correctly I re-ran the uninstall and manually dropped the table. Then I ran a fresh install - everything is working like a charm ... Thanks!
I am THINKING you need to just do the templates in the install.. That error is saying its trying to create a database table, but it already exists... I Think
MorrisMcD
03-11-2006, 02:26 AM
Ah, thanks. The uninstall wasn't deleting that table for some reason. To make sure everything was running correctly I re-ran the uninstall and manually dropped the table. Then I ran a fresh install - everything is working like a charm ... Thanks!
Awesome! :banana:
reismarktq2
03-11-2006, 02:49 AM
Post the details, and I'll add it to the first post so others can try it.
Just link to Princeton's post, it explains everything. :)
https://vborg.vbsupport.ru/showthread.php?p=906016#post906016
Todd123
03-22-2006, 11:28 PM
Installed. *Clicks Install* :)
Freesteyelz
03-25-2006, 11:03 AM
On my testing board vB Spell worked flawlessly. I installed it several times on my live board but each time I clicked the spell check button I get a message something like:
"Problem with the installation, please notify the webmaster"
I've re-uploaded the files, disabled plugins and made sure that the permissions were set correctly. Each time it installed successfully. I also did what Princeton recommended.
Any ideas?
Rukbat
04-04-2006, 05:24 AM
Anyone running this on 3.5.4? problems?
boduzapho
04-06-2006, 12:52 AM
everything works but the check its self. I click the spell check the box pops up and i get another box saying spell checking is complete, even when i know there are errors.
and suggestions?
gizmo4321
04-06-2006, 01:43 AM
everything works but the check its self. I click the spell check the box pops up and i get another box saying spell checking is complete, even when i know there are errors.
and suggestions?
I had the same problem. Ran the uninstall, then manually dropped the vBSpell table from the DB, then re-ran the install, and all is well. Running 3.5.4 with no problems. I did have to revert several of my templates, which caused me to have to do the vBSpell edits again, but that was expected.
Acedeal
04-07-2006, 02:36 AM
unable to install due to time out issues--
dies on step 5 where it tries to import all the words into the table-
even increase the time outs from 60 to 360 and it still a nightmare to install-
uses will have to do without a spell checker untill we get the option of installing the database from the mysql command line, or a least the option of skiping steps and letting us install the database manually.
-had it running in 3.07 perfectly-
this install just needs to handled a little differently-
Sir_Yaro
04-07-2006, 07:45 PM
Hi.
How and where this module is interpreting non latin chars?
I couldn't find anything about code page or something similar.
Generally everything is working very well for polish language but polish letters are interpreted as spaces between words (or sth like that)
And second thing. What can I do if my dictionary take about 38MB ?? There is no way to import it via provided php interface... As a matter of fact I just hung up my provider's database while I was trying to do it...
Rukbat
04-08-2006, 01:44 AM
I just installed on 3.5.4 and so far using Mozilla it's working great, I haven't checked in IE yet. However...
for Quick Reply in the SHOWTHREAD template I had to use:
<input type="submit" class="button" value="$vbphrase[go_advanced]" accesskey="x" title="(Alt + X)" name="preview" tabindex="3" id="qr_preview" onclick="clickedelm = this.value" />
which is the original code for the 'go advanced' button instead of
<input type="submit" class="button" value="$vbphrase[go_advanced]" accesskey="x" title="(Alt + X)" name="preview" tabindex="3" id="qr_preview" onclick="this.form.clickedelm.value = this.value" />
If I used both, I had two 'go advanced' buttons the spell check worked but neither 'go advanced' worked, it simply posted what I'd written instead of going to the advanced editor;
If I only used the 2nd one (....onclick="this.form.clicedelm.value...) the spell check worked but when clicking 'go advanced', again it simply posted instead of going to the advanced editor;
When I put the *original* 'go advaced' code AFTER the 'spell check' button code (it was originally right after the 'post quick reply' button code), the spell check worked AND it properly went to the advanced editor when 'go advanced' was clicked.
Now have I thoroughly confused everybody? lol
I love this, and so will my members :D
edit: checked in IE6 and seems to be working fine.... in edit, new thread, post reply, advanced, and quick reply
Sir_Yaro
04-08-2006, 10:59 AM
Polish users can find excelent dictionary here:
http://forum.mandriva.org.pl/~yaro/pl_huge.zip
or here
http://www.winedt.org/Dict/pl_huge.zip
it contains 3.024.847 words
Unfortunatelly provided php interface is completely useless for such huge dictionary. Actually it has a problems even with ~5-10MB dictionaries. If your database is not on 127.0.0.1 (localhost) I think you will not be ever able to put your dictionary to the database.
That's why I wrote bash script to do it instead of php one. It's slow (2-4x slower than php one) but it works!
I've removed function metaphone() because I havent find any application for it and I've no idea how to generate it in bash.
#!/bin/bash
ip="127.0.0.1"
database="test"
table="test"
user="root"
password=""
source_file="pl.dic.new"
clear
records=`wc -l $source_file |tr -cs '[a-zA-Z0-9.]' '[\n*]'|head -n 1`
echo "No. of records is $records"
echo ""
date
echo ""
#make table empty
mysql -h $ip -u $user --password="$password" -e "TRUNCATE TABLE $table" $database
# change the IFS variable to ignore whitespace
ifs=$IFS
IFS='\
'
IFS=$ifs
echo "Transfering data"
while read A; do
mysql -h $ip -u $user --password="$password" -e "INSERT INTO $table VALUES (\"$A\",\"XYZ\")" $database >/dev/null 2>&1
counter=$[counter + 1]
tput cup 13 0;echo "$counter (of $records) records done..."
done< $source_file
echo ""
echo "All done"
echo ""
date
script fixed. Now its working much, much faster.
rckirk
04-08-2006, 02:06 PM
I have uploaded the vB Spell files, how do I "run vbspell_install.php"
Thanks.
rckirk
04-08-2006, 03:54 PM
[QUOTE=rckirk@adelphia]I have uploaded the vB Spell files, how do I "run vbspell_install.php"
I am a new user and have not installed any extensins yet. I am not a technician, so any help on this would be appreciated.
Thanks!
username12
04-10-2006, 01:51 AM
Looks like step 5 just takes persistence. Finally got past it after 4 tries.
arossphoto
04-11-2006, 02:43 AM
installed using the xml file from this topic (https://vborg.vbsupport.ru/showpost.php?p=783569&postcount=51) and it's working great in the new topic, reply and quick reply.
The only small problem I noticed was the size of the window that it opens in. It is too small and cuts off the side of the spell checker.
sandrodz
04-11-2006, 11:00 PM
on who's online, it displayes:
Unknown Location
/forums/vbspell.php
tamarian
04-12-2006, 12:20 AM
Do a search in this thread for column size, you'll find the needed edits.
I have a problem with installing. When i get to step 4, and click go to step 5, nothing happens. It's the same if i use the link in my address bar - http://www.mydomain.net/forum/admincp/vbspell_install.php?do=install&step=5. In firefox it just does nothing, and in IE, it waits a while and then gives page cannot be displayed. Any ideas?
gavinzac
04-12-2006, 09:18 PM
I have a problem with installing. When i get to step 4, and click go to step 5, nothing happens. It's the same if i use the link in my address bar - http://www.mydomain.net/forum/admincp/vbspell_install.php?do=install&step=5. In firefox it just does nothing, and in IE, it waits a while and then gives page cannot be displayed. Any ideas?
what he said!
MThornback
04-15-2006, 07:36 PM
what he said!
goes double for me! :p
using 3.5.4
rareclownfish
04-16-2006, 08:20 PM
I love this. thanks Installed
Gottcha
04-17-2006, 01:52 AM
Great ... installed
brvheart
04-17-2006, 02:43 PM
goes double for me! :p
using 3.5.4
yep, me to....
Andyf
04-18-2006, 10:09 AM
Installed (eventually)
I had same problem as many others with the install stopping at step 5.
I fixed this as recommended by an earlier poster by creating a new dictionary.dic file for the words not transferred to the db in the first run. I oploaded the new dic file (overwriting the original) and ran step 5 again. It completed ok and install finished without further problems.
Great hack.
Andy
arossphoto
04-19-2006, 04:04 PM
I think I mentioned this in an earlier post, but it's starting to bother me and I like to find out if there is a solution. The window that opens for the spell checker is too small and cuts off the right side in Firefox (left in IE) so it is hard to reach the scroll bar for "suggestions". See attached image. I can drag the window to make it bigger, but I don't like having to do that every time and some users might not realize that.
Is there anyway to make the window bigger?
Thanks,
Andrew
user02934123123
04-21-2006, 11:05 AM
Installed today, and works well; except that it doesn't work from the postbit quickedit (always finds 0 mistakes in posts when checked thus, even if there are many spelling errors). I can also repeat the query of the post above: namely, that the spell check window is improperly sized in Firefox. Any chance of a fix for that?
Else, all looks quite nice. What are the options for installing other dictionaries (e.g. a UK English dictionary)?
Parker Clack
05-23-2006, 03:51 PM
As Princeton laid out in post #301 change the postbit_quickedit
change
<if condition="is_browser('ie')">
<td><img src="$stylevar[imgdir_editor]/separator.gif" width="6" height="20" alt="" /></td>
<td><div class="imagebutton" id="{$editorid}_cmd_spelling"><img src="$stylevar[imgdir_editor]/spelling.gif" width="21" height="20" alt="$vbphrase[check_spelling]" /></div></td>
</if>
to
<td><img src="$stylevar[imgdir_editor]/separator.gif" width="6" height="20" alt="" /></td><td onclick="spellCheck('3', '$editorid', '2');"><div class="imagebutton"><img src="$stylevar[imgdir_editor]/spelling.gif" width="21" height="20" alt="$vbphrase[check_spelling]" /></div></td>
and
<input type="button" class="button" value="Spell Check" onclick="spellCheck('3', '$editorid', '2');" />
after
<input type="button" class="button" tabindex="1" accesskey="p" value="$vbphrase[go_advanced]" id="{$editorid}_adv" />
worked for me with everything else as laid out with the changes to the postbit_quickreply template in v 3.5.4
Parker
Eathanor
05-24-2006, 02:04 PM
Hi,
Thanks for this great extension :)
I finally managed to solve my problem concerning the importation of the dictionary. I did it in several steps, while cutting file DICTIONARY.DOC in several subfiles.
On the other hand, I have now a new issue. During the spell checking, no accentuated word is recognized. It's in french.
For example, the word “v?rifier” will not be known and it will see the word like this :
v? rifier
It puts a space in front or behind each accentuated letter. I don't know the cause of this problem and what I must correct. It's very frustrating :confused:
Any ideas ?
Regards,
993ti
05-24-2006, 10:00 PM
I'm interested in this as some of my users can't even spell the most simple words.
Is there a dutch language available for it?
sc4r3d
05-26-2006, 01:22 AM
For each template where you would like to add a vB Spell, do the following edits (Example: editpost, newreply, newthread, etc.)
Can you give me all of the names, I think I have all of them but want to make sure I am not missing any of them.
Hitting "Installed" and I love it!!
Thanks
boduzapho
05-28-2006, 03:10 AM
Just installed this on my clean 3.5.4 When the popup box shows it has only this in it..
options['vbspell_allow_all'] OR is_member_of($vbulletin->userinfo, explode(',', $vbulletin->options['vbspell_use_groups']))) $vbulletin->userinfo['can_use_vbspell'] = TRUE; if (!$vbulletin->userinfo['can_use_vbspell'] OR $vbulletin->userinfo['usergroupid'] == 0) print_no_permission(); $PersonalWords = array(); if (!empty($_COOKIE['vbspell_words'])) $PersonalWords = explode(',', urldecode(strtolower($_COOKIE['vbspell_words']))); require_once('./includes/searchwords.php'); // get search engine stop words, to save on queries. function MisSpelled($word) { global $db, $badwords, $PersonalWords; $word = trim($word, "'"); $partial = explode('\'', strtolower($word)); if (count($partial) > 1) $CheckPartial = TRUE; else $CheckPartial = FALSE; if (in_array($partial[0], $PersonalWords)) return FALSE; // User have "learned" this word elseif ($CheckPartial AND in_array(strtolower($word), $PersonalWords)) return FALSE; // User have "learned" this word elseif ($word === strtoupper($word)) return FALSE; // All uppercase, treat as abbriviation, might want to make this an admincp option.. elseif (in_array($partial[0], $badwords)) return FALSE; // Very common word elseif ($CheckPartial AND in_array($partial[0] . $partial[1], $badwords)) return FALSE; // Very common word elseif ($db->query_first("SELECT word FROM " . TABLE_PREFIX . "vbspell WHERE word = '" . addslashes($partial[0]) . "'")) return FALSE; // Found In dictionary else return TRUE; // probably mis-spelled } function Suggest($for) { global $db, $vbulletin; $for = trim($for, "'"); $WordList = array(); $SuggestedList = array(); $Suggestions = $db->query_read("SELECT word FROM " . TABLE_PREFIX . "vbspell WHERE sound = '" . addslashes(metaphone($for)) . "'"); while ($Suggestion = $db->fetch_array($Suggestions)) $WordList[$Suggestion['word']] = levenshtein($for, $Suggestion['word']); asort($WordList); reset($WordList); foreach ($WordList as $word => $distance) if ($distance <= $vbulletin->options['vbspell_levenshtein_distance']) $SuggestedList[] = $word; if ($for === ucfirst($for)) { foreach ($SuggestedList as $key => $word) $SuggestedList[$key] = ucfirst($word); } elseif ($for === strtoupper($for)) { // not possible yet, but might be allowed in admincp. foreach ($SuggestedList as $key => $word) $SuggestedList[$key] = strtoupper($word); } return $SuggestedList; } function strip_attributes ($html, $attrs) { if (!is_array($attrs)) { $array= array( "$attrs" ); unset($attrs); $attrs= $array; } foreach ($attrs AS $attribute) { // once for ", once for ', s makes the dot match linebreaks, too. $search[]= "/".$attribute.'\s*=\s*".+"/Uis'; $search[]= "/".$attribute."\s*=\s*'.+'/Uis"; // and once more for unquoted attributes $search[]= "/".$attribute."\s*=\s*\S+/i"; } $html= preg_replace($search, "", $html); // do another pass and strip_tags() if matches are still found foreach ($search AS $pattern) { if (preg_match($pattern, $html)) { $html= strip_tags($html); break; } } return $html; } // the safe_html() function // note, there is a special format for $allowedtags, see ~line 90 function safe_html ($html, $allowedtags="") { /* safe_html.php http://chxo.com/scripts/safe_html/ Copyright 2003 by Chris Snyder (csnyder@chxo.com) Free to use and redistribute, but see License and Disclaimer below - Huge thanks to James Wetterau for initial testing and feedback! - Originally posted at http://lists.nyphp.org/pipermail/talk/2003-May/003832.html Version History: 2005-09-05 - 0.5 -- upgrade to handle cases at http://ha.ckers.org/xss.html 2005-04-24 - 0.4 -- added check for encoded ascii entities 2003-05-31 - 0.3 -- initial public release License and Disclaimer: Copyright 2003 Chris Snyder. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ // anything with ="javascript: is right out -- strip all tags if found $pattern= "/=[\S\s]*s\s*c\s*r\s*i\s*p\s*t\s*:\s*\S+/Ui"; if (preg_match($pattern, $html)) { $html= strip_tags($html); return $html; } // anything with encoded entites inside of tags is out, too $pattern= "/<[\S\s]*&#[x0-9]*[\S\s]*>/Ui"; if (preg_match($pattern, $html)) { $html= strip_tags($html); return $html; } // setup -- $allowedtags is an array of $tag=>$closeit pairs, // where $tag is an HTML tag to allow and $closeit is 1 if the tag // requires a matching, closing tag if ($allowedtags=="") { $allowedtags= array ( "p"=>1, "br"=>1, "a"=>1, "img"=>1, "li"=>1, "ol"=>1, "ul"=>1, "font"=>1, "b"=>1, "i"=>1, "em"=>1, "strong"=>1, "del"=>1, "ins"=>1, "u"=>1, "code"=>1, "pre"=>1, "blockquote"=>1, "hr"=>1 ); } elseif (!is_array($allowedtags)) { $array= array( "$allowedtags" ); } // there's some debate about this.. is strip_tags() better than rolling your own regex? // note: a bug in PHP 4.3.1 caused improper handling of ! in tag attributes when using strip_tags() $stripallowed= ""; foreach ($allowedtags AS $tag=>$closeit) { $stripallowed.= "<$tag>"; } //print "Stripallowed: $stripallowed -- ".print_r($allowedtags,1); $html= strip_tags($html, $stripallowed); // also, lets get rid of some pesky attributes that may be set on the remaining tags... // this should be changed to keep_attributes($htmlm $goodattrs), or perhaps even better keep_attributes // should be run first. then strip_attributes, if it finds any of those, should cause safe_html to strip all tags. $badattrs= array("on\w+", "style", "fs\w+", "seek\w+"); $html= strip_attributes($html, $badattrs); // close html tags if necessary -- note that this WON'T be graceful formatting-wise, it just has to fix any maliciousness foreach ($allowedtags AS $tag=>$closeit) { if (!$closeit) continue; $patternopen= "/<$tag\b[^>]*>/Ui"; $patternclose= "/<\/$tag\b[^>]*>/Ui"; $totalopen= preg_match_all ( $patternopen, $html, $matches ); $totalclose= preg_match_all ( $patternclose, $html, $matches2 ); if ($totalopen>$totalclose) { $html.= str_repeat("", ($totalopen - $totalclose)); } } return $html; } $mystr = str_replace('\\', '\\\\', $_REQUEST['spellstring']); $mystr = stripslashes($mystr); $mystr = safe_html($mystr); $FormName = $_POST['spell_formname']; $FieldName = $_POST['spell_fieldname']; // can't have newlines or carriage returns in javascript string $mystr = str_replace("\r", "", $mystr); $mystr = str_replace("\n", "_|_", $mystr); $mystr = trim($mystr); $ignore_sets = '\[QUOT.+\].*\[\/QUOTE\]|'; $ignore_sets .= '\[CODE\].*\[\/CODE\]|'; $ignore_sets .= '\[PHP\].*\[\/PHP\]|'; $ignore_sets .= '\[img\].*\[\/img\]|'; $ignore_sets .= '\[url.*\].*\[\/url\]|'; $ignore_sets .= '.*<\/a>|'; preg_match_all ( "/" . $ignore_sets . "\[[^\]]+\]|[[:alpha:]']+|<[^>]+>|&[^;\ ]+;/im", $mystr, $alphas, PREG_OFFSET_CAPTURE|PREG_PATTERN_ORDER); $mystr = str_replace('\\', '\\\\', $mystr); // this has to be done _after_ the matching. it messes up the // indexing otherwise. I have not figured out exactly why this // happens but I know this fixes it. $mystr = str_replace("\"", "\\\"", $mystr); $js .= 'var mispstr = "'.$mystr.'";'."\n"; $js .= 'var misps = Array('; $curindex = 0; for($i = 0; $i < sizeof($alphas[0]); $i++) { // if the word is an html tag or entity then skip it if (preg_match("/<[^>]+>|&[^;\ ]+;/", $alphas[0][$i][0])) continue; // ignore quotes if (preg_match("/\[QUOTE\].\[\/QUOTE\]/ism", $alphas[0][$i][0])) continue; // ignore BBCODE/VBCODE tags if (preg_match("/\[[^\]]+/", $alphas[0][$i][0])) continue; if (MisSpelled($alphas[0][$i][0])) { $js .= "new misp('" . str_replace("'", "\\'",$alphas[0][$i][0]) . "',". $alphas[0][$i][1] . "," . (strlen($alphas[0][$i][0]) + ($alphas[0][$i][1] - 1) ) . ",["; $suggestions = Suggest($alphas[0][$i][0]); foreach ($suggestions as $suggestion) { $sugs[] = "'".str_replace("'", "\\'", $suggestion)."'"; } if (sizeof($sugs)) { $js .= join(",", $sugs); } unset($sugs); $js .= "]),\n"; $sugs_found = 1; } } if ($sugs_found) $js = substr($js, 0, -2); $js .= ");"; eval('print_output("' . fetch_template('vbspell') . '");'); ?>
Apparently after it includes global.php it dies...
Any help?:surprised:
Justdave
05-30-2006, 09:29 PM
4 forms of the word masturbate are mispelled (masterbate) in your dictionary, among many others.
Who provided the dictionary?
Damn, that's fahny! :knockedout:
FFMania
06-02-2006, 03:05 PM
Is it only me or does the hack not functioning properly on the quick post edit template? I tried it on my board by typing something that is wrong into the quick edit box... and when I did a spell check, it just said that "spell check is complete". Anything that I am missing here?
Kihon Kata
06-02-2006, 07:47 PM
I installed this last year, but never clicked install. WTF uhm Hi
Hey, I noticed that the ZIP says "vBSpell 0 9 12" but when I downloaded it, the version at the top of the php files say "v0.9.7"
Am I seeing something strange here with version differences?
user02934123123
06-04-2006, 12:37 PM
Is it only me or does the hack not functioning properly on the quick post edit template? I tried it on my board by typing something that is wrong into the quick edit box... and when I did a spell check, it just said that "spell check is complete". Anything that I am missing here?
I've had this same problem (and I believe I reported it somewhere above in this thread) -- and have found no way to work around it. It just doesn't work in the quick post edit window. I've found it best not to provide it there in the templates; so there's no spell check button on the Quick Edit in-line editor (it's always available to users who click 'Go advanced' for the full editor).
It would be nice if this bug could be fixed, though.
Zowners
06-04-2006, 03:33 PM
I get that same error, except after it says the spell check is complete, it erases the text in the messagebox.
I also get an error in edit post. I did A B and C from the top because it doesn't say otherwise. When I click the Check Spelling button it just doesn't open and I get the error icon at the bottom left of internet explorer.
moonclamp
06-10-2006, 11:38 PM
Just installed and everything seems to work well :)
user02934123123
06-12-2006, 01:57 PM
Seems this hack doesn't work properly on vB 3.6b1. I've just attemped a fresh install of the hack on my vb 3.6b1 test board, and on step 1 of the vbspell_install.php script, received the following DB error:
Database error in vBulletin 3.6.0 Beta 1:
Invalid SQL:
INSERT INTO settinggroup (grouptitle, displayorder, volatile) VALUES ('vbspell', '999', '0');
MySQL Error : Duplicate entry 'vbspell' for key 1
Error Number : 1062
Date : Monday, June 12th 2006 @ 10:55:55 AM
Script : http://.../admincp/vbspell_install.php?do=install&step=1
Referrer : http://.../admincp/vbspell_install.php
When can we expect a fix so that vbSpell works with 3.6?
danhaga
06-12-2006, 03:37 PM
Im attempting to install this mod but having trouble. When the installer gets to step 5 it takes a long time and than pops up a window asking me if i want to download the install file.... any ideas?
moonclamp
06-12-2006, 10:27 PM
Just installed and everything seems to work well :)
No, maybe not.
If an internet explorer user posts a message with a smiley in it, then spell checks the message from within the preview window their post ends up with < img>< /img> at the end of it.
moonclamp
06-12-2006, 10:51 PM
Your hack is really great and it works with french language. Thanks you very much.
I've just modified the installation process. I find it easier.
Code installation
Put <script src="vbspell.js"></script> at the end of your headinclude template.
Put <form name="spell_form" id="spell_form" method="POST" target="spellWindow" action="vbspell.php">
<input type="hidden" name="spell_formname" value="">
<input type="hidden" name="spell_fieldname" value="">
<input type="hidden" name="spellstring" value="">
</form> at the end of your header template.
Link to the dictionnary
editor_toolbar_on:
Find
<if condition="is_browser('ie') AND !is_browser('mac')">
<td><div class="imagebutton" id="{$editorid}_cmd_spelling"><img src="$stylevar[imgdir_editor]/spelling.gif" width="21" height="20" alt="$vbphrase[check_spelling]" /></div></td>
</if>
Replace with
<td onclick="spellCheck('vbform', '$editorid', '2');"><div class="imagebutton"><img src="$stylevar[imgdir_editor]/spelling.gif" width="21" height="20" alt="$vbphrase[check_spelling]" /></div></td>
postbit_quickedit AND showthread_quickreply :
Find
<if condition="is_browser('ie')">
<td><img src="$stylevar[imgdir_editor]/separator.gif" width="6" height="20" alt="" /></td>
<td><div class="imagebutton" id="{$editorid}_cmd_spelling"><img src="$stylevar[imgdir_editor]/spelling.gif" width="21" height="20" alt="$vbphrase[check_spelling]" /></div></td>
</if>
Replace with
<td><img src="$stylevar[imgdir_editor]/separator.gif" width="6" height="20" alt="" /></td>
<td onclick="spellCheck('vbform', '$editorid', '2');"><div class="imagebutton"><img src="$stylevar[imgdir_editor]/spelling.gif" width="21" height="20" alt="$vbphrase[check_spelling]" /></div></td>
What does it do ?
It replaces vB spell check with this one. I'm so happy it works with french language :)
Precision : i've got vB Gold VersionThis is a better alternative ... but it loses the mouseover hover colour for some reason
danhaga
06-13-2006, 11:06 AM
Ok I need help...
My install gets stuck at Step 5: Load the dictionary. After taking what seems like too long a pop-up appears (see attachment)
I went ahead with the install and added the buttons. Everything seems to work and function just fine but it tells me that a lot of words are wrong which really are not so Im assuming its just not seeing those words in the dictionary because of my error during the install.
Anyone have any suggestions
danhaga
06-16-2006, 03:38 PM
Still looking for help with the above problem... thanks
tamarian
06-16-2006, 05:40 PM
Check for errors in your apache error log
danhaga
06-16-2006, 06:39 PM
Check for errors in your apache error log
how do I do that? i have webhosting thru yahoo so I dunno if i can or not?
moonclamp
06-16-2006, 08:31 PM
You could try it in a different browser, I had a similar error with something different and could only get it to work in opera
Carl Anderson
06-17-2006, 07:00 PM
Seems this hack doesn't work properly on vB 3.6b1. I've just attemped a fresh install of the hack on my vb 3.6b1 test board, and on step 1 of the vbspell_install.php script, received the following DB error:
Database error in vBulletin 3.6.0 Beta 1:
Invalid SQL:
INSERT INTO settinggroup (grouptitle, displayorder, volatile) VALUES ('vbspell', '999', '0');
MySQL Error : Duplicate entry 'vbspell' for key 1
Error Number : 1062
Date : Monday, June 12th 2006 @ 10:55:55 AM
Script : http://.../admincp/vbspell_install.php?do=install&step=1
Referrer : http://.../admincp/vbspell_install.php
When can we expect a fix so that vbSpell works with 3.6?
I have the same problem - I sure hope this gets an update....
sam anders
06-18-2006, 02:40 PM
thanks for this will give it a go :)
user02934123123
06-19-2006, 05:31 PM
Seems this hack doesn't work properly on vB 3.6b1. I've just attemped a fresh install of the hack on my vb 3.6b1 test board, and on step 1 of the vbspell_install.php script, received the following DB error:
Database error in vBulletin 3.6.0 Beta 1:
Invalid SQL:
INSERT INTO settinggroup (grouptitle, displayorder, volatile) VALUES ('vbspell', '999', '0');
MySQL Error : Duplicate entry 'vbspell' for key 1
Error Number : 1062
Date : Monday, June 12th 2006 @ 10:55:55 AM
Script : http://.../admincp/vbspell_install.p...install&step=1
Referrer : http://.../admincp/vbspell_install.php
When can we expect a fix so that vbSpell works with 3.6?
I have the same problem - I sure hope this gets an update....
Any news yet on when we can expect a version of vbSpell that will install on vB 3.6?
Carl Anderson
06-21-2006, 05:04 AM
I think we will get an update after 3.6 goes gold.. he said he would wait till then...:banana:
Skyline_GT
06-24-2006, 10:40 PM
how come when i go to step 5, the page is blank..
Skyline_GT
06-25-2006, 10:13 PM
I wonder does the permission thing works? cuz I set only a few groups can use vb spell, but it seems all groups can use it..
lord_of_chaos
06-26-2006, 08:05 AM
Please make this mod compatible with 3.6 gold :)
flushingcomic
07-09-2006, 04:19 PM
they said B4 should be stable enough that they should have more then one RC, then they will call it stable.
sucks it dont work on 3.6
CaffeineGibbs
07-12-2006, 12:36 PM
Has anybody used it on vB 3.5.4 ?
blazeman
07-12-2006, 10:19 PM
Has anybody used it on vB 3.5.4 ?
Yep... been running on my 3.5.4 install since the day I upgraded :)
user02934123123
07-13-2006, 01:03 PM
vB 3.6 is now in release candidate stage, which means the central coding is complete and there will be no major changes between the current RC code and that of the gold release.
Can we now please have an update on when we can expect a 3.6 compatible version of vbSpell? I'm hopeful it can be rather soon, so that we can migrate up to 3.6 on our systems (which we don't want to do without a spell checker); but there have as yet been no responses to any queries here about the upgraded version of the hack.
Many thanks.
ShackMaster
07-18-2006, 03:01 PM
I'm having a problem with vb spell truncating the post. If the error is in the left of the message (as the attachment shows, it truncates that side), and if the error is on the right it truncates that side.
50831
ShackMaster
07-18-2006, 03:08 PM
I also noticed it does a very poor job of catching misspelled words.
It missed:
"optinal" (optional)
"stritly" (strictly)
"explan" (explain)
It did catch:
havn't (haven't)
Is there a better dictionary or is that the problem?
domokun
07-23-2006, 03:30 PM
I'm new at this so this question is a dumb one, but something I have to know.
1. Upload files and run vbspell_install.php
How do I run vbspell_install.php? It's all uploaded but I must be overlooking something.
Thanks,
Domokun
domokun
07-26-2006, 01:55 PM
Come on, not one person knows how to run vpspell_install.php? It's a simple question.
Thanks again,
Domokun
ShackMaster
07-26-2006, 04:40 PM
Open your browser up and enter in the location URL of where you have vbspell_install.php located.
http://www.yourdomain.com/vbspell_install.php
or
http://www.yourdomain.com/forums/vbspell_install.php
When you load that page you will see the installation and just follow the instructions.
domokun
07-26-2006, 04:54 PM
Ah thank you sooo much. Guess we all learn something new everyday ;) . You the man!
Domokun
Renmiri
07-27-2006, 12:42 AM
Sweet, thanks!!!
Err... Might want to give an alternative to break down the dictionary install into little pieces. My host has this max number of SQL per hour (to prevent denial of service attacks) and it "puked" at 24%
User kkk has exceeded the 'max_questions' resource (current value: 50000)
PS: My spell checker is up, I got my install taken care by splitting the dictionary into 5 parts and runing vbspell_install 5 times at 1 hour intervals
:D
domokun
07-27-2006, 03:27 PM
ACK!!! I must be going nuts! I try the location but it doesn't work. What is it I'm missing here?! When I check the location I get sftp:// and the rest of it. When I load that up on the page, it doesn't work. So I simply try what you mentioned and I entered the url of the forum and finish it as you say: /forum/vbspell_install.php... Still nothing. I even tried: /forums/vbspell_install.php... nothing. Even /vbspell_install.php without the forum part and still nothing.
Did I upload this thing in the wrong spot?! It's in the admincp.. But I just can't get a url. Help me please!
Thanks again :(
Domokun
Renmiri
07-27-2006, 06:06 PM
ACK!!! I must be going nuts! I try the location but it doesn't work. What is it I'm missing here?!
Thanks again :(
Domokun
/forums/admincp/vbspell_install.php
rckirk
07-28-2006, 12:07 PM
When I am logged in as a mod or admin the spell checker works great.
When I am logged in as a regular member I get this:
_____________________
"Username", you do not have permission to access this page. This could be due to one of several reasons:
Your user account may not have sufficient privileges to access this page. Are you trying to edit someone else's post, access administrative features or some other privileged system?
If you are trying to post, the administrator may have disabled your account, or it may be awaiting activation.
______________________
Any thoughts on how to solve this one.
Codeman05
08-06-2006, 12:43 PM
anyway to get this to work with VB 3.6?
I had it working fine in Beta 3, but not that I'm on Gold, I can't seem to get it to work or reinstall for that matter
John Diver
08-09-2006, 08:12 PM
Hey,
Im getting this error when I try install
Fatal error: Call to undefined function: print_cp_header() in /home/dace/public_html/vbspell_install.php on line 26
Anyone know whats wrong?
Thanks
ShackMaster
08-11-2006, 05:03 AM
anyway to get this to work with VB 3.6?
I had it working fine in Beta 3, but not that I'm on Gold, I can't seem to get it to work or reinstall for that matter
I upgraded to 3.6 today and simply added the template code above and it works fine for me. I never uninstalled it when upgrading.
You are welcome to check it out...
http://www.hometheatershack.com/forums
cynix2
08-11-2006, 06:28 PM
here are some recommended changes for this template modification (i edited the quoted text)
Your hack is really great and it works with french language. Thanks you very much.
I've just modified the installation process. I find it easier.
Code installation
Put <script type="text/javascript" src="vbspell.js"></script> at the end of your headinclude template.
Put <form name="spell_form" id="spell_form" method="POST" target="spellWindow" action="vbspell.php">
<input type="hidden" name="spell_formname" value="" />
<input type="hidden" name="spell_fieldname" value="" />
<input type="hidden" name="spellstring" value="" />
</form> at the end of your header template.
Link to the dictionnary
editor_toolbar_on:
Find
<if condition="is_browser('ie') AND !is_browser('mac')">
<td><div class="imagebutton" id="{$editorid}_cmd_spelling"><img src="$stylevar[imgdir_editor]/spelling.gif" width="21" height="20" alt="$vbphrase[check_spelling]" /></div></td>
</if>
Replace with
<td><div class="imagebutton" id="{$editorid}_cmd_spelling(null)"><img onclick="spellCheck('vbform', '$editorid', '2');" src="$stylevar[imgdir_editor]/spelling.gif" width="21" height="20" alt="$vbphrase[check_spelling]" /></div></td>
postbit_quickedit AND showthread_quickreply :
Find
<if condition="is_browser('ie')">
<td><img src="$stylevar[imgdir_editor]/separator.gif" width="6" height="20" alt="" /></td>
<td><div class="imagebutton" id="{$editorid}_cmd_spelling"><img src="$stylevar[imgdir_editor]/spelling.gif" width="21" height="20" alt="$vbphrase[check_spelling]" /></div></td>
</if>
Replace with
<td><img src="$stylevar[imgdir_editor]/separator.gif" width="6" height="20" alt="" /></td>
<td><div class="imagebutton" id="{$editorid}_cmd_spelling(null)"><img onclick="spellCheck('vbform', '$editorid', '2');" src="$stylevar[imgdir_editor]/spelling.gif" width="21" height="20" alt="$vbphrase[check_spelling]" /></div></td>
What does it do ?
It replaces vB spell check with this one. I'm so happy it works with french language :)
Precision : i've got vB Gold Version
this will make the code XHTML 1.0 Transitional
it will also make it so when you hover your mouse over the image it changes colors like the normal buttons, and still works when you click on it without opening the iespell dialog
*note*
this was tested on 3.6, but should still work on 3.5
P.S. fresh installing into 3.6 took some time (the installer needed lots of tweaking) and i still dont have my ACP working
it shows the fields and whatnot but not the text that tells me what im editing
o0Hubba0o
08-13-2006, 06:58 PM
P.S. fresh installing into 3.6 took some time (the installer needed lots of tweaking) and i still dont have my ACP working
it shows the fields and whatnot but not the text that tells me what im editing
I think I'll hold off for a bit on this and see if it gets ported to 3.6. Too bad vB coulnd't make this a default thing somehow, I mean forums are based around typing and words. ;)
orphan
08-15-2006, 06:42 PM
I get this Db error when trying to install it on a v3.6 forum
Database error in vBulletin 3.6.0:
Invalid SQL:
INSERT INTO vb_phrase (phraseid, languageid, varname, text, phrasetypeid) VALUES (NULL, '0', 'settinggroup_vbspell', 'vB Spell', '5000');
MySQL Error : Unknown column 'phrasetypeid' in 'field list'
Error Number : 1054
Date : Tuesday, August 15th 2006 @ 09:39:59 PM
Script : http://www.mysite.com/forum/admincp/vbspell_install.php?do=install&step=1
Referrer : http://www.mysite.com/forum/admincp/vbspell_install.php
IP Address : xxxxxxxxxxxxxxxxx
Username : forumadmin
Classname : vB_Database_MySQLi
Coldhands
08-18-2006, 04:43 PM
Should this work with vB 3.6?
SpadMan
08-18-2006, 04:58 PM
Should this work with vB 3.6?
Didn't for me.
Coldhands
08-18-2006, 05:51 PM
Didn't for me.
Yea.
Database error in vBulletin 3.6.0:
Invalid SQL:
INSERT INTO phrase (phraseid, languageid, varname, text, phrasetypeid) VALUES (NULL, '0', 'settinggroup_vbspell', 'vB Spell', '5000');
MySQL Error : Unknown column 'phrasetypeid' in 'field list'
Error Number : 1054
Date : Friday, August 18th 2006 @ 01:48:31 PM
Script : ....admincp/vbspell_install.php?do=install&step=1
Referrer : ...admincp/vbspell_install.php
IP Address :
Username : Tom
Classname : vb_database
Any chance of this becoming a produce for vB 3.6? :begging on knees:
tamarian
08-18-2006, 09:54 PM
I think it will still work on 3.6, for those who had it in 3.5. But won't work for new installations. I'll take a look later, but may take some time.
If any developers here want to make the 3.6 version, feel free and release it as a new thread.
blazeman
08-19-2006, 12:10 AM
I think it will still work on 3.6, for those who had it in 3.5. But won't work for new installations. I'll take a look later, but may take some time.
If any developers here want to make the 3.6 version, feel free and release it as a new thread.
My carryover from 3.5.4 didn't work. Popup comes up blank. Anyone have any quick thing to check? (Yes... I've done all the template changes :D )
DaveAK
08-21-2006, 12:00 AM
My carryover from 3.5.4 didn't work. Popup comes up blank. Anyone have any quick thing to check? (Yes... I've done all the template changes :D )
Same here.
tamarian
08-21-2006, 03:25 AM
My carryover from 3.5.4 didn't work. Popup comes up blank. Anyone have any quick thing to check? (Yes... I've done all the template changes :D )
A vB upgrade will delete the vbspell template. Just re-create the vbspell template (the template step from the install script).
DaveAK
08-21-2006, 03:42 AM
A vB upgrade will delete the vbspell template. Just re-create the vbspell template (the template step from the install script).
I did that but I get a "no permission" page. I think I may have uninstalled and tried to do a new install. That won't work with 3.6.0 will it?
blazeman
08-21-2006, 05:02 PM
A vB upgrade will delete the vbspell template. Just re-create the vbspell template (the template step from the install script).
Well why didn't I think of that... I am once again spelling like a pro :D
Thanks!!
cynix2
08-21-2006, 09:24 PM
new version of vB Spell available here
https://vborg.vbsupport.ru/showthread.php?t=124578
tamarian gave me permission to release it
it should work for both 3.5.x and 3.6.x
fishhub
10-23-2006, 10:48 AM
3. Template edits: (see alternative method, if you don't mind removing the ieSpell button made by vB : https://vborg.vbsupport.ru/showp...9&postcount=48)
I have installed, and got some questions.
Could someone advice what does the above item 3 means?
Thks in adv.
fishhub
10-23-2006, 04:16 PM
3. Template edits: (see alternative method, if you don't mind removing the ieSpell button made by vB : https://vborg.vbsupport.ru/showp...9&postcount=48)
I have installed, and got some questions.
Could someone advice what does the above item 3 means?
Thks in adv.
Pls ignore my above questions as i managed to fixed it and all is working well except for :
- how to actiavte spell check new post
- how to activate spell check for new thread
- how to activate spell check for pm_new, ucp, etc?
Need assistance from anyone out there, please:)
fishhub
10-23-2006, 06:46 PM
You have steps A and B covered. For step C, just added it after the submit/preview buttons on the newpm template.
would like to know what codes to add after submit/preview on the newpm template, please
fishhub
10-23-2006, 07:11 PM
Hello,
I am running this on a site that runs 3.5.x. The "x" means I have been upgrading as they are released and I just reinstall the template edits. I do not get java errors and i have several other java scripts running on my site.
I actually am posting just to say that if anyone wants to apply this to the journal modification, it works just fine for Comments. I will try out the new entries and add to this if that works as well.
Edit the: journal_commentpage template. Add A and B as described.
Add C after:
<input type="submit" value="$vbphrase[submit_new_comment]" class="button" />
For new entries, edit the: journal_submitentry template. make the A and B edits as described and add C after:
<input type="submit" value="$vbphrase[submit_new_entry]" class="button" />
Both work fine and are running on my site.
I hv done excatly as per your instructions. However, when i click onto it, it says error on page. How do i get this right.
Hallo,
I just have a problem with vbspell when parsing following text:
Some text
should read: [#FONT#="Arial Black"]Some text[#FONT#]
without the #?s (Quoating seems not to work here either !?)
vbspell returns then:
[F]Some text[/FONT]
I don?t know why ! Any suggestions ?
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.