Geeklog, Gallery 1.3.2, and Gallery Remote/Publish XP

akerin

Joined: 2002-12-11
Posts: 6
Posted: Wed, 2002-12-11 22:46

A few of us have gallery nicely wrapped up in Geeklog - see posts elsewhere in this topic. However when you upgrade gallery it becomes unintegrated so:

make sure it runs (it will be stand-alone)
you will probably run through the config wizard
check all of the albums and let gallery update them
Follow geeklog integration intructions

AND

in init.php: comment out:

gallerySanityCheck();

the sanity check - don't know what implications this has for gallery, but it seems to work. If you don't do this then galley will insist of running through the upgrade wizard again, and will remove the gallery embedded in geeklog lines that you added to config.php.

Also: embedding gallery stops remote and publish XP from working.

To make it work all you have to do is comment out the two geeklog lines that are added to the gallery config.php. This drops the gallery into standalone mode. I have a script (batch file) that I run that just replaces the config.php with a commented out version or vice versa so that I can upload my pictures. (for this to work the user has to exist seperately in gallery)

Is this something that could be implemented via php - possibly when the add photos link is followed??

Thanks, Alex