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

ranger2kxlt 07-27-2005 03:49 PM

Looks great *Clicked Install*

wdarton 07-27-2005 06:45 PM

just finished installing....5 minutes...works great! Thanks tons!

*Clicked Install*

NYI Fan 07-28-2005 12:22 AM

**clicks install**

Installed in no time at all with no errors
One question (since I dont want to guess and muck things up)
Can this be added to PMs? If so, would you mind telling me what to add and where?

Thanks for a great, easy to install, MUCH REQUESTED addition!

tamarian 07-28-2005 12:29 AM

Quote:

Originally Posted by NYI Fan
One question (since I dont want to guess and muck things up)
Can this be added to PMs?

Yes, check the instructions for "USERCP_SHELL". :)

akanevsky 07-28-2005 11:18 PM

Does this work with Opera 8.1?

tamarian 07-28-2005 11:50 PM

Quote:

Originally Posted by Dark Visor
Does this work with Opera 8.1?

It should. I've tested with Opera 8.0 on Linux, so I assume later versions should have no problems.

Dax IX 07-29-2005 03:13 AM

For some reason this isn't working for me (imagine that)

I've been using phpBB up until recently and I never had any problems, so I'm relatively sure I installed everything correctly. I did have one glitch during the install where in the install scipt it calls for the admincp, but I've renamed mine, so I edited the install script to reflect my changes, and everythign went smoothly after that.

Everything works, except the actual spell checking! The window pops up, everything appears in the new window, but it says "Spell checking complete."

Any ideas?

tamarian 07-29-2005 03:18 AM

Quote:

Originally Posted by Chani
For some reason this isn't working for me (imagine that)

I've been using phpBB up until recently and I never had any problems, so I'm relatively sure I installed everything correctly. I did have one glitch during the install where in the install scipt it calls for the admincp, but I've renamed mine, so I edited the install script to reflect my changes, and everythign went smoothly after that.

Everything works, except the actual spell checking! The window pops up, everything appears in the new window, but it says "Spell checking complete."

Any ideas?

1. The obvious question is, were there any misspelled words? :)

2. Was the dictionary installed successfully?

3. Have you tried it with more than one browser?

Corriewf 07-29-2005 03:39 AM

It does seem to skip over words that are not spelled correctly sometimes..... It should prompt to at least learn it but gives the ok instead. It is above my standards and im not looking for perfection as any spell check is more then deserved... :)

tamarian 07-29-2005 03:44 AM

Quote:

Originally Posted by corriewf
It does seem to skip over words that are not spelled correctly sometimes..... It should prompt to at least learn it but gives the ok instead. It is above my standards and im not looking for perfection as any spell check is more then deserved... :)

LOL, I think the "problem" is that some misspelled words are still correct, in the sense that there are other uncommon words thet I've never heard of maching that spelling in the dictionary.

But you can test it by entering a bogus word like "hhhhhhhh", and it will stop at it, and let you either type in a replacement, or click learn to add it.

Dax IX 07-29-2005 03:46 AM

Quote:

Originally Posted by tamarian
1. The obvious question is, were there any misspelled words? :)

2. Was the dictionary installed successfully?

3. Have you tried it with more than one browser?

1. Yes, there were misspelled words ;)

2. Yes, I uninstalled everything and reinstalled it again and that went fine.

3. I've only checked it in IE. Let me check Firefox...Nope. Not working in Firefox either. :(

tamarian 07-29-2005 03:49 AM

Quote:

Originally Posted by Chani
1. Yes, there were misspelled words ;)

2. Yes, I uninstalled everything and reinstalled it again and that went fine.

3. I've only checked it in IE. Let me check Firefox...Nope. Not working in Firefox either. :(

Create a test account (regular user) and send me the login details by PM, I'll take a look :)

Chris@TSE 08-01-2005 05:35 AM

it gets to the point where it goes to install step five (dictionary) and takes forever to load, and goes to a blank page. nothing, no success, no fail, nothing. ideas?

tamarian 08-01-2005 01:10 PM

Quote:

Originally Posted by Chris@TSE
it gets to the point where it goes to install step five (dictionary) and takes forever to load, and goes to a blank page. nothing, no success, no fail, nothing. ideas?

Are you running PHP as cgi or Apache module? Are you on a shared hosting plan? If you have phpMyAdmin, how many records are there in the table "vbspell"?

Chris@TSE 08-08-2005 03:06 AM

I got it to install, and it is active on all of the parts of the styles I added it too, but for some reason some VERY simple words are coming up as misspelled when they are not. And when I choose to "learn" said words, it does not learn them. Any ideas?

tamarian 08-08-2005 11:53 AM

Quote:

Originally Posted by Chris@TSE
I got it to install, and it is active on all of the parts of the styles I added it too, but for some reason some VERY simple words are coming up as misspelled when they are not. And when I choose to "learn" said words, it does not learn them. Any ideas?

It depends on the words, if they are not in the dictionary, and not in the common vB words set (like the, them, is) they will show up as misspelled.

The Leran feature requires that you have your browser cookies enabled, make sure you're not blocking cookies.

weaver 08-08-2005 12:15 PM

Quote:

Originally Posted by tamarian
Are you running PHP as cgi or Apache module? Are you on a shared hosting plan? If you have phpMyAdmin, how many records are there in the table "vbspell"?

I'm having the same timing-out issue. I think it's CGI, it is a shared plan, and there are 181623 records in the vbspell table.

tamarian 08-08-2005 12:32 PM

Quote:

Originally Posted by snobbymom
I'm having the same timing-out issue. I think it's CGI, it is a shared plan, and there are 181623 records in the vbspell table.

Seems like you installed most of the dictionary before it timed out :)

Test the template edits and see if it works, just to make sure it functions properly, as I'm not familiar with running PHP in cgi mode.

If it works properly, then you just need to try to get the dictionary re-installed without missing words. You can try to re-run step #5 (install dictionary), but try it at a time when the server is not busy.. This may let it complete before timing out. If that doesn't work, I can email you a mysql dump of the dictionary so you can just install it from the command line.

weaver 08-08-2005 02:01 PM

Quote:

Originally Posted by tamarian
Seems like you installed most of the dictionary before it timed out :)

Test the template edits and see if it works, just to make sure it functions properly, as I'm not familiar with running PHP in cgi mode.

If it works properly, then you just need to try to get the dictionary re-installed without missing words. You can try to re-run step #5 (install dictionary), but try it at a time when the server is not busy.. This may let it complete before timing out. If that doesn't work, I can email you a mysql dump of the dictionary so you can just install it from the command line.

Did the template edits and it works beautifully. I'll send you a PM with my email address.

tamarian 08-08-2005 06:07 PM

For those running PHP in cgi mode and get timeouts while installing the dictionary, you can download the file dictionary_sql_for_php_cgi.zip to import it to mysql through the command line.

damonh 08-10-2005 03:34 AM

AWESOME HACK!!! Thanks!

simple_john 08-10-2005 05:12 PM

Thanks tamarian, i just installed it and it works great...

one more stupid question please... and i apologize i dont know the coding part much at all...

but say i tell the system to learn the word 'chekc' accidentally...

nect time i spell chekc it allows it... is there a way for me to edit the list of learned words??? so i can remove chekc as a valid word??

again sorry if this is too simple a question...

thanks

tamarian 08-10-2005 05:19 PM

Quote:

Originally Posted by simple_john
but say i tell the system to learn the word 'chekc' accidentally...

nect time i spell chekc it allows it... is there a way for me to edit the list of learned words??? so i can remove chekc as a valid word??

The learned words are stored in a cookie. You can either clear your cookies to reset the learned words, or look for that specific cookie in your cookies directory, it's called "vbspell_words".

simple_john 08-11-2005 11:33 AM

thanks Tamarian, i installed it on a small test forum i have and had a few problems... (due to me not knowing what i'm doing) thanks for the guidance..

I just installed it on my actual forum and it went super clean.

LOL, i know why tamarian needed to develop spell check so badly.. FYI for those who have installed.. 'thesaurus' is spelled wrong on the Button that was developed... ;)


thanks for showing me how to fix that too!!


Great HACK!! very helpful.

one more question.. im new to doing hacks.. in general, do you install all the files to the admincp folder or just the install files?

i installed just the install file to the admincp folder.. but during install it was looking for the dictionary file.. so i put that in the admincp folder too...


in general.. when doing hacks..
do you usually put the files to the root or to the admincp folder???

tamarian 08-11-2005 12:03 PM

Quote:

Originally Posted by simple_john
LOL, i know why tamarian needed to develop spell check so badly.. FYI for those who have installed.. 'thesaurus' is spelled wrong on the Button that was developed... ;)

But I spelled the rest of the buttons correctly, I think :) The buttons HTML code in in the vbspell template, for those who want to edit it.

Quote:

one more question.. im new to doing hacks.. in general, do you install all the files to the admincp folder or just the install files?
What I do is organize the zip file contents in a way that makes it easier to know which goes where. Depending on what compression software you use, the zip file will contain a "forum" directory, files under it go to the main forum directory, and another directory called "admincp", and the content of that directory goes into the admincp.

rprade 08-17-2005 11:21 PM

Trying to determine why I am getting two Spell Check buttons.

Any ideas?

tamarian 08-17-2005 11:24 PM

Quote:

Originally Posted by rprade
Trying to determine why I am getting two Spell Check buttons.

Any ideas?

In which template? Double check your template edits :)

rprade 08-17-2005 11:32 PM

I created replacement variables with the code as shown in your instructions. It's acting like the if-statement is not working properly and it's displaying using both submit button statements.

Hey, man -- QUICK reponse time!!!! Thanks!

Chris@TSE 08-17-2005 11:33 PM

sounds like you have it in your code twice, revert back to the old saved version and apply the modification to that one again properly????

rprade 08-17-2005 11:44 PM

Interesting behavior here --

If I put the code in a replacement variable (vbspell_check_html) and use the replacement variable, I get two buttons.

If I just paste the code as is into newreply, it works just fine.

Very interesting.

yoyoyoyo 08-21-2005 04:29 AM

I uploaded the files, and did the template edits, however when I go to spellcheck a post the window pops up with the word highlighted in red, but no options for replacement, no nothing, just blank boxes where that stuff should be. If I hit replace it replaces it with nothing, naturally. I made sure that teh files were upped properly, and re-checked the edits and sm only able to get a pop-up window with nothing in the lower boxes. I can post a screenshot if you like.

Chris@TSE 08-21-2005 04:35 AM

Sounds like you didnt run the install.... The dictionary file was never added.

yoyoyoyo 08-21-2005 04:50 AM

Quote:

Originally Posted by Chris@TSE
Sounds like you didnt run the install.... The dictionary file was never added.

I added it, and even checked in PHPmyadmin and they are all there, 192917 words from a to zyzzyvas in the proper table.

http://img400.imageshack.us/img400/498/screen8wr.jpg

I tried it in IE and firefox - same thing.

tamarian 08-21-2005 11:38 AM

Quote:

Originally Posted by yoyoyoyo
I uploaded the files, and did the template edits, however when I go to spellcheck a post the window pops up with the word highlighted in red, but no options for replacement, no nothing, just blank boxes where that stuff should be. If I hit replace it replaces it with nothing, naturally.

The empty box just means it found no suggestions to correct the misspelled word. This does happen to some words, if they are unlike anything in the dictionary.

yoyoyoyo 08-21-2005 11:54 AM

Quote:

Originally Posted by tamarian
The empty box just means it found no suggestions to correct the misspelled word. This does happen to some words, if they are unlike anything in the dictionary.

Ok- well I tested it using the phrase "This is a tesst. I am tetsing the spelll fucntion and I hopp it works" and it found no suggestions for changes. If it can't fix that then the spell check is pretty useless. Please try entering that phrase in to your forum (where vbspell is working) and let me know if it catches it.

tamarian 08-21-2005 12:10 PM

Quote:

Originally Posted by yoyoyoyo
Ok- well I tested it using the phrase "This is a tesst. I am tetsing the spelll fucntion and I hopp it works" and it found no suggestions for changes. If it can't fix that then the spell check is pretty useless. Please try entering that phrase in to your forum (where vbspell is working) and let me know if it catches it.

Every spell checker has words it can't find suggestion for. That's just the way they work.

However, tesst should have worked and found test.

I suspect something went wrong in the installation. Have you done anything different than the instructions? If you followed everything to the letter, and have the latest version, create a test account and PM it to me, I'll take a look.

yoyoyoyo 08-21-2005 12:18 PM

Quote:

Originally Posted by tamarian
Every spell checker has words it can't find suggestion for. That's just the way they work.

However, tesst should have worked and found test.

I suspect something went wrong in the installation. Have you done anything different than the instructions? If you followed everything to the letter, and have the latest version, create a test account and PM it to me, I'll take a look.

thanks for the offer and thanks for the hack. I reinstalled it again (for the 4th time) and it is now working! :D I can't tell you what I did differently, but I re-ran the installer a few times, and this time it stuck!

tamarian 08-21-2005 12:31 PM

Quote:

Originally Posted by yoyoyoyo
thanks for the offer and thanks for the hack. I reinstalled it again (for the 4th time) and it is now working! :D I can't tell you what I did differently, but I re-ran the installer a few times, and this time it stuck!

Must be the gremlins :) Glad it worked for you :up:

yoyoyoyo 08-21-2005 12:51 PM

I added changes B & C to the pm_newpm template and it works fine for private messages :D

bjs144 08-30-2005 01:49 PM

Very good!!!


All times are GMT. The time now is 04:20 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.01480 seconds
  • Memory Usage 1,841KB
  • 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
  • (21)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