![]() |
Quote:
In the next version, I will make a seperate file for all the configuration options. This should prevent any end of line errors. |
Quote:
any text editor u recommend? |
Updated:
v1.3 1. Created a new config file (pungo-spell-config.php) to avoid the need to edit checkspelling.php, which is a bit tricky with end of line characters. 2. Added an option to disable the learn feature. This may be needed if your aspell setup does not allow, or not properly setup, for personal wordlists. 3. The language is now defined in the config file as well. |
Quote:
However, check the new update, it will eliminate the need to edit checkspelling.php That file is sensitive to end of line characters. |
Quote:
i take this back ... well not really... just that the values are backwards... apparently 0 checks within the quotes and 1 doesnt maybe that can help fix the learn feature... can it be something like that? |
Quote:
As for the learn problem, if it's enabled, and you you belong to a user group allowed to use it (i.e., you see the "Learn" button, then it should work, unless there's a language mismatch between the language you use, and the language listed in the first line of "custom.pws, assuming it's writable. |
is there any possible way to maybe get the learn feature working in future versions?
|
even without the learn function im keeping this just for the usergroups...
clickity click click.... Install anyway to make the pop up box a drop bigger...it doesnt maximize to where you can see the buttons... also can we manually add words? |
Quote:
|
Quote:
openSpellWin(640, 480); You can fine-tune the size there. What browser are you using? Quote:
|
Quote:
Quote:
|
when i type a misspelled word and click the spellcheck button with learn enabled i get
Code:
Warning: PSPELL couldn't open the dictionary. reason: No word lists can be found for the language "en". in C:\xxxxx\xxxxxxxx\xxxxxxxx\xxxxxxxx\forum\checkspelling.php on line 22 however when i disable learn it works fine ..... im on a windows machine |
Quote:
I'll try to find out how to properly diagnose it, and maybe setup a diagnosstic script... |
Quote:
Try this: Change the first line from custom.pws: personal_ws-1.1 en 0 To: personal_ws-1.1 english 0 en worked fine for me on Fedora and Gentoo, but I had to change to english on RHE. Sketch, try that change too, and let me knwo if this solves the problem. |
Quote:
but honestly... i really dont need learn ... as long as i can add words manually ... |
Quote:
i still get same exact error . i notice it still says "en" in the error even though i changed to "english". |
I get this error when attempting to spell check:
Fatal error: Call to undefined function: pspell_new() in /home/profit/public_html/forums/checkspelling.php on line 26 Line 26 is: PHP Code:
I do have pspell installed, but unsure of dictionary location the aspell.conf file. How do I edit the aspell.conf file using SSH so that it points to the right dictionary file? Thanks |
Quote:
What are the contents of these directories on your server? /usr/lib/aspell /usr/share/aspell You may be missing the en english dictionaries |
I too am getting the error:
Fatal error: Call to undefined function: pspell_new() in /home/profit/public_html/forums/checkspelling.php on line 26 At your request, here is the contents of my directories. I would sure like to get this going. :D Any tips? Code:
[/usr/lib/aspell]# ls David |
Quote:
In /usr/share/aspell copy english.dat to en.dat copy english_phonet.dat to en_phonet.dat |
Code:
[/usr/share/aspell]# ls Still get the same error. :( As you can see, I now have english and en both in that directory. I have tried changing custom.pws to english and back to en and neither work. Any other idea's? Also, thanks for the help. David |
Quote:
|
Quote:
I know its not your script, its bound to be something different in versions, OS's, etc. Just can't track down what it is. Thanks for the help. David |
Quote:
You might want to try the PHPSpell hack. |
Very good hack my friend, one of the best I have seen. This will defentaly be installed on my board, I don't try to hack much but you can't pass this one up :)
|
mine works fine with learn disabled ......
buts errors with it enabled |
Ok I have a new error that I didn't see anywhere in this thread. When I hit the spellcheck button, the spellcheck window opens with all of the correct information, but another window pops up on top that says Spell Check complete "ok" then it exits out when you hit ok.
I'm kinda confused.... Help? |
Quote:
|
Well except that the text does contain spelling errors. But I think I found the problem. Aspell doesn't have a default dictionary assigned to it. When I do a "aspell dump dicts" I get an "invalid dump" specification, so I'm guesssing that aspell isn't configured properly. I started working on it last night, but didn't get it solved. Still hacking away at it. I'll let you ya know
|
Hello
I also have the same problem as Wdarton, see attached image. I installed it fine and get no errors but soon as I open Spell Check I get "Spell Checking Complete" pop up , it just won't spell check! Got Pspell and Aspell installed. Anyone please help! Thank you Stuart |
I got mine installed and it works good so far. Having one problem though.
I setup the config file so all usergroups can access the spell checker (1,2,3,4 etc.) but unregistered users are getting a blank spell check window when they try to use it. Any ideas? I'm pretty sure the config file is correct. |
Quote:
|
Quote:
|
Fatal error: Call to undefined function: pspell_new() in /home/colicab/public_html/community/checkspelling.php on line 26
The error i receive. |
Quote:
If you want to enable it now, add 0 to the allowed usergroups (if it's not there) and comment out this line from checkspelling.php (line 14) Chenge from: if ($bbuserinfo['userid'] == 0) exit; To this: //if ($bbuserinfo['userid'] == 0) exit; Be caureful that your editor should not add any end of line characters. |
Quote:
Try PHPSpell instead. |
Quote:
I do have one question though. I run a satellite forum and we have a lot of terms that only pertain to the satellite industry. Is there a place where I can put universally ignored words? I looked in the files but couldn't find a place to put them except for where you have the code to ignore the QUOTE tags. |
Quote:
I can think of two options, enable learning, but restrict it to admins or a group that can enter those abbriviations. Or, check out the PHPSpell hack, as it has the ignore feature. |
I just found something weird that's happening. When using the spell check in standard mode (not WYSIWYG). All paragraph breaks are getting taken out so when the spell check is done, the post ends up being one long paragraph.
|
If aspell is not installed, I'm sure there's a way to define the functions required (just a thought.)
Anyone know the correct function declaration for, say, pspell_new()? |
All times are GMT. The time now is 10:47 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|