Hey guys
Im in a real pickle here. I recently imported the new hide hack for vb 3.6.8, then edited all the files and got to the template bits and well, I went to login into AdminCP and got the following message:
So, you must edit all files+template bits before uploading the product. I screwed up here. So, after a few minutes of thinking what to do, I went into phpMyAdmin and deleted all traces I could find of the hide hack. Sadly, this didn't work.
I stumbled across the install/uninstall code for the product, and it goes something like this:
Now I've deleted all those tables; 'thankscache, hhroptions, thankedcount'. But by the looks of it, I need to rebuild my forum permissions with the "class_bitfield_builder.php" file, and sadly this runs by command...
So -- I just want to know how I can include the forums config file, which includes the information to connect to my database, and running the above PHP code all in one package. Can this be done?
Thanks
Andyk
Im in a real pickle here. I recently imported the new hide hack for vb 3.6.8, then edited all the files and got to the template bits and well, I went to login into AdminCP and got the following message:
vS-Hide Hack Resurrection: Incomplete Installation!
One or more of the required files are missing.
Please read over readme.html and ensure every file from the upload directory is uploaded to vBulletin forum root.
Afterwards, click here to refresh the page.
So, you must edit all files+template bits before uploading the product. I screwed up here. So, after a few minutes of thinking what to do, I went into phpMyAdmin and deleted all traces I could find of the hide hack. Sadly, this didn't work.
I stumbled across the install/uninstall code for the product, and it goes something like this:
PHP:
<?php
$db->hide_errors();
$db->query_write("DROP TABLE IF EXISTS " . TABLE_PREFIX . "thanks");
$db->query_write("ALTER TABLE `" . TABLE_PREFIX . "post` DROP `thankscache`");
$db->query_write("ALTER TABLE `" . TABLE_PREFIX . "forum` DROP `hhroptions`");
$db->query_write("ALTER TABLE `" . TABLE_PREFIX . "user` DROP `thankedcount`");
$db->query_write("ALTER TABLE `" . TABLE_PREFIX . "usergroup` DROP `hhroptions`");
$db->show_errors();
require_once(DIR . '/includes/class_bitfield_builder.php');
if (vB_Bitfield_Builder::build(false) !== false)
{
$myobj =& vB_Bitfield_Builder::init();
$myobj->save($db);
build_forum_permissions();
}
?>
Now I've deleted all those tables; 'thankscache, hhroptions, thankedcount'. But by the looks of it, I need to rebuild my forum permissions with the "class_bitfield_builder.php" file, and sadly this runs by command...
So -- I just want to know how I can include the forums config file, which includes the information to connect to my database, and running the above PHP code all in one package. Can this be done?
Thanks
Andyk