vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Beta Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=5)
-   -   PHP Spell Checker intergration into vBulletin (https://vborg.vbsupport.ru/showthread.php?t=54204)

Parker Clack 08-14-2003 10:38 PM

Does anyone have Nathan's email address? I would like to get in touch with him regarding using his script on our forum using aspell or pspell instead of MySQL.

Thanks,
Parker

Nathan_Anderson 08-14-2003 11:21 PM

Quote:

Yesterday at 01:28 PM Parker Clack said this in Post #50
[B]Nathan:

I love your script and I am using it on my site. I also have pspell installed on my server and I was wondering how I would go about changing the config file so that it uses pspell instead of MySQL. Also once I have it set up to use pspell can I delete the spelling_words table that was set up in my database?
Yes, you go into the configuration and set the dbtype to pspell. :) Upload the spell_pspell.php file Then you can delete the word table as it will then use your pspell/aspell tables.


Quote:

I almost forgot. I have aspell enabled with my version of PHP and I was wondering if this can be set up to use aspell instead?
Yes, if your apell is a recent version; then the php pspell interface is what is used to call both the older pspell and the newer aspell libraries. If you have a really old verison of apell then it might not work.

Nathan.
P.S. My Email address is in the documentation phpspell@master-technology.com

Nathan_Anderson 08-14-2003 11:33 PM

Anna,

Quote:

The way the dictionary and mysql work is, the installation creates a new table in the forum database. And you have to have the dictionary file in the spelling directory in order for the installation to load the new table. All of which was omitted in the documentation. Or at least I didn't see that part.
Also the javascript has to be changed to recognize the form and textbox.
That is basically because I don't actually have a copy of vBulletain. So, I won't have install instructions (or a nice spell_vbulletin.php or .js) until someone wants to work with me and give me some information that I need. :)


Quote:

On a scale of complexity, this is by far the hardest hack yet, but the most rewarding.
Sorry, that it was so hard. Glad you like it. :D

It is very hard to guess at things. :-D If I have access to the code; you would see a nice and easy drag and drop install like phpbb, or invisionboard. Once someone helps me; I hope to have a easy install instructions for vBulletin.

Nathan

Parker Clack 08-15-2003 01:09 AM

Nathan:

Using $Spell_Config["DB_Type"] = "pspell";
returns
"You must choose a Database Type in the Spell Configuration file."

I don't see anything in the config file that calls on the spell_pspell.php file if pspell is what is set as the DB_Type.

Any suggestions?

Parker

Nathan_Anderson 08-15-2003 03:33 AM

Quote:

Today at 07:09 PM Parker Clack said this in Post #54
Nathan:

Using $Spell_Config["DB_Type"] = "pspell";
returns
"You must choose a Database Type in the Spell Configuration file."

I don't see anything in the config file that calls on the spell_pspell.php file if pspell is what is set as the DB_Type.

Any suggestions?

Parker



Line #33 in the config file is:
Code:

//  $Spell_Config["DB_Type"] = "PSPELL";
You uncomment it.

2nd, in the pspell directory of the last couple versions of my spell checker is the spell_pspell.php file which you upload.

Nathan.

Parker Clack 08-15-2003 09:07 AM

Nathan:

The .zip file that we have here to download does not have that line in it or anyway of telling it when the DB_Type is pspell what to do if it is pspell.

Is there anyway you can email me a copy of phpspell to me?

Thanks,
Parker

Jim Mayhugh 08-15-2003 01:40 PM

Took all of 5 minutes to install, works like a charm.

Great Hack. Thanks.

Nathan_Anderson 08-15-2003 01:50 PM

Quote:

Today at 03:07 AM Parker Clack said this in Post #56
Nathan:

The .zip file that we have here to download does not have that line in it or anyway of telling it when the DB_Type is pspell what to do if it is pspell.

Is there anyway you can email me a copy of phpspell to me?

Thanks,
Parker

At the bottom of any of my messages on any of the forums I watch is a link to the latest version of phpspell. :)

Nathan.

pgowder 08-19-2003 11:42 PM

Is this what vbportal.com uses for the spell checking?

Nathan_Anderson 08-20-2003 12:23 AM

Quote:

Today at 05:42 PM pgowder said this in Post #59
Is this what vbportal.com uses for the spell checking?

Have no idea -- they don't seem to have a public forum that I can post on without signing up for a new account. If you click on my link at the bottom of the page and try out the spell checker. (Actually do a spell check to see it in action as the initial page is just a simple form.)

Nathan.


All times are GMT. The time now is 06:45 PM.

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.01226 seconds
  • Memory Usage 1,746KB
  • 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
  • (1)bbcode_code_printable
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (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