MoonPoint Support Logo

 


Shop Amazon Warehouse Deals - Deep Discounts on Open-box and Used ProductsAmazon Warehouse Deals



Advanced Search
March
Sun Mon Tue Wed Thu Fri Sat
   
27    
2011
Months
Mar


Sun, Mar 27, 2011 7:16 pm

Off-Topic BBC Tag 1.1.2 Installation of SMF 2.0 RC5

I tried to install the Off-Topic BBC Tag 1.1.2 by (Ha)2 on a Simple Machines Forum (SMF) version 2.0 RC5 forum. The installation process reported errors for its testing, however.

TypeActionDescription
Execute Modification./Themes/default/languages/Modifications.english.phpTest successful
Execute Modification./Themes/default/languages/Modifications.swedish.phpSkipping file
Execute Modification./Sources/Subs.phpTest failed
Execute Modification./Sources/Subs-Editor.phpTest failed
Execute Modification./Themes/default/style.cssFile not found
Extract tree./Themes/default/images 

At Re: Off-Topic BBC Tag, I found a poster, JD82, had posted an update to the mod for 2.0 RC3. When I used the mod, when I clicked on Install Mod, I no longer saw any of the errors that I had seen above. However, I did see errors under Install in Other Themes for other themes that were available on the forum.

TypeActionDescription
Execute Modification./Themes/default/languages/Modifications.english.phpTest successful
Execute Modification./Themes/default/languages/Modifications.swedish.phpSkipping file
Execute Modification./Themes/default/languages/Modifications.italian-utf8.phpSkipping file
Execute Modification./Sources/Subs.phpTest successful
Execute Modification./Sources/Subs-Editor.phpTest successful
Execute Modification./Themes/default/css/index.cssTest successful
Extract tree./Themes/default/images 

For each theme, I saw two "Test failed" entries for the file ./Themes/core/css/index.css.

Examing package-info.xml within Off-topic_BBC_Tag_RC3.tar.gz, I saw the following:


        <install for="2.0 RC3 - 2.99.99.99">
                <modification>off-topic_2_0_curve.xml</modification>
                <require-dir name="images" destination="$themedir" />
        <readme type="file" parsebbc="true">readme.txt</readme>
        </install>

That showed me that for SMF 2.0 RC3 or later 2.x versions, the installation process would use off-topic_2_0_curve.xml.

Checking the code it was looking for by examing the off-topic_2_0_curve.xml file within the Off-topic_BBC_Tag_RC3.tar.gz, I saw the following:


 <file name="$themedir/css/index.css">
                <operation>
                        <search position="before"><![CDATA[/* The "Quote:" and "Code:" header parts... */
.codeheader, .quoteheader
{
        color: #666;
        font-size: x-small;
        font-weight: bold;
        padding: 0 0.3em;
}]]></search>
                        <add><![CDATA[/* The "Off-topic:" header part... */
.off-topicheader
{
        color: #696969;
        text-decoration: none;
        font-style: normal;
        font-weight: bold;
        font-size: xx-small;
        line-height: 1.1em;
}]]></add>
                </operation>
                <operation>
                        <search position="before"><![CDATA[/* A quote, perhaps from another post. */
blockquote.bbc_standard_quote, blockquote.bbc_alternate_quote
{
        font-size: x-small;
        color: #000;
        line-height: 1.4em;
        background: url(../images/theme/quote.png) 0.1em 0.1em no-repeat;
        border-top: 2px solid #99A;
        border-bottom: 2px solid #99A;
        padding: 1.1em 1.4em;
        margin: 0.1em 0 0.3em 0;
        overflow: auto;
}]]></search>
                        <add><![CDATA[/* Silly users may go off-topic */
.off-topic
{
        color: #444444;
        background-color: #dadde2;
        border: 1px dotted #696969;
        margin: 2px;
        padding: 2px;

[/network/web/forums/smf] permanent link

Sun, Mar 27, 2011 5:08 pm

Validating HTML and CSS

If you wish to validate the HTML code on a webpage you can use the W3C Markup Validation Service. If you wish to validate a Cascading Style Sheet for a page, you can use the W3C CSS Validation Service.

[/network/web/html] permanent link

Once You Know, You Newegg AliExpress by Alibaba.com

Shop Amazon Local - Subscribe to Deals in Your Neighborhood

Valid HTML 4.01 Transitional

Privacy Policy   Contact

Blosxom logo