vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   New Posting Features - vB Spell :: Spell Checker in WYSIWYG and Standard Modes (https://vborg.vbsupport.ru/showthread.php?t=181065)

tehtide 06-11-2008 12:10 PM

I got it to work by doing the following:

In the "vB Spell Template Changes" plugin change

Code:

<form name="spell_form" id="spell_form" method="POST" target="spellWindow" action="$vboptions[bburl]/vbspell.php">
to

Code:

<form name="spell_form" id="spell_form" method="POST" target="spellWindow" action="vbspell.php">

Megatr0n 06-11-2008 05:07 PM

Quote:

Originally Posted by tehtide (Post 1546615)
I got it to work by doing the following:

In the "vB Spell Template Changes" plugin change

Code:

<form name="spell_form" id="spell_form" method="POST" target="spellWindow" action="$vboptions[bburl]/vbspell.php">
to

Code:

<form name="spell_form" id="spell_form" method="POST" target="spellWindow" action="vbspell.php">

What error were you getting before?

Replicators 06-15-2008 01:00 PM

I'm gonna need all of your help into making this mod work at 100%, as i am not the most knowledgeable at coding and such.

The only issue i see now is fixing it for IE as it will not work for internet explorer at this time.

Scandal 06-15-2008 11:31 PM

I think that this spell check system is increase the server's load when the dictionary file is big. :(

With english dictionary it works fine.
I try to re-install it with a greek dictionary* (7mb - when I import it to db the table was 14mb)...
The system accepts the dictionary and works ok on spelling BUT it want a lot of time and cpu usage to spelling!
eg, for 1 word needs 35sec (!!!) - for 15 lines of text needs 220+ seconds (!!! ) and the cpu usage on those secs was 90-100% (I run mysql and apache on my PC for tests).

Is there any way to fix this problem?
why it is so server intensive with this dic? :(
http://www.ischool.gr/imagehosting/t...5ba01d44f0.png

*i think that the dictionary file is ok... it is a text file with a lot of words, one below the other, without spaces (also, the words recognized ok from the vbspell on "suggestions" etc )

Thanks!!

Sorry for my bad english, :o


-peter :)

Scandal 06-16-2008 11:54 AM

hmm
I saw that the table "sound" has no data when i install greek dictionary...
I think that the metaphone algorithm doesn't support greek :(

I'll try to import data on table "sound" with the words of greek dictionary WITHOUT vowels... :erm:




-petros

Digital Jedi 06-21-2008 04:10 AM

I've run into a error, at least, in IE. The Spell Checker doesn't open and I get a 'spell_formname' is null or not an object error message in Quick Reply and in New Reply and 'document.forms[...].message' is null or not an object error message in the Visitor Reply form. Is this as simple as just having done the template edits wrong?

bairy 06-21-2008 09:51 AM

I get the same error in IE7. I'm gonna see if I can work it out.

Edit: Had a quick look. It seems that this line:
h_spellform.spell_formname.value = formName;

confuses IE. It works in Firefox but IE7 doesn't recognise "spell_formname" as part of the form object.

I'm afraid someone with more knowledge of javascript OO will have to have a look.

Also Replicators I found a bug, don't know if it's just my board. Within a thread if you click edit on any of the posts then the spell check button, it will check the text in the quickreply at the bottom. I'm guessing there's a mix up over the id of the textarea it should be reading.

PoetJA-1975 07-15-2008 04:01 PM

I actually like editing templates manually - It makes me feel like I'm actually doing something LOL - But I tell ya - these template edit instructions for vBSpell is one of the tedious set of instructions I've EVER seen... It'd be nice for you to at least order the instructions so that you're not coming back 3 or 4 times to edit the same template... Also may want to make clear that in some templates you will be making the same edit anywhere from 1 - 4 times LOL

At anyrate - Thanx very much for the sharing REPLICATORS. It would be wonderful to have spell check especially for a Forum like JPiC which specializes in the sharing of literature & poetry. I have an issue though - It's odd really - I've done the template edits - followed the instructions to the letter = none of the Spell Check buttons work when clicked.

Suggestions & Support appreciated :)

Jacquii.

Megatr0n 07-15-2008 04:20 PM

Has this hack worked for anyone?

PoetJA-1975 07-15-2008 05:19 PM

Actually - it doesn't seem compatible with Opera 9.5
In FF 3 - I'm getting a database error when creating thread. Quick Edit & edit seems to work well - Haven't tested in IE and I don't expect that I will.

Quote:

Database error in vBulletin 3.7.2:

Invalid SQL:
SELECT word FROM vbspell WHERE word = 'haha';

MySQL Error : Table '#####_forums.vbspell' doesn't exist
Error Number : 1146
Request Date : Tuesday, July 15th 2008 @ 01:15:40 PM
Error Date : Tuesday, July 15th 2008 @ 01:15:43 PM
Script : http://jpicforum.info/vbspell.php
Referrer : http://jpicforum.info/newthread.php?do=newthread&f=34
IP Address : #####
Username : MsJacquiiC
Classname : vB_Database
MySQL Version : 4.1.20-log
Any ideas how to remedy the database error?

Jacquii.


All times are GMT. The time now is 05:43 PM.

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.01217 seconds
  • Memory Usage 1,747KB
  • 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
  • (4)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (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