• Welcome to Simple Machines Community Forum. Please login or sign up.
December 03, 2021, 02:13:33 AM

News:

SMF 2.0.18 has been released! Please update. Read more.


Spell Check Custom Words

Started by SMF Customization Team, November 11, 2006, 02:14:12 AM

Previous topic - Next topic

SMF Customization Team

November 11, 2006, 02:14:12 AM Last Edit: November 11, 2006, 02:40:52 AM by JayBachatero
Link to Mod

Spell Check Custom Words



Supported Languages: English
Link To Mod | Mod Discussion | Other SMF Customization Team Mods



Summary:
This mod will allow you to add custom words to the sites spell check dictionary.

For members with the appropriate permission an added option "add" will be visible in the spell check window.  Click this will add that word to the dictionary for all users.  Subsequent spell checks on that word will show as spelled correctly.

You will need to add permission to the groups that you wish to be able to add works.

Compatibility:
Compatible with SMF 1.1 2.0RC3 (Comma separated list with text box entry in the admin panel)
SMF 2.0.x utilizes spell check window Add to dictionary button available to member groups with permission

Installation Information:
The Package Manager should work in most cases, if you have problems installing please use the discussion thread as well as Manual Installation of Mods

Change Log:
1.3 - 26 February 2011
! Updated for RC4/5
! Changed mod to utilize Add button in the spell check window instead of a comma separate text box in the admin panel

1.2 - 20 October 2010
+ Added support for 2.0 RC3

1.1
! Check to see if $modSettings['knownWordsExtras'] is set before exploding the array. (Subs-Post.php)

1.0 - November 11, 2006
  Initial release



Copyright (c) 2015, Simple Machines, under BSD 3-Clause License.
All rights reserved.

Vinspire

I dont understand the descriptions of what is this mods suppose to do.

Care to elaborate more regarding this mods ? Thanks :)

JayBachatero

Well lets say you have "JayBachatero".  If you use spell check it will mark it as a mis-spelled word.  So what this mod is if you add "JayBachatero" to the list it will show "JayBachatero" as being spelled correctly.
Follow me on Twitter

"HELP!!! I've fallen and I can't get up"
This moment has been brought to you by LifeAlert

Vinspire

Quote from: JayBachatero on November 11, 2006, 02:19:50 AM
Well lets say you have "JayBachatero".  If you use spell check it will mark it as a mis-spelled word.  So what this mod is if you add "JayBachatero" to the list it will show "JayBachatero" as being spelled correctly.

Oh i c ... Thanks a lot for the explaination Jay. Now I understand :)

marinelife


Kindred

problems:


8: Undefined index: knownWordsExtras
File: /sitedirectory/forum/Sources/Subs-Post.php
Line: 1276
Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.<br /><br />"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

JayBachatero

Ok fixed.  That error is shown when knownWordsExtras is not net.  I added a check to see if it's set or not.
Follow me on Twitter

"HELP!!! I've fallen and I can't get up"
This moment has been brought to you by LifeAlert

Xarcell

Nice mod. Is this one a back port as well?

JayBachatero

Well some what.  It hasn't been added but it was discussed, so I went and wrote it and see people's reaction of it and see if it's useful or not.
Follow me on Twitter

"HELP!!! I've fallen and I can't get up"
This moment has been brought to you by LifeAlert

SaikoJosh


Digital Home Central - Products for the 21st century home (under construction).

diegolyanky

Hi all:

I have a question related to this topic ...

Know someone where can I find the SPELL CHECK mod ?? ...

I searched ever and I can't found it :(

Regards !!  ;)
SMF ... SimpleMachines ... Simple, but complete if you want it ;)

JayBachatero

The spellcheck is a built in feature.  Your host must have pspell installed in order for it to work.  Go to Admin > Posts and Topics.  Enable it there.
Follow me on Twitter

"HELP!!! I've fallen and I can't get up"
This moment has been brought to you by LifeAlert

Brettflan

I find this mod quite useful for the fair-sized game forum I admin. It's nice to have the different locations and names not pop up as misspelled when someone runs the spellchecker. :-)

curtiskline

Sounds like a great mod, but I have the same question as an earlier unanswered post: Where do you input the words? I've installed the mod on my 1.1.1 forum, and when I run a spell check no new features show up. I can't find a spot in the admin area for this.

I seem to always find myself wandering around the admin area in SMF looking for features I've heard about but have no clue where they are....

Thanks,
Curtis

curtiskline

Quote from: curtiskline on December 19, 2006, 09:58:43 AM
Sounds like a great mod, but I have the same question as an earlier unanswered post: Where do you input the words? I've installed the mod on my 1.1.1 forum, and when I run a spell check no new features show up. I can't find a spot in the admin area for this.

Found it, after some more digging around. Admin | Forum | Posts and Topics, right under the box that says "Enable Spell Checking", there is one that says "Spell check custom words: (Separate each word with a comma)".

Good stuff.

Curtis

JayBachatero

Quote from: curtiskline on December 19, 2006, 09:58:43 AM
Sounds like a great mod, but I have the same question as an earlier unanswered post: Where do you input the words? I've installed the mod on my 1.1.1 forum, and when I run a spell check no new features show up. I can't find a spot in the admin area for this.

I seem to always find myself wandering around the admin area in SMF looking for features I've heard about but have no clue where they are....

Thanks,
Curtis
Earlier unanswered post?  How about you read the posts before posting ;).  Look at two posts before the one you made.
Follow me on Twitter

"HELP!!! I've fallen and I can't get up"
This moment has been brought to you by LifeAlert

RoarinRow

December 20, 2006, 12:02:16 AM #16 Last Edit: December 20, 2006, 12:04:35 AM by RoarinRow
Got this error message:

2: PSPELL couldn't open the dictionary. reason: No word lists can be found for the language "en".
File: /forum/Sources/Subs-Post.php
Line: 1299

Anyway I can fix?

After uninstalling I get the same error message, same file. 

SMF 2.0
TP 1.0 RC1.1
Wordpress 3.1.3

JayBachatero

Did the spellcheck work before installing this mod?
Follow me on Twitter

"HELP!!! I've fallen and I can't get up"
This moment has been brought to you by LifeAlert

RoarinRow

December 20, 2006, 12:05:09 AM #18 Last Edit: December 20, 2006, 12:08:38 AM by RoarinRow
Quote from: JayBachatero on December 20, 2006, 12:04:09 AM
Did the spellcheck work before installing this mod?

as far as I recall.

edit - oh maybe not.  I restored that file using a snapshop copy and had the same issue.  this was done on a test site, so no big deal.  I'll try again on another site of mine. 

SMF 2.0
TP 1.0 RC1.1
Wordpress 3.1.3

JayBachatero

Get your host to install a dictionary for pspell.
Follow me on Twitter

"HELP!!! I've fallen and I can't get up"
This moment has been brought to you by LifeAlert

Advertisement: