Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
vB Spell Details »»
vB Spell
Version: 0.10.3b, by cynix2 cynix2 is offline
Developer Last Online: Nov 2011 Show Printable Version Email this Page

Category: New Posting Features - Version: 3.6.x Rating:
Released: 08-20-2006 Last Update: 06-22-2007 Installs: 252
DB Changes Uses Plugins
Additional Files  
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 me permission to release a 3.6.x version with updates.
This version should work with both 3.5.x and 3.6.x series.

Features:
  • Supports most recent versions of browsers. Tested on IE, Firefox, Mozilla/Netsacpe, Opera and Konqueror (Konqueror implies Safari, but please confirm Mac folks).
  • 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-reg.zip.
    • Upload DICTIONARY.DIC to your forum home directory.
    Alternate Install
    • Unzip dictionary-alt.zip.
    • Import the SQL files to your database.
  • Import product-spellvb.xml.
  • Go to AdminCP > vBulletin Options > vB Spell and edit your usergroup permisisons.
  • Template changes are now automatic. [accept for quickedit]
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-spellvb.xml.

To manually force the quickedit template to work with this mod:
postbit_quickedit
Find
Code:
		<if condition="is_browser('ie')">
			<td><img src="$stylevar[imgdir_editor]/separator.gif" width="6" height="20" alt="" /></td>
			<td><div class="imagebutton" id="{$editorid}_cmd_spelling"><img src="$stylevar[imgdir_editor]/spelling.gif" width="21" height="20" alt="$vbphrase[check_spelling]" /></div></td>
		</if>
Replace with
Code:
		<td><img src="$stylevar[imgdir_editor]/separator.gif" width="6" height="20" alt="" /></td>
		<td><div class="imagebutton" id="{$editorid}_cmd_spelling(null)"><img onclick="spellCheck('3', '$editorid', '2');" src="$stylevar[imgdir_editor]/spelling.gif" width="21" height="20" alt="$vbphrase[check_spelling]" /></div></td>
History:
0.10.x NyNe versions
v0.10.3b - 06/22/07:
Compensated for an issue brought up in this post.
v0.10.3 - 06/22/07:
Added a check to the product installer so it would not remove the vbspell table after just having created it.
Added $vboptions[bburl] to all template code that asks for files (this *might* fix the PhotoPost issues - no promises).
v0.10.2b - 08/26/06:
Fixed error in product installer (removed table prefix).
Changed all <? to <?php for php5 compatibility.
v0.10.2a - 08/26/06:
Removed alt product installer.
Product installer included now checks for dictionary file, if dictionary file is not found it continues installing.
Product installer no longer drops dictionary table before installing.
v0.10.2 - 08/22/06:
vbspell template is now XHTML 1.0 Transitional.
Fixed a version check for vbspell template (made compatible with 3.5.x).
vB Spell window should now open on top of other windows.
Removed table prefix for vbspell sql table (product installer includes code to remove old tables).
Included alternate installation method (Credit goes to Replicators for the SQL Install method).
v0.10.1 - 08/21/06:
Beta release for 3.6.x series.
Switched to product/plugin based installer.

0.9.x tamarian versions
v0.9.12 - 12/25/05:
Security fix for cases where you allow HTML posts and they contain malicious code (Credit goes to Brendan Donahue for finding the issue and alerting TechGuy, and to TechGuy for alerting me to it).
v0.9.11 - 11/02/05:
Fixes a bug with slashes in text.
v0.9.10 - 10/17/05:
Check for primary and secondary group for permission.
Bug fix for quoted words.
v0.9.9 - 09/13/05:
Bugfix for JS on IE with RC3.
v0.9.8 - 07/15/05:
Bugfix for JS code mismatch with template.
v0.9.7 - 07/14/05:
Initial release for vB 3.5 beta-4.

NOTE: The above section says NyNe versions, because I go by the name NyNe everywhere accept here.

Scrrenshots: (from tamarian's 3.0.7, but it's identical)

Supporters / CoAuthors

Show Your Support

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

Comments
  #382  
Old 01-27-2008, 05:02 PM
Eq4bits Eq4bits is offline
 
Join Date: May 2006
Posts: 468
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Running vB3.6.8PL2
the previous version of vBspell worked, tho the checker window popped 'under' instead of on top, just upgraded/updated to this new one 10.3b and it's not working at ALL
Reply With Quote
  #383  
Old 01-27-2008, 05:10 PM
inciarco's Avatar
inciarco inciarco is offline
 
Join Date: Mar 2007
Posts: 758
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Eq4bits View Post
Running vB3.6.8PL2
the previous version of vBspell worked, tho the checker window popped 'under' instead of on top, just upgraded/updated to this new one 10.3b and it's not working at ALL
Bump!!

Any Chance for the Author or Some User that has the Previous Version to Upload it here, Please??

Checking the Author's Profile, it seems that the Author hasn't accessed vB.org since September of 2007, so Could some Person Please Upload (Attach) the File to a Message in this Thread, Please!!

Would be Nice to Test that Working Version!!

My Best Regards!! :up:

Reply With Quote
  #384  
Old 01-27-2008, 05:26 PM
Eq4bits Eq4bits is offline
 
Join Date: May 2006
Posts: 468
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have the old one will attempt to attach to this post
I haven't tried going back to it tho, so don't know if that will work or not
would the other three files (vbspell.js, vbspell.php and vbspell_iframe.php) have to be overwritten as well?
Reply With Quote
  #385  
Old 01-27-2008, 05:33 PM
Eq4bits Eq4bits is offline
 
Join Date: May 2006
Posts: 468
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I reuploaded the older version js and php files as well as imported the old xml (overwrote all) and it works now.
attaching the 'old' js and php files to this post
urp, forum won't let me attach the js file
if anyone wants it pm me with your email addy and I'll be glad to send it to you that way
Reply With Quote
  #386  
Old 01-27-2008, 05:34 PM
Eq4bits Eq4bits is offline
 
Join Date: May 2006
Posts: 468
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

trying to attache the 'old' zip file that contains all the files
this is version 10.2b zip that is attached
Reply With Quote
  #387  
Old 01-27-2008, 05:38 PM
inciarco's Avatar
inciarco inciarco is offline
 
Join Date: Mar 2007
Posts: 758
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Eq4bits View Post
trying to attache the 'old' zip file that contains all the files
this is version 10.2b zip that is attached
Guau!! Thank You Very Much Eq4bits!! :up::up::up:

I'll Test it Today in my Test Forum, and see how it Works!! :up::up::up:

My Best Regards!!

Reply With Quote
  #388  
Old 01-27-2008, 11:28 PM
inciarco's Avatar
inciarco inciarco is offline
 
Join Date: Mar 2007
Posts: 758
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Version 10.2b Works OK in vB 3.6.7 PL1!! :up:

Some Things to Consider:

1. When Installing the Product, the Information (Words) DICTIONARY.DIC file that comes with the Product is copied into some place in the Database (should be a Table created by the Mod), so the Percentage of Advance that is seen corresponds to the Upload of the Words into the Table.

2. When I Used the DICTIONARY.DIC in Spanish Downloaded in the Web Site specified in other Posts, (is neccesary to rename it to DICTIONARY, with extension .DIC, and to Uploaded to the Forum Root), the Words in Spanish (or in the Language you Download), are Added to the Existing Table in the Database, to the Resulting Dictionary is an English and Spanish Dictionary (Mixed).

3. If you want the Product Only to Work with a specific Language, you should use the File of the Language you want to Work with Initial Installation of the Mod, otherwise is neccesary to Uninstall and Reinstall the Product; I noticed that the Words Added to the Dictionary with the Button "Learn", (keep that Button Away from regular users), for some reason those Words weren't Deleted from the Original Installation, so I guess is another Table in the Database that wasn't uninstalled and Deleted.

Definitely doesn't Work in the Quick Reply, there should be something in the Code (Plugin) that is Wrong, because in the "editor_toolbar_on" (Reply in a Thread), the "showthread_quickreply" (Quick Reply), works Fine, but not with the "postbit_quickedit" (Quick Edit).

My Best Regards!! And Thanks Again to Eq4bits for sharing the Previous Version of this Mod!!

Reply With Quote
  #389  
Old 01-28-2008, 02:37 AM
inciarco's Avatar
inciarco inciarco is offline
 
Join Date: Mar 2007
Posts: 758
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Would be Great that a Addon can be Made to interact with this Mod in the Following way:

1. To List the Tabe of Words Installed with the DICTIONARY.DIC Files, as well as to see the Ones Stored in the Customized Words Table!!

2. To Add/Delete/Edit the Words Stored in Both Dictionary and Customized, Words.

Other Options to Manage those Tables in the Database.

This could add Functionallity and also Help Manage the Words; The Administrators/Moderatores are Blind (Cannot See) Every Change Made (Customized Words Added) to the Dictionary, and Cannot Modify those Words in case of Errors (Add a Word that is Wrong Spelled)!!

I Hope Some Coder and/or the Developer of this Great Hack can Add this Functionality!!

Also would be Great to Add the Quick Edit Use of this Mod!!

My Best Regards!!

Reply With Quote
  #390  
Old 01-28-2008, 05:48 AM
inciarco's Avatar
inciarco inciarco is offline
 
Join Date: Mar 2007
Posts: 758
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by 4number8 View Post
For anyone that would like the spell check button added, edit your newreply, and newthread templetes:

newreply
find:
Code:
<input type="submit" class="button" name="sbutton" id="{$editorid}_save" value="$vbphrase[submit_reply]" accesskey="s" tabindex="1" />
		<input type="submit" class="button" name="preview" value="$vbphrase[preview_post]" accesskey="r" tabindex="1" />
under it add this:
Code:
<input type="button" class="button" value="Spell Check" onClick="spellCheck('vbform', '$editorid', '2');" />
newthread
find:

Code:
<input type="submit" class="button" name="sbutton" id="{$editorid}_save" value="$vbphrase[submit_new_thread]" accesskey="s" tabindex="1" />
		<input type="submit" class="button" name="preview" value="$vbphrase[preview_post]" accesskey="r" tabindex="1" />
under this add:
Code:
<input type="button" class="button" value="Spell Check" onClick="spellCheck('vbform', '$editorid', '2');" />
Best of all, no more hidding windows, it pops up as it should
Quote:
Originally Posted by 4number8 View Post
To add the spell check button to the quick reply, simply search for this phrase in..

showthread templete find:
Code:
<input type="submit" class="button" value="$vbphrase[go_advanced]" accesskey="x" title="(Alt + X)" name="preview" tabindex="3" id="qr_preview" onclick="clickedelm = this.value" />
Below this add:
Code:
<input type="button" class="button" value="Spell Check" onClick="spellCheck('qrform', '$editorid', '2');" />
You now have a spell check button on quickreply that works as it should.

Hope that helps
Quote:
Originally Posted by 4number8 View Post
To also add the spell check button to your go advanced options, edit your postbit_quickedit templete.

Find:
Code:
<input type="button" class="button" tabindex="1" accesskey="r" value="$vbphrase[go_advanced]" id="{$editorid}_adv" />
Below add:
Code:
<input type="button" class="button" value="Spell Check" onClick="spellCheck('vbform', '$editorid', '2');" />
Quote:
Originally Posted by 4number8 View Post
If you would like to have a spell check button for your users to use with their PMs, simply edit your pm_newpm templete.

Find:
Code:
<input type="submit" class="button" value="$vbphrase[preview_message]" accesskey="r" name="preview" tabindex="1" />
Below this add:
Code:
<input type="button" class="button" value="Spell Check" onClick="spellCheck('vbform', '$editorid', '2');" />
Now you and your users can check the spelling in your PM's
Very Useful Tips!! :up:

When I tried the Quick Edit, you have to be Careful because on Normal Mode (Not WYSIWYG), it Erases the Content of the Message, so is needed to Cancel the Edit; but when the WYSIWYG editor is On, the it works Fine!!

My Best Regards!!

Reply With Quote
  #391  
Old 01-28-2008, 06:08 AM
inciarco's Avatar
inciarco inciarco is offline
 
Join Date: Mar 2007
Posts: 758
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by baze22 View Post
Playing around, I found a workaround for it popping under. In the vbspell_iframe.php file:

find this:
Code:
<body class="wysiwyg" onLoad="assignSelf(); window.parent.startsp();" id="theBody">
replace with:
Code:
<body class="wysiwyg" onLoad="assignSelf(); window.parent.startsp(); window.focus();" onblur="window.focus();" id="theBody">
It still pops under initially but then comes back to the top. Like I said, it's a workaround.

baze
I tried this but had to change back to the Original Version of the File, becasuse this Affects the Text Field where you can Change the Proposed Word to a Custom one; simply don't allow the Selection of that Text Field!!

My Best Regards!!

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 12:57 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.07510 seconds
  • Memory Usage 2,347KB
  • Queries Executed 28 (?)
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
  • (14)bbcode_code
  • (7)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
  • (1)pagenav_pagelinkrel
  • (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_postinfo_query
  • fetch_postinfo
  • 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