Thank you very much for updating the hack. But I still have problems. When I click "start merge" it says "Database initialised for import."
When I click on step 2 it says "Database not selected! Warning! Restart application! (I always wanted to say that!)

".
I think it may be to do with settings I have changes - please take a look as I was unsure what I should change here:
PHP Code:
<?php
// vBulletin Merge Tool for v2.2.x
error_reporting(7);
require ("./../admin/bbimport.php");
function makehiddenfields() {
global $vbdbhostname,$vbdbusername,$vbdbpassword,$vbdbname;
makehiddencode("IPOFDBTOBEIMPORTED",$vbdbhostname);
makehiddencode("DBUSERNAME",$vbdbusername);
makehiddencode("DBPASSWORD",$vbdbpassword);
makehiddencode("DBNAME", $vbdbname);
}
// ##############################################################################
// ok you wanted it quicly fixed, it didn't work with the same db class from vb,
// so i created another one.
class DB_Sql_merge {
var $database = "NAMEOFEXISTINGDB";
var $link_id = 1;
var $query_id = 0;
var $record = array();
var $errdesc = "";
var $errno = 0;
var $reporterror = 1;
var $server = "IPOFEXISTINGDB";
var $user = "USERNAME";
var $password = "PASSWORD";
var $appname = "vBulletin";
var $appshortname = "vBulletin (cp)";
function connect() {
global $usepconnect;
// connect to db server
I also changed the link_id to 1. Are these settings correct? Why am I getting this error
Thanks Julian,
I appreciate any help you can provide!
Regs,
Kerry