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=121876)

Mickie D 08-26-2006 07:21 AM

this would be good if we could make a fix for vbshout because i dont think that putting forumhome in the uncached list is a good idea its probably the most important template to cache and probably the largest and most called upon ?

Regards
Mickie D

orban 08-27-2006 01:33 AM

Good point.

Basically all you have to do is replace the line where vBShout modifies the template and manually edit the FORUMHOME template and add a little variable.

I'll have a look later.

Kihon Kata 08-28-2006 01:18 PM

Hi Orban! I updated mine! templates directory building nicely!

orban 08-28-2006 01:23 PM

Glad to hear!

-----

vBShout:

https://vborg.vbsupport.ru/showthrea...hlight=vbshout

I assume you mean this vBShout version.

Edit the plugin "vBShout [Template Alteration]" and comment out this line:

Code:

$vbulletin->templatecache['FORUMHOME'] = str_replace($Position, $Position . ' $Shoutbox', $vbulletin->templatecache['FORUMHOME']);
Code:

/*$vbulletin->templatecache['FORUMHOME'] = str_replace($Position, $Position . ' $Shoutbox', $vbulletin->templatecache['FORUMHOME']);*/
Then modify the template "FORUMHOME" and add

Code:

$Shoutbox
where you want to have the shoutbox.

This of course disables the placement using the "vBShout Position" option in the admincp.

MissKalunji 08-28-2006 03:05 PM

what about the WELCOME PANEL by inferno?

MissKalunji 08-28-2006 03:06 PM

"The use of the code modification "Vbulletin Plugin Accelerator" is not recommended when using this plugin (and I recommend not using it AT ALL)!
"

Why not? im using it i didnt see anything wrong yet?

orban 08-28-2006 03:12 PM

Quote:

Originally Posted by MissKalunji
"The use of the code modification "Vbulletin Plugin Accelerator" is not recommended when using this plugin (and I recommend not using it AT ALL)!
"

Why not? im using it i didnt see anything wrong yet?

If it works, then good :)

But the problem with that plugin is that if there's a plugin that doesn't work it can make you vBulletin unaccessible.

Quote:

Originally Posted by MissKalunji
what about the WELCOME PANEL by inferno?

Mmmm...try the following:

Edit the plugin "Welcome Panel - Main".

Replace

Code:

$vbulletin->templatecache['FORUMHOME'] = str_replace('$navbar','$navbar ' . $vbulletin->templatecache[forumhome_welcomepanel],$vbulletin->templatecache['FORUMHOME']);
with

Code:

/*$vbulletin->templatecache['FORUMHOME'] = str_replace('$navbar','$navbar ' . $vbulletin->templatecache[forumhome_welcomepanel],$vbulletin->templatecache['FORUMHOME']);*/
$welcomepanel = $vbulletin->templatecache['forumhome_welcomepanel'];

And then edit the template "FORUMHOME" and add "$welcomepanel" after "$navbar".

EDIT: That's for https://vborg.vbsupport.ru/showthrea...=welcome+panel, which one do you use? Couldn't fine one by Inferno.

amcd 08-29-2006 08:04 AM

i have been using this product for few months now on my 3.5.x forum and it works great

a good enhancement to this would be if the templates are compressed before adding to the cache. templates without comments and white space wud be so much smaller and faster.

orban 08-29-2006 10:29 AM

I think if you are using gzip compression it doesn't matter at all, but correct me if I'm wrong.

amcd 08-29-2006 11:19 AM

Quote:

Originally Posted by orban
I think if you are using gzip compression it doesn't matter at all, but correct me if I'm wrong.

it matters less, but it does matter


All times are GMT. The time now is 11:11 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.01550 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
  • (5)bbcode_code_printable
  • (3)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