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)

David G. Rigg 08-17-2004 08:09 PM

Installing ENGLISH.DIC (English)...
Unable to create dictionary database table: Code: 1226
Message: User 'ladyelle_admin' has exceeded the 'max_questions' resource (current value: 50000)Result: Link: Resource id #5
DB: ladyelle_forum User: ladyelle_admin Server: localhostUnable to perform spell check at this time.
:ermm:

Crashes everytime at 12% during the dictionary words import. Had the ISP raise my limit from 10k to 50k. Obviously not enough. How much should I ask for? They claim 50k is to prevent abuse????

TIA

DR

Craigr 08-19-2004 05:10 PM

Quote:

Originally Posted by Flow Fusion
Great hack now how do I add this to the quick reply box?

Open template: showthread

Find:
</head>

Add Above:
<script language='javascript' src='spelling/spellmessage.js'></script>


Save

Open template: showthread_quickreply

Find:
<input type="submit" class="button" value="$vbphrase[go_advanced]" accesskey="x" title="(Alt + X)" name="preview" tabindex="3" id="qr_preview" onclick="this.form.clickedelm.value = this.value" />

Add Below:
<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>

Craig

dsmcd01 09-02-2004 08:50 PM

Very nice. Tweaked the phpSpell window to remove Learn (at my managers' request) and changed the "All" buttons to "Correct All" and "Ignore All" and so had to also increase their width and the table's width. Also removed "Suggest" since I was never able to get anything meaningful out of it.

Clicked install. I thank you, and my users thank you. (Well, my users aren't actually thanking you, but they would if they could. :rolleyes: )

Thx,
D.

PS...In IE, the gap between the Preview button and the Spellcheck button is wider than the gap between the Submit button and the Preview button. (See attached image.). This extra gap is caused by:
HTML Code:

<input type="hidden" name="toolbar" value="1" />
To get the two gaps the same I added this between the Submit button and the Preview button:
HTML Code:

<input type="hidden" name="foobar" value="null" />
Odd that IE would adjust the display for a hidden object. Firefox and Opera do not do this.

FWIW,
D.

speedracer68 09-04-2004 07:27 PM

Please see my diagnotics.

http://66.70.234.198/forum/spelling/spell_diags.php

Any thoughts?

welo 09-04-2004 09:14 PM

Methinks your directory path is set incorrectly. Grab the attached file and upload it to the directory where your files are, then point your browser to it (yoursite.com/forum/spelling/dirpath.php) and see what it says.

speedracer68 09-04-2004 09:32 PM

Thanks! Here is what is says

Server Path: /home/virtual/site3/fst/var/www/html/forum/spelling/
HTTP Path: http://66.70.234.198/forum/spelling

welo 09-04-2004 10:57 PM

Hmm. Have you uncommented line 37 of spell_config.php? It must say:

Code:

$Spell_Config['DB_Type'] = 'vBulletin';
(with no preceding //)

[edit]
Also uncertain why your spell_config.php file has 197 lines. I only see 170.
[/edit]

dsmcd01 09-06-2004 05:02 PM

I was playing around this weekend, trying to get the Learn button to appear only for specific users.

It was easy enough to get the userid to the openspell function in spellmessage.js by adding $bbuserinfo[userid] to the template code, but I can't seem to get the userid from there to spelling.js where it'd do some good.

No big deal, and I understand I'm using the hack and phpSpell in a non-standard way. But, has anyone gotten this to work?

TIA,
D.

speedracer68 09-09-2004 06:54 PM

Welo, I think I removed the comments. I have attatched my config file if you or anybody could look at it.

Thanks!!

p.s. The buttons show up in the edit box but it does not work.

rex_b 09-16-2004 07:35 PM

installed. works nicely.


All times are GMT. The time now is 12:38 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.01293 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
  • (1)bbcode_code_printable
  • (2)bbcode_html_printable
  • (1)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