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)

Intex 06-21-2003 09:24 AM

Iggy123 - I'd tried out the version on your site to see what the spell checking was like. I kept words pretty simple, but it didn't pick up on quite a lot of them.

Obviously that's out of your control. Nice work nevertheless.

Intex 06-21-2003 12:19 PM

Iggy123 - I've integrated the style into my forum, but I can't find where the size of the popup browser is controlled. I've checked phpspell.html and the spelling.js files but can't see it.

Any ideas?

iggy123 06-21-2003 12:28 PM

Quote:

Today at 11:24 AM Intex said this in Post #31
Iggy123 - I'd tried out the version on your site to see what the spell checking was like. I kept words pretty simple, but it didn't pick up on quite a lot of them.

Obviously that's out of your control. Nice work nevertheless.


It all depends on the dictonary file and the settings within the spell_config.php. I have only set it pretty low to test etc but will be getting a new dictonary etc in the next few days and hopefully it should improve

iggy123 06-21-2003 12:32 PM

Quote:

Today at 02:19 PM Intex said this in Post #32
Iggy123 - I've integrated the style into my forum, but I can't find where the size of the popup browser is controlled. I've checked phpspell.html and the spelling.js files but can't see it.

Any ideas?

In the spellmessage.js

find (approx line 19)
Code:

    var LinkToField = "";

          function openspell()

        {

          height = 391;

          width = 555;

          if (ie4) LinkToField = self.vbform.message;

and alter that.

Intex 06-21-2003 12:32 PM

OK, cool - sounds good. It picks up the spelling errors just doesn't make a lot of good suggestions :).

Thx. for the height / width info. I'll try that out now :).

Intex 06-21-2003 12:35 PM

Yep that's it - I'm sure I tried those but obviously I didn't save the file or something after edit. Thx. for the help - appreciated :).

[high]* Intex clicks install.[/high]

Intex 06-21-2003 03:56 PM

Pretty obvious this one, but for anybody else that has FireFly's Quick Reply feature, then just perform the following:

In the 'showthread_replybox' template find the following code:

Code:

<input type="reset" class="bginput" name="reset" value="Reset Form" accesskey="r" tabindex="3">
Under that add the following:

Code:

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


Intex 06-21-2003 04:12 PM

Once again, simple - but others might want to include this too. If your users, edit their post they don't have a way to check the spelling again. Follow the instructions below to include the spell check button when editing posts:

In the 'editpost' template find the following code:

Code:

<input type="reset" class="bginput" value="Reset Message" tabindex="4">
Under that add the following:

Code:

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


Oldfart 06-21-2003 10:00 PM

Quote:

Today at 02:32 PM Intex said this in Post #35
OK, cool - sounds good. It picks up the spelling errors just doesn't make a lot of good suggestions :).

Thx. for the height / width info. I'll try that out now :).

Is there a way to add suggestions to the list? I've installed this nice hack with no problem but the "suggest" list is very weak on suggestions for a miss spelled word. It would be nice if it could be fixed to suggest more words.

iggy123 06-22-2003 06:26 AM

within the spell_config.php there is an option to increase the number of words suggested - however it slows the search down


All times are GMT. The time now is 03:28 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.01121 seconds
  • Memory Usage 1,740KB
  • 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
  • (5)bbcode_code_printable
  • (3)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