vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Board Optimization - Plugin Based Template Cache (https://vborg.vbsupport.ru/showthread.php?t=113002)

MissKalunji 04-18-2006 08:14 PM

Thanks orban! you rock! They did that for template compressor to exclude some template to compress that would be fine!

orban 04-18-2006 09:30 PM

Updated the template_cache.beta.php file.

KissKalunji:

Code:

$vbulletin->templatecache['FORUMHOME'] = str_replace('$navbar','$navbar ' . $vbulletin->templatecache[forumhome_welcomepanel],$vbulletin->templatecache['FORUMHOME']);
That's the problematic part of the Welcome Panel plugin. So you add FORUMHOME to $exclude. You know a bit of PHP?

Then check the other plugin for a smiliar line, just a template that gets modified, and exclude that one too.

I guess I should extend my plugin a bit and add two settings you can edit in the admincp instead of hardcoding it to the PHP file. Oh well.

MissKalunji 04-18-2006 10:09 PM

Sweet thanks! yeah i know php :)

Let u know how everything worked out

MissKalunji 04-18-2006 10:36 PM

works :) thanks!

Kihon Kata 04-19-2006 12:57 PM

Quote:

Originally Posted by orban
I guess I should extend my plugin a bit and add two settings you can edit in the admincp instead of hardcoding it to the PHP file. Oh well.

Let us know when you do this so I can install :)

orban 04-19-2006 01:12 PM

Scared to edit the PHP file? ;)

Kihon Kata 04-19-2006 01:17 PM

Quote:

Originally Posted by orban
Scared to edit the PHP file? ;)

Well, since I don't know php well, yes. LOL I wouldn't know where and what to edit ;)

I already run your last version, seems to work good. What will this version do for my site? Would you be willing help me out a bit?

MissKalunji 04-19-2006 01:19 PM

Quote:

Originally Posted by Kihon Kata
Well, since I don't know php well, yes. LOL I wouldn't know where and what to edit ;)

I already run your last version, seems to work good. What will this version do for my site? Would you be willing help me out a bit?


yeah it will make the board run faster i have it as well trust me it snot hard just adding the template thats IF you have mods that are messing up the forum

Kihon Kata 04-19-2006 01:34 PM

Quote:

Originally Posted by MissKalunji
yeah it will make the board run faster i have it as well trust me it snot hard just adding the template thats IF you have mods that are messing up the forum

Yeah, that could be the problem, we have MANY modifications. I'll wait to see what Orban says

MissKalunji 04-19-2006 02:07 PM

so far only two has problems :) and my board is heavy moded


All times are GMT. The time now is 09:37 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.02433 seconds
  • Memory Usage 1,735KB
  • 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
  • (1)bbcode_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)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