Customizing SMF > SMF Coding Discussion
Modifying BBC Code
ChalkCat:
All I want to do is change the colour formatting tags from [color=blah][/color] to [colour=blah][/colour]. (My members are complaining about it using the American spelling.)
I have changed every instance of "color" to "colour" in Subs-Editor.php, Post.php and have modified the index.css item bbc_color, without making an iota of difference. I have, however, managed to change the spelling in the dropdown box of the post form.
What am I missing? Or have I set myself about an impossible task? I have reverted everything back to how it was pending the answer ;)
Doctor Deejay:
I'm sorry but what is your question exactly?
ChalkCat:
I want the BBC colour tag to work as [colour=......] [/colour] using the UK spelling. Is it possible?
Doctor Deejay:
Yes it is possible, but I haven't tried it as I'm okay with the Americanized spelling so I don't know how much work it will cost. But as long as you take backups before modifying anything I'd say try it and see how it goes. :)
ChalkCat:
Thanks :) Do you know what else I might need to edit? I have already changed every "color" to "colour" in Subs-Editor.php and Post.php, and I have edited the spelling of "bbc_color" in the CSS file, but clicking on the post form dropdown is still producing the American spelling. Can you suggest anywhere else I can try editing?
Navigation
[0] Message Index
[#] Next page
Go to full version