Geeklog + G2
asmaloney
![]()
Joined: 2005-07-31
Posts: 19 |
![]() |
I have released a version of the Geeklog integration. [I don't have an example up.] You can find out more and download the latest version through my geeklog software page. This thread is for posting comments, suggestions, or bugs reports... The current version is 0.5.0 - released 01 Mar 02006. - Andy Maloney |
|
vjl323
![]()
Joined: 2002-12-19
Posts: 39 |
![]() |
Thanks! Can't wait to test this out. I am impressed with the docs and will comment on the process after installation. Thanks Andy! /vjl/ |
|
hatric
Joined: 2005-11-07
Posts: 6 |
![]() |
I am real excited to try out your integration. I just finished installing and have a question (and please bear with me as I am a newb): If you view the picture below you can see that the "gallery" did not size correctly. It seems to be cut off on the right side. Is there a way to make it all fit? [img]http://i20.photobucket.com/albums/b247/hatric/gal2.jpg[/img] |
|
asmaloney
![]()
Joined: 2005-07-31
Posts: 19 |
![]() |
I haven't seen this, but it probably is dependent on your themes [GL or G2]. What themes are you using and did you try others? What browser are you using and did you try others? - Andy |
|
hatric
Joined: 2005-11-07
Posts: 6 |
![]() |
Can't be IE or the theme. I have several albums with sub-albums. It seems to be hit or miss but some paginate correctly and others have the problem described above. I have messed with most all the settings I could in the site admin area with no effect. I am at a loss. |
|
hatric
Joined: 2005-11-07
Posts: 6 |
![]() |
If you assume the order of the pages as you drill down into the individual photos are: Main Page/Sub-Album Page/Thumbnail Page/Individual Picture Page/Full Size Picture Page. I have figured out that it is always the Sub-Album Page, the Individual Picture Page, and the Full Size Picture Page that has this problem. The Main Page and the Thumbnails page size themselves correctly. I assume these settings are in the "Classic" theme setting which I am using. Can you give me a hint to where to look for clearing up this problem? thanks |
|
hatric
Joined: 2005-11-07
Posts: 6 |
![]() |
GOT IT!! In the Themes album.tpl and photo.tpl I shrunk the table width from 100% to 98%... It's all good! |
|
asmaloney
![]()
Joined: 2005-07-31
Posts: 19 |
![]() |
Well the plugin is displaying whatever it gets from G2. There is a possibility of a CSS naming conflict, but I doubt it - the G2 guys have named everything in the CSS so as not to clash with other pages. Can you give me a link so I can see it? [PM me if you don't want to post it.] I don't have IE, but I'd like to see the problem in action. - Andy |
|
hatric
Joined: 2005-11-07
Posts: 6 |
![]() |
I figured it out. Was the width of the table setting in the album and photo templates in the "classic" theme. Once I reduced the width from 100% to 99% it all resized correctly. It wasn't the plugin. BTW... I really like how it integrates with G2... excellent work!! |
|
hatric
Joined: 2005-11-07
Posts: 6 |
![]() |
Another question for you. I would like to block anonymous users from viewing my galleries. Those who register on my geeklog site I would like to have be able to see everything, is there a way to do this? thanks. |
|
asmaloney
![]()
Joined: 2005-07-31
Posts: 19 |
![]() |
You should be able to edit the group permissions to achieve this... but it looks like it 'done broke'! You're also supposed to be able to do the equivalent through the G2 album settings, but when I try that I get a redirection limit. Sigh. I will look at it when I get the chance... - Andy |
|
asmaloney
![]()
Joined: 2005-07-31
Posts: 19 |
![]() |
What I wrote there was total bollocks. Of course the groups aren't mapped from one to the other, so editing this within G2 won't work... I have released a new version which allows you to turn off anonymous access to the gallery, the random block, or both. - Andy |
|
valiant
Joined: 2003-01-04
Posts: 32509 |
![]() |
asmaloney why is the topic non-sticky again? did you change it? do you prefer it not being sticky (at the top)? |
|
asmaloney
![]()
Joined: 2005-07-31
Posts: 19 |
![]() |
Um... I didn't do anything to un-stick-ify it on purpose - I edited the top post to reflect a change to version. I don't even know how the stickiness works... |
|
valiant
Joined: 2003-01-04
Posts: 32509 |
![]() |
i guess everytime you edit the top post it's made unsticky. nevermind, i'll take care of it. |
|
kinneh
Joined: 2006-02-08
Posts: 2 |
![]() |
I can't get this to work with a multi-site installation, anybody tried it ? |
|
squirrellydw
Joined: 2004-10-18
Posts: 53 |
![]() |
I am having a problem, I am using Geeklog 1.40sr1. Pleas help Gallery version = 2.0.2 core 1.0.0.2 |
|
asmaloney
![]()
Joined: 2005-07-31
Posts: 19 |
![]() |
Heya. Could you please try 0.5.0 and see if that helps? - Andy |
|
squirrellydw
Joined: 2004-10-18
Posts: 53 |
![]() |
Just want to know if this looks right to you before I install it. */ $_GLG_CONF['G2_path'] = '/home/u3/squirrellydw/html/gallery2'; $_GLG_CONF['G2_relative_path'] = '../gallery2'; /* Just to add to the path confusion, here's where you can set the directory name for the plugin in the public_html directory. If you want to access this plugin at http://www.theseashore.us/gallery2 instead of at http://www.theseashore.us/gallery2, you should set this to 'gallery2' and rename the GL_Gallery2 directory in your $_CONF['path_html'] directory to 'my_gallery'. Note: If you change this after you've set up rewriting in Gallery, you'll have to set it up again. */ $_GLG_CONF['public_dir'] = 'GL_Gallery2'; /* What fields do we show in the random photo block? Can include title|date|views|owner|heading|fullSize or it can be 'none'. Note that 'heading' and 'fullSize' probably don't make sense here. */ $_GLG_CONF['random_photo_fields'] = 'title|date|views'; // Allow anonymous users to see the random photo block $_GLG_CONF['allow_anon_access_random_photo'] = true; // Allow anonynmous users to access the gallery $_GLG_CONF['allow_anon_access_gallery'] = true; Gallery version = 2.0.2 core 1.0.0.2 |
|
asmaloney
![]()
Joined: 2005-07-31
Posts: 19 |
![]() |
If your GL_Gallery2 directory is here: /home/u3/squirrellydw/html/GL_Gallery2 Then it looks correct. - Andy Maloney |
|
squirrellydw
Joined: 2004-10-18
Posts: 53 |
![]() |
Failed to install Install GL_Gallery2 Gallery version = 2.0.2 core 1.0.0.2 |
|
asmaloney
![]()
Joined: 2005-07-31
Posts: 19 |
![]() |
Are you installing it as the same user you had there before? [GL user #3] - Andy Maloney |
|
squirrellydw
Joined: 2004-10-18
Posts: 53 |
![]() |
Yes Gallery version = 2.0.2 core 1.0.0.2 |
|
asmaloney
![]()
Joined: 2005-07-31
Posts: 19 |
![]() |
Try emptying the g2_ExternalIdMap table and installing again. |
|
squirrellydw
Joined: 2004-10-18
Posts: 53 |
![]() |
ok, that worked but....now I am getting this when I click the config page. and tell me the info you will need or we can just keep doing this, either one is fine with me. Reinit failed: Error (ERROR_MISSING_OBJECT) : Missing object for 6 in modules/core/classes/GalleryStorage/DatabaseStorage.class at line 2121 (gallerystatus::error) in modules/core/classes/GalleryStorage/DatabaseStorage.class at line 305 (mysqldatabasestorage::_identifyentities) in modules/core/classes/GalleryStorage.class at line 118 (mysqldatabasestorage::loadentities) in modules/core/classes/helpers/GalleryEntityHelper_simple.class at line 82 (gallerystorage::loadentities) in modules/core/classes/helpers/GalleryEntityHelper_simple.class at line 141 (galleryentityhelper_simple::loadentitiesbyid) in modules/core/classes/GalleryCoreApi.class at line 2225 (galleryentityhelper_simple::loadentitybyexternalid) in modules/core/classes/GalleryEmbed.class at line 184 (gallerycoreapi::loadentitybyexternalid) in modules/core/classes/GalleryEmbed.class at line 94 (galleryembed::checkactiveuser) in /home/u3/squirrellydw/geeklog/plugins/GL_Gallery2/functions.inc at line 711 (galleryembed::init) in /home/u3/squirrellydw/html/GL_Gallery2/index.php at line 67
Gallery version = 2.0.2 core 1.0.0.2 |
|
squirrellydw
Joined: 2004-10-18
Posts: 53 |
![]() |
OK, I fixed the above error, changed GL_Gallery2 to gallery2 in config file. Gallery version = 2.0.2 core 1.0.0.2 |
|
jaapvdv
Joined: 2006-03-02
Posts: 4 |
![]() |
Andy, I have Geeklog 1.4, Gallery 2.0.2 and GL_Gallery2 installed on my server. Gallery2 stand-alone works as is to be expected. I must be missing something, but what? |
|
asmaloney
![]()
Joined: 2005-07-31
Posts: 19 |
![]() |
squirrellydw & jaapvdv, If either of you have URL rewrite turned on, turn it off and disable it. Then check that your paths are correct in config.php. The link when you hover over an image in the random photo block should point within your geeklog install, not to G2 directly. |
|
squirrellydw
Joined: 2004-10-18
Posts: 53 |
![]() |
I sent you my info Gallery version = 2.0.2 core 1.0.0.2 |
|
suprsidr
![]()
Joined: 2005-04-17
Posts: 8339 |
![]() |
Hey Andy, glad to see you've had a minute or two to spare from Hemospat to get 0.5.0 out. it seems gallery strips out the GL_Gallery2 from the embedUri. This I cannot figure out. I've tried the full url, and every variation I can think of. The only way it works is /GL_Gallery2/ but then the urls turn out like this: http://209.254.158.237/GL_Gallery2/?g2_itemId=214 Any ideas Andy or Val? Once I get over this hurdle I'll be ready for a rc Thanks Wayne |
|
suprsidr
![]()
Joined: 2005-04-17
Posts: 8339 |
![]() |
Fixed, needed to add a "?" to the end of the embedUri. I will be releasing this into the wild after a little more testing Geeklog v.1.4 & G2 v.2.1 make a beautiful couple. |
|
suprsidr
![]()
Joined: 2005-04-17
Posts: 8339 |
![]() |
Ok, this still seems to be a problem(thought I had it fixed). So what am I doing wrong? Valiant, could you shed some light on this for me? |
|
wikki
Joined: 2005-11-06
Posts: 7 |
![]() |
did you get geeklog to work with the new release of G2.1? i get so many errors, i don't even know where to start looking. |
|
squirrellydw
Joined: 2004-10-18
Posts: 53 |
![]() |
go to www.4wiseguys.com and download the new plugin Gallery version = 2.0.2 core 1.0.0.2 |
|
asmaloney
![]()
Joined: 2005-07-31
Posts: 19 |
![]() |
I obviously don't have the time to continue with this plugin right now, so suprsidr is taking it over. He's renamed it G2Bridge [a much better name anyways!] and will be providing support at his site and on geeklog.net. |
|
julianna
Joined: 2004-05-23
Posts: 21 |
![]() |
Hi. I tried installing the plugin, and received the following error: Quote:
Fatal error: Call to undefined function: iserror() in /home/julianna/plugins/GL_Gallery2/functions.inc on line 713 It seems to have "broken" Geeklog, because I can't even access GL at this point (all I get is the error message). Help! Julianna |
|
julianna
Joined: 2004-05-23
Posts: 21 |
![]() |
Hi again. I dropped all of the tables and reloaded the information. It turns out that I deactivated but didn't uninstall the rewrite. I fixed that, and now I'm getting this error: Quote:
Fatal error: Call to a member function on a non-object in /home/julianna/public_html/admin/plugins/GL_Gallery2/install.php on line 274 When I check error.log, the last line I get is: Quote:
Mapping users from GL into G2 I checked the users in both GL and G2, and they match. What could the problem be? Thanks. |
|
julianna
Joined: 2004-05-23
Posts: 21 |
![]() |
It now seems that one of the problems is that I'm using G2.1. I've switched to G2Bridge, but am experiencing the same problem. |
|
denjake
Joined: 2006-04-09
Posts: 4 |
![]() |
OK, I think I got this one. I've just started using G2Bridge1.1, but I was having the same problem. In the functions.inc, there appears to be a typo. In the line: if ( $res->getErrorCode() & ERROR_COLLISION ), "res" should be "ret". I'm not a php programmer, but after making this change I was able to sync my users. |
|
suprsidr
![]()
Joined: 2005-04-17
Posts: 8339 |
![]() |
actually it is $res, but the line should read: Sorry, you were one of the few that got it before I caught the typo. You can send the hate mail now support for the G2Bridge plugin is available on my site here. Also I just released G2Image Chooser integration for G2Bridge |
|
denjake
Joined: 2006-04-09
Posts: 4 |
![]() |
OK, I'll make the change. I've applied for an account for your site twice now. Can you make your support forums available to the public, or register me? I should have registered as users from denjak.com I'm having problems with never ending redirects, and when I set the $_G2B_CONF['login_redirect'] to '' I get a login page for gallery2 in my geeklog. Then I can't log into the embedded gallery or geeklog. I'm really pulling my hair out here. I just switched over to gallery2, and I really want embedded gallery in geeklog. My site is setup as a deny all until logged in. |
|
denjake
Joined: 2006-04-09
Posts: 4 |
![]() |
Ha, Ha, nevermind, that one fix fixed my never ending redirect problem. |
|
denjake
Joined: 2006-04-09
Posts: 4 |
![]() |
Hey, thanks for the help, the plugin works pretty well, now that I don't have a typo in it. If you take requests, here's one: I'd love to have a drop down list of all available galleries under the random photo. I know I can do this with the sidebar, but it starts to look klunky if the sidebar is in both geeklog and embedded gallery. |
|
suprsidr
![]()
Joined: 2005-04-17
Posts: 8339 |
![]() |
sorry Jake, you are the second to have problems receiving a password from my site, my mail server is very strict. I'm in live chat on my site now. -s |
|
suprsidr
![]()
Joined: 2005-04-17
Posts: 8339 |
![]() |
Great, now you need to get my G2Image plugin for FCKeditor |
|
wetcircle
Joined: 2008-07-17
Posts: 1 |
![]() |
edited* nevermind, i have the wrong version of Gallery installed. is this not compatible with Gallery2.2? |
|
suprsidr
![]()
Joined: 2005-04-17
Posts: 8339 |
![]() |
Yes this plugin is compatible with 2.2, I have it running 2.3 on mysite. -s |
|