(adsbygoogle = window.adsbygoogle || []).push({});
How to set up a forum with just the DB
Ok, well when a lot of forums get hacked all the person provides is the DB and you are thinking "Ahhh what the fuck, now I can't set up a clone of the site". Well now I will show you how to without needing the original files. This can also be used if you only have a DB backup of your site with no files.
[multipage=Get the DB ]
First off, get the DB that you will be using for this.
You must login or register to view this content.
[multipage=Uploading the DB ]
Once you have it get it upload into phpMyAdmin under whatever DB name you want. I suggest using
You must login or register to view this content. to import it into phpMyAdmin since the DB will probably be to big.
To use BigDump, edit the .php file to the settings that it should be. Like so:
// Database configuration
$db_server = 'localhost';
$db_name = 'eh';
$db_username = 'root';
$db_password = 'root';
// Other settings (optional)
$filename = 'ehaxcom1_vbdb40.sql'; // Specify the dump filename to suppress the file selection dialog
Your settings will be different. Make sure that the .php file and the .sql file are in the same directory then execute the bigdump.php file. It will import the the tables into the DB that you pointed it at.
[multipage=Running the Query ]
Once that is done you will need to go into phpMyAdmin of the DB that you imported everything into. Once your in there you will need to go to the "Query" tab.
You must login or register to view this content.
Once your in there, scroll down to where you can execute a command:
You must login or register to view this content.
In there you will want to put this:
SELECT value from setting WHERE varname = 'templateversion'
Then it should come back with something like this:
You must login or register to view this content.
We can see that this vBulletin database is/ was on 4.1.11
[multipage=Upgrading/ Other Settings ]
So from here lets say that the vBulletin database you got was on 4.0.9, you would need to get the 4.0.9 files and place them in the directory of where you want them. Then you would get the files you want to update it to.
YOU MUST UPDATE IT FOR IT TO WORK PROPERLY.
Once the /install/upgrade.php script has ran, delete the install folder and go to /admincp and log in. Then you can go to Settings > Options > Site Name / URL / Contact Details and edit it to your needs.
Also, if you don't want to crack the admins pass you can replace the password and salt with this:
6e4c865d3c9b219ffde610916e5317fa:O6J
That pass is "123".
You also may want to edit the config.php file to disable plugins. You can do that by editing the file and adding this code below the <?php like so:
<?php
define('
ISABLE_HOOKS', true);
Enjoy and if you have any questions let me know and I will attempt to help you out.