vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   "Googiespell" Spell Check in Forums! (Ajax Driven!) (https://vborg.vbsupport.ru/showthread.php?t=110142)

ElForro 03-12-2006 10:21 AM

"Googiespell" Spell Check in Forums! (Ajax Driven!)
 
I hope you know Googiespell... I've just tried it and ... IT WORKS GREAT!

http://amix.dk/projects/?page_id=3

Well, it's just a script that uses "Google's Spelling Check"... Just three .JS and a CSS and you've got a really nice spell checker...

Well, I'm trying to use it in my forums, but i've a little problem with the WYSIWYG/Code textareas... I mean, the speel checker works right, but then i change the "message view" and it's a mess...

Please, someone? I'm sure that you'll love this, it's just so simple... Try it and tell me if you can make it work!

:banana:

ElForro 03-14-2006 04:15 AM

Someone? It really works! Chek it out: http://amix.dk/googiespelldemo/

I would love to use this spell cheker in my forum!

mholtum 03-14-2006 06:11 AM

I use vbspell and love it.

merk 03-14-2006 06:29 AM

Quote:

Originally Posted by ElForro
Someone? It really works! Chek it out: http://amix.dk/googiespelldemo/

I would love to use this spell cheker in my forum!

It would be a rather huge job to integrate into the vBulletin editor, I doubt many people would feel the effort was worth it.

ElForro 03-14-2006 07:16 AM

Merk, sorry... I just didn't know if it was so difficult...

But my forum are in Spanish... So VBSpell don't work for me... And in this way you could have an updated dictionary from Google in a lot of more languages... and your users could choose...
I thought that it would be a little coding for making it work in both WYSIWYG and Code editors...

Thanks anyway!

hobbes747 03-16-2006 08:04 AM

Quote:

Originally Posted by ElForro
I hope you know Googiespell... I've just tried it and ... IT WORKS GREAT!

http://amix.dk/projects/?page_id=3

Well, it's just a script that uses "Google's Spelling Check"... Just three .JS and a CSS and you've got a really nice spell checker...

Well, I'm trying to use it in my forums, but i've a little problem with the WYSIWYG/Code textareas... I mean, the speel checker works right, but then i change the "message view" and it's a mess...

Please, someone? I'm sure that you'll love this, it's just so simple... Try it and tell me if you can make it work!

:banana:

I got it to work on mine. It was really simple. Very nice thank you! :banana:

What is the issue you're having with "message view"? The preview? Did you find this page? http://amix.dk/googiespell

ElForro 03-16-2006 06:47 PM

Quote:

Originally Posted by hobbes747
I got it to work on mine. It was really simple. Very nice thank you! :banana:

What is the issue you're having with "message view"? The preview? Did you find this page? http://amix.dk/googiespell

The problem is when I switch de "Editor" from WYSIWYG to "code"... I've just see your forum and you've got the same problem... Try checking spelling, and then switch the message view, and you'll se the problem... :(

hobbes747 03-16-2006 08:55 PM

Ahhh! Well yuck.

Ok, I've tried a few things, but since the wysiwyg is an iframe and not really a textarea this might not be the right direction.

The closest I've gotten is by putting

Code:

googieDecorateTextarea(this.textobj);
on line 1323 of clientscript/vbulletin_textedit.js, below the lines

Code:

        //        this.editdoc.execCommand('justifyright', false, null);
                        }
                        this.spellobj = this.editdoc.body;

                        this.editdoc.editorid = this.editorid;
                        this.editwin.editorid = this.editorid;

All it does is pull up another instance of the spell check when wysiwyg it turned on though. Surely something like this would work somewhere in this page...

That or build a js conditional for the

Code:

  googieDecorateTextarea("vB_Editor_001_textarea");
that would change to

Code:

  googieDecorateTextarea("vB_Editor_001_iframe");
when wysiwyg is activated with AJAX.

ElForro 03-18-2006 12:10 AM

Mmm, it seems that's not working really well... No one can help a little with this? I'm sure that someone who knows a little bit more of coding can figure this out... And I think that would be a GREAT hack (more than 10+ languages to choose from, Google powered, 100% Ajax, OMG!)

Please! :p

m0nde 08-02-2006 02:43 PM

I'm sure someone with the proper skills can make this into a working plug-in.

I have added the .js and stylesheet references into the headerinclude as mentioned in the documentation but don't know what to do to add it to the WYSIWYG editor.

Can someone tell me in clear language what to do to add a spell check button to the correct form and have it access googiespell?


All times are GMT. The time now is 11:35 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.01101 seconds
  • Memory Usage 1,738KB
  • 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)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