The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
![]() |
|||||||||||||||||||||||||||||||||
vB4 SuperCharged - Optimises CSS, Javascript and HTML
![]() Developer Last Online: Oct 2021 ![]() ![]()
This is designed for vBulletin 4.0.x only.
DO NOT INSTALL on vB 4.1.x or 4.2.x. Even if it worked correctly, the effect is negligible as vB4 is nowhere near as terrible client-side speed-wise as it once was. DO NOT ask for fixes, they will not come, I have moved to XenForo. __________________________________________________ ______________ tl;dr - Significant frontend speed improvements for vBulletin 4 Don't forget to Mark as Installed if you use this mod, and a nomination for MOTM would be nice ![]() __________________________________________________ ______________ Features: CSS Optimiser: Minifies all CSS files and serves CSS directly, eliminating the PHP overhead from css.php. Javascript Optimiser: Intelligently defers Javascript loading (puts script tags just before </body> on the fly) and combines common Javascript files. Also features optional compression with Google Closure Compiler. HTML Optimiser: Based on HELLCAT's Realtime Page Compressor, and adds complete whitespace removal around block and meta elements and removal of unimportant comments. Attachment Optimiser: Intended for FastCGI users only - serves attachment thumbnails and images directly rather than through PHP. All this is done efficiently and on-the-fly - no need for any template edits. __________________________________________________ ______________ Installation:
Conflicts:
Upgrading:
Changelog: 1.51:
ONLY if you wish to use the Attachment Optimiser, something similar to this is needed in your server config (nginx): Code:
location /customattachments { if ($request_uri ~* \.(png)) { add_header Content-Type image/png; } if ($request_uri ~* \.(jpg|jpeg)) { add_header Content-Type image/jpeg; } if ($request_uri ~* \.(gif)) { add_header Content-Type image/gif; } } Download Now
Screenshots
Show Your Support
|
Comments |
#122
|
|||
|
|||
![]() Quote:
Found it, In the table in the database 'cms_node' there is a field called 'styleid' it indeed had 12 in it, changed this to 1, and wahoo, problem solved. The message on the front of my CMS page has gone, and by checking the HTML of the CMS page I can verify it is now calling StyleID 1. |
#123
|
|||
|
|||
![]() Quote:
PHP Code:
Quote:
![]() |
#124
|
|||
|
|||
![]()
as far as zip file structure, I'd make the new folder that contains the admincp and whatnot folders called 'upload'...should also add your xml file in there so you only need to download the zip instead of the 2 files.
seems to be the standard at least ![]() |
#125
|
|||
|
|||
![]()
Okay, going off Trans post, I went into my cms_node table and sure enough the styleid was 1. I changed this to the styleid 9 that was reflected in the AdminCP and the error goes away.
Maybe this is a bug with the cms where its not putting the proper styleid into the table? |
#126
|
|||
|
|||
![]() Quote:
PHP Code:
Must be something that happens to some people after upgrading, because I can't reproduce anything like it on a clean install, even after fiddling with styles. Quote:
![]() |
#127
|
|||
|
|||
![]()
Hmm guess it'll need to be reported to vB as a bug then. And ya, that sounds right if its been an upgrade...only puts default info in instead of pulling current styleid.
Ahh too true, I understand now that you've only updated the xml these past two minor upgrades. |
#128
|
|||
|
|||
![]()
I dunno... technically it's working as designed, just incredibly annoying. How many people would ever need to have entire different styles for CMS sections anyway... :/
|
#129
|
|||
|
|||
![]()
Regarding the file structure, I concur with the way Tekno has described it.
I've also had to go into my Mysql database and change the style id manually in cms_node to 9 instead of 1. This has to be a bug in the cms as it worked absolutely fine on the forum pages, without any trouble once I had uploaded the correct structure. |
#130
|
|||
|
|||
![]()
Ok, updated the zip file
![]() Also it's not really a bug tbh. Without css.php it would definitely be a problem, but they have it silently outputting the default style when given a non-existent style id. I'll add a workaround to do the same in the next release, but I'm going to wait a while this time - I've been firing out releases too fast ![]() |
#131
|
|||
|
|||
![]() |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|