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)

Rich 01-08-2006 12:30 PM

Hello,

I am running this on a site that runs 3.5.x. The "x" means I have been upgrading as they are released and I just reinstall the template edits. I do not get java errors and i have several other java scripts running on my site.

I actually am posting just to say that if anyone wants to apply this to the journal modification, it works just fine for Comments. I will try out the new entries and add to this if that works as well.

Edit the: journal_commentpage template. Add A and B as described.

Add C after:

Code:

<input type="submit" value="$vbphrase[submit_new_comment]" class="button" />
For new entries, edit the: journal_submitentry template. make the A and B edits as described and add C after:

Code:

<input type="submit" value="$vbphrase[submit_new_entry]" class="button" />
Both work fine and are running on my site.

ludachris 01-11-2006 04:18 PM

Can someone please help me with the Javascript errors I'm getting in post #240.

apollooooooo 01-11-2006 04:50 PM

HELP!!!!!!!!!

I Downloaded the Script and Uploaded it to my Site it got to about 40% Durning the Install Then it Say there was an Database Error now Nothing in my Site is Workin ( Also i Tryed to login in to phpmyadmin to maybe try and repair the database but i get the following Error

Quote:

Fatal error: Call to undefined function: pma_reloadnavigation() in /usr/local/apache/htdocs/phpMyAdmin-2.6.3/header.inc.php on line 135

ludachris 01-13-2006 01:47 PM

Just to let everyone know, this hack does not seem to work in 3.52 or 3.53 - I have it working on a 3.51 site with no problems, but the newer vb versions spit out javascript errors. I'd wait until this hack is updated to install it on a new version of vb.

AaronBBrown 01-13-2006 01:55 PM

Quote:

Originally Posted by ludachris
Just to let everyone know, this hack does not seem to work in 3.52 or 3.53 - I have it working on a 3.51 site with no problems, but the newer vb versions spit out javascript errors. I'd wait until this hack is updated to install it on a new version of vb.

It works fine for me in both 3.52 and 3.53. I do have to rerun the install script whenever I upgrade VB, though.

ludachris 01-13-2006 02:06 PM

Quote:

Originally Posted by AaronBBrown
It works fine for me in both 3.52 and 3.53. I do have to rerun the install script whenever I upgrade VB, though.

Well I installed it new in 3.53 and it doesn't work. Sorry, since I couldn't get any support I just assumed it didn't work for any new versions.

I tried uninstalling everything except the dictionary and reinstalling. I double-checked all of the template settings. Still doesn't work.

I guess my previous statement is partly true - it doesn't work for all people running 3.53. It might work for some, but obviously not all.

SpadMan 01-13-2006 02:14 PM

Worked for me in 3.5.2 and 3.5.3 as well. As described earlier in this thread, it had to be reinstalled each time I upgraded vBulletin.

ludachris 01-13-2006 02:21 PM

Quote:

Originally Posted by SpadMan
Worked for me in 3.5.2 and 3.5.3 as well. As described earlier in this thread, it had to be reinstalled each time I upgraded vBulletin.

I wish that was the case for me - but as I said, I didn't install this hack until AFTER I upgraded my vb version, so this wouldn't apply to me. So I say again, there appears to be a bug in this hack. It's too bad the person who wrote it won't check this thread to get it worked out.

ludachris 01-13-2006 02:31 PM

Just for the hell of it, I uninstalled the untire hack including the dictionary, and reinstalled using the install script. I even went through and reinstalled the code in the templates. It does not work. This has to be a bug, as I've done everything right and I still receive Javascript errors. I even downloaded the files again to make sure I have the most recent versions.

Buggy hack. I'd advise people to wait before they go filling up their database with a big dictionary until this gets sorted out.

Sorry, just to clarify, I'm having trouble with 3.52.

davidw 01-13-2006 03:56 PM

I have 3.5.2 and what I had to do was uninstall the hack and then reinstall it (completely including template modifications) to get it to work - but I've not even had a single issue with it since the reinstall.

ludachris 01-13-2006 04:10 PM

Quote:

Originally Posted by christianb
I have 3.5.2 and what I had to do was uninstall the hack and then reinstall it (completely including template modifications) to get it to work - but I've not even had a single issue with it since the reinstall.

Man, this is frustrating. I've uninstalled and reinstalled completely. No luck. I used to have PungoSpell installed, could that have anything to do with this? Uninstalled that one and tried this one.

vonedaddy 01-15-2006 07:46 AM

I am having problems also with 3.5.2... I get internal server errors on step 5 of install (Load Dictionary). Then I uninstalled and try to reinstall and got DB errors. Has there been any help with this??

HenryHank 01-17-2006 02:43 PM

I just installed this on 3.5.2, and it works flawlessly.

The only issue was that I had changed my admin cp directory name, so the install program can't find the dictionary to load ("/admincp/" is hard coded in the install script).

What you need to do is create an admincp directory and move the DICTIONARY.DIC into that directory (if you also changed the admincp directory). Then the install will complete and load the database tables. You might need to uninstall then re-install, since the database table has already been created.

But with my plain vanilla 3.5.2 version (also running with PHPADSNEW), it works perfectly without any other errors or problems.

soravok 01-20-2006 03:46 AM

I'm still having the same problem as I mentioned in earlier posts. The spell checking window just has garbled php code in it and nothing else. Any thoughts or suggestions folks?

ludachris 01-23-2006 10:25 PM

Well I guess those of us who have tried installing it multiple times with no luck are... out of luck.

davidw 01-23-2006 11:18 PM

The only thing I can think of it conflicting hacks. In your plugins, where the vbspell is, something else may be conflicting with it.

ludachris 01-23-2006 11:32 PM

Quote:

Originally Posted by christianb
The only thing I can think of it conflicting hacks. In your plugins, where the vbspell is, something else may be conflicting with it.

This hack doesn't use plugins.

tamarian 01-23-2006 11:35 PM

Quote:

Originally Posted by ludachris
Has anyone else experienced Javascript errors, preventing the spell check from working? I ran the install and edited the templates, but when I click the button, nothing happens. I look down in the corner of the IE status bar and there's a JS error. The error says something like:

'document.forms[...].message.value' is null or not an object

Any idea what's going on? The only other thing I have running is phpAdsNew scripts (in js form). I removed all the phpadsnew code and it still gives the same error, so there's no conflict there.

This happens with which template? edit post, reply, new thread ..?

ludachris 01-23-2006 11:41 PM

It appears there's something wrong with the javascript file. That's where the error is happening - I don't think it's conflicting with another hack.

It's giving me an error with line 25 in the javascript file - here's line 25:

h_spellform.spellstring.value = document.forms[formName]["message"].value;

In the error I'm receiving, it's seeing the variable "formName" as "..." and saying it's null or not an object.

ludachris 01-23-2006 11:46 PM

Quote:

Originally Posted by tamarian
This happens with which template? edit post, reply, new thread ..?

Reply, New Thread and Quick Reply are all giving me problems. I didn't try installing in Edit Post.

ludachris 01-25-2006 10:20 PM

Quote:

Originally Posted by ludachris
Reply, New Thread and Quick Reply are all giving me problems. I didn't try installing in Edit Post.

tamarian,

Any luck getting this worked out?

tamarian 01-26-2006 12:01 PM

Quote:

Originally Posted by ludachris
Any luck getting this worked out?

I have just tried it on a fresh 3.5.3 install, and it worked fine, and didn't encounter any problems.

ludachris 01-26-2006 03:40 PM

So how does this help me exactly? That's great that you got it to work with no problems. Many others have been able to do that as well. I gave you the javascript errors I'm receiving - I was hoping you could try and figure out why I'm receiving that error. There must be some reason I am getting this error. Telling me that you installed it without a problem does me no good.

ludachris 01-27-2006 12:33 AM

I just tried uninstalling and reinstalling the whole thing again - even reverted the template I was testing it on. I'm still getting the same javascript error. I don't have any hacks that show up in the newreply.php file. If anyone who knows anything about coding hacks can help me out, I really would like to run this script. Obviously this hack has an issue that an advanced coder needs to look into - someone with javascript experience in particular. The vbspell.js is spitting out an error at line 25. Here is line 25 of that file:

h_spellform.spellstring.value = document.forms[formName]["message"].value;

In the error I'm receiving, it's seeing the variable "formName" as "..." and saying it's null or not an object.

Now, I'm glad that this works on a fresh install of 3.53, but that really does me no good. I have a slightly hacked board and none of my hacks should be conflicting with this. I've even removed a few that I thought might. Does this have anything to do with WYSIWYG settings? Anything to do with server settings? Anyone? Bueller?

I've installed everything exactly the way the instructions say - at least 4 times. That tells me that this script is buggy.

Replicators 01-27-2006 01:08 AM

My only problem is when i install the dictionary i always reach max questions>8(

Could a sql file be made also for other people that have this problem?

ztempuser 01-27-2006 01:12 AM

can this work on vb3.5.1?

ludachris 01-27-2006 08:52 PM

Since the person who wrote this hack can't seem to help me out, can someone else give me some suggestions on why the javascript file used in this hack is giving me errors? I've posted the error above. Any help would be greatly appreciated.

bloodwrath 01-28-2006 03:06 AM

installed and working great
the spell checker is a tad dump. will keep adding custom works to the .dic file
thanks

mdcarlson 01-28-2006 08:41 PM

Tamarian,

Great mod! I installed today on vB 3.5.3 and had it working a few minutes. I followed the directions to replace the ieSpell button.

Three quick questions:
  1. I don't see any suggested spellings no matter what value I set for the Levenshtein Distance. What could cause that? The rest of the spelling popup box looks correct.
  2. How does the "learn" function work? Is this per user or for the entire board?
  3. What is the best way to add domain-specific vocabulary to the words list?

Thanks,

Mark

tamarian 01-28-2006 09:06 PM

Quote:

Originally Posted by Replicators
Could a sql file be made also for other people that have this problem?

It's attached in a post a couple of pages back.

tamarian 01-28-2006 09:08 PM

Quote:

Originally Posted by mdcarlson
Three quick questions:
  1. I don't see any suggested spellings no matter what value I set for the Levenshtein Distance. What could cause that? The rest of the spelling popup box looks correct.
  2. How does the "learn" function work? Is this per user or for the entire board?
  3. What is the best way to add domain-specific vocabulary to the words list?

1. The disctionary maybe empty
2. Stored in user's cookies
3. No direct way currently.

tamarian 01-28-2006 09:09 PM

Quote:

Originally Posted by blackwidow
can this work on vb3.5.1?

Should be o.k.

mdcarlson 01-28-2006 09:45 PM

The Dictionary is fully populated in the MySQL vbspell table and spell-check finds incorrect words OK.

What else would cause the suggested spellings not to appear?

ludachris 01-30-2006 10:28 PM

tamarian, does the fact that you're ignoring my posts mean that you have no idea why your hack is not working for me? All I really want is some suggestions on what to look for. I narrowed down where the problem is - it's the 24-25th line in the Javascript file. Can't you do anything at all to help me out here? I'm trying to troubleshoot this.

Can ANYONE just tell me why I'd be receiving this javascript error?

Warlockmatized 01-31-2006 02:48 AM

works GREAT...........

i would however like to see it check the title of a new thread OR reply.

other than that excellent addition to my board.

*clicks install and grins

ludachris 02-01-2006 09:21 PM

Can ANYONE just tell me why I'd be receiving this javascript error?

zylstra 02-02-2006 02:10 AM

For step 3.C. of installation shouldn't the default be to incorporate the tabindex:
HTML Code:

<input type="button" class="button" value="Spell Check" onClick="spellCheck('vbform', '$editorid', '2');" tabindex="1" />
instead of
HTML Code:

<input type="button" class="button" value="Spell Check" onClick="spellCheck('vbform', '$editorid', '2');" />
?

o0Hubba0o 02-02-2006 02:39 AM

Been wanting to get this for awhile, but have been avioding thinking it's a long and complex install.

Man was I wrong, this was very easy for anyone who's installed some hacks, and should be easy to figure out for the new ones to the scene too. Took me maybe 15 minutes total.

4number8 02-03-2006 02:15 AM

This still works great, just do like everyone has said, reinstall except for step 5

quanvo81 02-04-2006 06:42 AM

I can't pass by the installation step 5, even I have a dedicated server , I edit my php.ini file, fix the max_exection_time to 320. I have also edit the vbspell_install.php file with @set_time_limit(3600);
Everytime when I get to step 5, I got a blank page.
Also why my DICTIONARY.DIC file is only 2MB while I saw somewhere in here that people claim their DICTIONARY.DIC file to be approximately 8MB
Correct me if I am wrong and I really appreciate for all your help.


All times are GMT. The time now is 11:38 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.01557 seconds
  • Memory Usage 1,837KB
  • 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
  • (2)bbcode_code_printable
  • (2)bbcode_html_printable
  • (13)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
  • (40)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