Back to vBulletin 3.6 Add-ons

Faster Board view
Mod Version: 1.02, by mahakala

This modification is in the archives.
vB Version: 3.6.4 Rating: (2 votes - 2.50 average) Installs: 20
Released: 18 Jan 2009 Last Update: Never Downloads: 5
Not Supported Uses Plugins Re-usable Code  

Add a new Plugin with the following parameters to display the most pages much faster (NEEDS SEO or vbSEO or code changes*):

Product: vBulletin
Hook: parse_templates
Title: Flusher
PHP-Code:
PHP Code:
if (headers_sent()) {
ob_start();
ob_implicit_flush(1);
flush();
ob_flush();
                    }
else if (
preg_match("/ebdl|image|do=|dateline/i",$_ENV['REQUEST_URI']) || isset($_ENV['QUERY_STRING']) || isset($_POST)) { }
else {
ob_start();
ob_implicit_flush(1);
flush();
ob_flush();
         } 
That's all. Hope you could need it.

*The main problem with this hack is, that all headers must be send or errors occure (headers already send...). I use vbSEO, so i could figure out (querystring) when there are probably header changes. For nonSEO try the headers_send()-version and see, what happens.
Maybe someone has a better solution

Regards,
Thomas

Download

No files for download.


vblts.ru supports vBulletin®, 2022-2025