Back to vBulletin 4.x Add-ons

External VBTemplate
Mod Version: 1.00, by civil78

vB Version: 4.x.x Rating: (0 vote - 0 average) Installs: 5
Released: 14 Oct 2013 Last Update: 14 Oct 2013 Downloads: 25
Not Supported Uses Plugins Translations  

This module is targeting developers/web designers and it provides the feature to load vbulleitn templates directly from external files.

The main problem when you make changes into templates (if you don’t work directly on browser window) is that you have to copy/paste always the code from the external web editor to vbulletin template editor.

This module provides an easy way to change the template by loading an external file into the template. Developer can change directly the template from the external web editor and for example using ftp to save the file into the server. So there is no need to copy/paste the code.

These templates works like vbulletin editor and the <vb:>, {vb:} tags can used. All the template code parsed as well as vbulletin does. The only feature that it's "missing", is that there no “bad code” checking. But developers with a lot of experience doesn’t need that.

You can add two type of tags, import and overwrite.

With import tag you can partly import multiple external template files into specific places of an existing template.

For example add this on template :

HTML Code:
<div>Template Code … </div>
<vbimport>./localpath/import1.html</vbimport> 
<div>Template Code … </div>
<vbimport>www.example.com/path/import2.html</vbimport>
<div>Template Code … </div>
With overwrite tag you can replace the whole template with the code that included on the file. You can keep also the existing code, its doesn’t matter.

For example add this on template :

HTML Code:
<div>Template Code … </div>
<vboverwrite>./localpath/import1.html</vboverwrite> 
<div>Template Code … </div>
Other Features :
  • Option to activate/deactivate product.
  • Option to change the import and overwrite tag names.
  • Option to hide tags when the product isn’t activated.
  • Option to prevent file cashing when you load files from a domain.

Important Notice

This module is only for developing proposes. At the end of developing, I suggest to copy the final code into the template system. Also I don’t suggest to use this module on a live site, this may increase a little bit the server load, because it parses every time the external templates files.

Download

File Type: %1$s product-extvbtmp.xml (8.5 KB, 27 downloads)

Screenshots

Click image for larger version
Name:	extmp_settings.png
Views:	79
Size:	53.5 KB
ID:	146804   Click image for larger version
Name:	extmp_import.png
Views:	104
Size:	32.2 KB
ID:	146805   Click image for larger version
Name:	extmp_overwrite.png
Views:	69
Size:	35.2 KB
ID:	146806  


vblts.ru supports vBulletin®, 2022-2024