I believe I found a bug in the uninstallation script
When I went to uninstall this hack, I got the following error message:
Code:
Database error in vBulletin 3.0.7:
Invalid SQL:
SELECT phrasetypeid
FROM phrasetype
WHERE fieldname IN('vbindex', 'vbindex_cp')
mysql error: Table 'forum.phrasetype' doesn't exist
As it turns out, that query is missing the ".TABLE_PREFIX."
In vbiupdate.php
This code
PHP Code:
echo "<p>Deleting Phrases...</p>";
$types = $DB_site->query("
SELECT phrasetypeid
FROM phrasetype
WHERE fieldname IN('vbindex', 'vbindex_cp')
");
Should look like this
PHP Code:
echo "<p>Deleting Phrases...</p>";
$types = $DB_site->query("
SELECT phrasetypeid
FROM ".TABLE_PREFIX."phrasetype
WHERE fieldname IN('vbindex', 'vbindex_cp')
");
Hope this helps.