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":
Many thanks in advance for any help!
Lee
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'] . '&langid=' . LANGUAGEID . '&d=' . $style['dateline'] . '&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
Comment