List of changed var/array/function names
by
07 Jun 2005
A lot of things changed in 3.5 and you might find yourself lost for awhile as you figure out how to work with the new var/array/function names. This list should help you port your old 3.0.x hacks quicker, if you have anything to add to the list reply to this thread and I will edit the first post! Note that some of these might not work in some parts of the new code, OOP changes a lot of things, in some cases you might be using $this-> or some other alternative to get to these. On the front end they will work for the most part. Do remember that there are hooks littered in the 'build' functions like the one that builds postbit. For an example of working with such hooks you can check out a plug-in I released, I spend 5 minutes wondering why $post would not work until I realized I was begin an idiot! Anyway check out the .xml file: Last Seen Online in postbit Turned out I needed to use $this->post because that hook was inside of a function! Doh! The big list... 3.0.x version of the var will be on the left, 3.5 on the right as so: 3.0.x => 3.5 Global $DB_site-> => $db-> $bbuserinfo[] => $vbulletin->userinfo[] $vboptions[] => $vbulletin->options[] $_GET/$_REQUEST/$_POST/$_COOKIE => $vbulletin->GPC[] globalize() => $vbulletin->input->clean_array_gpc() |