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)
-   -   vB Spell :: Spell Checker in WYSIWYG and Standard Modes (https://vborg.vbsupport.ru/showthread.php?t=92202)

boduzapho 04-06-2006 12:52 AM

everything works but the check its self. I click the spell check the box pops up and i get another box saying spell checking is complete, even when i know there are errors.

and suggestions?

gizmo4321 04-06-2006 01:43 AM

Quote:

Originally Posted by boduzapho
everything works but the check its self. I click the spell check the box pops up and i get another box saying spell checking is complete, even when i know there are errors.

and suggestions?

I had the same problem. Ran the uninstall, then manually dropped the vBSpell table from the DB, then re-ran the install, and all is well. Running 3.5.4 with no problems. I did have to revert several of my templates, which caused me to have to do the vBSpell edits again, but that was expected.

Acedeal 04-07-2006 02:36 AM

unable to install due to time out issues--
dies on step 5 where it tries to import all the words into the table-
even increase the time outs from 60 to 360 and it still a nightmare to install-
uses will have to do without a spell checker untill we get the option of installing the database from the mysql command line, or a least the option of skiping steps and letting us install the database manually.

-had it running in 3.07 perfectly-
this install just needs to handled a little differently-

Sir_Yaro 04-07-2006 07:45 PM

Hi.
How and where this module is interpreting non latin chars?
I couldn't find anything about code page or something similar.
Generally everything is working very well for polish language but polish letters are interpreted as spaces between words (or sth like that)

And second thing. What can I do if my dictionary take about 38MB ?? There is no way to import it via provided php interface... As a matter of fact I just hung up my provider's database while I was trying to do it...

Rukbat 04-08-2006 01:44 AM

I just installed on 3.5.4 and so far using Mozilla it's working great, I haven't checked in IE yet. However...
for Quick Reply in the SHOWTHREAD template I had to use:
Code:

<input type="submit" class="button" value="$vbphrase[go_advanced]" accesskey="x" title="(Alt + X)" name="preview" tabindex="3" id="qr_preview" onclick="clickedelm = this.value" />
which is the original code for the 'go advanced' button instead of
Code:

<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" />
If I used both, I had two 'go advanced' buttons the spell check worked but neither 'go advanced' worked, it simply posted what I'd written instead of going to the advanced editor;
If I only used the 2nd one (....onclick="this.form.clicedelm.value...) the spell check worked but when clicking 'go advanced', again it simply posted instead of going to the advanced editor;
When I put the *original* 'go advaced' code AFTER the 'spell check' button code (it was originally right after the 'post quick reply' button code), the spell check worked AND it properly went to the advanced editor when 'go advanced' was clicked.
Now have I thoroughly confused everybody? lol
I love this, and so will my members :D

edit: checked in IE6 and seems to be working fine.... in edit, new thread, post reply, advanced, and quick reply

Sir_Yaro 04-08-2006 10:59 AM

Polish users can find excelent dictionary here:
http://forum.mandriva.org.pl/~yaro/pl_huge.zip
or here
http://www.winedt.org/Dict/pl_huge.zip

it contains 3.024.847 words
Unfortunatelly provided php interface is completely useless for such huge dictionary. Actually it has a problems even with ~5-10MB dictionaries. If your database is not on 127.0.0.1 (localhost) I think you will not be ever able to put your dictionary to the database.
That's why I wrote bash script to do it instead of php one. It's slow (2-4x slower than php one) but it works!
I've removed function metaphone() because I havent find any application for it and I've no idea how to generate it in bash.

Code:

#!/bin/bash

ip="127.0.0.1"
database="test"
table="test"
user="root"
password=""
source_file="pl.dic.new"

clear

records=`wc -l $source_file |tr -cs '[a-zA-Z0-9.]' '[\n*]'|head -n 1`
echo "No. of records is $records"
echo ""

date
echo ""
#make table empty
mysql -h $ip -u $user --password="$password" -e "TRUNCATE TABLE $table" $database

# change the IFS variable to ignore whitespace
ifs=$IFS
IFS='\
'

IFS=$ifs

echo "Transfering data"

while read A; do
mysql -h $ip -u $user --password="$password" -e "INSERT INTO $table VALUES (\"$A\",\"XYZ\")" $database >/dev/null 2>&1
counter=$[counter + 1]
tput cup 13 0;echo "$counter (of $records) records done..."
done< $source_file

echo ""
echo "All done"
echo ""
date


script fixed. Now its working much, much faster.

rckirk 04-08-2006 02:06 PM

I have uploaded the vB Spell files, how do I "run vbspell_install.php"

Thanks.

rckirk 04-08-2006 03:54 PM

[QUOTE=rckirk@adelphia]I have uploaded the vB Spell files, how do I "run vbspell_install.php"

I am a new user and have not installed any extensins yet. I am not a technician, so any help on this would be appreciated.

Thanks!

username12 04-10-2006 01:51 AM

Looks like step 5 just takes persistence. Finally got past it after 4 tries.

arossphoto 04-11-2006 02:43 AM

installed using the xml file from this topic and it's working great in the new topic, reply and quick reply.

The only small problem I noticed was the size of the window that it opens in. It is too small and cuts off the side of the spell checker.


All times are GMT. The time now is 10:57 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.01453 seconds
  • Memory Usage 1,747KB
  • 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
  • (3)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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