The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
vB Spell Details »» | |||||||||||||||||||||||||
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:
Installation:
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:
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> 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> 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
|
Comments |
#212
|
|||
|
|||
To add the spell check button, do this to your modifysignature templete,
Find: Code:
<input type="submit" class="button" value="$vbphrase[preview_signature]" name="preview" accesskey="r" tabindex="1" /> Code:
<input type="button" class="button" value="Spell Check" onClick="spellCheck('qrform', '$editorid', '2');" /> |
#213
|
||||
|
||||
Quote:
|
#214
|
|||
|
|||
Quote:
baze |
#215
|
|||
|
|||
Quote:
find this: Code:
<body class="wysiwyg" onLoad="assignSelf(); window.parent.startsp();" id="theBody"> Code:
<body class="wysiwyg" onLoad="assignSelf(); window.parent.startsp(); window.focus();" onblur="window.focus();" id="theBody"> baze |
#216
|
||||
|
||||
Quote:
|
#217
|
||||
|
||||
I installed this and uploaded DICTIONARY.DIC to my forum home.
I tested the thread with various spelling errors, it gave no suggestions or change to words at all, even for words like churc (church), hly (holy), mke (make), etc. I reuploaded the product and now I get db errors when clicking the spell icon Code:
Database error in vBulletin 3.6.2: Invalid SQL: SELECT word FROM vbspell WHERE word = 'test'; MySQL Error : Table 'user_vbulletin.vbspell' doesn't exist Error Number : 1146 Date : Saturday, October 28th 2006 @ 10:24:25 AM Script : http://www.talkjesus.com/vbspell.php Referrer : http://www.talkjesus.com/newthread.php?do=newthread&f=51 IP Address : xxx Username : user Classname : vb_database |
#218
|
||||
|
||||
Quote:
|
#219
|
||||
|
||||
|
#220
|
||||
|
||||
Quote:
|
#221
|
|||
|
|||
i did everything the way the directions said... uploaded all the vbspell and dictionary.dic to the forums home directory then installed the product and got this error:
Code:
Database error in vBulletin 3.5.4: Invalid SQL: ### INSERT QUERY GENERATED BY fetch_query_sql() ### INSERT INTO plugin (`active`, `executionorder`, `title`, `hookname`, `phpcode`, `product`) VALUES ('1', '5', 'vB Spell Template Changes', 'parse_templates', '$vbulletin->templatecache[\'headinclude\'] .= addslashes(\'<script type=\"text/javascript\" src=\"vbspell.js\"></script>\');\r\n$vBSpell_temp_header = <<< html\r\n<form name=\"spell_form\" id=\"spell_form\" method=\"POST\" target=\"spellWindow\" action=\"vbspell.php\">\r\n<input type=\"hidden\" name=\"spell_formname\" value=\"\" />\r\n<input type=\"hidden\" name=\"spell_fieldname\" value=\"\" />\r\n<input type=\"hidden\" name=\"spellstring\" value=\"\" />\r\n</form>\r\nhtml;\r\n$vbulletin->templatecache[\'header\'] .= addslashes($vBSpell_temp_header);\r\n\r\n$vBSpell_search_editor_toolbar_on = array(\"is_browser(\'ie\') AND !is_browser(\'mac\')\", \"_cmd_spelling\\\\\\\"><img\");\r\n$vBSpell_replace_editor_toolbar_on = array(\"1==1\", \"_cmd_spelling(null)\\\\\\\"><img onclick=\\\\\\\"spellCheck(\'vbform\', \'\\$editorid\', \'2\');\\\\\\\"\");\r\n\r\n$vBSpell_search_postbit_quickedit = array(\"is_browser(\'ie\')\", \"_cmd_spelling\\\\\\\"><img\");\r\n$vBSpell_replace_postbit_quickedit = array(\"1==1\", \"_cmd_spelling(null)\\\\\\\"><img onclick=\\\\\\\"spellCheck(\'3\', \'\\$editorid\', \'2\');\\\\\\\"\");\r\n\r\n$vBSpell_search_showthread_quickreply = array(\"is_browser(\'ie\')\", \"_cmd_spelling\\\\\\\"><img\");\r\n$vBSpell_replace_showthread_quickreply = array(\"1==1\", \"_cmd_spelling(null)\\\\\\\"><img onclick=\\\\\\\"spellCheck(\'qrform\', \'\\$editorid\', \'2\');\\\\\\\"\");\r\n\r\nforeach ($vBSpell_search_editor_toolbar_on as $id => $item) {\r\n$vbulletin->templatecache[\'editor_toolbar_on\'] = str_replace($vBSpell_search_editor_toolbar_on[\"$id\"], $vBSpell_replace_editor_toolbar_on[\"$id\"], $vbulletin->templatecache[\'editor_toolbar_on\']);\r\n//quickedit doesnt work yet\r\n//$vbulletin->templatecache[\'postbit_quickedit\'] = str_replace($vBSpell_search_postbit_quickedit[\"$id\"], $vBSpell_replace_postbit_quickedit[\"$id\"], $vbulletin->templatecache[\'postbit_quickedit\']);\r\n$vbulletin->templatecache[\'showthread_quickreply\'] = str_replace($vBSpell_search_showthread_quickreply[\"$id\"], $vBSpell_replace_showthread_quickreply[\"$id\"], $vbulletin->templatecache[\'showthread_quickreply\']);\r\n}', 'spellvb'); MySQL Error : Unknown column 'executionorder' in 'field list' Error Number : 1054 Date : Friday, November 3rd 2006 @ 10:40:13 AM Script : http://www.decimators.net/forums/admincp/plugin.php Referrer : http://www.decimators.net/forums/adm...?do=productadd IP Address : ************ Username : *********** Classname : ************* |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|