Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Templateconvert from vB3 to vB4 Details »»
Templateconvert from vB3 to vB4
Version: 1.0.1, by punishment punishment is offline
Developer Last Online: Mar 2012 Show Printable Version Email this Page

Category: Administrative and Maintenance Tools - Version: 4.0.x Rating:
Released: 02-03-2010 Last Update: Never Installs: 46
Re-useable Code Additional Files Translations  
No support by the author.

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 Now

File Type: zip templatemerge101.zip (4.7 KB, 380 views)

Screenshots

File Type: png templatemerge.png (49.8 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #22  
Old 12-26-2010, 02:58 AM
rob01 rob01 is offline
 
Join Date: Sep 2008
Location: Mexico
Posts: 410
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

we also need to find a way out to update the php files

from vb3 to vb4
Reply With Quote
  #23  
Old 01-02-2011, 02:39 PM
final kaoss final kaoss is offline
 
Join Date: Apr 2006
Posts: 1,314
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It would be great to see this product receive updates until vb5 comes.
Reply With Quote
  #24  
Old 01-03-2011, 09:04 AM
nacaruncr nacaruncr is offline
 
Join Date: Nov 2010
Posts: 318
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

someone can explain me how i have to do for transform one style vb3 to vb4?
I don't understand, what i have to do?
excuse me, but it's new for me :S
Reply With Quote
  #25  
Old 01-03-2011, 11:38 AM
Trip3151 Trip3151 is offline
 
Join Date: Mar 2007
Posts: 98
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by extreme-gaming View Post
It would be great to see this product receive updates until vb5 comes.
LOL let Vbulletin get Version 4 right first
Reply With Quote
  #26  
Old 07-29-2011, 12:26 AM
final kaoss final kaoss is offline
 
Join Date: Apr 2006
Posts: 1,314
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

speaking of which, is it working with vb 4.1.5?
Reply With Quote
  #27  
Old 05-24-2012, 03:20 AM
Hornstar Hornstar is offline
 
Join Date: Jun 2005
Location: Australia
Posts: 2,469
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'll give this a go in a bit. Trying to update a couple old vb3 mods to vb4. Hopefully this will take care of the templates. Now I just need one for the php files.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:02 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.04548 seconds
  • Memory Usage 2,288KB
  • Queries Executed 22 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_php
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (7)post_thanks_box
  • (7)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (7)post_thanks_postbit_info
  • (6)postbit
  • (2)postbit_attachment
  • (7)postbit_onlinestatus
  • (7)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete