thanks for reply.
well the strukture is based on standalone modules.
that means that i want to be able to take out one module and make it a stand alone feature. ´vbb ist always using the SB_mysql_vb funktion but every module with his directory schedule has his own configuration. also the config.php
except of the db_mysql_alldb (with is lokated in the base modul, all modules use this db to open the 4 dbs) and the db_mysql of the forum strukture. this is used by the forum.
in the config (for example base 1) i open DB_site = new DB_sql_vb AND DB_base1 = new DB_sql_base1
in the config (for example base 2) i open DB_site = new DB_sql_vb AND DB_base2 = new DB_sql_base2
therefor it must be garanteed, that vbb use his own database and should make all chanches to DB_site-> in the correct db.
but it seems that DB_site-> is not using the db opend with DB_sql_vb. i checked toe complte vbb software. i can´t find the problem.
should it be better to use only one config.php? open all dbs in there? it meens i have to change complete strukture but if it works
ps. in the config located in ./admin/ the base1 (correct) db is opend.
|