Link to Mod (https://custom.simplemachines.org/mods/index.php?mod=536)
Spell Check Custom Words
Supported Languages: English
Link To Mod (https://custom.simplemachines.org/mods/index.php?mod=536) |
Mod Discussion (http://www.simplemachines.org/community/index.php?topic=126181.0) |
Other SMF Customization Team Mods (https://custom.simplemachines.org/mods/index.php?action=profile;u=1)
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 (http://docs.simplemachines.org/index.php?topic=402)
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.
I dont understand the descriptions of what is this mods suppose to do.
Care to elaborate more regarding this mods ? Thanks :)
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.
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 :)
where do you add the words?
problems:
8: Undefined index: knownWordsExtras
File: /sitedirectory/forum/Sources/Subs-Post.php
Line: 1276
Ok fixed. That error is shown when knownWordsExtras is not net. I added a check to see if it's set or not.
Nice mod. Is this one a back port as well?
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.
Cool MOD, cheers. :)
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 !! ;)
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.
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. :-)
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
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
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.
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.
Did the spellcheck work before installing this mod?
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.
Get your host to install a dictionary for pspell.
Quote from: JayBachatero on December 20, 2006, 12:13:12 AM
Get your host to install a dictionary for pspell.
you're right. i'll get that fixed. works on my other server 8) thank you, very cool mod.
I have installed the mod but he does not work. After adding words the words I have add seems not to be recognized.
Quote from: jacbier on December 28, 2006, 04:59:32 AM
I have installed the mod but he does not work. After adding words the words I have add seems not to be recognized.
What version of SMF are you using?
I am using 1.1.1.
There were two lines with 'Separate each word with a comma.' in my Admin panel.
After uninstall one line was left and this one works! ::)
Is there anyway to have it so that when a word is highlighted in the spell check a button for "Add" can be clicked and that word added to the list ? This way I don't have to go into the admin panel each and every time I have to add a word.
Quote from: veldfire on April 21, 2007, 01:49:32 PM
Is there anyway to have it so that when a word is highlighted in the spell check a button for "Add" can be clicked and that word added to the list ? This way I don't have to go into the admin panel each and every time I have to add a word.
repeating the same question is not going to get you a different answer....
Since no one answsered, I think you can assume that, for the moment, the answer is no.
Quote from: Kindred on April 24, 2007, 11:09:00 PM
repeating the same question is not going to get you a different answer....
Since no one answsered, I think you can assume that, for the moment, the answer is no.
Repeating the same question is much easier then typing "bump" however. Since no one answered I don't ass-u-me anything as I see hundreds of "no answers" across this board daily.
Incidentally, it would behoove SMF to have "support specialist" that have some bedside manner or tact as 90% of you suck with your belligerent attitudes and sarcasm. Take a look at iB and you will find a direct correlation between their demise and their lack of customer service.
Veldfire...I assure you that, having done it elsewhere myself, the support specialist role is one of the toughest around...it grinds down those who do it with a workload that is simply enormous. It's inevitable that answers given with be as brief as possible when those giving them may have umpteen a day to type in. You have to do it to know how tough it really is. If anything the more work we can take off these people by answering others when we know the answers to their questions the better IMHO. Rather than complaining why not try to help?
Given that the coders here are doing what they do voluntarily any request for extra features (meaning extra coding and thus extra work) depends on the freely given time and effort of those coders...we can't expect or demand it. You've asked if somebody can do you a favour and write some extra code for you in their free time...so far nobody has offered to do so. Nobody has to do it and asking again is more likely to annoy than to get somebody to volunteer to help you.
Please be patient and if somebody wants to take on the task you're asking them to do they'll do so...if not then that's just how it is.
BTW I also admin a rather large site running on iBp and offering support for some parts of same....you wouldn't think it was dying if you saw the size of active membership there....personally I prefer SMF.
Quote from: TrueSatan on April 25, 2007, 08:48:04 AM
Veldfire...I assure you that, having done it elsewhere myself, the support specialist role is one of the toughest around...it grinds down those who do it with a workload that is simply enormous. It's inevitable that answers given with be as brief as possible when those giving them may have umpteen a day to type in. You have to do it to know how tough it really is. If anything the more work we can take off these people by answering others when we know the answers to their questions the better IMHO. Rather than complaining why not try to help?
Given that the coders here are doing what they do voluntarily any request for extra features (meaning extra coding and thus extra work) depends on the freely given time and effort of those coders...we can't expect or demand it. You've asked if somebody can do you a favour and write some extra code for you in their free time...so far nobody has offered to do so. Nobody has to do it and asking again is more likely to annoy than to get somebody to volunteer to help you.
Please be patient and if somebody wants to take on the task you're asking them to do they'll do so...if not then that's just how it is.
BTW I also admin a rather large site running on iBp and offering support for some parts of same....you wouldn't think it was dying if you saw the size of active membership there....personally I prefer SMF.
Actually, I have first hand knowledge of it as I too started as a "support specialist" and worked my way to to coder. While I agree that it is a thankless job it is also a job that requires a certain level of compassion. Anyone doing the job knows that for the most part you dealing with "newbies" who haven't a clue about the code and when given crass or "brief" responses it in no way encourages them to learn nor offer help in the future. While in a perfect world your astute observation would be valid sadly it is not when it comes to issues such as these. As I said before, iB died due to the neglect of it's users via it's customer "support specialists" as they too had the same idea as yourself which is severely flawed.
IPB is not iB. Invision Power Board is run and coded by Matthew Mecham and Charles Warner who both were at iB which is Ikonboard when it was started but left shortly thereafter to start IPB so lets not confuse the issue.
this is getting rather off topic from the thread subject...
Back on topic then... ;)
Quote from: veldfire on April 21, 2007, 01:49:32 PM
Is there anyway to have it so that when a word is highlighted in the spell check a button for "Add" can be clicked and that word added to the list ? This way I don't have to go into the admin panel each and every time I have to add a word.
It should be possible....
http://www.zend.com/zend/spotlight/spellchecking.php?article=spellchecking&kind=sl&id=4792&open=1&anc=0&view=1#notes
QuoteAdding words to the wordlist
Beyond the normal spell-checking dictionaries, PHP also supports the ability to create custom personalized dictionaries on a case-by-case (or user-by-user) basis. This is accomplished through the use of two functions: pspell_add_to_personal() and pspell_save_wordlist(). Their syntax is as follows, and should be self-explanatory:
int pspell_add_to_personal (int dictionary_link, string word)
int pspell_save_wordlist (int dictionary_link)
Note that these functions should only be used in conjunction with pspell_config_personal() (or similar). In order for a specific wordlist to be saved, the pspell_save_wordlist() function must be called.
http://ca3.php.net/manual/en/function.pspell-add-to-personal.php
Perhaps a mod could be written, or this functionality could be added to the current mod in a future release.
thanks for this mod!
Hello, does this mod work for 1.1.2 and 1.1.3?
Yes it does...it has no version limiting.
Thanks! :)
Hi I have a question, I installed the mod, but in the quick reply and reply there's not Spell Check button?
you have to turn on spell check in the first place, before adding custom words...
I did turn on, but the SPELL CHECK button don't show on the reply and quick reply. =(
this mod won't affect the button showing up or not...
How? I want to have a spell check like here in this forum. Isn't that mod?
no... the spell check in this forum is the basic spell check
Sorry, but where I can get that mod?
it is not a mod!!!
Seems like your host doesn't have pspell installed on the server. Ask them to see if they can install it.
Jay,
Can you extend the functions of this mod (as an option) so that the spellchecker skips quotes, code boxes and URLs?
Thanks.
Quote from: Col on August 18, 2007, 02:30:16 PM
Jay,
Can you extend the functions of this mod (as annn option) so that the spellchecker skips quotes, code boxes and URLs?
Thanks.
I don't ave the time to develop this mod any further. Sorry.
Quote from: JayBachatero on November 19, 2006, 09:13:14 PM
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.
Excuse me,
I've looked at many Mods, and their explination of them, but where do you upload the mod after unzipping it?
Like the "Spell Check Custom Words" for instance.
Do I create a directory for it?
I'm guessing I have to edit multiple .php's to get it to work.
I tried the "help for this mod", it lead me here...
Also, you mentioned my host has to create a directory for spell check.
They told me they don't support any form of spell check...
What now?
1- you don't unzip mods. You use the package manager in your admin panel to upload and apply mods.
2- If your host won't install PSpell/Aspell, then you are out of luck (and I might suggest getting another host, since my host installed it with one simple request)
Thanks for the package manager info.
I will try and contact my host again to see if they will install PSpell or Aspell.
I just simply don't have time to search for evrything.
Thanks again!
Hello,
What are the options for custom spell checking in 1.1.9? This mod seems only compatible with earlier versions.
Thanks,
Matt
If it works on 1.1.5 it should work ok on 1.1.9
is there a spell check compatable with 1.1.10 ?
The spell check is working in SMF, provided that you enable it and your host has the PHP pspell library installed.
This mod is not the spell check, however, but it should work along the spell checking, improving it.
It should work with SMF 1.1.11 as well.
I like this mod very much!
Recently I moved from SMF 1.1.11 to SMF 2.0 RC3.
Please update this mod to SMF 2.0 RC3, so I can use it on my new forum.
I will be very grateful
I was going to say it works fine for me in 2.0, but I just checked and realized I updated it myself for 2.0 some time ago. So, I've gone ahead and attached my unofficial SMF 2.0 update of the mod to this post.
please note: Mods should not be "attached" in the thread... Either the mod author updates to mod officially, or the mod is taken over by someone else and is submitted officially. Mods attached in threads bypass all of the checks and reviews that we apply to officially submitted mods. :(
I figured it was better that than leave people no option for using it in 2.0 other than trying to figure out how to update it themselves, and I did mention it was unofficial.
So much for trying to be helpful? :P
we appreciate trying to be helpful... however, this is a continual and bothersome problem. People posting versions of a mod in a thread may (first of all) be violating the copyright of the original author (second) are bypassing the mod approval process which protects users from badly coded, insecure or hack-prone mods.
mentioning it is unofficial does not address either of those problems
Eh, fair enough; I've gone ahead and removed the attachment from my earlier post. Apologies to anyone unable to get the mod working in 2.0.
I recently installed this mod on 2.0 RC4. It installed without error but when I click the Add button on new words, it does not remember them next time. Any thoughts on this? Where are the custom words stored?
Thanks,
It should be saving them in a file named custom_words in your forum root directory. The first time it runs if the custom spellings file doesn't exist, PHP will attempt to create it. PHP will need the relevant permissions to create a file in this directory. You might try to create a blank file with 755 permissions and see if that helps.
That fixed my issue. Thank You!
I too installed this potentially useful MOD but my problem is that only the administrator gets to see the ADD button - anyone any ideas?
It should be an assignable permission so you can give it to moderators or even regular members. Admin->permissions->choose your group->modify and look for a add words to custom dictionary or the like, can't remember what its called and I don't have it installed where I am right now.
Quote from: Spuds on June 08, 2011, 06:03:37 PM
It should be saving them in a file named custom_words in your forum root directory. The first time it runs if the custom spellings file doesn't exist, PHP will attempt to create it. PHP will need the relevant permissions to create a file in this directory. You might try to create a blank file with 755 permissions and see if that helps.
Don't work for me.
QuoteDon't work for me.
Must be something with your host or how they have pspell configured as this only uses functions available in pspell to create the custom dictionary.
You can uninstall, then set emulation to 2.0 RC3 and re-install. This will install the older version of the mod which required you to enter a comma separated list of custom words in the admin panel. Not as user friendly but will work on all systems, assuming spell checking works to begin with.
Hi, This mod has died for me in SMF 2.0.4
I have created a custom_words file in my site root, chmod it 777, it does not put any custom words in there
there was a suggestion to chmod 755 therefore is this custom_words a directory not a file?? I tried making that directory then tried creating a file in there called en
(The code looks like it wants /custom_words/en something or other)
I also tried removing the mod, setting the emulation to a prior version as suggested, and re-installing the mod, though the mod just installed same as before
I really like this mod, Surely everybody uses this one? it is a cool little mod, for Niche Topics you really need this one, you need it on this forum, haha,
is it broken for others?
Thank you for any suggestions, Garry
Hi, I installed the mod on our site and I see the ADD button. I'm sorry if this is obvious but I'm not sure where you are supposed to add the new word. Do you first type it in your message and have it come up in the big text box in the Spell Check window (I can't type directly into that part of the window) or do you type it in the Change TO box? I'm also not seeing the custom_words file.
Another question: Would this mod work with words that have macrons? A macron (/ˈmækrɒn, ˈmeɪ-/) is a diacritical mark, a straight bar (¯) placed above a letter, usually a vowel.
Thanks for any help.