ElkArte Community

Title: in bulk - forum settings
Post by: derived on March 02, 2016, 01:50:23 pm
Looking for the easiest way to set up several forums, all on different domains.

So that I can quickly setup several forums without having to go through ALL those check boxes....only go back to each one and do site/domain specific things.

Which files do I need to save from 1 forum and copy to all the others
in order to have a "basic" operating configuration for all the forums?
Title: Re: in bulk - forum settings
Post by: emanuele on March 02, 2016, 02:57:40 pm
The server configurations (url, paths, database username and password) are saved in Settings.php.
Any other setting is in the {prefix}_settings table in the database.
Then, there are a few site-specific settings in {prefix}_themes.

To do multiple installs on similar configs what I'd do is:
do an install,
export the database in sql format
keep a copy of the files
Then, any time I have to reinstall:
open the export with a notepad and search and replace both the paths and the the urls (usually up to the forum directory),
import the copied&replaced file in the new site,
fix the settings in Settings.php
* upload the files
Done.
Title: Re: in bulk - forum settings
Post by: emanuele on March 02, 2016, 03:41:10 pm
No, as I wrote Settings.php contains all the server config: path, url, database server, name, username and password.
These are the one that make the forum work, anything else can be changed later on from the admin panel.
Title: Re: in bulk - forum settings
Post by: emanuele on March 03, 2016, 04:36:25 am
Did you change the database name in Settings.php?
I guess you are using two different databases.