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
  #252  
Old 12-19-2006, 12:08 PM
Tabasco Tabasco is offline
 
Join Date: Dec 2006
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

So which version is best to use with 3.6.4?

Regular Install:

* Unzip dictionary-reg.zip.
* Upload DICTIONARY.DIC to your forum home directory.

or

Alternate Install

* Unzip dictionary-alt.zip.
* Import the SQL files to your database.

Has the XML template or the MySQL issue been fixed? or do I need to follow change instructions?

Thanks
Reply With Quote
  #253  
Old 12-19-2006, 04:43 PM
HAVOK USA HAVOK USA is offline
 
Join Date: Aug 2006
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed without problems - set permissions - the icon shows in the post box, when I press it, nothing happens (no pop up box)

I have pop ups cleared for the website. Any ideas? I's love to use this hack.
Reply With Quote
  #254  
Old 12-22-2006, 01:49 PM
NeoGTavern NeoGTavern is offline
 
Join Date: Dec 2002
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Okay I go it installed and it is catching misspelled words, however it will offer no suggestions. When I click on the "suggestions" box I get the error

Line: 397
Char: 1
Error: Object does not support this property or method
Code:0

I am using vB 3.6.4
Reply With Quote
  #255  
Old 12-31-2006, 05:14 PM
zetetic's Avatar
zetetic zetetic is offline
 
Join Date: Apr 2004
Posts: 338
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Tabasco View Post
So which version is best to use with 3.6.4?
Regular Install:
or
Alternate Install
The regular install is much easier. Only use the alternate if the regular fails.

Quote:
Has the XML template or the MySQL issue been fixed? or do I need to follow change instructions?

Thanks
As of today (version 0.10.2b), the XML file has not been updated.

Before you attempt to install this product, you should open the product-spellvb.xml file and...

find:
HTML Code:
// Create vB Spell Table
$db->query_write("CREATE TABLE IF NOT EXISTS vbspell (
  word varchar(30) NOT NULL,
  sound varchar(10) NOT NULL,
  UNIQUE KEY word (word),
  KEY sound (sound)
) TYPE=MyISAM");

// Remove Old vB Spell Table
$db->query_write("DROP TABLE IF EXISTS " . TABLE_PREFIX . "vbspell");
and replace with:
HTML Code:
// Remove Old vB Spell Table
$db->query_write("DROP TABLE IF EXISTS " . TABLE_PREFIX . "vbspell");

// Create vB Spell Table
$db->query_write("CREATE TABLE IF NOT EXISTS vbspell (
  word varchar(30) NOT NULL,
  sound varchar(10) NOT NULL,
  UNIQUE KEY word (word),
  KEY sound (sound)
) TYPE=MyISAM");
Otherwise it will drop the vbspell table right after it creates it, before importing the dictionary!
Reply With Quote
  #256  
Old 01-04-2007, 06:47 PM
Big Kahuna's Avatar
Big Kahuna Big Kahuna is offline
 
Join Date: Feb 2002
Location: SE Texas
Posts: 182
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I had everything set up and was one click away from installing product -- and then read all of this.

I've got very cold feet now and won't do it.

I have MKPortal, Photopostphp, Photopost Classifieds, and a large forum. I can't afford the problems.

That said -- what irritates me is that Vbulletin doesn't have a spell check integrated in the product. I have one Vbulletin board at www.moparstyle.com and two FREE SMF forums at www.oldhippie.com and www.forums.diamondbackengines.com -- and amazingly, the free forums have a INCLUDED spell check that you can either use or disable. I've paid five years of dues at vBulletin after buying a perpetual license and don't have that benefit.

I'd spell check this post -- but there isn't one installed here lol
Reply With Quote
  #257  
Old 01-08-2007, 12:35 PM
Ski-Whiz's Avatar
Ski-Whiz Ski-Whiz is offline
 
Join Date: May 2003
Posts: 214
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is it me, but in the product you tell it to create "vbspell" tables, and you next tell it to remove the old "vbspell" tables?

PHP Code:
// Create vB Spell Table
$db->query_write("CREATE TABLE IF NOT EXISTS vbspell (
  word varchar(30) NOT NULL,
  sound varchar(10) NOT NULL,
  UNIQUE KEY word (word),
  KEY sound (sound)
) TYPE=MyISAM"
);
// Remove Old vB Spell Table
$db->query_write("DROP TABLE IF EXISTS " TABLE_PREFIX "vbspell"); 
They are the same tables. I was wondering why I first got an error saying this table was already there.. So I removed it. Then when it installed, it never created it. Also the alternate way didn't install for me either at the time, as those SQL files insert data into the table it removed.

Not a biggie. I have it working now. Just a heads up.
Reply With Quote
  #258  
Old 01-08-2007, 12:38 PM
Ski-Whiz's Avatar
Ski-Whiz Ski-Whiz is offline
 
Join Date: May 2003
Posts: 214
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

^^^^^^Never mind, I see this was already notice..
Reply With Quote
  #259  
Old 01-14-2007, 11:08 PM
Goat Boy Goat Boy is offline
 
Join Date: Mar 2003
Posts: 70
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Pyrix View Post
Sure,

Go to Plugin Manager in your admin control panel and edit the plugin 'vB Spell Template Changes'.

Add the following line at the very top before anything else:

Code:
if ( VB3_INTEGRATION != "on" ) {
and the following after the very last line:

Code:
}
Because the VB3_INTEGRATION variable should be defined when the WYSIWIG editor is being called from photopost, it'll fail that condition and the code to include the spell check won't be called.

You won't get spell check in the gallery, but you can still use it in the forums without messing up the gallery.

Works for me anyway

Ollie

I did this mod and Photopost Reply works but in the forums I get a Pop Up message about ieSpell is a spell checking tool for Internet Explorer and gives me a link to download it now?


Any Idea how to overcome that?
I am running 3.6.4
Reply With Quote
  #260  
Old 01-15-2007, 08:04 PM
bada_bing's Avatar
bada_bing bada_bing is offline
 
Join Date: Feb 2004
Location: Michigan
Posts: 1,698
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok getting a bit peeed off here.. I am trying to install this hack and I have tried to import the plugin using method 1 by uploading the dictinary file then installing the plugin and I got an error. Then I imported the dictinary files into the database then imported the plugin and still get the same error.. What is going on here is the error.
Fatal error: Maximum execution time of 60 seconds exceeded in c:\domains\mysite.com\wwwroot\forums\includes\clas s_core.php on line 363
Reply With Quote
  #261  
Old 01-19-2007, 11:15 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 Ski-Whiz View Post
Is it me, but in the product you tell it to create "vbspell" tables, and you next tell it to remove the old "vbspell" tables?

PHP Code:
// Create vB Spell Table
$db->query_write("CREATE TABLE IF NOT EXISTS vbspell (
  word varchar(30) NOT NULL,
  sound varchar(10) NOT NULL,
  UNIQUE KEY word (word),
  KEY sound (sound)
) TYPE=MyISAM"
);
// Remove Old vB Spell Table
$db->query_write("DROP TABLE IF EXISTS " TABLE_PREFIX "vbspell"); 
They are the same tables. I was wondering why I first got an error saying this table was already there.. So I removed it. Then when it installed, it never created it. Also the alternate way didn't install for me either at the time, as those SQL files insert data into the table it removed.

Not a biggie. I have it working now. Just a heads up.
ROFL, i don't know who made this error, whether it was me or cynix2. What it was meant to do, was removed the old table, then create the new one, instead it went opposite!
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 05:47 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.05193 seconds
  • Memory Usage 2,340KB
  • 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
  • (4)bbcode_code
  • (2)bbcode_html
  • (2)bbcode_php
  • (4)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
  • (2)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_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