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)
-   -   PungoSpell Spell Checker for vB3.5 WYSIWYG and Standard mode (https://vborg.vbsupport.ru/showthread.php?t=83258)

welo 08-12-2005 09:12 PM

Quote:

Originally Posted by tamarian
I just tested this, and was unable to reproduce this. When you preview, do you leave the spell check window open?

Nope. How can you? Soon as the alert window says "Spell checking complete" and you hit "ok" it closes the popup. The weird thing is you can continue with multiple edits as long as you don't preview. Soon as you preview the whole thing chokes.

I'm using Firefox 1.0.6 on W2K btw. Haven't checked it in other browsers yet.

tamarian 08-12-2005 09:33 PM

Quote:

Originally Posted by welo
Nope. How can you? Soon as the alert window says "Spell checking complete" and you hit "ok" it closes the popup. The weird thing is you can continue with multiple edits as long as you don't preview. Soon as you preview the whole thing chokes.

I'm using Firefox 1.0.6 on W2K btw. Haven't checked it in other browsers yet.

I use Firefox 1.0.6, and it happens to be the browser I've tested with. I was able to preview, after spell checking, and the updated text appeard in the spell checker.

welo 08-13-2005 03:12 AM

Hmm. Okay then. Just in case I explained it incorrectly, here's exactly what I do to get the error:
  1. Get to an editor and write anything (preferably something with spelling errors)
  2. Spellcheck
  3. Preview
  4. Add anything else to your message
  5. Spellcheck again
Whatever I have added won't show up in the spellchecker. However, if I add some more text, preview it and then spellcheck, it seems to work.

welo 08-13-2005 05:17 AM

Quote:

Originally Posted by tamarian
(from hack description)
4. Edit each template where you'd like to have the spell checker. For example:
...
And repeat the same steps for other templates like newthread etc.

Since I notice that whenever spellchecker hacks traditionally show up around here, those are the recurring general instructions, while I installed PungoSpell this time I actually kept track of all my template edits :). Here's the list:
  • editpost - Adds the spellchecker to Advanced Mode editing (won't show up in the AJAX-generated version of the inline editor)
  • New Posting Templates > newthread - Whenever a new thread is being posted
  • New Posting Templates > newreply - When replying to an existing thread
  • Private Message Templates > USERCP_SHELL, pm_newpm - Adds spellchecking to PM system. To do this one the <script src="pungospell.js"></script> script must go in the head of USERCP_SHELL, the <form name="spell_form"> code goes in the same template under the $navbar var, then the buttons are added to the pm_newpm template.
  • Calendar Templates > calendar_edit - Adds spellchecking to calendar events. Note there are two sets of submit and reset buttons in this template. Your spellchecker button should go in the first of these (the buttons directly under all the hidden tags, not the button set at the end of the page).
I thinks that's it. Tried adding it to the contactus template for the board's contact form and for some reason it won't work there. Not entirely sure why.

Hope this helps someone :).

tamarian 08-13-2005 05:32 PM

Quote:

Originally Posted by welo
Hmm. Okay then. Just in case I explained it incorrectly, here's exactly what I do to get the error:
  1. Get to an editor and write anything (preferably something with spelling errors)
  2. Spellcheck
  3. Preview
  4. Add anything else to your message
  5. Spellcheck again
Whatever I have added won't show up in the spellchecker. However, if I add some more text, preview it and then spellcheck, it seems to work.

O.k., I was able to reproduce it with these steps :) Will takea look and see if there's a way around it.

tamarian 08-13-2005 09:48 PM

Quote:

Originally Posted by welo
Whatever I have added won't show up in the spellchecker. However, if I add some more text, preview it and then spellcheck, it seems to work.

Welo, give the new version a try. Download the zip, and just upload pungospell.js. Let me know how it goes.

welo 08-14-2005 03:05 AM

I think that did it, bud. Tried every way I could to break it :D and it works exactly fine now. Thanks for fixing it :). This is a great hack. :up:

Chadi 08-18-2005 12:34 AM

is this better than vbspell?

tamarian 08-18-2005 01:34 AM

Quote:

Originally Posted by chadi
is this better than vbspell?

I would say no. PSPELL and Aspell depend on your PHP compilation, and from past experience, some problems may occur when you upgrade PHP. So, a lot of things can go wrong. vB Spell is more stable, IMHO.

welo 08-29-2005 02:15 AM

Okay, I finally got a chance to work with skinning the spellchecker interface today and came up with a layout I think is pretty nice. Attached is an altered version of pungospell.php containing the template. Feel free to use it if you want (it's named welo-pungospell.php so naturally you have to rename it).

One thing I'm having trouble figuring out though, is how to get the iframe to use my fonts and background colors (IE6 is being especially stubborn about this). Might have to just rename it to a php file and import the css that way.


All times are GMT. The time now is 12:49 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.01150 seconds
  • Memory Usage 1,745KB
  • 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
  • (6)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