PDA

View Full Version : Multiple forums one user db


jamescrf
01-30-2004, 01:29 PM
I'm sure this has been requested before, but it sure would be nice to be able to have multiple vb3 forums using one user db.

Natch
01-30-2004, 03:04 PM
U can ... if you have the appropriate number of licenses, you can have them in the one DB by changing the table_prefix in config.php ... (as I understand) ... just make sure your hacks etc are all fully compatible by ensuring they all have " . TABLE_PREFIX ."tablename in any queries etc.

jamescrf
01-30-2004, 03:36 PM
I really would prefer not to have all forums in one database. In otherwords each forum would have it's own database; however, each of those forums would have the ability to point to a one user database. I think the vb config would need a new variable $userdb = 'xyz', then everywhere a call is made to the user database it would need to utilize the $userdb value. I'm not a programmer so I don't know the scope of this potential hack.

Natch
01-30-2004, 04:04 PM
Ahh . I get ya.

Sorry.

pxn
01-31-2004, 07:40 AM
i am looking for something like this for my friend, if it is created he will buy 2 lisenses, it must share users, PM's, and profiles

lange
02-08-2004, 05:46 PM
Does someone have it working with TABLE_PREFIX ?

hypedave
02-09-2004, 01:05 AM
Does someone have it working with TABLE_PREFIX ?

Yep, one site going live this week and another going live later this month. Its realy easy but I would only recommend a setup like this for the serious sites.