Posted on: 04/30/02 11:59am
By: Anonymous (Jameson)
I just finished spending hours integrating Gallery into Geeklog. After reading
through several articles and comments on how to integrate the two systems, I
decided to try and help everyone out by summarizing it all into one little
package.
(**warning** It's not pretty, but it
works!)
To make things a bit simpler for everyone I made a zip file with all the code
and instructions that you'll need to seamlessly integrate Gallery into Geeklog.
You can download the zip at: http://www.discobiscuit.com/extras/gl_gallery_integration.zip[*1] .
I'm not sure which versions this will work with, but I integrated Geeklog 1.3.5
with Gallery 1.2.5.
I've also included the code that displays random images in a PHP Block.
I hope that this gives everyone more time playing rather than working. =D
: Jameson
A URL?
Posted on: 04/30/02 12:57pm
By: Tony
A URL to a working version would help people too! Also, does the login work with your solution?
A URL?
Posted on: 04/30/02 03:23pm
By: Anonymous (Jameson)
Ooops! Sorry about that! ={
Here's the link to my photo album.
http://www.discobiscuit.com/gallery[*2]
And yes, this solution does merge the Geeklog login with Gallery. In order
for people to have admin access to the entire gallery they must also have root
access to Geeklog. I've created a public album in my gallery where I give only
gallery_tester permission to add pictures and to delete them. To test the system
log into my site with the following information:
Username - gallery_tester
Password - tester
Best of luck everyone!
Jameson
One more thing
Posted on: 04/30/02 03:38pm
By: Anonymous (Jameson)
I forgot to mention that since the public album directory name is "hidden-public" the random PHP Block on my front page will not display pictures inside this album.
Jameson
Problem!!
Posted on: 04/30/02 06:46pm
By: Cregar
After using your installation, I get the error:
Parse error: parse
error in /Library/WebServer/Documents/secure_area/Gallery/init.php on
line 172
Fatal error: Cannot instantiate non-existent class: albumdb in /Library/
WebServer/Documents/secure_area/Gallery/albums.php on line 34
Any help would be apprecated
Cregar
A URL?
Posted on: 04/30/02 06:52pm
By: amckay
If I were gay I'd kiss you Jameson! Unless you're a woman and then I'd do it if my wife shuts her eyes ;-)
I've been looking for some time for someone to summarize this in one place. When you say you've integrated the logins, which usename/password takes precedence? Does it mean you only have Geeklog UN/PW and no gallery? Or the opposite? And most important in my application, can I still give permissions to specific galleries only to certain users? I have some family-only photos.
Thanks again!
-Alan
Problem!!
Posted on: 05/19/02 06:41am
By: Anonymous (Anonymous)
I ended up with the same error... I had to give up? anyone find an answer?
Problem!!
Posted on: 05/20/02 06:18pm
By: Anonymous (Anonymous)
Sounds like you are trying to integrate gallery version 1.3 which has a number of changes. You may want to read this
article[*3] and series of replies. Gallery version 1.3 made changes to it class objects and the previous integration instructions will not work.
Warning error (wrapper.header)
Posted on: 06/22/02 10:59pm
By: Anonymous (leoparr)
I followed you instructions in your package, now I got that error in my index.php page.
Fatal error: Call to undefined function: com_siteheader()
in /home/......./html_wrap/wrapper.header on line 44
line 44 is: COM_siteHeader();
What can be wrong?
blank screen after integration
Posted on: 07/03/02 08:14am
By: jlhughes
I installed Gallery and it worked fine.
After I "integrated" gallery with an existing Geeklog installation, I get a blank screen when I enter the Gallery URL. I get NO error messages.
I'm using Gallery.1.3.1-cvs-b7
Ideas?
blank screen -- more details but no solution
Posted on: 07/03/02 10:26am
By: jlhughes
I backed out of Jameson's integration and went back to
Adrian's integration.[*4]
Adrian's integration instructions worked to the point that Gallery is now wrapped inside Geeklog. HOWEVER, the "login" option is NOT available even though the "slideshow" feature does have a link in ablum views.
As a test I re-installed the init.php that comes with Jameson's integration package. When you click on the Gallery link, you get a blank screen and NO error messages.
The site I'm doing this at is jomari.com[*5] . These photo albums are part of the Digital Art Desktops and Postcards site.[*6]
Currently I have Adrian's integration in place. Any ideas of what may be causing the blank screen of death with Jameson's integration?
John Hughes
blank screen -- solution
Posted on: 07/03/02 11:07am
By: jlhughes
I realized I had not installed all of Adrian's patch.
Jameson's User.php and UserDB.php in the classes/geeklog do not work. I replaced them with Adrian's User.php and UserDB.php patches.
At this point everything worked EXCEPT if a user was not logged in it caused an error in the classes/Album.php at around 1037
I commented out these lines
#$loggedIn = $gallery->userDB->getLoggedIn();
#if ($perm[$loggedIn->getUid()] &&
# strcmp($gallery->user->getUid(), $everybody->getUid())) {
# return true;
#}
As far as I can tell at this point, Gallery and Geeklog are now integrated and working. When I sign on as a Root user I have access to all Gallery admin features. As an anonymous user I see the galleries but not the login option.
John Hughes
blank screen after integration
Posted on: 07/23/02 08:59pm
By: Anonymous (Jameson)
Sorry, but the reason that you are having problems integrating Gallery with Geeklog is because my instructions are for Gallery 1.2.5 and Geeklog 1.3.1.
I should have made that more clear.
blank screen after integration
Posted on: 07/24/02 07:20am
By: Dirk
Actually, the instructions worked fine for me integrating Gallery 1.2.5 with Geeklog 1.3.6 (straight off CVS). So thank your very much :-)
The only issue I'm having is that the first two letters from the text linking to an album (the one which is "album01" etc. by default) are missing. The link itself is working fine. I'll figure this out eventually ...
bye, Dirk
re: blank screen -- solution
Posted on: 07/25/02 02:29pm
By: Anonymous (Anonymous)
I'm running
Geeklog v1.3.5sr2
Gallery v1.3
i integrated using Adrian's patch and it all seemed to work fine when i was logged in.
when i logged out, and looked at the gallery, it was showing me the links to edit everything still. i'm assuming it's not supposed to considering i'm not logged in.
so i closed all of my browsers to kill all of the sessions, and then tried to look at my gallery, and received the below error:
Fatal error: Call to a member function on a non-object in /path/to/gallery/classes/Album.php on line 1037
i was wondering if anyone else had come accross this, and how to fix it. please email me bfrench@ematic.com
re: blank screen -- solution
Posted on: 07/25/02 03:05pm
By: Anonymous (Anonymous)
ok, i found another integration for this located at :
http://blweb.langfamily.ca/geeklog/public_html/mod_docmgmt/visit.php?lid=14
his seems to work fine