multi-site?

Ok, so I did some searching around and can't seem to locate anything on this. Is there a way to have a multi-site install of zenphoto? i.e., using two different "galleries" but using the same albums? Even if it's two seperate databases would work for what I'm aiming for.

My goal, I have zenphoto integrated into wordpress, but I would like to have the same album structures accessible from a different url that would present a different theme (one that's not integrated).

Comments

  • It might be possible, depends.

    You can setup what is called an "external" album in Zenphoto. Said album has to be accessable to the server Zenphoto is running on, so you would have to have your two subdomains hosted on the same server. Then you would set up one installation "normally". For the other you would edit the zp-config.php file and change the
    `
    $conf['album_folder'] = '/albums/';
    $conf['album_folder_class'] = 'std';
    `
    lines. There are comments describing how to do this. But it is not a "normal" you really need to know what you are doing with the server folders. It is really best if you can set things up `in_webpath` otherwise there are things like browser based javascript functions which simply will not work. (The browser has to be able to request the file from the Web server. If the Web server does not have access.... Well, there are no miracles.)
  • This would be amazing coupled with Wordpress-MU, which will soon be permanently integrated with Wordpress anyways.
  • @sbillard
    Thanks, will take a look later tonight after work

    @sadr
    Yeah, if I can get this going properly I'll let you know!
  • Just an update, I got this to work with the advice from sbillard, mostly. The Stopdesign (and my customized version of it) don't function under the 2nd zen install, I have a feeling this is due to the normalizer.php as it's the only thing that jumps out that's strikingly different from the other themes.

    Here you can see the blog-ified version of the gallery:
    http://www.michealmalone.com/zen

    And here is the 2nd version running the highslide theme:
    http://www.michealmalone.com/zenphoto

    So far the only theme that seems to have issues doing it this way is the stopdesign (based off the official themes). I'll experiment a bit and see if I can figure out why Stopdesign isn't working. It displays the albums, but when clicking it presents a blank page.
  • flu Member
    Hi guys,
    does this thread still relevant ?
    Is there a better way to make Zp multi-sites (and multidomains, as drupal or Wordpress) ?
    Is something planned or asked about it ?

    Thanks.

    Cheers !
  • This still stands as the recommendation.
Sign In or Register to comment.