I have Mambo 4.0.14 CMS running and I've seen the other folks posts about integrating Gallery with Mambo. I've looked through the Gallery code to see if I could start sorting through some of it in order to figure out a plan of attack for trying to integrate Gallery with Mambo.
Looking things over I think a first step that seemed somewhat do-able was to first have Gallery using the Mambo users DB for authentication and permissioning etc for Gallery.
I'm looking for explanations as to how Gallery approaches this and key components to go and modify to try this first step. The only thing I've gathered so far in reviewing the Gallery code is:
(1).users directory is where Gallery stores it's user db flatfiles
(2)the gallery root index.php file and album.php file seems to have code that does checks for phpnuke or postnuke user db's or defaults to the Gallery db.
What I can seem to figure out is
(a) where the userdb class get's loaded with the userdb whether it's phpnuke or postnuke or gallery itself
(b) in which gallery modules the user and userdb get's referenced
Does anyone have any guidance regarding the above? I tried going to the txraves.org site but that link seems to be dead.
Thanks!
Posts: 3473
I've added a sticky posting referencing a tutorial on this, or just go straight to http://www.txraves.org/code/dox/embedding_gallery.php
Posts: 8
Joan, thanks! I tried that link earlier and it was busted. Working now however ! I'm sure I'll have questions as I digest it all!