The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Forums on sub domains - single databse
Hi.
I have 4 sub domains but only one sql database permitted by my webhost. I require 4 forums (one in each sub domain), is it possible to do this and how? Does each forum require it's own separate database? Is there a clever way to maybe have one database but each forum appears separate at different url's? Hope I can get the right answers. Thanks. |
#2
|
||||
|
||||
You can install several forums at the same database. Only make sure that each forum has a different db prefix.
|
#3
|
|||
|
|||
Thanks barbole I will try that tonight.
Currently the sub domains are one.domainname.com, two.domainname.com, three.domainname.com & four.domainname.com The database I created was called; domainname_database What I understand from you is I should do is; one_database two_database etc. |
#4
|
|||
|
|||
no; you need to set the TABLE PREFIX variable in config.php to something different for each forum.
Please note, each installation of vbulletin requires a separate vbulletin liscense even if they are all installed into the same database. |
#5
|
|||
|
|||
Thank you Carnage. Yes I am aware of the unique licence requirements per install, got that covered.
I'll look in the config.php and make the changes/additions, let you know how I screw up. |
#6
|
||||
|
||||
When you install forum 1 for ex, you enter the prefix vb1_, whereas for the second use vb2_ for ex and the config.php files of each forum will be configured automatically. No need to configure them manually.
|
#7
|
|||
|
|||
Done! Worked like a charm thanks everyone for your help.
One more question - what is the recommended max prefixes in a database that you could recommend before there is considerable load on the performance on the db affecting the forum? |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|