Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Add-ons

Reply
 
Thread Tools
vB Spell :: Spell Checker in WYSIWYG and Standard Modes Details »»
vB Spell :: Spell Checker in WYSIWYG and Standard Modes
Version: 1.3, by Replicators Replicators is offline
Developer Last Online: Feb 2016 Show Printable Version Email this Page

Category: New Posting Features - Version: 3.7.x Rating:
Released: 05-30-2008 Last Update: 07-14-2008 Installs: 64
DB Changes Uses Plugins Template Edits Auto-Templates
Re-useable Code Additional Files Translations  
No support by the author.

What this does: vB Spell allows you to install a dictionary (English dictionary included) into your MysQL database, and provide a spell checking window that works in both of vB's editor modes, standard and WYSIWYG.

Background: This mod was originally developed by tamarian for vB 3.5.x. With the release of 3.6.x the installer stopped working for fresh installs and the template changes were considerably out of date, tamarian gave cynix2 permission to release a 3.6.x version with updates. I have now carried it over to 3.7.x and will support it to the best of my ability.
This version should work with 3.5.x, 3.6.x, and 3.7.x series.

Features:
  • Supports most recent versions of browsers. Firefox, Mozilla/Netsacpe, Opera and Konqueror (Konqueror implies Safari, but please confirm Mac folks). Currently does NOT work in IE 7, if anybody can look through the code and know of a way to fix the mod to work in IE, then please send me a pm.
  • Learn Feature uses cookies, so it won't increase the database size.
  • Admin panel options.
  • Spell Check button appears anywhere there is a WYSIWYG Enhanced or Standard Editor Toolbar [includes quickreply but not quickedit].
  • Skips quoted text and other tags (PHP, code, etc.).
  • Usergroup permisisons.
  • Template based interface, and uses your default style.
  • Link buttons (Thesarus and Lookup) with links to Merriam Webster's online thesarus and dictionary links with the suggestion for misspelled words.
Installation:
  • Unzip main package.
  • Upload the contents of the 'upload' folder to your forum home directory.
    Regular Install:
    • Unzip Dictionary.zip.
    • Upload DICTIONARY.DIC to your forum home directory.
    Alternate Install
    • Unzip Manual-SQL.zip or Split-SQL.zip.
    • Import the SQL files to your database.
  • Import product-vbspell37.xml.
  • Go to AdminCP > vBulletin Options > vB Spell and edit your usergroup permisisons.
  • Template changes are now automatic. [need tms]
Q: What is the Alternate Install method for?
A: If you are having problems with the Regular Install (such as your dictionary import freezes at x%) then you should consider using the Alternate Install. If neither of these methods work for you then there might be an issue with your server host.

Upgrading:
  • Unzip main package.
  • Upload the contents of the 'upload' folder to your forum home directory.
  • Import product-vbspell37.xml.
To make template editing less tedious i have made use of Andreas Template Modification System found here. If you install tms before applying this mod, all template edits will be done for you. If you do not want tms installed, then i have supplied easier to understand template editing instructions inside the mod zip file.

IMPORTANT: If you decide to use tms and have the templates be automatically installed, then you need to go into your styles and save the following templates.

editpost, newreply, newthread, album_pictureview, calendar_edit, visitormessage_editor, socialgroups_editor, USERCP_SHELL, SHOWTHREAD, postbit_quickedit, pm_newpm, picturecomment_form, and modifysignature

Just go into the templates and save it without making any changes for each skin. TMS will not edit any unmodified templates, so if any of them templates are already red, then they are already modified and you don't need to save them.

HISTORY:
1.1 - Added use of TMS to make template modification easier.
1.2 - Added tehtide's fix from here
1.3 - Made some changes in the product, and made manual template instructions a little less tedious, but there is no easy way of doing it unfortunantly. You will need to redo the template edits that go above </head>.

Supporters / CoAuthors

Show Your Support

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

Comments
  #22  
Old 06-01-2008, 01:05 PM
Replicators's Avatar
Replicators Replicators is offline
 
Join Date: Jul 2005
Location: Jamestown, NY
Posts: 344
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You need tms installed first in order for the template edits to be done for you. Then need to save all the templates that are gonna be edited beforehand cause tms will not modify unmodified templates. >8( So it's not without tedious work, but its alot easier to just go in the templates and save them, than manually editing the templates yourself.
Reply With Quote
  #23  
Old 06-05-2008, 02:13 PM
Renada's Avatar
Renada Renada is offline
 
Join Date: Jan 2005
Posts: 121
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi,

I've installed this with manual template edits as I didn't want to install TMS but cannot get it to find vbspell.php.

The popup works on Firefox but not on IE and the error FF is giving is:

"The requested URL /vbspell.php was not found on this server."

This is the code added to the Editpost template:

Code:
<form name="spell_form" id="spell_form" method="POST" target="spellWindow" action="vbspell.php">
        <input type="hidden" name="spell_formname" value="">
        <input type="hidden" name="spell_fieldname" value="">
        <input type="hidden" name="spellstring" value="">
</form>

I've tried inserting /forums/vbspell.php and http://www.mysite.com/forums/vbspell.php - neither of which work. All three files are in my /forums directory along with the Dictionary file.

Any idea why this isn't finding the file please?

Regards
Renada
Reply With Quote
  #24  
Old 06-05-2008, 02:33 PM
cnutter cnutter is offline
 
Join Date: Jan 2005
Posts: 50
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Something in this mod interfers with the Album Pictures - Forum Home 1.3.0 plugin causing the images not to show up. Any ideas.
Reply With Quote
  #25  
Old 06-05-2008, 05:22 PM
ViewMy.biz ViewMy.biz is offline
 
Join Date: May 2002
Posts: 39
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Does the spell checker work in forms, for example when you are doing a search? If not, is there something that does perform a form spell check? thanks
Reply With Quote
  #26  
Old 06-05-2008, 09:17 PM
Replicators's Avatar
Replicators Replicators is offline
 
Join Date: Jul 2005
Location: Jamestown, NY
Posts: 344
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Renada View Post
Hi,

I've installed this with manual template edits as I didn't want to install TMS but cannot get it to find vbspell.php.

The popup works on Firefox but not on IE and the error FF is giving is:

"The requested URL /vbspell.php was not found on this server."

This is the code added to the Editpost template:

Code:
<form name="spell_form" id="spell_form" method="POST" target="spellWindow" action="vbspell.php">
        <input type="hidden" name="spell_formname" value="">
        <input type="hidden" name="spell_fieldname" value="">
        <input type="hidden" name="spellstring" value="">
</form>
I've tried inserting /forums/vbspell.php and http://www.mysite.com/forums/vbspell.php - neither of which work. All three files are in my /forums directory along with the Dictionary file.

Any idea why this isn't finding the file please?

Regards
Renada
Thank you for pointing this out to me, and since i don't use IE, i didn't see the problem beforehand, in which i SHOULD of checked in ie too. I plan on fixing this issue asap, but i have other stuff i am taking care of at this time aswell. Very sorry for this inconvenience but please keep this installed so you can get a email telling you when it is fixed.

Quote:
Originally Posted by cnutter View Post
Something in this mod interfers with the Album Pictures - Forum Home 1.3.0 plugin causing the images not to show up. Any ideas.
Does that mod make use of tms? It could be due to the spell checker overwritten template edits of that mod, but i can't be sure. What you can do is remove the auto-template changes for the templates that are giving you this problem, and then manually edit the templates. Does it happen on forumhome, or like when your seeing a thread?

Quote:
Originally Posted by ViewMy.biz View Post
Does the spell checker work in forms, for example when you are doing a search? If not, is there something that does perform a form spell check? thanks
No it don't, only under message editors, it could be done though with he approproiate editing, you'd have to add the buttons under the input boxes. and the </head> and $navbar change. It would be pretty tedious though to do it for every template though.
Reply With Quote
  #27  
Old 06-06-2008, 01:52 AM
Chadi's Avatar
Chadi Chadi is offline
 
Join Date: May 2004
Location: USA
Posts: 2,043
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

There is a bug with this hack.

When enabled, certain functions do not work. One I just noticed is that when you click a checkbox on a post, it should by default highlight it, and on the bottom right side of the drop down menu (moderator options) the Go button should change the number from (0) to (1) for example.

Your mod conflicts and voids this functionality. As soon as I uninstalled it, the original functions worked again.
Reply With Quote
  #28  
Old 06-06-2008, 03:51 AM
Tom_S Tom_S is offline
 
Join Date: Jan 2007
Location: VA Beach
Posts: 320
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It has been awhile since I have done manual imports on MYSql but not that long. This isn't wanting to import even using the small chunks.

Quote:
An error occurred while attempting to execute your query. The following information was returned.
error number: 1064
error desc: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ';
CREATE TABLE IF NOT EXISTS `vbspell` (
`word` varchar(30) collate latin1_g' at line 1
I have tried importing the entire file using the file. I tried copy/paste directly into the query into phpMyadmin and I used the chunks of code where you broke it down with all methods to include the default in vBulletins "Execute SQL Query" and I get the same errors.
Reply With Quote
  #29  
Old 06-06-2008, 12:06 PM
cnutter cnutter is offline
 
Join Date: Jan 2005
Posts: 50
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Replicators View Post
Does that mod make use of tms? It could be due to the spell checker overwritten template edits of that mod, but i can't be sure. What you can do is remove the auto-template changes for the templates that are giving you this problem, and then manually edit the templates. Does it happen on forumhome, or like when your seeing a thread?
I tried it with the maual templet changes and it still is a no go. Its not a big deal my users dont need spell checking that much.
Reply With Quote
  #30  
Old 06-09-2008, 06:10 PM
Megatr0n Megatr0n is offline
 
Join Date: Jul 2007
Posts: 455
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hmm, has anyone got this hack working?

Seems like no one in this thread has confirmed whether they've got it running despite 22 installs.
Reply With Quote
  #31  
Old 06-09-2008, 06:21 PM
Tom_S Tom_S is offline
 
Join Date: Jan 2007
Location: VA Beach
Posts: 320
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No..It don't work as of yet.
Reply With Quote
Reply

Thread Tools

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 11:52 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04979 seconds
  • Memory Usage 2,320KB
  • Queries Executed 26 (?)
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
  • (2)bbcode_code
  • (5)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