Upgraded to 4.2.2 - Experiencing some issues with main style

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • xrayhead
    Member
    • Nov 2002
    • 94

    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>[COLOR=#000000][FONT=verdana][/FONT][/COLOR]


    Many thanks in advance for any help!

    Lee
  • xrayhead
    Member
    • Nov 2002
    • 94

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

    Lee

    Comment

    • Mark.B
      vBulletin Support
      • Feb 2004
      • 24286
      • 6.0.X

      #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
      ------------
      My Unofficial vBulletin 6.0.0 Demo: https://www.talknewsuk.com
      My Unofficial vBulletin Cloud Demo: https://www.adminammo.com

      Comment

      • arabpcworld
        New Member
        • Oct 2012
        • 1
        • 4.2.X

        #4
        Originally posted by Mark.B

        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

        • Mark.B
          vBulletin Support
          • Feb 2004
          • 24286
          • 6.0.X

          #5
          It shouldn't cause anything major, but we can't possibly know how it would affect custom styles.
          MARK.B
          vBulletin Support
          ------------
          My Unofficial vBulletin 6.0.0 Demo: https://www.talknewsuk.com
          My Unofficial vBulletin Cloud Demo: https://www.adminammo.com

          Comment

          • xrayhead
            Member
            • Nov 2002
            • 94

            #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...