vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=252)
-   -   Convert vB3 Code to vB4 Code (https://vborg.vbsupport.ru/showthread.php?t=263314)

Andr? Noberto 05-08-2011 03:49 AM

Convert vB3 Code to vB4 Code
 
Well I wonder if there is any handbook on the code conversion ... I'm looking to convert some models of vbulletin vbulletin 3 for 4 and I wish someone would help me ...
good is a simple code...I'll post the code here..if someone can give me for granted would be grateful to..

Code of model at vbulletin 3

Code:

$stylevar[htmldoctype]
<html dir=\"$stylevar[textdirection]\" lang=\"$stylevar[languagecode]\">
<head>
$headinclude
<script language="javascript" type="text/javascript" src="uploadcp/links.js"></script>
<title>$title</title>
<script type="text/javascript" src="clientscript/vbulletin_inlinemod.js"></script>
</head>
<body>
$header
$navbar
<div class="spacer"></div>
$menu
<div class="spacer"></div>
$html
<div class="spacer"></div>
<div class="smallfont" align="center">
    <!-- Do not remove this copyright notice -->
    Desenvolvido por Eduardo Fleck
    <!-- Do not remove this copyright notice -->
    </div>
$footer

--------------- Added [DATE]1304839717[/DATE] at [TIME]1304839717[/TIME] ---------------

I have managed to solve most of the conversion, but the question is in relation to the adjustments that I do in php files relating to styles (tborder, tcat, alt ... etc) and would like to know how to make them work .


All times are GMT. The time now is 06:02 AM.

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.01971 seconds
  • Memory Usage 1,706KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (1)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete