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
  #2  
Old 02-04-2010, 09:32 PM
saadessa saadessa is offline
 
Join Date: Jan 2008
Posts: 284
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

vrey great job thank you
Reply With Quote
  #3  
Old 02-04-2010, 09:47 PM
treyb treyb is offline
 
Join Date: Jun 2006
Posts: 64
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great Idea
Reply With Quote
  #4  
Old 02-04-2010, 09:49 PM
Charlie98902 Charlie98902 is offline
 
Join Date: Dec 2006
Posts: 1,156
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Wow, after I redid it all manually. I am sure there is some waiting on something like this though.
Reply With Quote
  #5  
Old 02-04-2010, 09:52 PM
Trek Trek is offline
 
Join Date: Sep 2003
Posts: 664
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice! There are a few more mods I want to convert, this should come in very handy, thank you!
Reply With Quote
  #6  
Old 02-05-2010, 09:35 AM
Sador's Avatar
Sador Sador is offline
 
Join Date: Mar 2009
Posts: 181
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hm. I hope there will be a version that can be used by non-developers as well, cause this would be one of the best mods available right now.
Reply With Quote
  #7  
Old 02-05-2010, 09:40 AM
cad2go cad2go is offline
 
Join Date: Feb 2009
Posts: 181
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I asked would this be included as part of the vb3->vb4 upgrade. I may as well have asked for the moon.

Thanks a lot for releasing this.
Reply With Quote
  #8  
Old 02-05-2010, 12:40 PM
MARCO1's Avatar
MARCO1 MARCO1 is offline
 
Join Date: Jun 2008
Posts: 872
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Very Good, I will install it in my tests forum

Installed and Rated 5 stars.
Reply With Quote
  #9  
Old 02-05-2010, 02:02 PM
Zaiaku's Avatar
Zaiaku Zaiaku is offline
 
Join Date: Jul 2007
Location: 3rd Level of Hell
Posts: 502
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Anyone besides me thinking that shis should of been a stand tool for vb4? This could of help so many people on day 1.
Reply With Quote
  #10  
Old 02-05-2010, 02:04 PM
scan-pa scan-pa is offline
 
Join Date: May 2006
Location: Lebanon Co. Pa. USA
Posts: 189
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice, great job. This is something else that jelsoft should have had built in vB4.
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 05:33 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.04346 seconds
  • Memory Usage 2,310KB
  • Queries Executed 26 (?)
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)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
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (2)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)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_postinfo_query
  • fetch_postinfo
  • 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