Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 03-12-2006, 10:21 AM
ElForro ElForro is offline
 
Join Date: Mar 2006
Posts: 123
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default "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:
Reply With Quote
  #2  
Old 03-14-2006, 04:15 AM
ElForro ElForro is offline
 
Join Date: Mar 2006
Posts: 123
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

I would love to use this spell cheker in my forum!
Reply With Quote
  #3  
Old 03-14-2006, 06:11 AM
mholtum's Avatar
mholtum mholtum is offline
 
Join Date: May 2004
Location: Arizona
Posts: 697
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I use vbspell and love it.
Reply With Quote
  #4  
Old 03-14-2006, 06:29 AM
merk merk is offline
 
Join Date: Nov 2001
Location: Canberra, Australia
Posts: 601
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #5  
Old 03-14-2006, 07:16 AM
ElForro ElForro is offline
 
Join Date: Mar 2006
Posts: 123
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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!
Reply With Quote
  #6  
Old 03-16-2006, 08:04 AM
hobbes747 hobbes747 is offline
 
Join Date: Jul 2005
Posts: 31
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #7  
Old 03-16-2006, 06:47 PM
ElForro ElForro is offline
 
Join Date: Mar 2006
Posts: 123
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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...
Reply With Quote
  #8  
Old 03-16-2006, 08:55 PM
hobbes747 hobbes747 is offline
 
Join Date: Jul 2005
Posts: 31
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #9  
Old 03-18-2006, 12:10 AM
ElForro ElForro is offline
 
Join Date: Mar 2006
Posts: 123
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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!
Reply With Quote
  #10  
Old 08-02-2006, 02:43 PM
m0nde's Avatar
m0nde m0nde is offline
 
Join Date: Mar 2005
Location: Toronto, ON Canada
Posts: 204
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 03:19 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.03830 seconds
  • Memory Usage 2,253KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (4)bbcode_code
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete