vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Board Optimization - [DBTech] vB Optimise 2.0.1 (Lite) (https://vborg.vbsupport.ru/showthread.php?t=199207)

R-D 01-03-2012 05:07 PM

Got a couple of bugfixes for you. Both in vboptimise/cachers/cacher_templates.php.

Line 27:
Code:

if (CMS_SCRIPT)
Should be:
Code:

if (defined('CMS_SCRIPT'))
Otherwise it always evaluates to true and includes the $add array of CMS templates, even if CMS_SCRIPT isn't defined. This means the datastore is checked unnecessarily for 40+ non-existent templates, if the CMS isn't installed.


Line 91:
Code:

foreach ($argument AS $template)
{
        $templateids[] = intval($templateassoc["$template"]);
}

Should be:
Code:

foreach ($argument AS $template)
{
        $tem = intval($templateassoc["$template"]);

        if ($tem > 0)
        {
                $templateids[] = $tem;
        }
}

This one is minor, compared to the other, but vBOptimise 2.0.1 looks for the humanverify template, which doesn't exist. It's included in a number of vBulletin pages, but is altered to the correct humanverify_type template in global.php, line 271 (vBulletin 3.8X).

Checking for a template ID greater than 0 would eliminate any additional datastore checking, if other templates don't exist but are included for whatever reason.

DragonByte Tech 01-03-2012 05:15 PM

Hey, thanks :)

Sadly because we (DBTech) do not have access to Deceptor's account we won't be able to implement these fixes until we re-release the mod under our own account.
Obviously we don't want to do this until we have some actual updates to release, so to ensure this post won't get lost to the mists of time, could you please re-post it at our forum as a Feature Request?

Our custom issue tracker system will ensure we will re-read this when it's time to plan out and create a new version :)


Fillip

DragonByte Tech 06-23-2012 12:34 AM

Development resumed here: https://vborg.vbsupport.ru/showthread.php?t=284817


Fillip

Mark_Zuckerberg 10-02-2012 09:58 PM

SORRY WRONG POST I HAVE POSTED ON THE WRONG THREAD :(

DragonByte Tech 10-02-2012 10:11 PM

This version of vB Optimise is no longer supported, please see the post above yours.

Fillip

Mapo 11-23-2012 09:08 AM

hello,
I tried to upgrade to 2.5.0 in a vbulletin 3.8.7
I did something wrong upgrading and needed to return to the previous version, now I am trying to uninstall or upgrade and I get the following error:

Warning: require_once([path]/vboptimise/core/class_vboptimise.php) [function.require-once]: failed to open stream: No such file or directory in [path]/includes/init.php(304) : eval()'d code on line 13

Fatal error: require_once() [function.require]: Failed opening required '/home/.../vboptimise/core/class_vboptimise.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/.../forum/includes/init.php(304) : eval()'d code on line 13

What can I do?
Thank you

DragonByte Tech 11-27-2012 01:51 PM

PHP Code:

define('DISABLE_HOOKS'true); 

in config.php beneath <?php

Please note that this version is no longer supported, and queries regarding this version may not be answered :)


Fillip

postcd 02-18-2013 08:53 AM

Hi, i need help. My Filecache folder is 1gb big. I have thousands of topics, it seems to me like every post is cached which i dont want, size is too large. Please how can i decrease this size? I have default settings + file cache enabled (no other is supported) and system test tells that all 4 Fetching, flushhing cache etc works OK.

I see some files in public_html/dbtech/vboptimise/filecache are older 3 days which i dont understand, my settings should be flush in hours.

How to reduce filecache size, not to cache threads, posts? Other option than hard cronjob delete?

:p:p:p:p

DragonByte Tech 02-18-2013 01:34 PM

This version is no longer supported, please use this version: https://vborg.vbsupport.ru/showthread.php?t=284816


Fillip

Terrablade 08-10-2014 05:51 AM

If i installed APC server side, is it enough? or should I also use the APC in this mod?


All times are GMT. The time now is 07:28 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02241 seconds
  • Memory Usage 1,740KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_code_printable
  • (1)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete