vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Spell checker: PHPSpell for vBulletin3 WYSIWYG and Standard mode (https://vborg.vbsupport.ru/showthread.php?t=65723)

TwinsForMe 11-01-2004 07:08 PM

Installed. Thanks. :)

DavidatMPA 12-01-2004 04:11 AM

Quote:

Originally Posted by mcyates
PROBLEM:

Code:


<P style="MARGIN: 0px">hello</P>
<P style="MARGIN: 0px">&nbsp;</P>
<P style="MARGIN: 0px">Ho3 are you</P>
<P style="MARGIN: 0px">&nbsp;</P>
<P style="MARGIN: 0px">I'm fine</P>
<P style="MARGIN: 0px">&nbsp;</P>
<P style="MARGIN: 0px">Just testing the spell checker as i'm having a few problems with it</P>

That'swhat appears in the spellcheck box and this is my code in te config file:

Code:

  // ------------------------------------------------
  // HTML Tags. (You need opening & closing versions)
  // ------------------------------------------------
  $Spell_Config['HTML_Tags'] = array('<P','</P','<p','</p','<a','</a','<img','</img','<b','</b','<center','</center','<i','</i','<u','</u','<list','</list','<font','</font');

  // -------------------------------------------
  // BBCode Tags
  // -------------------------------------------
  $Spell_Config['BBCODE_Tags'] = array('[p','[/p','[P','[/P','[b','[/b','[url','[/url',array('[img','[/img]'),'[i','[/i','[color','[/color','[size','[/size','[u','[/u','[list','[/list',array('[quote','


Code:

'),array('[code','
'));

[/code]

Why is this happening?[/QUOTE]


Same thing here! Any ideas guys?
Thanks! great hack

BigCheeze 12-02-2004 12:38 AM

Sweet. Installed and running. Thanks!

cinq 12-15-2004 02:14 PM

Quote:

Originally Posted by neroflorida
Learn Button issue requires that you modify:
spellmessage.js
spelling.js

spellmessage.js Line 63 Opens the included file: phpSpell.html
Suggested workarounds: Use conditionals to pass additional information to the function openspell Have this handed off to the next script spelling.js

spelling.js Line 448 inserts the infamous "Learn" button. Determine whether you would like to have it shown based on the argument passed through from spellmessage.js.

An alternate would be to create a vB template instead of using an external html file... ;)

Any step by step instructions for this to remove the Learn ( and perhaps suggest ) feature as well to make this perfect ?

JohnBee 12-19-2004 01:08 PM

I installed this hack, it works okay but is there any solution to the <P> and </P>
tags yet?

There are two spelling hacks for vB 3 thus far, one has a tag issue and the other
requires a php module many don't have :(

I'm hoping someone could get this one to ignore <tags> so I could call it a day

cinq 12-28-2004 04:43 AM

any help here ? :)

agiacosa 12-30-2004 06:26 PM

Is there any way to limit spell checker to a specific usergroup?

Thanks.

tamarian 12-30-2004 10:51 PM

In this example, usergroups 2 and 26 can see the spell button:
Code:

<if condition="$bbuserinfo[usergroupid] == 2 OR $bbuserinfo[usergroupid] == 26">
  <if condition="DOTOOLBAR!=2">
  <input type="hidden" name="toolbar" value="1" />
        <input type="button" class="button" name="spellcheck" value="SpellCheck" accesskey="c" tabindex="1" onclick="openspell('1');"/>
  <else />
  <input type="hidden" name="toolbar" value="2" />
        <input type="button" class="button" name="spellcheck" value="SpellCheck" accesskey="c" tabindex="1" onclick="openspell('2');"/>
  </if>
  </if>


agiacosa 01-02-2005 11:27 AM

Thank you, but where does that code go?

T3MEDIA 01-03-2005 06:56 AM

Question... for me I HAVE to have WYSIWYG mode on or I get a javascript error and the poor thing never pops up. BUT if its in WYSIWYG mode all is well... whats up with that? obviouslly I made a error. but where and howcome it fixes itself with this change?!?


All times are GMT. The time now is 03: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.01396 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
  • (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