Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommended Posts

Posted (edited)
This addon adds a spell checker to your admin. Incorrect spelling can leave your sites visitors with a very bad impression about your site. Even if you are an excellent speller, it is easy to type something incorrectly and not catch it. Without some way to check them, many mistakes can go unnoticed. This addon provides a way to easily spell check, and correct, your files and database items from your admin. It will currently check your product descriptions, language files, articles (if Article Manager is installed) and information pages (if Information Manager is installed). Edited by Jack_mcs

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

All of My Addons

Get the latest versions of my addons

Recommended SEO Addons

Posted

Hi Jack,

Once again awesome contribution! Install was a breeze just need to have my host add the pspell so I can try it.

Thanks for you untiring dedication to osc.

Matt

Posted

What kind of dictionary does it use?

Is it possible to use google spell, since it support several languages?

 

Cheers,

Fredrik

Posted

Hi Jack,

Once again awesome contribution! Install was a breeze just need to have my host add the pspell so I can try it.

Thanks for you untiring dedication to osc.

Matt

Thanks and you're welcome. :)

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

All of My Addons

Get the latest versions of my addons

Recommended SEO Addons

Posted

What kind of dictionary does it use?

Is it possible to use google spell, since it support several languages?

The dictionary is built into the php code, except for the one you can add to. This one is setup to use some languages. Others are available but I haven't coded it to use those yet. I haven't looked at the code for google spell so I don't know what is required for that. If it just needs to be passed a word and various arguments, then it would be possible to use that code instead of the pspell code. I'll look into it at some point.

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

All of My Addons

Get the latest versions of my addons

Recommended SEO Addons

Posted

This is a great idea. Now if I can only get my clients to use it....

 

Found a few minor bugs:

In spell_checker_update_configure.php, "Spell Checker has been removed form the database." should be "from".

The constant IMAGE_BUTTON_CONTINUE is defined on the Catalog side but not the Admin. Likewise, the button image doesn't exist in the Admin.

 

In spell_checker_database.php, I get warnings that call-time pass-by-reference has been deprecated on line 116, 148, and 155. It isn't needed anyway.

$currentVersion is undefined. I'm also getting an undefined TEXT_MISSING_VERSION_CHECKER. Yes, I don't have the version checker Addon installed (this is a virgin copy of 2.2RC2a.)

I'm getting an Undefined Index on "article" and "information" on Lines 318 and 319. This appears to be disabling the Javascript onclick() functionality, so the radio buttons don't work.

 

In functions/spell_checker.php, $charset on Line 278 is undefined. This appears to also be causing a number of Illegal Character warnings. Should that be the CHARSET constant?

 

In includes/modules/spell_checker.php, $ttlLength (on line 46) is not initialized before the for() loop starts.

 

Thanks again for another addition to my bag of tricks. I'm off to install this on some live sites and see how many spelling errors I can find.

 

Regards

Jim

See my profile for a list of my addons and ways to get support.

Posted

The dictionary is built into the php code, except for the one you can add to. This one is setup to use some languages. Others are available but I haven't coded it to use those yet. I haven't looked at the code for google spell so I don't know what is required for that. If it just needs to be passed a word and various arguments, then it would be possible to use that code instead of the pspell code. I'll look into it at some point.

Thanks for your reply.

My shop is in swedish, therefore a possibility for the swedish language would be nice for me.

I use the contribution Googiespell Multilanguage Spell Check Script to do spell checking when I add a new item in admin. And that contrib use the script from http://orangoo.com/labs/GoogieSpell/.

That contribution is not updated with the latest version of Googiespell thou.

But if you're planning to look into it, those links might help you a bit.

 

Another question regarding your contribution and the precedur of it, Does it check all pages for spelling error at once and then suggest the correct spelling and then you confirm the changes? So you dont have to go into each product to find spelling errors?

 

Thanks,

Fredrik

Posted

This is a great idea. Now if I can only get my clients to use it....

 

Found a few minor bugs:

In spell_checker_update_configure.php, "Spell Checker has been removed form the database." should be "from".

The constant IMAGE_BUTTON_CONTINUE is defined on the Catalog side but not the Admin. Likewise, the button image doesn't exist in the Admin.

 

In spell_checker_database.php, I get warnings that call-time pass-by-reference has been deprecated on line 116, 148, and 155. It isn't needed anyway.

$currentVersion is undefined. I'm also getting an undefined TEXT_MISSING_VERSION_CHECKER. Yes, I don't have the version checker Addon installed (this is a virgin copy of 2.2RC2a.)

I'm getting an Undefined Index on "article" and "information" on Lines 318 and 319. This appears to be disabling the Javascript onclick() functionality, so the radio buttons don't work.

 

In functions/spell_checker.php, $charset on Line 278 is undefined. This appears to also be causing a number of Illegal Character warnings. Should that be the CHARSET constant?

 

In includes/modules/spell_checker.php, $ttlLength (on line 46) is not initialized before the for() loop starts.

 

Thanks again for another addition to my bag of tricks. I'm off to install this on some live sites and see how many spelling errors I can find.

 

Regards

Jim

Thanks for all of the fixes. I will add them to the next version.

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

All of My Addons

Get the latest versions of my addons

Recommended SEO Addons

Posted

Another question regarding your contribution and the precedur of it, Does it check all pages for spelling error at once and then suggest the correct spelling and then you confirm the changes? So you dont have to go into each product to find spelling errors?

In the database section of the contribution in admin, you can check all of the products at once or a few at a time. Each description is displayed with the suggestions of words to use. You have to apply them yourself by clicking on the replacement word.

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

All of My Addons

Get the latest versions of my addons

Recommended SEO Addons

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...