![]() |
How Long is your PHP_INCLUDE START template?
The one I maintain for WotC just crossed 800 lines...
|
Thats a pretty large amount of extra code to be ran on every single page powered by the vBulletin templates don't you think?
|
that is a little outrageous, if you have that many lines i suggest you actually intergrate that into global.php and corresponding files for the purposes of optimizing your site;)
|
Most of it is setting user options. Part of the reason for the length is I'm not allowed to mod the code (corporate site) and I don't have FTP access to the file base (which is occasionally a pain). So to get the features the users want I've gotten to be very creative.
If I ever finalize it I guess it will be included as a seperate file. Another reason for the length is the site has 12 seperate headers that are independent of the stylesets (you can match any of the 20 stylesets with the headers) |
right now mine is at about 13 its probably going to grow up to 20 once im done with the site.
|
57 in php_include_start, 80 in php_include_end. However, both of those have require() statements in which the required files are hundreds of lines long. I also haven't modified a single line of vB code.
|
heh i thought my 42 was alot :D
|
Quote:
|
on vb.org we have 106 lines of code :)
without any includes or such, and quite a few are just to change a few settings for important persons like myself ;) |
Quote:
|
All times are GMT. The time now is 06:54 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|