25
I'm testing three domains in a share server with one single database. With the correct settings in the mainfile.php for dbhost, dbname, dbuser and dbpass, loading database data is not a problem.
I run into problem with:
1] Site Title, slogan, theme, and probably some other minor settings that were saved into the database.
2] Pictures and avatars (which were mentioned in some previous posts)
About problem one, I think title can be override in the theme. As for theme, it can probely be configure somewhere. I remember that one of the old XOOPS version, user can have their won themes. This function would be useful for multiple sites with different themes but same database.
To get the correct url for pictures and avatar, the url and path for pictures or avatar can be done using some methods like $xoops_url and $xoops_path to insert the correct url from the different domains and paths.
path: /home/user/$xoops_path/
url: $xoops_url/anything
In addition, I can host multiple domains in one share space with the http.cnf file configure to point to the url to the right folder. Since I do not need to install XOOPS in three domains, one alternative that I would love to do is to install XOOPS in only domain but have the other two domains share the same scripts along with the single database, but different settings (this would more something like masking a domain name). A configuration file must be in each root folder of the other two domains to load the XOOPS script from the first domain where XOOPS is installed. Eah domain folder must have its own header, footer, and main configure file to get the necessary data when need (like pictures and avatar, for example).
These seem like difficult tasks, but I think they can be achieve if and only if I have the technical skills to make them. But some of you guys might have better ways to make this happen.