vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   ?? Uncached Template ?? (https://vborg.vbsupport.ru/showthread.php?t=173660)

Dismounted 03-21-2008 11:28 AM

Quote:

Originally Posted by Opserty (Post 1470636)
Or:
PHP Code:

    $globaltemplates[] = 'template1';
    
$globaltemplates[] = 'template2'

I think it looks more organised that way :p Obviously only good for about 3-4 templates after which I prefer to go to Dismounted's method.

If you want it to look organised...:p
PHP Code:

$mytemplates = array(
    
'template1',
    
'template2'
);
$globaltemplates array_merge($globaltemplates$mytemplates); 


Guest190829 03-21-2008 11:37 AM

Organized code? Who needs that! I like writing everything on one line.

Kirk Y 03-21-2008 02:25 PM

Quote:

Originally Posted by Danny.VBT (Post 1470646)
Organized code? Who needs that! I like writing everything on one line.

Seriously, same here. It's much better on the eyes - no looking up or down, just left and right.

ssslippy 03-21-2008 02:34 PM

This is a great reference thread.

Boofo 03-21-2008 02:38 PM

Quote:

Originally Posted by Kirk Y (Post 1470791)
Seriously, same here. It's much better on the eyes - no looking up or down, just left and right.

Then everything starts looking all run-together and makes editing things harder.

Lynne 03-21-2008 03:00 PM

Quote:

Originally Posted by ssslippy (Post 1470796)
This is a great reference thread.

Yes, it is. Thanks guys! :up:

PoetJA-1975 03-21-2008 08:37 PM

Quote:

Originally Posted by MisterPopularity (Post 1470508)
im lazy like that :)

Oooooo That's a shame :mad:

Quote:

Originally Posted by Boofo (Post 1470637)
Thank you, sir. I thought that should be included in case anyone stumbles onto this and won't have to ask for that now. ;)

Absolutely - Thanx for all the info YAWL ;)

Quote:

Originally Posted by ssslippy (Post 1470796)
This is a great reference thread.

ABSOLUTELY! :up:

Jacquii.

DivisionByZero 03-21-2008 08:42 PM

an uncached template isn't something to lose sleep over anyway. i never cache templates unless my work includes a custom file.

Kirk Y 03-21-2008 09:27 PM

Quote:

Originally Posted by MisterPopularity (Post 1471073)
an uncached template isn't something to lose sleep over anyway. i never cache templates unless my work includes a custom file.

It's a senseless query, especially as easy as it is to cache custom templates.

PoetJA-1975 03-22-2008 07:20 AM

Quote:

Originally Posted by MisterPopularity (Post 1471073)
an uncached template isn't something to lose sleep over anyway. i never cache templates unless my work includes a custom file.

OK - I'll remember that the next time I request support for one of your modifications :erm:

Jacquii.


All times are GMT. The time now is 03:29 PM.

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.01072 seconds
  • Memory Usage 1,739KB
  • 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
  • (2)bbcode_php_printable
  • (9)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (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