multi-sites and multi-users

Hi,

Would like to know that if zenphoto allow to configure as multi-sites and multi-users with a single installation ?
In our case, for each country will have her own site with couple of users for that site. If possible, how to do it ? If not possible, will coming release can fulfill this requirement ?

Comments

  • If you really want different sites for each country, you would have to use multiple Zenphoto installations. You can't have one Zenphoto installation for multiple sites.

    If you would be okay with just one site, you might be able to use the localization built into Zenphoto for what you want. There is an option to use whichever language the user's browser requests (given that Zenphoto has a translation for it).

    Also, you can most certainly have multiple users with a single installation. :)
  • acrylian Administrator, Developer
    To add, even if Zenphoto has no translation for the "fixed" parts you can still have the actual content in other languages. You just need an empty language folder within `zp-core/locale` (just like there is for English).

    If you have the knowledge you can surely program custom functions/ custom theme that mimics what you want depending on the locale currently set.
  • Joe Member
    I have been running two zenphoto galleries using virtual hosts (port number), call them #1, #2 from different directories and they worked fine. I then added two more (#3, #4) and updated the zp-config.php in each of them to point to their unique databases, (respective databases are setup in MySQL with no tables) but when running their respective setup.phps, they both connect to the #2 database even though their zp-config files point to respective unique #3, #4 databases. Is there somewhere else that it could be grabbing the database name from? or a way I can find out where it pulled the database name from? I even changed both the zp-config and the zp-config.source to try. I am a newbie to LAMP. My virtual hosts are enabled as separate entries in sites-available and defined in hosts. Now I see why it might be useful to prefix the tables with something other than zp_, i.e. namezp_ unique to each so at least if I make a mistake it won't mess up the other tables. Thank you again for such an elegant software design.
  • Zenphoto can connect only to the database/table prefix that is defined in its config file. So if Zenphoto is connecting to a database different from what you wish then the wrong information is in the file or somehow your server is not honoring the request information.
Sign In or Register to comment.