Simple Machines Community Forum

Customizing SMF => Modifications and Packages => Topic started by: karlbenson on August 10, 2007, 09:30:56 PM

Title: English British Spelling Of Centre & Colour BBCode v1.1
Post by: karlbenson on August 10, 2007, 09:30:56 PM

ENGLISH BRITISH SPELLING OF CENTRE & COLOUR BBCODE v1.1
By Karl Benson (http://custom.simplemachines.org/mods/index.php?action=profile;u=63186)

Link to Mod (http://custom.simplemachines.org/mods/index.php?mod=896) | Support Topic (http://www.simplemachines.org/community/index.php?topic=188175.0) | Demo (http://www.adrevenueshare.com/index.php?topic=24.0) | Donate (http://www.adrevenueshare.com/donate)

Compatibility
For SMF 1.1.x and SMF 2.0 Beta x

Introduction
Why must we have to use the Americanized versions of words.  Red is a 'Colour', not a 'Color'.  And its 'Centre' not 'Center'. </sarcasm>
Its the English British (UK + International) spelling of the BBCode words.
So ok, we can't change html standards.  But this mod adds [colour] and [centre] to the list of bbcodes available.

Features
o Adds [colour][/colour] BBCode support (no button)
o Adds [centre][/centre] BBCode support (no button)
o Both can be disabled via Admin > Posts & Topics > Bulletin Board Code > Uncheck both Colour and Centre

Installation
Any previous versions of this mod need to be uninstalled prior to installing this version.

Install the mod via the SMF Package Manager, and your done. It installs on ALL themes automatically as it only affects Source files.

There are NO theme edits required and there are NO language strings to translate.

Useful Links
SMF Package Parser (http://www.adrevenueshare.com/parser)
Manual Installation Of Mods (http://docs.simplemachines.org/index.php?topic=402)
How Do I Modify Files? (http://www.simplemachines.org/community/index.php?topic=24110.0)

Donate
Has this modification helped you? Support the developer by Donating (http://www.adrevenueshare.com/donate)

Support
Please use the modification thread for support with this modification.
(Please don't ask me to do the edits for you)

Changelog
1.0 - 10th August 2007
o Initial release
1.1 - 9th February 2008
o Checked 2.0 compatible
o Updated readme
Title: Re: English Spelling Of Centre & Colour BBCode
Post by: Daniel15 on August 10, 2007, 10:32:25 PM
Best mod ever :)

QuoteRed is a 'Colour', not a 'Color'.  And its 'Centre' not 'Center'.
I totally agree :D
Title: Re: English Spelling Of Centre & Colour BBCode
Post by: L.G.S on August 11, 2007, 05:31:12 AM
Finally a few aspects of SMF get spelled properly. :)
Title: Re: English Spelling Of Centre & Colour BBCode
Post by: kateydrop on August 11, 2007, 06:07:35 AM
You know,

Many times I now forget how to English spell...haahahahahahaha!!!!!

;D ;D
Title: Re: English Spelling Of Centre & Colour BBCode
Post by: L.G.S on August 11, 2007, 06:21:44 AM
You realise you're typing English? English is the language of England, so it should be this way ;)
Title: Re: English Spelling Of Centre & Colour BBCode
Post by: ioszilla on August 11, 2007, 06:57:00 AM
Fun mod. IMO there's a benefit in getting used to "center" and "color" -- it's the web standard, obviously you don't spell the "colour, center" way in your css and html, do you?

Anyway I suggest this be incorporated into SMF 2.0 and thanks for the mod. :)
Title: Re: English Spelling Of Centre & Colour BBCode
Post by: L.G.S on August 11, 2007, 07:07:42 AM
Quote from: wordzilla on August 11, 2007, 06:57:00 AM
Fun mod. IMO there's a benefit in getting used to "center" and "color" -- it's the web standard, obviously you don't spell the "colour, center" way in your css and html, do you?

Anyway I suggest this be incorporated into SMF 2.0 and thanks for the mod. :)

You still spelt centre wrong, lol.
Title: Re: English Spelling Of Centre & Colour BBCode
Post by: ioszilla on August 11, 2007, 07:10:51 AM
wrong is defined as a point of view. ;)
Title: Re: English Spelling Of Centre & Colour BBCode
Post by: L.G.S on August 11, 2007, 08:44:38 AM
What? Not in the context you was using it. You clearly (and grammatically, also) were referring to the English version of the word in that sentence. So it was in fact, wrong.
Title: Re: English Spelling Of Centre & Colour BBCode
Post by: ioszilla on August 11, 2007, 08:46:29 AM
* wordzilla admits his fault ;)
Title: Re: English Spelling Of Centre & Colour BBCode
Post by: karlbenson on August 11, 2007, 09:09:50 AM
Lol, I knew it would be a fun mod to make. ;)

BTW, before I start a riot, I'm only half serious.

I'm using it just in case I resort back to my native spelling accidentally in posts.

I wonder, does the french version of smf use coloure? etc  (BBCode may be the final frontier when it comes to bbcode translation.
Title: Re: English Spelling Of Centre & Colour BBCode
Post by: Daniel15 on August 11, 2007, 08:19:01 PM
Quote from: wordzilla on August 11, 2007, 08:46:29 AM
* wordzilla admits his fault ;)
/me wonders if wordzilla doesn't know about /me :P

QuoteI wonder, does the french version of smf use coloure?
I guess that'd be a good idea for multi-lingual boards - Have the BBCodes in different languages ;)
Title: Re: English Spelling Of Centre & Colour BBCode
Post by: karlbenson on August 11, 2007, 09:08:31 PM
^ indeed.

And while working on my latest mod, I also thought of breaking the html from the subs.php into a subs.template

(yes validate the bbcode in subs.php, but the <span class="bbcode">$1</span> part should be in a template??
Especially with more complex bbcode that is coming in.
Title: Re: British English Spelling Of Centre & Colour BBCode
Post by: karlbenson on August 12, 2007, 12:51:15 PM
I've just updated the mod and all references to it to reflect the 'new name' given to the mod.

Still 1.0 as there are no changes or reason to upgrade.

!enjoy!
Title: Re: British English Spelling Of Centre & Colour BBCode
Post by: Jarlaxe on August 20, 2007, 02:11:09 AM
at last spelling words properly... what gives America the right to mutate the English language? I mean most of the words in the English language are older than America has been a country.
Title: Re: British English Spelling Of Centre & Colour BBCode
Post by: karlbenson on November 21, 2007, 09:32:40 PM
Well technically both words are French anyway.

Anyways, just checking in with this mod and there are no outstanding support issues.
Title: Re: British English Spelling Of Centre & Colour BBCode
Post by: Daniel15 on November 29, 2007, 08:30:30 PM
Quotethere are no outstanding support issues.
Were you expecting any? :P
Title: Re: British English Spelling Of Centre & Colour BBCode
Post by: karlbenson on November 29, 2007, 09:43:05 PM
Not with this mod. no ;)

But I'm going through every one of my mods bugfixing/improving.  As well as catching up with support questions/queries during my recent internet troubles.

Thankfully there wasnt anything to do with this mod.

My above post denoting the last time I checked this topic, so next time when potentially responding to support, I only have to go as far back as my last post.
Title: Re: British English Spelling Of Centre & Colour BBCode
Post by: Daniel15 on November 29, 2007, 10:29:48 PM
QuoteBut I'm going through every one of my mods bugfixing/improving.
Heh, yeah, I'm in the process of doing the same thing, except I keep running out of time :P

QuoteMy above post denoting the last time I checked this topic, so next time when potentially responding to support, I only have to go as far back as my last post.
Ah, right... Makes sense. :)
Title: Re: British English Spelling Of Centre & Colour BBCode
Post by: TrueSatan on November 29, 2007, 11:11:41 PM
If I can be of help in fielding some of the queries for either of you feel free to let me know.
Title: Re: British English Spelling Of Centre & Colour BBCode
Post by: karlbenson on November 29, 2007, 11:30:03 PM
Quote from: Daniel15 on November 29, 2007, 10:29:48 PM
Heh, yeah, I'm in the process of doing the same thing, except I keep running out of time :P

Indeed.  Theres never enough time.
New mods are always much more fun to code.

Thx TrueSatan.  I think I'm pretty much upto date with urgent support, its just bug fixing and re-writing.
Title: Ynt: British English Spelling Of Centre & Colour BBCode
Post by: L.G.S on December 01, 2007, 11:18:51 AM
One other thing.... There is English and then there is American English.... so you should really name this mod "The correct English spellings of center and colour".

:D
Title: Re: British English Spelling Of Centre & Colour BBCode
Post by: karlbenson on December 01, 2007, 12:20:47 PM
^ it was originally.

'Proper English spelling'

But since html and smf both use American english as a base 'English'. It is necessary to follow those standards and clearly define that this is for British versions.
Title: Re: British English Spelling Of Centre & Colour BBCode
Post by: karlbenson on January 18, 2008, 11:30:58 PM
I have reuploaded this mod and screenshots for it.

I am in the process of doing it for ALL my other mods aswell.  Please bear with me.
Title: Re: English British Spelling Of Centre & Colour BBCode v1.1
Post by: karlbenson on February 12, 2008, 06:54:51 PM
Forgot to upload the new version.

1.1 - 9th February 2008
o Checked 2.0 compatible
o Updated readme
Title: Re: English British Spelling Of Centre & Colour BBCode v1.1
Post by: karlbenson on March 20, 2008, 08:10:53 PM
FYI, I checked and this does work for 2.0 beta 3 public.

:)
Title: Re: English British Spelling Of Centre & Colour BBCode v1.1
Post by: Cal O'Shaw on June 22, 2011, 04:12:06 AM
I know it's a long shot, but any chance this could be updated to 2.0?

We have members from both sides of the pond, as well as Canada.

Grazie,

Cal