Gallery2 integration

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Locked
bbomer

Gallery2 integration

Post by bbomer »

Hi,

I know this has already been hashed out in previous threads, but does anyone know how to integrate Gallery2 v 2.1.1 and CMSMS 0.13?  I have tried using the g2mod module, but that gives me the following error:
Fatal error: Call to a member function isError() on a non-object in /home/grvland/public_html/cms/modules/G2Mod/G2Mod.module.php on line 87
CMSMS is in public_html/cms and Gallery2 is in public_html/pictures.  I think I changed the paths appropriately in the g2mod settings UI to:
relative path: /../../../pictures
embedding path:
relative path to embed.php: /../../../pictures/embed.php


I noticed that g2mod was released quite a while ago, so does anyone know if it still works with the latest releases of Gallery2?  Are there any updates around that might make it work with G2 v 2.1.1?

I also noticed that there is a "Gallery2Embed" module in the forge that is in alpha.  Does anyone know when that might be released?  I'd even be willing to test an alpha version if any files are ever released.
tsw
Power Poster
Power Poster
Posts: 1408
Joined: Tue Dec 13, 2005 10:50 pm
Location: Finland

Re: Gallery2 integration

Post by tsw »

Have you tested Album module, its fully integrated...
User avatar
Elijah Lofgren
Power Poster
Power Poster
Posts: 811
Joined: Mon Apr 24, 2006 1:01 am
Location: Deatsville, AL

Re: Gallery2 integration

Post by Elijah Lofgren »

bbomer wrote: Hi,

I know this has already been hashed out in previous threads, but does anyone know how to integrate Gallery2 v 2.1.1 and CMSMS 0.13?  I have tried using the g2mod module, but that gives me the following error:
Fatal error: Call to a member function isError() on a non-object in /home/grvland/public_html/cms/modules/G2Mod/G2Mod.module.php on line 87
CMSMS is in public_html/cms and Gallery2 is in public_html/pictures.  I think I changed the paths appropriately in the g2mod settings UI to:
relative path: /../../../pictures
embedding path:
relative path to embed.php: /../../../pictures/embed.php


I noticed that g2mod was released quite a while ago, so does anyone know if it still works with the latest releases of Gallery2?  Are there any updates around that might make it work with G2 v 2.1.1?

I also noticed that there is a "Gallery2Embed" module in the forge that is in alpha.  Does anyone know when that might be released?  I'd even be willing to test an alpha version if any files are ever released.
This may help:
http://dev.cmsmadesimple.org/projects/gallery2

12:18 gandalfcome: I think the gallery2 module works if you
use full adodb instead of adodb-lite
12:19 gandalfcome: I'm using gallery2 embedded on this cmsms
site: http://www.mwdesigns.nl/?page=gallery
Note: I don't have time to take on any more projects. I'm quite busy. I may be too busy to reply to emails or messages. Thanks for your understanding. :)
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm
Location: Fernie British Columbia, Canada

Re: Gallery2 integration

Post by calguy1000 »

yes, turning on full adodb in 0.13 should allow gallery2 integration with no difficulties.

However

When you upgrade to 1.0 you will probably have difficulties with the gallery2 module.

Gallery2 requires adodb proper, not adodb_lite, and in the latest version of adodb_lite, some changes have been made that make it slightly incompatible with adodb.  The incompatibilities we have found (so far) indicate that this incompatibility occurs only when creating tables.

You may be able to get past this though with a simple upgrade from 0.13 to 1.0 (when it comes out).  but, I'm not sure.  It depends on which modules you're using and the order that the upgrades procede in.  i.e.: a module written for cms 1.0 may not install or upgrade properly wien you've turned on adodb (proper).

this is just a pre-warning.  Your mileage may vary.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
bbomer

Re: Gallery2 integration

Post by bbomer »

I got Gallery2 to work with CMSMS, the latest versions of gallery2 apparently use a different form of the "GalleryEmbed::init" function.  I may post the way I got it to work if anyone is interested.

Speaking of modules not working when adodb full is used, does anyone know why the News extension stops working when I use adodb full?  I have seen some chatter in the forums about it, but I can't find a concrete answer as to how to fix it.  Basically when adodb full is in use, no News content show up.  I don't see any error on the page as I did with the gallery2 page, but there is no content, just the header, menu and  footer. 
Dee
Power Poster
Power Poster
Posts: 1197
Joined: Sun Mar 19, 2006 8:46 pm
Location: the Netherlands

Re: Gallery2 integration

Post by Dee »

It has to do with some incompatibilities between adodb light and full adodb.
This explains some: http://forum.cmsmadesimple.org/index.ph ... l#msg33952

It is fixed in SVN now, so it will be fixed in beta6:
http://viewsvn.cmsmadesimple.org/viewsv ... e&view=rev

Using these versions of method.install.php and method.upgrade.php should fix it:
http://viewsvn.cmsmadesimple.org/viewsv ... newsmodule
http://viewsvn.cmsmadesimple.org/viewsv ... newsmodule
(place them into your News module directory overwriting the existing ones)
Last edited by Anonymous on Mon Aug 21, 2006 5:53 pm, edited 1 time in total.
bbomer

Re: Gallery2 integration

Post by bbomer »

Dee, thanks for the tip.  I downloaded them and put them in the folder, but my news module did not have these files originally.  I guess these are for the version that's still under development for CMSMS v1?  If it is, I can just upgrade to the latest version 1 beta (currently using 0.13 stable release) if that's what it takes to make adodb full play nice.
User avatar
Elijah Lofgren
Power Poster
Power Poster
Posts: 811
Joined: Mon Apr 24, 2006 1:01 am
Location: Deatsville, AL

Re: Gallery2 integration

Post by Elijah Lofgren »

bbomer wrote: Dee, thanks for the tip.  I downloaded them and put them in the folder, but my news module did not have these files originally.  I guess these are for the version that's still under development for CMSMS v1?  If it is, I can just upgrade to the latest version 1 beta (currently using 0.13 stable release) if that's what it takes to make adodb full play nice.
Yes, those files will only be used for with the version of News included with CMSMS 1.0
I would wait and upgrade to CMSMS 1.0 beta6 which I think is coming out tomorrow.
Note: I don't have time to take on any more projects. I'm quite busy. I may be too busy to reply to emails or messages. Thanks for your understanding. :)
bbomer

Re: Gallery2 integration

Post by bbomer »

Elijah, I will certainly wait for beta 6 if it is coming soon.  Thanks for the info.
User avatar
Elijah Lofgren
Power Poster
Power Poster
Posts: 811
Joined: Mon Apr 24, 2006 1:01 am
Location: Deatsville, AL

Re: Gallery2 integration

Post by Elijah Lofgren »

bbomer wrote: Elijah, I will certainly wait for beta 6 if it is coming soon.  Thanks for the info.
calguy1000 just said that he doubts beta6 will be released today. He thinks maybe tomorrow.

Just wanted to let you know,

Elijah
Note: I don't have time to take on any more projects. I'm quite busy. I may be too busy to reply to emails or messages. Thanks for your understanding. :)
Locked

Return to “Modules/Add-Ons”