Back to vBulletin 4.x Add-ons

Templateconvert from vB3 to vB4
Mod Version: 1.0.1, by punishment

vB Version: 4.0.x Rating: (10 votes - 4.80 average) Installs: 46
Released: 05 Feb 2010 Last Update: Never Downloads: 325
Not Supported Additional Files Re-usable Code Translations  

Warning: This Mod is only for developers! Don't use this in live boards.

With this script you can convert vB3 templates to the vB4 syntax. You can make backup from the old templates, to a later error compare.

Before you merge the templates you can compare old and new syntax.

The folder /dev/backup => CHMOD 0777.

Good Luck.

PHP Code:
/*
* OWN RISK !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
*
* <if condition="xyz">    to    <vb:if condition="xyz">
* <else />                to    <vb:else />
* </if>                    to    </vb:if>
*
* $vbphrase[xyz]        to    {vb:rawphrase xyz}
* $vboptions[xyz]        to    {vb:raw vboptions.xyz}
* $session[xyz]            to    {vb:raw session.xyz}
* $bbuserinfo[xyz]        to    {vb:raw bbuserinfo.xyz}
* $pagenav                to    {vb:raw pagenav}
*
* $foo(.*)       to {vb:raw foo(.*)} Textarea Input you can use multiple variables $foo(.*) and $baz(.*) etc.
*/ 

Download

File Type: %1$s templatemerge101.zip (4.7 KB, 382 downloads)

Screenshots

Click image for larger version
Name:	templatemerge.png
Views:	1050
Size:	49.8 KB
ID:	111669  


vblts.ru supports vBulletin®, 2022-2024