The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Php changes after upgrading from vb2 to vb3
Hi,
A while ago I bought a nice website which was built on vb 2.2.8. It was running very nice until I decided to upgrade my forum to vb 3.0.3. Just to make sure I installed the whole site on a different domain to test the upgrade process. Upgrading vBulletin worked like a charm ... but unfortunately some of the php scripts don't work anymore. An index.php and an include.php file are attached. I guess vb 3.0.3 uses other functions than vb 2.2.8. I already found out that gettemplate is replaced by fetch_template and dooutput is replaced by print_output. If i change these functions I get no php error, but the site shows a white homepage (as if the html code is not loaded from the database). Can someone help me out here ? Is there a list of changes somewhere ? Getthat |
#2
|
|||
|
|||
I dont fully understand where you are coming from with this. Do you mean you havent overwritten your files?
|
#3
|
|||
|
|||
Well, the files in attachment are custom-written files (not from vb), but they are using the functions from vb (and also the config.php file).
Getthat |
#4
|
||||
|
||||
Did you copy over the templates being called on in these scripts to the new vb3 style?
|
#5
|
|||
|
|||
Yes, Reeve of Shinra, I did
|
#6
|
||||
|
||||
which of these three templates are your selfmade templates?
you can only print_output one template, as there is an exit; or something there, meaning the others wont load. look at this thread, it might help you: https://vborg.vbsupport.ru/showthread.php?t=62164 |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|