Jump to content



Photo
* * * - - 2 votes

[CONTRIBUTION] Sloppy Words Cleaner


  • Please log in to reply
69 replies to this topic

#61   stragami

stragami
  • Members
  • 98 posts
  • Real Name:Alfred
  • Gender:Male
  • Location:Germany

Posted 09 July 2009 - 14:51

thanks but where i can change the characterset (what i have to do) and where i can enter the character exceptions
please let me have a smal saples as im not a star in developing

thx
alfred

#62   stragami

stragami
  • Members
  • 98 posts
  • Real Name:Alfred
  • Gender:Male
  • Location:Germany

Posted 05 August 2009 - 13:20

cant fix it by myself- so i must take it out

#63   Cheepnis

Cheepnis
  • Members
  • 100 posts
  • Real Name:Cheepnis
  • Gender:Male

Posted 24 April 2011 - 22:51

Nice mod! Easy install and great performance - thanks for providing this.

It might be nice to have this add-on test for two-letter states (such as in the US) which would be all upper-case and other countries which would then be made title case. Right now, all states are upper case, even if they enter "Avon on Green" as the state and all other fields are Title Case. Not a big deal for me, as most of my customers are in the US, but for other countries, it probably looks a little funny to have everything corrected but the state being UPPER CASE.

#64   raiwa

raiwa
  • Community Sponsor
  • 804 posts
  • Real Name:Rainer Schmied
  • Gender:Male
  • Location:Sant Iscle de Vallalta, Barcelona, Spain

Posted 02 December 2011 - 19:57

cant fix it by myself- so i must take it out


Hello,

I had the same problem with german umlauts and spanish accents. Even worse, the add-on didn't do any change on special characters.
So after a huge amount of try and error, I'm not a programmer, I found a solution which maybe is not too elegant, but works.
I uploaded it as version 1.5 here:

http://addons.oscommerce.com/info/5550

-- v1.5 === Support for special characters like ä,é,ç for german, spanish, french, and skandinavian languages added.
1. New function to convert special characters to lower case added.
2. New function to convert letters following special characters to lower case added (Müller instead of MüLler, Fernández instead of FernáNdez).
3. New function to convert special characters in first letter of words to upper case(Úbeda instead of úbeda).
Special characters for other languages like czech or serbo-croat can be added.
4. Some more details are changed to older versions:
a. RemoveShoutingCN for the company is commented out.
Reason: Company names have a huge amount of possible combinations of upper and lower case which in my opinion can not be included all in the exceptions list.
b. "True" statement added to firstname, lastname "RemoveShouting", this activates the exception lists for names.
c. Some more exceptions added to name and address for german, spanish and french language.
5. Support added for add-ons:
"DHTML State Selection for 2.3.1" http://addons.oscommerce.com/info/8028
"DHTML State Selection" (v2.2) http://addons.oscommerce.com/info/6975
"NIF" http://addons.oscommerce.com/info/1778

best regards
Rainer

#65   actarus1011

actarus1011
  • Members
  • 29 posts
  • Real Name:Christian BECKERS

Posted 03 April 2012 - 06:22

Hi...

Thanks for this very nice contribution... I was still in 1.4 and I'm updating...

Following question passed then through my mind :
Would it be possible to check the whole database updating names (a kind of script that you can launch, specially after an update so that previously registered user can enjoy their "new name" ^^ ) ?

Thanks

#66   raiwa

raiwa
  • Community Sponsor
  • 804 posts
  • Real Name:Rainer Schmied
  • Gender:Male
  • Location:Sant Iscle de Vallalta, Barcelona, Spain

Posted 03 April 2012 - 14:34

Hi...

Thanks for this very nice contribution... I was still in 1.4 and I'm updating...

Following question passed then through my mind :
Would it be possible to check the whole database updating names (a kind of script that you can launch, specially after an update so that previously registered user can enjoy their "new name" ^^ ) ?

Thanks



Hello,

I think this is possible, but it goes far over my php programming capacities.
As I corrected before the chaotic entries manually one by one, i didn't worry about this.
Of course it would be nice if someone out there with enough programming skills could add this.

Best regards
Rainer

#67   14steve14

14steve14
  • Members
  • 3,706 posts
  • Real Name:Steve
  • Gender:Male
  • Location:Dorset UK

Posted 20 May 2015 - 10:53

I know nothing has been posted here for a while, but I thought I would say thanks for creating this. Even now it seems to work as it should and sorted all the address.

 

I currently spend what seems like ages sorting customers addresses and found this. Well in actual fact I knew it was here and had never used it. Now I am updating the site I thought I would give it a try. Brilliant and well done.


Edited by 14steve14, 20 May 2015 - 10:54.

REMEMBER BACKUP, BACKUP AND BACKUP

You're only as good as your last pat on the back, and a pat on the back is only 12" away from a kick in the ar*e!


#68 ONLINE   Mort-lemur

Mort-lemur
  • Members
  • 2,222 posts
  • Real Name:Heather
  • Gender:Female
  • Location:UK

Posted 21 May 2015 - 08:56

@14steve14 what version are you running it on? anyone know if it runs on 2.3.4? Used to use this on 2.2 stores and I agree it is a great mod.


Now running on a fully modded 2.3.4 Store with the Excellent MTS installed - See my profile for the mods installed ..... So much thanks for all the help given along the way by forum members.


#69   14steve14

14steve14
  • Members
  • 3,706 posts
  • Real Name:Steve
  • Gender:Male
  • Location:Dorset UK

Posted 21 May 2015 - 09:06

Heather I have it installed on the latest BS version and it seems ok. Site is only being developed but testing looks fine.


REMEMBER BACKUP, BACKUP AND BACKUP

You're only as good as your last pat on the back, and a pat on the back is only 12" away from a kick in the ar*e!


#70 ONLINE   Mort-lemur

Mort-lemur
  • Members
  • 2,222 posts
  • Real Name:Heather
  • Gender:Female
  • Location:UK

Posted 21 May 2015 - 09:12

Thanks Steve


Now running on a fully modded 2.3.4 Store with the Excellent MTS installed - See my profile for the mods installed ..... So much thanks for all the help given along the way by forum members.