The best way to recover the core configuration is by deleting the record in the pgd_config table (one row only), and refresh the cache by loading the ini.asp page.
Ok, follow my instructions here precisely (read everything I write below first):
1) if you want to start from scratch (if you did mess up real nicely), just delete the db by running the full installation SQL script again, and load a fresh copy of the ASP files onto your site.
2) if you did not modify your database in anyway, just load a fresh copy of the ASP files. You can run this " delete pgd_config" query against your database first and then load ini.asp by going to
http://<your final and real forum URL>/ini.asp
3) before doing anything, make sure you backup a copy of the files you modified. Graphics work will not be lost, right? so all you have to worry about are the additional logics you implemented into the forum.