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)

iggy123 06-11-2003 10:00 PM

PHP Spell Checker intergration into vBulletin
 
Not too sure if this is where its meant to go but if it should be moved please move it.

I have been trying to find a simple spell checker to work on my forums for a while -
Eventually i found this one http://www.master-technology.com/phpbb/ which was working with phpbb.
As i have no idea how to code anything - at all!!! I asked one of their support teams to help and they gave me the answers.
So I can't take any of the credit for it, and thank them for helping me out.
At present it doesn't support vbulletin but since talkin to them they are going to be doing so in the near future.

files to upload: 17
files to edit: 1
templates to edit: 1 (possibly 2)

Instructions:
See the attached text file

iggy123 06-11-2003 10:32 PM

Here is the zip file:

Unzip them all to a folder on your server called "Spelling" or the spellchecker don't work.

The instructions are included in the zip as well.

Boofo 06-11-2003 10:36 PM

Does this force the spell check on the user or can he/she click a link to use it if they want to? there are some spellings that the user might not want changed automatically.

iggy123 06-11-2003 10:38 PM

No it doesn't force a spell change on them - it highlights spelling mistakes and gives you an option of - however many you choose - so many words which you can change it too.
If it is a word you use a lot - and you know ppl will understand such as vbulletin there is an "learn" option - and in the spell_admin.php there is an add option to add more words.

there is a working version on my board.

http://clanantivirus.com/forums/ if you wish to check it out.
and attached is a picture of the spell check window

Ian Cunningham 06-12-2003 09:41 AM

wow - this looks like the best and easiest spell checking solution yet!

Ian Cunningham 06-12-2003 10:13 AM

I've made a slight change to integrate the spell check button better:

Quote:

<script language='javascript' src='spelling/spellmessage.js'></script>
<input type="button" class="bgclass" value="Spell Check" onclick="openspell();">
This works EXCELLENTLY!

Check http://www.pcreview.co.uk for another demo

Boofo 06-12-2003 10:27 AM

This is what I am getting when I run the spell_admin.php file:

Quote:

Warning: main(spell_MySQL.php) [function.main]: failed to create stream: No such file or directory in /xxxx/xxxx/xxxxxx_xxxx/forum/spelling/spell_config.php on line 166

Warning: main() [function.main]: Failed opening 'spell_MySQL.php' for inclusion (include_path='') in /xxxx/xxxx/xxxxxx_xxxx/forum/spelling/spell_config.php on line 166
You must choose a Database Type in the Spell Configuration file.
And yes, I have set the DB type to MySQL. Any ideas what I am missing or doing wrong?

iggy123 06-12-2003 11:11 AM

did you add your db information to the spell_config.php?

Also i think i had this issue the first time i ran it - i changed the
spell_config to the following:

In spell_config.php set:
$Spell_Config["DB_Type"] = "pspell";

then put the attached file into your admin folder and run it.

I then had to change it back to:

In spell_config.php set:
$Spell_Config["DB_Type"] = "MySQL";

and it worked.

Boofo 06-12-2003 11:41 AM

This is the error I am getting now.

Quote:

You must choose a Database Type in the Spell Configuration file.

iggy123 06-12-2003 12:22 PM

Quote:

Today at 01:41 PM Boofo said this in Post #9
This is the error I am getting now.
Ok if you get that error change the spell_config.php back to MySQL and run the admin_spellcheck.php again and it should work.


All times are GMT. The time now is 09:56 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.01531 seconds
  • Memory Usage 1,738KB
  • 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
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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