Geeklog + G2
asmaloney
Joined: 2005-07-31
Posts: 19 |
Posted: Sat, 2005-10-29 17:43 |
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 |
|
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/
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]
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
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.
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
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!
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
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!!
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.
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
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
Posts: 32509
asmaloney
why is the topic non-sticky again? did you change it? do you prefer it not being sticky (at the top)?
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...
Posts: 32509
i guess everytime you edit the top post it's made unsticky. nevermind, i'll take care of it.
Posts: 2
I can't get this to work with a multi-site installation, anybody tried it ?
Posts: 53
I am having a problem, I am using Geeklog 1.40sr1.
I can only see the my Gallery photos when I am logged out, when I login they go away. Also when I am logged out an I click on a photo it takes me to my photo album but I have no header from GL so no way to get back to my main site.
Pleas help
www.theseashore.us
Gallery version = 2.0.2 core 1.0.0.2
PHP version = 4.4.2 cgi-fcgi
Webserver = Apache/1.3.34 (Unix) Database = mysql 4.0.26
Toolkits = ArchiveUpload, ImageMagick, NetPBM, Gd
Operating system = FreeBSD 4.11
Browser = Mozilla/5.0
Posts: 19
Heya. Could you please try 0.5.0 and see if that helps?
- Andy
Posts: 53
Just want to know if this looks right to you before I install it.
Gallery version = 2.0.2 core 1.0.0.2
PHP version = 4.4.2 cgi-fcgi
Webserver = Apache/1.3.34 (Unix) Database = mysql 4.0.26
Toolkits = ArchiveUpload, ImageMagick, NetPBM, Gd
Operating system = FreeBSD 4.11
Browser = Mozilla/5.0
Posts: 19
If your GL_Gallery2 directory is here:
/home/u3/squirrellydw/html/GL_Gallery2
Then it looks correct.
- Andy Maloney
Posts: 53
Failed to install
Install GL_Gallery2
For some reason, installation failed. Please check your error logs.
Gallery version = 2.0.2 core 1.0.0.2
PHP version = 4.4.2 cgi-fcgi
Webserver = Apache/1.3.34 (Unix) Database = mysql 4.0.26
Toolkits = ArchiveUpload, ImageMagick, NetPBM, Gd
Operating system = FreeBSD 4.11
Browser = Mozilla/5.0
Posts: 19
Are you installing it as the same user you had there before? [GL user #3]
- Andy Maloney
Posts: 53
Yes
Gallery version = 2.0.2 core 1.0.0.2
PHP version = 4.4.2 cgi-fcgi
Webserver = Apache/1.3.34 (Unix) Database = mysql 4.0.26
Toolkits = ArchiveUpload, ImageMagick, NetPBM, Gd
Operating system = FreeBSD 4.11
Browser = Mozilla/5.0
Posts: 19
Try emptying the g2_ExternalIdMap table and installing again.
Posts: 53
ok, that worked but....now I am getting this when I click the config page.
Would you like to try to install it? If you do email me at
and tell me the info you will need or we can just keep doing this, either one is fine with me.
Gallery version = 2.0.2 core 1.0.0.2
PHP version = 4.4.2 cgi-fcgi
Webserver = Apache/1.3.34 (Unix) Database = mysql 4.0.26
Toolkits = ArchiveUpload, ImageMagick, NetPBM, Gd
Operating system = FreeBSD 4.11
Browser = Mozilla/5.0
Posts: 53
OK, I fixed the above error, changed GL_Gallery2 to gallery2 in config file.
But I still have the same problem I did with version .42. I only see the random and gallery photos when I am logged out. Also when I click on the pictures it takes me out of Geeklog so I don't have any links to get back to my main site, no header or anything.
Gallery version = 2.0.2 core 1.0.0.2
PHP version = 4.4.2 cgi-fcgi
Webserver = Apache/1.3.34 (Unix) Database = mysql 4.0.26
Toolkits = ArchiveUpload, ImageMagick, NetPBM, Gd
Operating system = FreeBSD 4.11
Browser = Mozilla/5.0
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.
So does GeekLog.
In GeekLog I can see the Gallery related blocks but no images! The broken image icons are not limited
to the images in my album(s), the Gallery logo and the tags are also invisible.
I must be missing something, but what?
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.
Posts: 53
I sent you my info
Gallery version = 2.0.2 core 1.0.0.2
PHP version = 4.4.2 cgi-fcgi
Webserver = Apache/1.3.34 (Unix) Database = mysql 4.0.26
Toolkits = ArchiveUpload, ImageMagick, NetPBM, Gd
Operating system = FreeBSD 4.11
Browser = Mozilla/5.0
Posts: 8339
Hey Andy, glad to see you've had a minute or two to spare from Hemospat to get 0.5.0 out.
I've updated it to work with the upcoming G2 2.1, but am having a problem or two.
The first is that it won't map the installing user to the gallery admin group, which I'll figure out here in a minute.(*fixed*)
But the most frusterating thing is the random photo block (and also control block) which appear on the geeklog front page.
They display fine, but the images don't link to the GL_Gallery2 directory, they simply link to index.php. Here is my init
$ret = GalleryEmbed::init( array(
'embedUri' => '/GL_Gallery2/index.php',
'g2Uri' => $_GLG_CONF['G2_relative_path'],
'loginRedirect' => 'users.php',
'activeUserId' => GLG_GetG2UserFromGL(),
'activeLanguage' => GLG_MapLanguage( $_CONF['language'] ),
'fullInit' => $full ) );
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
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.
Posts: 8339
Ok, this still seems to be a problem(thought I had it fixed).
I'm having trouble mapping the user whois installing the geeklog to G2 bridge to gallery admin.
Here is what I've got:
$res = GalleryEmbed::addExternalIdMapEntry($Gl_uid, $G2_uid, "GalleryUser");
//$GL_uid being the current user (the installer)
//$G2_uid a value of 6 gallery admin id
So what am I doing wrong?
Valiant, could you shed some light on this for me?
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.
Posts: 53
go to www.4wiseguys.com and download the new plugin
Gallery version = 2.0.2 core 1.0.0.2
PHP version = 4.4.2 cgi-fcgi
Webserver = Apache/1.3.34 (Unix) Database = mysql 4.0.26
Toolkits = ArchiveUpload, ImageMagick, NetPBM, Gd
Operating system = FreeBSD 4.11
Browser = Mozilla/5.0
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.
Posts: 21
Hi.
I tried installing the plugin, and received the following error:
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
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:
When I check error.log, the last line I get is:
I checked the users in both GL and G2, and they match.
What could the problem be?
Thanks.
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.
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.
Posts: 8339
actually it is $res, but the line should read:
if (($res) && ($res->getErrorCode() & ERROR_COLLISION))
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
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.
Thanks,
Jake
Posts: 4
Ha, Ha, nevermind, that one fix fixed my never ending redirect problem.
Jake
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.
Jake
Posts: 8339
sorry Jake, you are the second to have problems receiving a password from my site, my mail server is very strict.
I set your password to 'geeklog' for your 1st user, and deleted the second.
I'm in live chat on my site now.
-s
Posts: 8339
Great, now you need to get my G2Image plugin for FCKeditor
Posts: 1
edited* nevermind, i have the wrong version of Gallery installed. is this not compatible with Gallery2.2?
Posts: 8339
Yes this plugin is compatible with 2.2, I have it running 2.3 on mysite.
-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2