![]() |
Quote:
Looking forward to the new version. And I misspoke. You had them all set to true. But not is_moz. Sorry about that. ;) |
Where's the big update? I thought you were going to post it last night? ;)
|
Version 1.4 is released, it has some cleanup and config options. The main new addition is that it will now scroll the window down to the next mis-spelled word. Browser-side tested with IE6 on XP Pro, and on Mozilla 1.7 and Firefox 0.9 on Linux and XP-Pro.
Enjoy |
Excellent upgrade, sir! The scrolling works great now! I don't know what more you could add to it to make it any better. The only thing I would like to see is maybe the suggestions box have the words in alphabetical order but I think that must be a php thing. ;)
|
Quote:
|
Quote:
|
Quote:
|
Quote:
|
Quote:
|
Quote:
|
Quote:
http://ca2.php.net/manual/en/functio...onfig-repl.php |
Quote:
|
Quote:
|
Quote:
|
Using 1.4
Everything works except the learn feature ..... im running XP-pro on the server ..... i have went to my aspell directory and typed : aspell config i get this for lang: Code:
# lang descrip: language code i have tried adding : en_US to my config and to custom.pws i have also tried: en english i have also tried changing : $customwordlist = "custom.pws"; $customwordlist = "c:/htdocs/forum/custom.pws"; however im still getting : Code:
Warning: PSPELL couldn't open the dictionary. reason: No word lists can be found for the language "en_US". in C:\htdocs\forum\checkspelling.php on line 28 with lean disabled it works fine with no errors ...... how can i get learn to work ? help !!!!!!!! |
Have you tried english_US?
|
Quote:
just tried : english_US got same error but this time shows "en" in the error even though i have english_US in both places ...... Code:
Warning: PSPELL couldn't open the dictionary. reason: No word lists can be found for the language "en". in C:\htdocs\forum\checkspelling.php on line 28 |
Teksigns, I'm not sure if this will work, but try using en only in the config file, and en_US in the custom.pws.
The custom.pws and the learn function of psell as it relates to using aspell is very confusing, and not well documented. So my best advice is trial and error, and if all fails, disable learning, or use PHPSpell. |
Quote:
But if you're interested, you can try hacking it usding the functions listed in the PHP manual. |
In this new version, the learn window does not close until you close the spell check window. Any fix for this?
|
Is there a way to manually populate the "custom.pws" file if we can't get the learning feature to work?
|
Quote:
|
Quote:
|
Quote:
|
Quote:
|
I am using the same browser as I always have and it worked fine under version 1.3. Somehow something has changed somewhere because it no longer closes the learn window under 1.4. And I have tried IE AND firefox and I get the same result. I have not touced any settings in IE or Firefox since way before I ever installed version 1.3. Something has changed somewhere in the new version.
|
Quote:
Post your config file, and I'll try to test with it. |
Quote:
include('global.php'); // Config section $my_lang = "en"; // set the language you want, make sure you have the correct aspell dictionary on your system // Access restriction options $allow_guests = 0; // Change to 1 if you allow guests to post and use the spell checker $restrict_groups = 0; // Change to 1 to enable access restriction by group id $allowd_groups = array (2, 5, 6, 7); // usergroups who can access the spell checker // Learn function options $customwordlist = "custom.pws"; // make sure this file is readable by your apache user $learn_enabled = 1; // set to 1 to enable the learn feature. Make sure you test first, to ensure your server setup allows this. $restrict_learn_function = 0; // set to 1 if you want to restrict which usergroup id may add words to your dictionary. $word_list_maintainers = array (2, 5, 6, 7); // usergroups that are allowed to use the "Learn" feature // // Ignore options $ignore_quotes = 1; // 1 means ignore the Quote:
|
I'm probably missing something.... when I try to spellcheck something, I get the popup window with the following error message:
Fatal error: Call to undefined function: pspell_config_create() in /home/swurp3c/public_html/testforum/checkspelling.php on line 49 Line 49 is $pspell_config = pspell_config_create("$my_lang"); |
[QUOTE=Boofo]
Quote:
|
Quote:
|
Quote:
|
Pspell has been compiled into my PHP.
I PMed you about the other thing... |
Quote:
|
Quote:
Everything works perfectly on my site except for the learn function. I tried changing the language as you (and a few others) suggested throughout this thread. I am wondering if the problem is because of something else. In your original thread, you mention to 'test' the learn function before turning it on. Exactly how do you do that? Any help would be great. |
Quote:
Another way is to test it on a test forum on the same server, or better yet, on a home server, so you can remove/reinstall aspell and can change things until they work :) |
Quote:
|
Thanks Tamarian. That clears things up. Any other ideas as to why the learn function won't work? Anything else I should check? Again the spellchecking part works perfectly (once in a BLUE MOON I'll see the 'contact administrator' error, but that is rare), it is just that darn learning feature that I want to work sooo bad :(
EDIT: Tamarian, any idea how I can get the learn pop-up not to close? THe only reason I am asking is because on one occasion the thing did not close SUPER FAST and I was able to get a glimpse of the text in it. It said 'WARNING' and some other stuff, but it closed so quickly I didnt get the rest. ANy idea? EDIT 2: Ugh, got it to work!! Forgot to set file permissions :( |
On Boofo's site the Spell Check Button looks just like the other buttons.
https://vborg.vbsupport.ru/ Mine looks like this. https://vborg.vbsupport.ru/ How do I get the buttons to look the same? |
Quote:
I think using "class ="button"" should do it... |
All times are GMT. The time now is 05: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:
|