vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   vB Spell :: Spell Checker in WYSIWYG and Standard Modes (https://vborg.vbsupport.ru/showthread.php?t=92202)

Princeton 02-21-2006 12:17 AM

I needed to install this for a client but I noticed that the posbit_edit didn't work.

The reason why it doesn't work is because the vbspell script checks for form name "vbform". The post_edit form doesn't use this 'name'. In fact, I don't think it has a name.

Anyway, the fix is to find the array of form objects within the page. ie. how many <form> objects are found before the postbit_edit form. In a default vbulletin style, the number is 3 ... at least that's what it was for me logged in as admin. :)

So instead of...
document.form["formname"] - uses defined form names
we will have
document.form[3] - uses refrence number within array

If it doesn't work with '3' check with another number.

I can't test this on client site as a registered member so if someone can test and confirm this I would appreciate it. Thanks

Well, here's the fix:
HTML Code:

<input type="button" class="button" value="Spell Check" onclick="spellCheck('3', '$editorid', '2');" />
OTHER RECOMMENDATIONS:
Check to see if field exist before ALTERing a table. For example, user table - if field exist ALTER will fail; thus, it may leave someone with missing fields

GREAT JOB

OrangeFlea 02-21-2006 08:25 PM

Any demo sites? Is anyone running this thing on their forum, I want to check it out.

reismarktq2 02-25-2006 03:00 AM

Princeton: Works like a charm. Much thanks! :)

Tamarian: Any reason why the install script needs to be re-run after running a vBulletin update? And how much of the install script actually needs to be re-run? I'd rather avoid having to re-install the dictionary each time I run an update, since we are often adding a number of words/phrases that aren't already there as they are discovered and would like to be able to keep these customizations.

tamarian 02-25-2006 12:39 PM

Quote:

Originally Posted by reismarktq2
Princeton: Works like a charm. Much thanks! :)

Post the details, and I'll add it to the first post so others can try it.

Quote:

Tamarian: Any reason why the install script needs to be re-run after running a vBulletin update? And how much of the install script actually needs to be re-run?
The reason is that this was released prior to product xml files. Converting it to product format is not difficult, but will mess up previous installations. At one point in the future I'll think of a way for a painless upgrade.

You can run the steps until the dictionary step, which does not need to be re-run.

Ambie 03-02-2006 11:11 PM

I couldn't figure out how to get past step 5 for the life of me. I was desperate,so what I ended up doing was looking at the last word in the VBspell table, then going to the dictionary.dic file and copied the words after that one all the way down. Pasted it into a new file, named it dictionary.dic and uploaded it over the old one.Then ran step 5 again. It loaded the rest of the words and the install finished. Works great now. :)

D|ver 03-04-2006 12:47 PM

Quote:

Originally Posted by Wildthinks
me too interesting... :squareeyed:

me too, that would be great :)

dutchbb 03-06-2006 06:40 PM

What languages does this support? No dutch right?

kellee88 03-06-2006 11:06 PM

We upgraded from 3.0.7 to 3.5.4. We had vBSpell in 3.0.7. We have veen trying to install the latest 3.5.3 vBSpell but with no luck. Here is the message we get:
Quote:

vb spell will not install. I get Warning: Invalid argument supplied for foreach() in /includes/class_core.php on line 2755

Unable to add cookies, header already sent.
File:/includes/class_core.php
Line: 2984
Any suggestions?

Strat 03-07-2006 02:53 AM

How about having it in QR?

AlchemyX 03-09-2006 01:10 PM

um.... everything is fine except that my browser times out on step 5...


All times are GMT. The time now is 11:17 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.01299 seconds
  • Memory Usage 1,741KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_html_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete