Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Beta Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
PHP Spell Checker intergration into vBulletin Details »»
PHP Spell Checker intergration into vBulletin
Version: 1.00, by iggy123 iggy123 is offline
Developer Last Online: Nov 2005 Show Printable Version Email this Page

Version: 2.3.x Rating:
Released: 06-11-2003 Last Update: Never Installs: 18
Is in Beta Stage  
No support by the author.

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

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #32  
Old 06-21-2003, 09:24 AM
Intex Intex is offline
 
Join Date: Apr 2002
Posts: 576
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #33  
Old 06-21-2003, 12:19 PM
Intex Intex is offline
 
Join Date: Apr 2002
Posts: 576
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #34  
Old 06-21-2003, 12:28 PM
iggy123's Avatar
iggy123 iggy123 is offline
 
Join Date: Jan 2003
Posts: 128
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #35  
Old 06-21-2003, 12:32 PM
iggy123's Avatar
iggy123 iggy123 is offline
 
Join Date: Jan 2003
Posts: 128
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #36  
Old 06-21-2003, 12:32 PM
Intex Intex is offline
 
Join Date: Apr 2002
Posts: 576
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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 .
Reply With Quote
  #37  
Old 06-21-2003, 12:35 PM
Intex Intex is offline
 
Join Date: Apr 2002
Posts: 576
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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]
Reply With Quote
  #38  
Old 06-21-2003, 03:56 PM
Intex Intex is offline
 
Join Date: Apr 2002
Posts: 576
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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();">
Reply With Quote
  #39  
Old 06-21-2003, 04:12 PM
Intex Intex is offline
 
Join Date: Apr 2002
Posts: 576
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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();">
Reply With Quote
  #40  
Old 06-21-2003, 10:00 PM
Oldfart Oldfart is offline
 
Join Date: Jun 2002
Posts: 66
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #41  
Old 06-22-2003, 06:26 AM
iggy123's Avatar
iggy123 iggy123 is offline
 
Join Date: Jan 2003
Posts: 128
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 04:09 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.15110 seconds
  • Memory Usage 2,312KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (5)bbcode_code
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete