Back to vBulletin 3.0 Add-Ons

Custom Template Adder Script
Mod Version: 1.00, by Dream

This modification is in the archives.
vB Version: 3.0.0 Rating: (0 vote - 0 average) Installs: 4
Released: 29 Mar 2004 Last Update: Never Downloads: 6
Not Supported Re-usable Code  

This is really something to help modders to add custom templates more easily in their releases.

Description: This script lets you specify which styles you want to add custom templates to. It also shows if a style has custom templates with the same names, and lets you overwrite them. You can also see the template codes you are about to add by clicking on the names.

Instructions: Edit in customtemplates.php:
$mod_name - your mod name
$script_file - the file name, if you modify it, without ".php"
$template array - each custom template you wanna add, beginning at index 1, as an associative array with 'title' and 'template' as key/values.

Example:
$template[1]['title'] = 'custom_template_example';
$template[1]['template'] = 'Dream\'s custom template "example".';

Demo: upload customtemplates.php to your admin cp folder, and call it from a browser.


I hope you find some use for this, modify at your heart's content. Included is a script to add v3 Arcade's custom templates, the reason why I made this in the first place.

[edit]typos[/edit]

Download

This modification is archived and cannot be downloaded.

Similar Mods

Moderators Functions Inline Usernote Adder Modification Graveyard

vblts.ru supports vBulletin®, 2022-2024