Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
How do I host multiple forums using one set of source files?
yskywalker
New
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.**
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.
extensive modification to the core
Vanilla Wiki, Tastes Great! 31,000 viewers can't be wrong. || Plugin Development Explained
Thanks for your help. I will check it out and see what comes up.
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.
@lincon I'll see what I can do. Thanks for your help. Vanilla is awesome!
@yskywalker
If you done, please share with us your experience and we would appreciate if you write a how-to.
@Roben and others, check out this discussion.
Search first
Check out the Documentation! We are always looking for new content and pull requests.
Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.
Shameless self promotion:
Kasper Kronborg Isager (kasperisager) | Freelance Developer @Vanilla | Hit me up: Google Mail or Vanilla Mail | Find me on GitHub