vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Administrative and Maintenance Tools - Automatic Template Compiler (https://vborg.vbsupport.ru/showthread.php?t=170361)

Zachery 02-25-2008 09:44 AM

Quote:

Originally Posted by cheesegrits (Post 1450118)
I think you'd be amazed at how useful the ATC is, even if you don't do much template editing. You'll save the time it took you to install the ATC the first time you do need to edit a template. Template editing becomes just like PHP editing - make your changes to a simple HTML file using your IDE / code editor, and hit your page again.

I don't do a huge amount of template editing, but the ATC has already become one of those things I don't know how I lived without.

Even if you don't do template editing, just being able to dump all of vB's templates and include them in your IDE's "Search in Files" path is invaluable when trying to work out how vB does something. Like, what does $show['some_show_thingy'] do, how does it get set and where does it get used? One search in your IDE finds all occurrences in PHP and templates.

-- hugh

Meh, I know my way around the template system fairly well, its never bothered me editing it via admincp :p

cheesegrits 02-25-2008 05:54 PM

Quote:

Originally Posted by Zachery (Post 1450581)
Meh, I know my way around the template system fairly well, its never bothered me editing it via admincp :p

I have no doubt you know the template system like the proverbial back of your hand. I just don't see how anyone could possibly want to use the ACP to edit templates, when they could be using an 'intelligent' HTML/CSS editor instead, and never have to touch the ACP.

IDE's or even basic code editors provide all kinds of nifty support for editing HTML/CSS, like attribute completion, syntax checking, pretty printing, complex search / replace, code snippets, macros, etc. If you have a good IDE (or just install WinMerge), it will also handle diff'ing and merging, making vB upgrading a snap - upgrade, use ATC to dump everything in Master and any customized styles in separate directories, do a "directory diff and merge" in your editor / WinMerge, done.

I just don't see why anyone who does anything like any serious template editing wouldn't want to take advantage of all that.

-- hugh

vertigo jones 02-27-2008 05:03 PM

I love you.

jGas 03-06-2008 09:04 PM

i was able to enable ( :D ) debug mode...but now what do i have to do to find the html file?

thanks!

PyroNET 03-07-2008 12:31 AM

Quote:

Originally Posted by vertigo jones (Post 1452253)
I love you.

Couldn't have put it better myself.

Feature suggestions:

Make it able to update css too. One of the things I hate the most is the vBulletin CSS editor.

If I create an html file in the template folder that isn't currently a customized template have it detect such and edit the style to customize that template.

jGas 03-08-2008 07:59 AM

by the way, in the $config, what do you mean for product_id and version?

if i set it on:

HTML Code:

$config = array(
                'product' => 'vBulletin',
                'version' => '3.7.0 Beta 5'
        );

it doesn't create any html page on the template folder...

aisais 03-17-2008 11:02 PM

Thank you for such smart idea. It saves a lot of time and efforts.
Tthanks again.

akanevsky 03-29-2008 10:35 PM

Now, this is a very useful modification. Thank you for creating it. Maybe you should suggest jelsoft that they include this into their distribution. Not that I will installing any of the 3.7.0+ versions due to a lot of networking crap in there that I don't think can even be turned off, but still...

brendanc 03-30-2008 01:32 AM

Does this work for 3.7.0 RC1?

furst 03-30-2008 01:34 AM

Let me see if I understand this thing.

Does this mean that with this installed I can open my vBulletin in Dreamweaver, make whatever changes I want, and then it will be updated on my site just like that to reflect the changes I made? If so, that's awesome.


All times are GMT. The time now is 09:15 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.00977 seconds
  • Memory Usage 1,741KB
  • 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_html_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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