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)

Boofo 04-29-2006 07:24 PM

Quote:

Originally Posted by orban
Haha it's fine, at least it looks now as if this plugin was very popular with 10 pages of comments! And I made the comment about the plugin authors here too, so it's your right :D

I would like to try this when my board starts getting active. Or when you make a setting for templates to exclude (unless you've already done that). ;)

orban 04-29-2006 07:28 PM

Done it of course, with one of these neat vB options you can add to your product.xml

And you only need them to exclude when you're using the option to save certain templates in a seperate file anyway.

Boofo 04-29-2006 07:33 PM

Quote:

Originally Posted by orban
Done it of course, with one of these neat vB options you can add to your product.xml

And you only need them to exclude when you're using the option to save certain templates in a seperate file anyway.

Are the default settings the recommended way to go then?

TECK 04-29-2006 10:01 PM

Quote:

Originally Posted by orban
Because it saves several templates in one file, and on some pages it might exceed the 255/230 filename lenght.

You did not reply to my question.
Can you give me more details? Thanks.

Quote:

Originally Posted by TECK
I'm new with VB3, kind of old school VB2.
Can you post a Cron Job to delete the eval templates? Or they are supposed to stay there.
Thanks for explaining...


Paul M 04-30-2006 12:29 PM

I'm not sure what the problem with [template] search and replace plugins is supposed to be, but I have this installed on my test forum atm, and all my plugins seem to work fine.

orban 04-30-2006 12:33 PM

Quote:

Originally Posted by Boofo
Are the default settings the recommended way to go then?

There are no default settings ;)

Can either turn the template cache on or off, and saving to seperate files for bigger templates on or off.

Quote:

Originally Posted by TECK
You did not reply to my question.
Can you give me more details? Thanks.

You don't have to clear the folder, it clears itself when you edit templates. There is no clutter in the folder, no need to clear it. Every file in that folder is being used, even if some are used rarely (like not all people visit faq.php).

Quote:

Originally Posted by Paul M
I'm not sure what the problem with [template] search and replace plugins is supposed to be, but I have this installed on my test forum atm, and all my plugins seem to work fine.

Did you activate the "save templates to seperate files" option?

TECK 04-30-2006 04:21 PM

Thanks Orban. :)

Paul M 04-30-2006 04:34 PM

Quote:

Originally Posted by orban
Did you activate the "save templates to seperate files" option?

No.
.
.

orban 04-30-2006 04:36 PM

Only that option can cause problems with addons that use str_replace($template...)

Paul M 04-30-2006 04:46 PM

Quote:

Originally Posted by orban
Only that option can cause problems with addons that use str_replace($template...)

Oh okay. I'm not planning to use that option, without going through 10+ pages I'm not really sure why it's there.


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