For starters, in:
PHP Code:
$translations = $DB_site->query("
SELECT languageid, text
FROM " . TABLE_PREFIX . "phrase
WHERE varname = '" . addslashes($phrase['varname']) . "' AND
languageid <> $phrase[languageid] AND
phrasetypeid = $phrase[phrasetypeid]
");
From what I've gathered, vB has it own MySQL usage class. I guess I'll need to change some things so that it accessed the
links database, instead of the
forum database. How would I do this?
Oh, and what is the variable
$usepconnect in the connect function in the db_mysql.php code?