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 |
#152
|
|||
|
|||
I'm getting a weird problem. When i type up my message and click my spell checker, i get this:
I have tried to uninstall and reinstall the product, but to no luck. Also, if the first word is Hey, it will give me that error (replace update with error) but if i use Hi as my first word its checks it fine. Update was another word that gave me an error. Thanks for the help anyone. |
#153
|
||||
|
||||
MySQL Error: Table doesn't exist...
Read from post 132 on - on this page: https://vborg.vbsupport.ru/showthrea...=124578&page=9 |
#154
|
|||
|
|||
David (and everyone else in here who's advice I have thus far used) - thanks very much for all your help so far. I just thought I should do a quick summary of what has happened with my install over the last few days that I have wasted doing this. It has become a long thread now and I know that most people will just read the stuff at the end, so hopefully this will help them.
As it stands now, I finally have a working spell checker, but I still get the problem of the spell checker window not opening in front (on Firefox). I might go and investigate this one myself unless someone else has already found the answer to fix this? Here?s what I?ve done so far to get to this point: I removed the code from the xml file (as suggested earlier by Pyrix - the bit which removed the database after it created it). I removed the dictionary.dic file so it was not referenced during the running of the xml file. This (as expected) did not spend ages installing and hanging somewhere before 99%, but immediately installed. Now looking at my database from phpmyadmin, I can see the vbspell table has been created. Then I import the database (the fullsql one posted by replicators) using BigDump, as suggested by Steadicamop. The vbspell table is now populated with the dictionary words when I check from phpmyadmin. At this point the little "ABC" spelling check icon appears in my edit box as described here, but the spell check window hides behind the main one (which was meant to have been fixed in v0.10.2) This seems to be last great un-addressed issue that many people (including myself) still get. I really like this plugin (as it really is the only option for something that should be built into all forums, of not built into all web browsers). Credit to Cynix2 for getting it this far. I look forward to the next release and I hope all these issues can be squashed soon. |
#155
|
|||
|
|||
Oh, one last bit I thought I should mention (this was brought up by bbcentral on the first page). The ability to add words to the dictionary is important for special interest forums. For example, I run a biofuels forum (which will be picked as a misspelled word). Curiously, "biodiesel" is now included and not corrected (this was not in the original dictionary - maybe it was in replicators one?).
Could someone perhaps outline some suggestions for editing the dictionary file before upload? (I did this on my own dictionary.dic, as it was already just a text file - sadly I could not end up using this option as I had to manually load the sql). I had a look at the format of the sql dictionaries, but was a little confused by the format of this. I'm sure it is very simple, but a little explanation would be nice. Also, is there an easy way to add a word from phpmyadmin? I'm sure there is, but being a complete newbie to mysql, a few pointers would be appreciated. Also, I'm afraid I spoke too soon about it mostly working, it would seem that no words are suggested for any spelling errors. Sigh. I guess it is back to trawling through this long thread and wasting another day... :cross-eyed: |
#156
|
|||
|
|||
Sorry to do 3 posts in a row, but I think I've made some progress.
Firstly, apologies for missing one of the posts in here: An easy way to add you own dictionary words from in phpmyadmin - http://www.bbhosts.net/vbspell/ (thanks to bbcentral). Secondly here is how I fixed it: I completely removed the bits in the xml file about // Remove Old vB Spell Table and // Create vB Spell Table. As suggested by Erwin here. Then I made sure that my product was uninstalled and that my dictionary.dic (with my own edits for the extra words I wanted in it) was in my home dir. I ran this sql query on my database from phpmyadmin PHP Code:
Lastly, I installed the edited product xml file and it ran with no problems, my spell check now works and with the extra words I added too (biodiesel and biofuels). I just have the popup problem to solve now. I had a quick look, but decided that although I know how to make this happen on its own, it might be best left to the developer to do this in his own script. Also, I noticed that the spell check button, although it appears in almost everything, including the quick reply, it does not show in the edit, only if you click on "go advanced". It would be nice if it also showed in the edit as well. |
#157
|
|||
|
|||
Just a note to say that the key to the problem I was having with install (as per my above post in this thread) was indeed on account of remnants of the older version still around. Re-uploading the installer for the 3.5.4 version and using it to firmly uninstall the old system seemed to sort the issue. The main installer for the new vbSpell still would work; but I did manage to get the 'alternative' installer to work, via importing the dictionary SQL files directly into the database. All now does seem to be working properly.
Comments on vbSpell for 3.6.x at present: I'm delighted that vbSpell has finally been ported over to a version for 3.6, and indeed with some very pleasant improvements (the new check spelling icon, automatic integration into most templates, etc.). Once up and running, it seems to work rather well, and is a great asset to any forum. I would summarize the issues with the 3.6 version at present as follows:
|
#158
|
|||
|
|||
It has been found that this hack causes a problem with the comments box in PhotoPost Pro. When this hack is enabled the Comments post box in each of the showphoto pages does not show at all and when disabled it does. Any idea how that can be fixed?
|
#159
|
||||
|
||||
<a href="https://vborg.vbsupport.ru/showpost.php?p=1065575&postcount=97" target="_blank">https://vborg.vbsupport.ru/showp...5&postcount=97</a>
|
#160
|
|||
|
|||
Thanks! That did it!
|
#161
|
|||
|
|||
<i>If it ain't broke, don't fix it.</i>
I guess I shouldn't have upgraded to v0.10.2b (08/26/06). |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|