vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Spell Checker: PungoSpell for vBulletin3 Standard and WYSIWYG modes (https://vborg.vbsupport.ru/showthread.php?t=65737)

tamarian 06-28-2004 03:24 AM

Quote:

Originally Posted by Boofo
How would you set it up to automatically do it?

It would basically require another file, similar to (or instead of) the custom.pws file:

http://ca2.php.net/manual/en/functio...onfig-repl.php

Boofo 06-28-2004 03:35 AM

Quote:

Originally Posted by tamarian
It would basically require another file, similar to (or instead of) the custom.pws file:

http://ca2.php.net/manual/en/functio...onfig-repl.php

Ok, how would we set the format of the custom.repl file?

tamarian 06-28-2004 02:58 PM

Quote:

Originally Posted by Boofo
Ok, how would we set the format of the custom.repl file?

It will be created by the function php_save_wordlist() when called after php_spell_replacement(). That's according to the manual, but I haven't used it yet.

Boofo 06-28-2004 03:09 PM

Quote:

Originally Posted by tamarian
It will be created by the function php_save_wordlist() when called after php_spell_replacement(). That's according to the manual, but I haven't used it yet.

How do we set it up? I'll test it out if you can help me set it up.

teksigns 06-28-2004 03:45 PM

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
# lang default: <language-tag>
# lang current: en_US


# language-tag descrip: deprecated, use lang instead
# language-tag default: !lang
# language-tag current: en_US


# local-data-dir descrip: location of local language data files
# local-data-dir default: <actual-dict-dir>
# local-data-dir current: C:/Aspell/dict/


# master descrip: base name of the main dictionary to use
# master default:
# master current:



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

Warning: 0 is not a PSPELL result index in C:\htdocs\forum\checkspelling.php on line 85

Warning: 0 is not a PSPELL result index in C:\htdocs\forum\checkspelling.php on line 88

Warning: Invalid argument supplied for foreach() in C:\htdocs\forum\checkspelling.php on line 90

Warning: 0 is not a PSPELL result index in C:\htdocs\forum\checkspelling.php on line 85

Warning: 0 is not a PSPELL result index in C:\htdocs\forum\checkspelling.php on line 88

Warning: Invalid argument supplied for foreach() in C:\htdocs\forum\checkspelling.php on line 90

Warning: 0 is not a PSPELL result index in C:\htdocs\forum\checkspelling.php on line 85

Warning: 0 is not a PSPELL result index in C:\htdocs\forum\checkspelling.php on line 88

Warning: Invalid argument supplied for foreach() in C:\htdocs\forum\checkspelling.php on line 90

Warning: 0 is not a PSPELL result index in C:\htdocs\forum\checkspelling.php on line 85

Warning: 0 is not a PSPELL result index in C:\htdocs\forum\checkspelling.php on line 88

Warning: Invalid argument supplied for foreach() in C:\htdocs\forum\checkspelling.php on line 90



with lean disabled it works fine with no errors ......


how can i get learn to work ?

help !!!!!!!!

Boofo 06-28-2004 05:05 PM

Have you tried english_US?

teksigns 06-28-2004 05:13 PM

Quote:

Originally Posted by Boofo
Have you tried english_US?


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

tamarian 06-28-2004 07:50 PM

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.

tamarian 06-28-2004 07:52 PM

Quote:

Originally Posted by Boofo
How do we set it up? I'll test it out if you can help me set it up.

I casnnot test before I code it, and I currently don't have the time to try that.

But if you're interested, you can try hacking it usding the functions listed in the PHP manual.

Boofo 07-01-2004 07:34 PM

In this new version, the learn window does not close until you close the spell check window. Any fix for this?


All times are GMT. The time now is 07:39 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01444 seconds
  • Memory Usage 1,752KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_code_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete