Announcement

Collapse
No announcement yet.

Upgraded to 4.2.2 - Experiencing some issues with main style

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Upgraded to 4.2.2 - Experiencing some issues with main style

    Hi Guy's

    Upgraded last night and 4.2.2 really doesn't not like the custom CSS inserted by my current style. I get a load of warning messages in the ACP that I need to revert or fix 9 templates. If I revert them back it completely breaks the style! Bummer is its a style from http://www.completevb.com/ and jugging by the website (and previous recent requests) I have no chance of support to get it working with 4.2.2

    The style is called GamerGreen_4.1.5 and it use's two plugins: "
    product-matt_add_css.xml" and "product-cvb_manager.xml"

    Here's the code from "product-matt_add_css.xml":

    Code:
    <?xml version="1.2" encoding="ISO-8859-1"?>
    
    <product productid="matt_add_css" active="1">
        <title>Enables custom CSS to be used by Matt</title>
        <description>This Redirects VB 4 and Mods to use additional.css if they are not coded too.</description>
        <version>1.0 Final</version>
        <url></url>
        <versioncheckurl></versioncheckurl>
        <dependencies>
        </dependencies>
        <codes>
        </codes>
        <templates>
        </templates>
        <stylevardfns>
        </stylevardfns>
        <stylevars>
        </stylevars>
        <plugins>
            <plugin active="1" executionorder="5">
                <title>Add addition_css.css file to pages</title>
                <hookname>global_complete</hookname>
                <phpcode><![CDATA[global $style;
    $vbcsspath = 'css.php?styleid=' . $vbulletin->userinfo['styleid'] . '&amp;langid=' . LANGUAGEID . '&amp;d=' . $style['dateline'] . '&amp;sheet=';
    
    $find = '</head>';
    
    $add_before = '<link rel="stylesheet" type="text/css" href="'.$vbcsspath.'additional.css" />'. PHP_EOL;
    
    
    $output = str_replace($find,$add_before.$find, $output);]]></phpcode>
            </plugin>
        </plugins>
        <phrases>
        </phrases>
        <options>
        </options>
        <helptopics>
        </helptopics>
        <cronentries>
        </cronentries>
        <faqentries>
        </faqentries>
        <templateedits>
        </templateedits>
    </product>


    Many thanks in advance for any help!

    Lee

  • #2
    Anyone?? What about a recommendation for a good site (Still running with support) for vBulletin Styles??

    Lee

    Comment


    • #3
      If things otherwise work, you could try simply editing and saving the named templates as they are, instead of reverting them.

      This will clear the warnings in the Admincp about needing to revert them.

      Depending on what version you upgraded from, you may find some functionality might not work though.

      4.2.1 to 4.2.2 shouldn't cause any problems certainly.
      MARK.B | vBULLETIN SUPPORT

      TalkNewsUK - My vBulletin 5.5.4 Demo
      AdminAmmo - My Cloud Demo

      Comment


      • #4
        Originally posted by Mark.B View Post

        4.2.1 to 4.2.2 shouldn't cause any problems certainly.
        So If we update from 4.2.0 to 4.2.2 will cause a problem !

        Thank you

        Comment


        • #5
          It shouldn't cause anything major, but we can't possibly know how it would affect custom styles.
          MARK.B | vBULLETIN SUPPORT

          TalkNewsUK - My vBulletin 5.5.4 Demo
          AdminAmmo - My Cloud Demo

          Comment


          • #6
            The style I use has a plugin to insert CSS, 4.2.2 breaks this :-( I think if completevb (were I purchased it from) was still active they would have fixed it for me.

            Looking for a new style now anyway!

            Comment

            widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
            Working...
            X