I am setting up a website that needs to have multiple forums. I could just make three copies of the source files and set them up with a different database prefix. That however, just sounds too inefficient to me.
**this looks complicated, but yes i think you have to create 3 forum folder with different names and a database with different prefixes for each forum except the user table.
Oh, I forgot, I am managing the users externally with jsConnect, so I don't even need to worry about merging the users tables. Thanks for your help anyway.
You'll need 3 config files and 3 databases. You could use server config or symlinks to make 3 sites run off the same physical files, they'd just need to each access a different config file.
@lincon Ok, that sounds good. Is there any way that I can set a table prefix for the Vanilla tables so that I can run multiple installations of Vanilla on one database? I am using a free plan so I can only have two databases max.
Yes, you can change the table prefix in the config file. I think you can create a config.php file with the prefix in it before installing and it will respect that. I could, however, be making that up. :D
@kasperisagersaid (clicky):
I can confirm that symlinking everything except conf, cache and uploads works a charm. I'm now running two separate installations off the same codebase. Directory structure is as follows:
Comments
**this looks complicated, but yes i think you have to create 3 forum folder with different names and a database with different prefixes for each forum except the user table.
Good luck and keep us updated.**
- Spam
- Abuse
1 · Insightful 1Awesome LOL ·Its simple if you just have three separate folders and three different schemas in you mysql instance.
Using the same source install for multiple separate forums would entail either
A) simply using roles and permissions to create two apparently separate forums using the same root path.
B) extensive modification to the core
Vanilla Wiki, Tastes Great! 31,000 viewers can't be wrong.
- Spam
- Abuse
1 · Insightful 1Awesome LOL ·Thanks for your help. I will check it out and see what comes up.
- Spam
- Abuse
0 · Insightful Awesome LOL ·Oh, I forgot, I am managing the users externally with jsConnect, so I don't even need to worry about merging the users tables. Thanks for your help anyway.
- Spam
- Abuse
0 · Insightful Awesome LOL ·You'll need 3 config files and 3 databases. You could use server config or symlinks to make 3 sites run off the same physical files, they'd just need to each access a different config file.
Developer at Vanilla Forums, Inc. [GitHub, Twitter]
- Spam
- Abuse
0 · Insightful Awesome LOL ·@lincon Ok, that sounds good. Is there any way that I can set a table prefix for the Vanilla tables so that I can run multiple installations of Vanilla on one database? I am using a free plan so I can only have two databases max.
- Spam
- Abuse
0 · Insightful Awesome LOL ·Yes, you can change the table prefix in the config file. I think you can create a config.php file with the prefix in it before installing and it will respect that. I could, however, be making that up. :D
Developer at Vanilla Forums, Inc. [GitHub, Twitter]
- Spam
- Abuse
1 · Insightful 1Awesome LOL ·@lincon I'll see what I can do. Thanks for your help. Vanilla is awesome!
- Spam
- Abuse
0 · Insightful Awesome LOL ·@yskywalker
If you done, please share with us your experience and we would appreciate if you write a how-to.
- Spam
- Abuse
0 · Insightful Awesome LOL ·@Roben and others, check out this discussion.
Search first.
React to insightful, awesome, funny, and off-topic posts.
Check out the Wiki for lots of information about common stumbling blocks.
- Spam
- Abuse
2 · 2Insightful Awesome LOL ·Shameless self promotion:
Kasper Kronborg Isager | Full-time interwebs monkey working @Vanilla | Hit me up: Google Mail or Vanilla Mail | Find me at Github
- Spam
- Abuse
3 · 2Insightful 1Awesome LOL ·