Simple Machines Community Forum

Customizing SMF => Modifications and Packages => Topic started by: varen sea on March 29, 2011, 10:54:08 PM

Title: Capital letter
Post by: varen sea on March 29, 2011, 10:54:08 PM
Link to Mod (http://custom.simplemachines.org/mods/index.php?mod=2987)

Capital letter

Description:

Paragraph formatting tag with the first letter capitalized

Add new button bbc, this puts the paragraph tag, so that gives us the first letter of the word in capital letters in this section, all thanks to CSS text-transform


Screenshot:

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg856.imageshack.us%2Fimg856%2F6496%2Fcapitalletterfinal.png&hash=4979e96dee4387d3585ef9151629a559844f58ef)

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg101.imageshack.us%2Fimg101%2F6562%2Fcapitalletterbbc.png&hash=e3a2c67943fb754383af4b114ef96f1cf2d90427)
Title: Re: Capital letter
Post by: Masterd on March 30, 2011, 05:54:51 AM
Nice mod! :D
Title: Re: Capital letter
Post by: xrunner on March 30, 2011, 05:03:12 PM
It didn't work on my forum - SMF 2.0 RC5. I do use another theme - RGBB Curve, and I checked the box to install it in that theme. It added the new Button but it doesn't have any effect on the paragraphs.
Title: Re: Capital letter
Post by: Xarcell on March 30, 2011, 07:25:59 PM
Very nice, I will be looking into this as soon a I'm done debugging a few things on my site.
Title: Re: Capital letter
Post by: Apllicmz on December 26, 2011, 06:38:27 AM
Yes nice Mod
when update dont forget portuguese

<file name="$themedir/languages/Modifications.portuguese_pt-utf8.php" error="skip">
        <operation>
            <search position="end" />
            <add><![CDATA[
$txt['capital'] = 'Letra mai&uacute;scula';
]]></add>
        </operation>
    </file>
   
    <file name="$themedir/languages/Modifications.portuguese_pt.php" error="skip">
        <operation>
            <search position="end" />
            <add><![CDATA[
$txt['capital'] = 'Letra mai&uacute;scula';
]]></add>
        </operation>
    </file>
   
    <file name="$themedir/languages/Modifications.portuguese_brazilian-utf8.php" error="skip">
        <operation>
            <search position="end" />
            <add><![CDATA[
$txt['capital'] = 'Letra mai&uacute;scula';
]]></add>
        </operation>
    </file>
   
    <file name="$themedir/languages/Modifications.portuguese_brazilian.php" error="skip">
        <operation>
            <search position="end" />
            <add><![CDATA[
$txt['capital'] = 'Letra mai&uacute;scula';
]]></add>
        </operation>
    </file>