![]() |
Automatic Template Compiler
Development Tool: Automatic Template Compiler
Requirements: PHP 5, vBulletin 3.5+ Summary: Allows you to edit HTML files directly instead of using the AdminCP template editor. ATC will automatically update the database if any changes are detected. This is intended for a development environment only, and will only run while in debug mode. Why: Template development is a huge PITA because of how templates are stored in the database - they are compiled. This means you cannot simply save a file, or update the database, because vBulletin needs to compile them first, and maybe even update the style cache. This saves TONS of time copy pasting and switching between your editor, your page, and the vBulletin template editor box. How it works: ATC maintains a checksum (md5 hash) of each template body, and when it finds that one is out of sync with your working copy, it will save that template automatically in a very efficient manner. It updates both the template about to be displayed in memory and also the real copy in the database. It also includes a very basic import utility so you can copy your existing templates into the filesystem for easy editing. How to use it: Follow the install instructions, and then whenever you edit a file, the changes will transfer to vBulletin itself. This was written in PHP 5 (OO) and I have no plans to make it work with PHP 4, but I may eventually build an interface to manage the settings, but for developers, configuring it should be no problem. :cool: |
Works like a charm. No more template editor, yay!
Don't know what took you so long though. You told me about the idea around 7pm, and it was gone 10pm before you were done. You're getting slow in your old age. -- hugh |
Nice one, AJ. Will use it for sure.
|
Installed :D.
Great Mod Aj |
Installed.
Thanks dude. |
Let me kiss your ass please!!!
|
Nice :)
Now if you can learn to cook a can of soup as well as you code... ;) |
Let me get this straight... this makes a HTML copy of the template so you can edit it, without using the AdminCP or what?
|
Quote:
Quote:
Quote:
Quote:
|
I dont quite get this, I have installed it, now what do I do?
Cheers |
All times are GMT. The time now is 03:28 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:
|