vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Community Lounge (https://vborg.vbsupport.ru/forumdisplay.php?f=13)
-   -   How Long is your PHP_INCLUDE START template? (https://vborg.vbsupport.ru/showthread.php?t=71088)

neocorteqz 10-30-2004 04:44 AM

25

that's all i need. :)

keeps my stats in line

Code:

Page generated in 0.10032010 seconds (90.13% PHP - 9.87% MySQL) with 10 queries
DEBUG Mode OFF | GZIP ON (level 1) | 0.03 : 0.02 : 0.00 | No Uncached Templates


filburt1 10-30-2004 01:29 PM

Quote:

Originally Posted by Erwin
Really? How do you integrate your points system without file modification?

The templates have registration markings (nothing to do with user registration but more like print registration markings), and php_include_end uses regular expressions to scan the page output and modify it to add references to turtle dollars where necessary.

Xenon 10-30-2004 02:22 PM

quite interesting :)

i look forward to see your template/php include things importet inv b.org soon :)

Chris M 10-30-2004 02:28 PM

Quote:

Originally Posted by filburt1
The templates have registration markings (nothing to do with user registration but more like print registration markings), and php_include_end uses regular expressions to scan the page output and modify it to add references to turtle dollars where necessary.

Very clever filburt - A nice way of doing it :)

Satan

Oblivion Knight 10-30-2004 02:54 PM

I currently only have 17 lines of code in my phpinclude_start template.. 4 of which are opening and closing statements of what the 2 blocks of code do.

Erwin 10-30-2004 11:07 PM

Quote:

Originally Posted by filburt1
The templates have registration markings (nothing to do with user registration but more like print registration markings), and php_include_end uses regular expressions to scan the page output and modify it to add references to turtle dollars where necessary.

Ahhh... clever use of regex... :) However, there surely has to be a performance hit on a busy site. But it's clever.

filburt1 10-30-2004 11:30 PM

Quote:

Originally Posted by Erwin
Ahhh... clever use of regex... :) However, there surely has to be a performance hit on a busy site. But it's clever.

Any performance hit is worth the literally 1 minute required to upgrade my site when a new release of vBulletin is made.

Xenon 10-31-2004 11:44 AM

well you still have to upgrade the templates, and regarding my experinece, that's the part which takes the most time, during an upgrade (that's why i prefer to hack everything in files ^^)

filburt1 10-31-2004 03:07 PM

Quote:

Originally Posted by Xenon
well you still have to upgrade the templates, and regarding my experinece, that's the part which takes the most time, during an upgrade (that's why i prefer to hack everything in files ^^)

I've completely rewritten many of the major templates (forumhome, showthread, and even quick reply's templates) so it doesn't really affect me.

Xenon 10-31-2004 05:21 PM

hmm, ok ^^


All times are GMT. The time now is 04:22 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.01292 seconds
  • Memory Usage 1,738KB
  • 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
  • (5)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