vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Community Lounge (https://vborg.vbsupport.ru/forumdisplay.php?f=13)
-   -   Hacks Or Templates (https://vborg.vbsupport.ru/showthread.php?t=52932)

pie 05-14-2003 06:14 AM

Hacks Or Templates
 
I've seen the most simplest hacks on here i myself have released as a template edit.

Why do you guys find the need to do it as a hack rather than a template edit? Where IMO it mucks up most as hacking because the files change more regularly than the templates do.

Just curious to know :)

Brad 05-14-2003 08:01 AM

If I can do it from the templates 99% of the time I will. The only time I do not use the phpinclude is for mods that would hog up to much overhead if they where not in the files.

Xenon 05-14-2003 11:20 AM

a lot of hacks can be inserted by phpinclude.
This is loaded on every single page so phpinclude hacks i prefer to put into the phpfiles instead.

also sometimes hacks are faster written than the same thing in templates.

but if you can do something easily per templates then there shouldn't be a hack

Tony G 05-14-2003 12:25 PM

Yeah, I really only go to the files when the hacks inserted via phpinclude add un-necessary load.

MGM 05-14-2003 08:59 PM

I love template edits. I'm editing my templates more than im actually hacking to tell you the truth, but then again, I dont know much about hacking, whatever I find I get off of here :P

MGM out


All times are GMT. The time now is 07:32 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.01069 seconds
  • Memory Usage 1,708KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete